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]); $branch = $objBranch->getDataById($_REQUEST[idbranch],$_SESSION[idlanguage]); $department = $objDepartment->getDataById($_REQUEST[iddepartment],$_SESSION[idlanguage]); //echo $_REQUEST[mod]; switch($_REQUEST[mod]){ case "course_structure": require_once("./libs/course_structure.class.php"); $objCourse_Structure = new course_structure(); $course_structure = $objCourse_Structure->getDataByBranchId($_REQUEST[idbranch],$_SESSION[idlanguage]); break; case "learning_plan": require_once("./libs/learning_plan.class.php"); $objLearning_Plan = new learning_plan(); $learning_plan = $objLearning_Plan->getDataByBranchId($_REQUEST[idbranch],$_SESSION[idlanguage]); break; case "callnumber": require_once("./libs/callnumber.class.php"); $objCallNumber = new callnumber(); $callnumber = $objCallNumber->getDataByBranchId($_REQUEST[idbranch],$_SESSION[idlanguage]); break; case "teacher": require_once("./libs/teacher.class.php"); $objTeacher = new teacher(); break; case "specialist_teacher": require_once("./libs/specialist_teacher.class.php"); $objSpecialist_Teacher = new specialist_teacher(); break; case "quality_warranty": require_once("./libs/quality_warranty.class.php"); $objQuality_Warranty = new quality_warranty(); $quality_warranty = $objQuality_Warranty->getDataByBranchId($_REQUEST[idbranch],$_SESSION[idlanguage]); break; case "gallery": require_once("./libs/gallery.class.php"); require_once("./libs/img_gallery.class.php"); $objGallery = new gallery(); $objImgGallery = new img_gallery(); default: break; } ?>




listDegree($_SESSION[idlanguage]) as $degree): ?>     
listBranchByDepartment($_SESSION[idlanguage],$_REQUEST[iddepartment]) as $_branch): ?> checkBranchDegree($_branch[master_id],$_REQUEST[iddegree]) !== false) || empty($_REQUEST[iddegree])): ?>

  • bgColor="" bgColor="#FFFFFF" onmouseOver="this.bgColor=''" onmouseOut="this.bgColor=''">   bgColor="" bgColor="#FFFFFF" onmouseOver="this.bgColor=''" onmouseOut="this.bgColor=''">   bgColor="" bgColor="#FFFFFF" onmouseOver="this.bgColor=''" onmouseOut="this.bgColor=''">   bgColor="" bgColor="#FFFFFF" onmouseOver="this.bgColor=''" onmouseOut="this.bgColor=''">
    bgColor="" bgColor="#FFFFFF" onmouseOver="this.bgColor=''" onmouseOut="this.bgColor=''">   bgColor="" bgColor="#FFFFFF" onmouseOver="this.bgColor=''" onmouseOut="this.bgColor=''">   bgColor="" bgColor="#FFFFFF" onmouseOver="this.bgColor=''" onmouseOut="this.bgColor=''">   bgColor="" bgColor="#FFFFFF" onmouseOver="this.bgColor=''" onmouseOut="this.bgColor=''">
     
     

    '; echo stripslashes($course_structure[course_structure_detail]); break; case "learning_plan": echo '
    '; echo stripslashes($learning_plan[learning_plan_detail]); break; case "callnumber": echo '
    '; echo stripslashes($callnumber[callnumber_detail]); break; case "teacher": echo '
    '; include("teacher.html"); break; case "specialist_teacher": echo '
    '; include("specialist_teacher.html"); break; case "quality_warranty": echo '
    '; echo stripslashes($quality_warranty[quality_warranty_detail]); break; case "gallery": echo '
    '; include("gallery.html"); break; case "news": echo '
    '; include("branch_news.html"); break; default: //echo '
    '; echo stripslashes($branch[branch_detail]); break; } ?>