dbObj->debug = true; $objOfficers = new officers(); $objNews = new news(); $objAnnounce = new announce(); $objAbout_Us = new about_us(); $objDegree = new degree(); $objLanguage = new language(); //$objAbout_Us->dbObj->debug=true; $objSetting = new setting(); $setting = $objSetting->getExistedSetting(); $objBanner = new banner(); if(empty($_REQUEST[language_code])){ if(empty($_SESSION[language_code])){ $_SESSION[language_code] = "TH"; } }else{ $_SESSION[language_code]=$_REQUEST[language_code]; } $Lang = $objLanguage->GetLanguageByCode($_SESSION[language_code]); $_SESSION[idlanguage] = $Lang[idlanguage]; $_SESSION[language_code] = $Lang[language_code]; $about_us = $objAbout_Us->getExistedByLanguage($_SESSION[idlanguage]); ?>




listDegree($_SESSION[idlanguage]) as $degree): ?>     




listBannerMain() as $banner): ?>