diff --git a/index.php b/index.php index 3c3029e..b7f08b8 100755 --- a/index.php +++ b/index.php @@ -48,6 +48,7 @@ if($site_type=='web'){ $smarty->assign('ad3_list', get_rand5_ad3($site_id)); $smarty->assign('ad4_list', get_all_ad4($site_id)); $smarty->assign('footer_text', $_CFG['footer_text']); + $smarty->assign('category', $category); if($site_id>0){ $sql = 'SELECT * FROM ' . $GLOBALS['ecs']->table('portal') . diff --git a/themes/vr/portal/portal.html b/themes/vr/portal/portal.html index f1ff3d5..fb293cf 100755 --- a/themes/vr/portal/portal.html +++ b/themes/vr/portal/portal.html @@ -70,7 +70,9 @@ -
依景點分類 +
+ + {$category.c2} +