入口分類從config.php中改

This commit is contained in:
Wayne Hsu 2023-01-18 20:37:15 +08:00
commit f107d4fa0f
2 changed files with 8 additions and 2 deletions

View File

@ -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') .

View File

@ -70,7 +70,9 @@
<div class="hotelslink">
<strong class="hotelslinkbut">依地區分類</strong>
<strong class="hotelslinkbut">
{$category.c1}
</strong>
<ul>
@ -84,7 +86,10 @@
</div>
<div class="bookingArea"><strong class="bookingBtn" href="javascript:;">依景點分類</strong>
<div class="bookingArea">
<strong class="bookingBtn" href="javascript:;">
{$category.c2}
</strong>
<ul>