define_dynamic( 'TABLE1', $tplflag ); $title_name = "XXXX"; //echo "Target : ".$target."
"; switch($target) { case "about": $title_name = "XXXX"; break; case "gukeng": $title_name = "111古坑服務區"; break; } $tpl->assign('V_TITLE',$title_name); $tpl->parse( 'F_'.$tplflag, $tplflag ); $tpl->fastprint(); } function HeaderPage13($target) { //$DB = & DB(); $tplflag = 'tpl_ca_edit'; $tpl = tpl('template/news', $tplflag, 'header.html'); $tpl->define_dynamic( 'TABLE1', $tplflag ); $title_name = "最新消息"; $tpl->assign('V_TITLE',$title_name); $tpl->parse( 'F_'.$tplflag, $tplflag ); $tpl->fastprint(); } function HeaderPage12($target) { //$DB = & DB(); $tplflag = 'tpl_ca_edit'; $tpl = tpl('template/home', $tplflag, 'header.html'); $tpl->define_dynamic( 'TABLE1', $tplflag ); $title_name = "首頁"; $tpl->assign('V_TITLE',$title_name); $tpl->parse( 'F_'.$tplflag, $tplflag ); $tpl->fastprint(); } function HeaderPage11($target) { //$DB = & DB(); $tplflag = 'tpl_ca_edit'; $tpl = tpl('template/domestics', $tplflag, 'header.html'); $tpl->define_dynamic( 'TABLE1', $tplflag ); $title_name = "服務據點"; $tpl->assign('V_TITLE',$title_name); $tpl->parse( 'F_'.$tplflag, $tplflag ); $tpl->fastprint(); } function HeaderPage10($target) { //$DB = & DB(); $tplflag = 'tpl_ca_edit'; $tpl = tpl('template/about', $tplflag, 'header.html'); $tpl->define_dynamic( 'TABLE1', $tplflag ); $title_name = "國道服務區"; $tpl->assign('V_TITLE',$title_name); $tpl->parse( 'F_'.$tplflag, $tplflag ); $tpl->fastprint(); } function HeaderPage2($target) { //$DB = & DB(); $tplflag = 'tpl_ca_edit'; $tpl = tpl('template/gukeng', $tplflag, 'header.html'); $tpl->define_dynamic( 'TABLE1', $tplflag ); $title_name = "古坑服務區"; $tpl->assign('V_TITLE',$title_name); $tpl->parse( 'F_'.$tplflag, $tplflag ); $tpl->fastprint(); } function HeaderPage3($target) { //$DB = & DB(); $tplflag = 'tpl_ca_edit'; $tpl = tpl('template/gukeng', $tplflag, 'header2.html'); $tpl->define_dynamic( 'TABLE1', $tplflag ); $title_name = "古坑服務區"; $tpl->assign('V_TITLE',$title_name); $tpl->parse( 'F_'.$tplflag, $tplflag ); $tpl->fastprint(); } function HeaderPage4($target) { //$DB = & DB(); $tplflag = 'tpl_ca_edit'; $tpl = tpl('template/hukou', $tplflag, 'header.html'); $tpl->define_dynamic( 'TABLE1', $tplflag ); $title_name = "湖口服務區"; $tpl->assign('V_TITLE',$title_name); $tpl->parse( 'F_'.$tplflag, $tplflag ); $tpl->fastprint(); } function HeaderPage5($target) { //$DB = & DB(); $tplflag = 'tpl_ca_edit'; $tpl = tpl('template/hukou', $tplflag, 'header2.html'); $tpl->define_dynamic( 'TABLE1', $tplflag ); $title_name = "湖口服務區"; $tpl->assign('V_TITLE',$title_name); $tpl->parse( 'F_'.$tplflag, $tplflag ); $tpl->fastprint(); } function HeaderPage6($target) { //$DB = & DB(); $tplflag = 'tpl_ca_edit'; $tpl = tpl('template/zhongli', $tplflag, 'header.html'); $tpl->define_dynamic( 'TABLE1', $tplflag ); $title_name = "中壢服務區"; $tpl->assign('V_TITLE',$title_name); $tpl->parse( 'F_'.$tplflag, $tplflag ); $tpl->fastprint(); } function HeaderPage7($target) { //$DB = & DB(); $tplflag = 'tpl_ca_edit'; $tpl = tpl('template/zhongli', $tplflag, 'header2.html'); $tpl->define_dynamic( 'TABLE1', $tplflag ); $title_name = "中壢服務區"; $tpl->assign('V_TITLE',$title_name); $tpl->parse( 'F_'.$tplflag, $tplflag ); $tpl->fastprint(); } function HeaderPage8($target) { //$DB = & DB(); $tplflag = 'tpl_ca_edit'; $tpl = tpl('template/taian', $tplflag, 'header.html'); $tpl->define_dynamic( 'TABLE1', $tplflag ); $title_name = "泰安服務區"; $tpl->assign('V_TITLE',$title_name); $tpl->parse( 'F_'.$tplflag, $tplflag ); $tpl->fastprint(); } function HeaderPage9($target) { $tplflag = 'tpl_ca_edit'; $tpl = tpl('template/taian', $tplflag, 'header2.html'); $tpl->define_dynamic( 'TABLE1', $tplflag ); $title_name = "泰安服務區"; $tpl->assign('V_TITLE',$title_name); $tpl->parse( 'F_'.$tplflag, $tplflag ); $tpl->fastprint(); } function HeaderPage14($target) { //$DB = & DB(); $tplflag = 'tpl_ca_edit'; $tpl = tpl('template/hsilo', $tplflag, 'header2.html'); $tpl->define_dynamic( 'TABLE1', $tplflag ); $title_name = "西螺服務區"; $tpl->assign('V_TITLE',$title_name); $tpl->parse( 'F_'.$tplflag, $tplflag ); $tpl->fastprint(); } function HeaderPage20($target) { //$DB = & DB(); $tplflag = 'tpl_ca_edit'; $tpl = tpl('template/hsilo', $tplflag, 'header.html'); $tpl->define_dynamic( 'TABLE1', $tplflag ); $title_name = "西螺服務區"; $tpl->assign('V_TITLE',$title_name); $tpl->parse( 'F_'.$tplflag, $tplflag ); $tpl->fastprint(); } function HeaderPage21($target) { //$DB = & DB(); $tplflag = 'tpl_ca_edit'; $tpl = tpl('template/dongshan', $tplflag, 'header.html'); $tpl->define_dynamic( 'TABLE1', $tplflag ); $title_name = "東山服務區"; $tpl->assign('V_TITLE',$title_name); $tpl->parse( 'F_'.$tplflag, $tplflag ); $tpl->fastprint(); } function HeaderPage22($target) { //$DB = & DB(); $tplflag = 'tpl_ca_edit'; $tpl = tpl('template/dongshan', $tplflag, 'header2.html'); $tpl->define_dynamic( 'TABLE1', $tplflag ); $title_name = "東山服務區"; $tpl->assign('V_TITLE',$title_name); $tpl->parse( 'F_'.$tplflag, $tplflag ); $tpl->fastprint(); } function HeaderPage23($target) { //$DB = & DB(); $tplflag = 'tpl_ca_edit'; $tpl = tpl('template/eda', $tplflag, 'header.html'); $tpl->define_dynamic( 'TABLE1', $tplflag ); $title_name = "義大醫院商場"; $tpl->assign('V_TITLE',$title_name); $tpl->parse( 'F_'.$tplflag, $tplflag ); $tpl->fastprint(); } function HeaderPage24($target) { //$DB = & DB(); $tplflag = 'tpl_ca_edit'; $tpl = tpl('template/eda', $tplflag, 'header2.html'); $tpl->define_dynamic( 'TABLE1', $tplflag ); $title_name = "義大醫院商場"; $tpl->assign('V_TITLE',$title_name); $tpl->parse( 'F_'.$tplflag, $tplflag ); $tpl->fastprint(); } function HeaderPage25($target) { //$DB = & DB(); $tplflag = 'tpl_ca_edit'; $tpl = tpl('template/guanmiao', $tplflag, 'header.html'); $tpl->define_dynamic( 'TABLE1', $tplflag ); $title_name = "關廟服務區"; $tpl->assign('V_TITLE',$title_name); $tpl->parse( 'F_'.$tplflag, $tplflag ); $tpl->fastprint(); } function HeaderPage26($target) { //$DB = & DB(); $tplflag = 'tpl_ca_edit'; $tpl = tpl('template/guanmiao', $tplflag, 'header2.html'); $tpl->define_dynamic( 'TABLE1', $tplflag ); $title_name = "關廟服務區"; $tpl->assign('V_TITLE',$title_name); $tpl->parse( 'F_'.$tplflag, $tplflag ); $tpl->fastprint(); } function HeaderPage27($target) { //$DB = & DB(); $tplflag = 'tpl_ca_edit'; $tpl = tpl('template/beimen', $tplflag, 'header.html'); $tpl->define_dynamic( 'TABLE1', $tplflag ); $title_name = "北門商場"; $tpl->assign('V_TITLE',$title_name); $tpl->parse( 'F_'.$tplflag, $tplflag ); $tpl->fastprint(); } function HeaderPage28($target) { //$DB = & DB(); $tplflag = 'tpl_ca_edit'; $tpl = tpl('template/beimen', $tplflag, 'header2.html'); $tpl->define_dynamic( 'TABLE1', $tplflag ); $title_name = "北門商場"; $tpl->assign('V_TITLE',$title_name); $tpl->parse( 'F_'.$tplflag, $tplflag ); $tpl->fastprint(); } ?>