摘要:/** * 生成给pager.lbi赋值的数组 * @position lib_main.php * @access public * @param string $url 分页的链接地址(必须是带有参数的地址,若不是可以伪造一个无用参数) * @param array $param 链接参数 key为参数名,value为参数值 * @param int $record 记录总数量 * @para...
阅读全文
摘要:/** * 获得指定商品的各会员等级对应的价格 * @position goods.php * @access public * @param integer $goods_id 商品ID * @param integer $shop_price 本店售价 * @return array */ get_user_rank_prices($goods_id, $shop_price) array(2...
阅读全文
摘要:/** * 获得指定分类下的积分兑换商品 * @position exchange.php * @access public * @param string $children 由get_children()函数返回的结果,可以往get_children()函数里面传入一个分类id,及得到其下的所有分类id * @param &...
阅读全文
摘要:/** * 获得与指定品牌相关的分类 * @position brand.php * @access public * @param integer $brand * @return array */ brand_related_cat($brand) /** * 获得指定的品牌下的商品总数 * @position brand.php * @acc...
阅读全文
摘要:/** * 获取评论列表 * @position lib_mian.php * @access public * @params integer $id 商品或文章的id * @params integer $type 0为商品,1为文章 * ...
阅读全文
摘要:/*@position goods.php*/ $GLOBALS['_CFG']['affiliate']
阅读全文
摘要:/** * 获得指定商品的关联商品 * @position goods.php * @access public * @param integer $goods_id * @return array */ get_linked_goods($goods_id) /** * 获得购买过该商品的人还买过的...
阅读全文