入口分類從config.php中改
This commit is contained in:
parent
681bdc4a2d
commit
56e214d9bf
4
.gitignore
vendored
Normal file
4
.gitignore
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
/images/
|
||||
/temp/*
|
||||
data/config.php
|
||||
|
@ -24,6 +24,11 @@ $session = "1440";
|
||||
|
||||
$hb_test = '0';
|
||||
|
||||
$category = [
|
||||
'c1' => '',
|
||||
'c2' => ''
|
||||
];
|
||||
|
||||
define('EC_CHARSET','utf-8');
|
||||
|
||||
if(!defined('ADMIN_PATH'))
|
||||
|
@ -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') .
|
||||
|
@ -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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user