getExistedSetting(); 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]; //$info = $objMain_Info->getExistedByLanguage($idlanguage); //$currentDegree = $objDegree->getDataById($_REQUEST[master_id],$_SESSION[idlanguage]); $department = $objDepartment->getDataById($_REQUEST[iddepartment],$_SESSION[idlanguage]); ?>




listDegree($_SESSION[idlanguage]) as $degree): ?>     
listBranchByDepartment($_SESSION[idlanguage],$_REQUEST[iddepartment]) as $branch): ?> checkBranchDegree($branch[master_id],$_REQUEST[iddegree]) !== false) || empty($_REQUEST[iddegree])): ?>
 
  •  
     
     
    dbObj->debug= true; if($objNews->checkExistedDepartmentNews($_REQUEST[iddepartment],$_SESSION[idlanguage])): ?>
    checkExistedDepartmentNews($_REQUEST[iddepartment],$_SESSION[idlanguage])): ?> GetDefaultLanguage(); $objNews->Limit = 8; // $objNews->dbObj->debug=true; $paging = $objNews->GenNewsPageList("news.html?sN=".$_REQUEST[sN]."&",$_SESSION[idlanguage], 10, $_REQUEST[page], $objNews->Limit); $page = empty($_REQUEST[page])?1:$_REQUEST[page]; $i=1+(($page-1)*$objNews->Limit); //$i=1; foreach($objNews->listNews($_SESSION[idlanguage],$_REQUEST[page],$objNews->Limit) as $news ): ?>
     

     


    listBannerByDepartment($_REQUEST[iddepartment]) as $banner): ?>