时间:2021-07-01 10:21:17 帮助过:16人阅读
/* 店铺分类 */
function store()
{
/* 取得导航 */
$this->assign('navs', $this->_get_navs());
/* 取得商品分类 */
$scategorys = $this->_list_scategory();
/* 取得最新店铺 */
$new_stores = $this->_new_stores(5);
/* 取得推荐店铺 */
$recommended_stores = $this->_recommended_stores(5);
/* 当前位置 */
$_curlocal=array(
array(
'text' => Lang::get('index'),
'url' => 'index.php',
),
array(
'text' => Lang::get('scategory'),
'url' => '',
),
);
$this->assign('_curlocal',$_curlocal);
$this->assign('new_stores', $new_stores);
$this->assign('recommended_stores', $recommended_stores);
$this->assign('scategorys', $scategorys);
$this->assign('page_title', Lang::get('store_category') . ' - '. Conf::get('site_title'));
$this->display('category.store.html');