assign('URL', $Likelink); $xtpl->assign('TIEUDE', $title); $xtpl->assign('KEYWORD', $keyword); $xtpl->assign('DESCRIPTION', $description); $xtpl->assign('WEBLINK', $weblink); $xtpl->assign('LOGO', $logo); $xtpl->assign('THEH1', $theh1); $xtpl->assign('RATING', $rating); $xtpl->assign('NUM', $num); $xtpl->assign('FACEBOOKID', $aDta_config[0]['FacebookId']); $xtpl->assign('FACEBOOKAPP', $aDta_config[0]['FacebookApp']); $xtpl->assign('HOTRO', $aDta_config[0]['Hotro' . $_SESSION['lang']]); $xtpl->assign('GIOLAM', $aDta_config[0]['Giolam']); $xtpl->assign('CODE', $aDta_config[0]['Code']); $xtpl->assign('FOOTER', $aDta_config[0]['Footer' . $_SESSION['lang']]); $xtpl->assign('HOTLINE', $aDta_config[0]['Hotline']); $xtpl->assign('HOTLINECALL', str_replace(' ', '', $aDta_config[0]['Hotline'])); $email = explode(',', $aDta_config[0]['Email']); $xtpl->assign('EMAIL', $email[0]); // Gán biến $sosphome = $aDta_config[0]['Sosphome']; $sosp = $aDta_config[0]['Sosp']; $sosptin = 20; $xtpl->assign('SOCIAL', $aDta_config[0]['Social']); $xtpl->assign('BOTTOM', $aDta_config[0]['Bottom']); $xtpl->assign('SLOGAN', $aDta_config[0]['Slogan' . $_SESSION['lang']]); $xtpl->assign('WEBSITE', $weblink); $xtpl->assign('COPYRIGHT', $aDta_config[0]['Copyright']); include "components/menubot/menubot.php"; $xtpl->assign('MENUBOT', $HTMLMenubot); include "components/tinnoibat/tinnoibat.php"; $xtpl->assign('TINNOIBAT', $HTMLTinnoibat); //include "components/textadv/textadv.php"; //$xtpl->assign('TEXTADV',$HTMLTextadv); //include "components/texttop/texttop.php"; //$xtpl->assign('TEXTTOP',$HTMLTexttop); include "components/giohang/giohang.php"; $xtpl->assign('GIOHANG', $HTMLGiohang); //include "components/dangnhap/dangnhap.php"; //$xtpl->assign('DANGNHAP',$HTMLDangnhap); include "components/logothuonghieu/logothuonghieu.php"; $xtpl->assign('LOGOTHUONGHIEU', $HTMLLogothuonghieu); include "components/menutuchon/menutuchon.php"; $xtpl->assign('MENUTUCHON',$HTMLMenutuchon); include "components/menutop/menutop.php"; $xtpl->assign('MENUTOP', $HTMLMenutop); include "components/timkiem/timkiem.php"; $xtpl->assign('TIMKIEM', $HTMLTimkiem); //include "components/timnangcao/timnangcao.php"; //$xtpl->assign('TIMNANGCAO',$HTMLTimnangcao); //include "components/middleadv/middleadv.php"; //$xtpl->assign('MIDDLEADV',$HTMLMiddleadv); include "components/linemenu/linemenu.php"; $xtpl->assign('LINEMENU', $HTMLLinemenu); //include "components/mailletter/mailletter.php"; //$xtpl->assign('MAILLETTER', $HTMLMailletter); ($aDta_config[0]['Youtube'] != "") ? $xtpl->assign('YOUTUBE', '') : $xtpl->assign('YOUTUBE', ''); //include "components/support/support.php"; //$xtpl->assign('SUPPORT', $HTMLSupport); include "components/leftmenu/leftmenu.php"; $xtpl->assign('LEFTMENU', $HTMLLeftmenu); $xtpl->assign('FACEBOOKBOX', getfacebookbox($aDta_config[0]['Facebook'])); /*include "components/leftadv/leftadv.php"; $xtpl->assign('LEFTADV', $HTMLLeftadv); include "components/rightadv/rightadv.php"; $xtpl->assign('RIGHTADV', $HTMLRightadv);*/ //include "components/spbanchay/spbanchay.php"; $xtpl->assign('SPBANCHAY', $HTMLSpbanchay); ($aDta_config[0]['Listkey'] != "") ? $xtpl->assign('LISTKEY', '
Liên kết nhanh
' . $aDta_config[0]['Listkey'] . '
') : $xtpl->assign('LISTKEY', ''); $menumobile = '' . $lang_titmenu . ''; $xtpl->assign('MOBILEICON', '
' . $menumobile . '
'); include "components/menumobile/menumobile.php"; $xtpl->assign('MENUMOBILE', $HTMLMenumobile); $xtpl->assign('CSSMOBILE', ' '); $xtpl->assign('JSMOBILE', ''); if (!isset($_GET['page']) || $_GET['page'] == "") // NOI DUNG O TRANG CHU { include "components/home/home.php"; $xtpl->assign('HOME', $HTMLHome); //include "components/duan/duan.php"; //$xtpl->assign('DUAN', $HTMLDuan); include "components/texttop/texttop.php"; $xtpl->assign('TEXTTOP', $HTMLTexttop); include "components/slide/slide.php"; $xtpl->assign('SLIDE', $HTMLSlide); //include "components/topadv/topadv.php"; //$xtpl->assign('TOPADV',$HTMLTopadv); $xtpl->assign('DIACHI', '
' . $aDta_config[0]['Home'] . '
'); $xtpl->assign('INTROHOME', '
' . $aDta_config[0]['Giolam'] . '
'); include "components/spnoibat/spnoibat.php"; $xtpl->assign('SPNOIBAT', $HTMLSpnoibat); $center = 'centercol'; } else { $page = "modules/" . $aFolderName[$_GET['page']] . "/" . $_GET['page'] . ".php"; if (is_file($page)) { include "$page"; $xtpl->assign('CONTENT', $HTMLContent); $xtpl->assign('HIDEMENU', 'hidemenu'); } include "components/booking/booking.php"; $xtpl->assign('BOOKING', $HTMLBooking); $center = 'centercontent'; } $xtpl->assign('CENTER', $center); if ($_SESSION['ThanhvienId'] != "") { include "components/menutv/menutv.php"; $xtpl->assign('MENUTV', $HTMLMenutv); } if ($_GET['page'] == "dta_chitietsanpham") { $metanew = ' '; $xtpl->assign('METANEW',$metanew); } $xtpl->assign('GUITHU', $lang_chon); $xtpl->assign('CHAMNGON', $lang_chamngon); $xtpl->parse('MAIN'); $xtpl->out('MAIN');