300字范文,内容丰富有趣,生活中的好帮手!
300字范文 > ecshop category.php?id=4 categoryall.php

ecshop category.php?id=4 categoryall.php

时间:2023-01-01 07:54:24

相关推荐

ecshop category.php?id=4 categoryall.php

//by 琅琊源码 QQ:27392236

define('IN_ECS', true);

require dirname(__FILE__) . '/includes/init.php';

if ((DEBUG_MODE & 2) != 2) {

$smarty->caching = true;

}

require ROOT_PATH . '/includes/lib_area.php';

$area_info = get_area_info($province_id);

$area_id = $area_info['region_id'];

$where = 'regionId = \'' . $province_id . '\'';

$date = array('parent_id');

$region_id = get_table_date('region_warehouse', $where, $date, 2);

$cache_id = sprintf('%X', crc32($_REQUEST['id'] . '-' . $_CFG['lang']));

if (!$smarty->is_cached('category_all.dwt', $cache_id)) {

$position = assign_ur_here(0, $_LANG['all_category']);

$smarty->assign('page_title', $position['title']);

$smarty->assign('ur_here', $position['ur_here']);

for ($i = 1; $i <= $_CFG['auction_ad']; $i++) {

$category_all_left .= '\'category_all_left' . $i . ',';

$category_all_right .= '\'category_all_right' . $i . ',';

}

$smarty->assign('category_all_left', $category_all_left);

$smarty->assign('category_all_right', $category_all_right);

$categories_list = get_category_tree_leve_one(0, 1);

$categories_pro = get_category_tree_leve_one();

$smarty->assign('categories_pro', $categories_pro);

$smarty->assign('categories_list', $categories_list);

$top_goods = get_top10(0, '', 0, $region_id, $area_id);

$smarty->assign('top_goods', $top_goods);

$smarty->assign('helps', get_shop_help());

assign_dynamic('category_all');

assign_template('c', $catlist);

}

$smarty->display('category_all.dwt', $cache_id);

?>

一键复制

编辑

Web IDE

原始数据

按行查看

历史

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。