');
include "components/menumobile/menumobile.php";
$xtpl->assign('MENUMOBILE', $HTMLMenumobile);
/* include "components/menutop/menutop.php";
$xtpl->assign('MENUTOP', $HTMLMenutop);*/
include "components/menubot/menubot.php";
$xtpl->assign('MENUBOT', $HTMLMenubot);
include "components/linemenu/linemenu.php";
$xtpl->assign('LINEMENU', $HTMLLinemenu);
include "components/timkiem/timkiem.php";
$xtpl->assign('TIMKIEM', $HTMLTimkiem);
include "components/giohang/giohang.php";
$xtpl->assign('GIOHANG', $HTMLGiohang);
include "components/leftmenu/leftmenu.php";
$xtpl->assign('LEFTMENU', $HTMLLeftmenu);
//include "components/spnoibat/spnoibat.php";
//$xtpl->assign('SPNOIBAT', $HTMLSpnoibat);
include "components/logothuonghieu/logothuonghieu.php";
$xtpl->assign('LOGOTHUONGHIEU', '
' . $HTMLLogothuonghieu . '
');
$xtpl->assign('CSSMOBILE', '
');
$xtpl->assign('JSMOBILE', '');
include "components/menutuchon/menutuchon.php"; $xtpl->assign('MENUTUCHON',$HTMLMenutuchon);
} else {
//include "components/menubottom/menubottom.php"; $xtpl->assign('MENUBOTTOM',$HTMLMenubottom);
include "components/menutuchon/menutuchon.php"; $xtpl->assign('MENUTUCHON',$HTMLMenutuchon);
include "components/giohang/giohang.php";
$xtpl->assign('GIOHANG', $HTMLGiohang);
include "components/thuonghieu/thuonghieu.php";
$xtpl->assign('THUONGHIEU', $HTMLThuonghieu);
$xtpl->assign('CSSMOBILE', '
');
$xtpl->assign('JSMOBILE', '');
//include "components/dangnhap/dangnhap.php"; $xtpl->assign('DANGNHAP',$HTMLDangnhap);
include "components/menutop/menutop.php";
$xtpl->assign('MENUTOP', $HTMLMenutop);
include "components/menumobile/menumobile.php";
$xtpl->assign('MENUMOBILE', $HTMLMenumobile);
//include "components/menuvip/menuvip.php"; $xtpl->assign('MENUVIP',$HTMLMenuvip);
include "components/mailletter/mailletter.php";
$xtpl->assign('MAILLERTTER', $HTMLMailletter);
include "components/timkiem/timkiem.php";
$xtpl->assign('TIMKIEM', $HTMLTimkiem);
include "components/linemenu/linemenu.php";
$xtpl->assign('LINEMENU', $HTMLLinemenu);
include "components/support/support.php";
$xtpl->assign('SUPPORT', $HTMLSupport);
include "components/leftmenu/leftmenu.php";
$xtpl->assign('LEFTMENU', $HTMLLeftmenu);
include "components/menubot/menubot.php";
$xtpl->assign('MENUBOT', $HTMLMenubot);
//include "components/spnoibat/spnoibat.php";
//$xtpl->assign('SPNOIBAT', $HTMLSpnoibat);
include "components/logothuonghieu/logothuonghieu.php";
$xtpl->assign('LOGOTHUONGHIEU', '
' . $HTMLLogothuonghieu . '
');
//include "components/thongtincon/thongtincon.php";
//$xtpl->assign('THONGTINCON', $HTMLThongtincon);
include "components/middleadv/middleadv.php";
$xtpl->assign('MIDDLEADV', $HTMLMiddleadv);
include "components/tinnoibat/tinnoibat.php"; $xtpl->assign('TINNOIBAT',$HTMLTinnoibat);
}
if (!isset($_GET['page']) || $_GET['page'] == "") // NOI DUNG O TRANG CHU
{
include "components/home/home.php";
$xtpl->assign('HOME', $HTMLHome);
include "components/slide/slide.php";
$xtpl->assign('SLIDE', $HTMLSlide);
include "components/tinkhac/tinkhac.php";
$xtpl->assign('TINKHAC', '
' . $HTMLTinkhac . '
');
include "components/danhmuc/danhmuc.php";
$xtpl->assign('DANHMUC', $HTMLDanhmuc);
include "components/spbanchay/spbanchay.php"; $xtpl->assign('SPBANCHAY', $HTMLSpbanchay);
include "components/leftadv/leftadv.php";
$xtpl->assign('LEFTADV', $HTMLLeftadv);
$xtpl->assign('JSMENULEFT', '');
} else {
$page = "modules/" . $aFolderName[$_GET['page']] . "/" . $_GET['page'] . ".php";
if (is_file($page)) {
include "$page";
$xtpl->assign('CONTENT', '