<?php
/**
 * ShopEx licence
 *
 * @copyright  Copyright (c) 2005-2012 ShopEx Technologies Inc. (http://www.shopex.cn)
 * @license  http://ecos.shopex.cn/ ShopEx License
 */
 
class sradar_finder_goods extends b2c_finder_goods{

    function __construct($app){
        //$this->app = $app;
    }


    var $column_sradar = '商品雷达';
    function column_sradar($col){
            $id = 'r'.$col['goods_id'];
            $radar_price = $col['price'];
            $radar_product_id = $col['goods_id'];
            $radar_sn = $col['bn'];

            $cat_name = app::get('b2c')->model('goods_cat')->dump($col['cat_id']);
            $radar_catname = $cat_name['cat_name']; 

            $radar_name = $col['name'];

        $row = "<span class='radar_product_point' id='{$id}' radar_price='{$radar_price}' radar_product_id='{$radar_product_id}' radar_brand='' radar_sn='{$radar_sn}' radar_catname='{$radar_catname}' radar_keyword='' radar_name='{$radar_name}'></span>";
        return $row;
    }




}
