» International Programs
$period = 5;
$resp = mysql_fetch_array(mysql_query("select * from inter_program_period_project where period=$period"));
if($resp['project'] != "")$project = $resp['project']; else $project = "";
if($resp['red_mark'] != "")$redmark = $resp['red_mark']; else $redmark = "";
$res_fac=mysql_fetch_array(mysql_query("select * from kku_faculty where F_ID=$faculty"));
$res_sts_qry=mysql_query("select * from inter_program_conf_sts where faculty=$faculty and period=$period");
$res_sts_num=mysql_num_rows($res_sts_qry);
$res_sts_fet=mysql_fetch_array($res_sts_qry);
$res_db_num=mysql_num_rows(mysql_query("select csid from inter_program where faculty=$faculty"));
$res_online_num=mysql_num_rows(mysql_query("select ocsid from inter_online_program where faculty=$faculty"));
?>
At Khon Kaen University, we give you choices of the variety of our outstanding programs and majors. Let's find your path and tailor your dreams as you go. The information presented here are the program of study beginning in the echo $resp['period_year']-543; ?> academic year.
//$qry1=mysql_query("select faculty from inter_program_conf_sts where period=$period and conf_sts = 'y' and submit_sts = 'y'");
$qry1=mysql_query("select * from kku_faculty where F_Sts='norm' and F_ID<98");
while($res1=mysql_fetch_array($qry1))
{
$F_ID=$res1['F_ID'];
$faculty=mysql_fetch_array(mysql_query("select * from kku_faculty where F_ID='$F_ID'"));
$fac_name = $faculty['FE_Name'];
$snum=mysql_num_rows(mysql_query("select * from inter_program_period where period=$period and faculty=$F_ID"));
$contact=mysql_fetch_array(mysql_query("select * from inter_program_contact where F_ID='$F_ID'"));
?>
echo $fac_name ; ?>
echo $contact['weburl'] ; ?>
Contact person: echo $contact['cfname'] ; ?> E-mail: echo $contact['email'] ; ?>
Tel.: echo $contact['tel'] ; ?> Fax.: echo $contact['fax'] ; ?>
if($snum > 0){ ?>
Programs (Amount: echo $snum ; ?>)
No. |
Program |
Degree |
Info. |
$qry2=mysql_query("select * from inter_program_period,inter_program where inter_program_period.faculty=$F_ID and inter_program_period.period=$period and inter_program.faculty=$F_ID and inter_program_period.csid=inter_program.csid order by inter_program.level ASC");
$i=0;
while($res2=mysql_fetch_array($qry2))
{
if($res2['fundtype']=="full")$funds="เต็มจำนวน
(".$res2['funamt']." ทุน)";
elseif($res2['fundtype']=="partial")$funds="บางส่วน
(".$res2['funamt']." ทุน)";
else $funds="ไม่มีทุน";
if($res2['studytime']=="weekday")$studytime="Mon.-Fri.";
elseif($res2['studytime']=="weekend")$studytime="Sat.-Sun.";
if($res2['location']=="online")$location="Online";
elseif($res2['location']=="onsite")$location="Onsite";
if($res2['studyplan']=="no")$studyplan="";
elseif($res2['studyplan']=="a1")$studyplan="Plan A 1";
elseif($res2['studyplan']=="a2")$studyplan="Plan A 2";
elseif($res2['studyplan']=="b")$studyplan="Plan B";
elseif($res2['studyplan']=="11")$studyplan="Type 1.1";
elseif($res2['studyplan']=="12")$studyplan="Type 1.2";
elseif($res2['studyplan']=="21")$studyplan="Type 2.1";
elseif($res2['studyplan']=="22")$studyplan="Type 2.2";
if($res2['level']=="M")$level="Master Degree";
elseif($res2['level']=="D")$level="Doctoral Degree";
elseif($res2['level']=="B")$level="Bachelor Degree";
elseif($res2['level']=="H")$level="Higher Diploma";
elseif($res2['level']=="G")$level="Graduate Diploma";
if($res2['remark']=="")$remark="";
else $remark="
Remark: ".$res2['remark'];
if($res2['ptype']=="normal")
{
if($res2['plan']=="reg"){$ptype="Regular";}
elseif($res2['plan']=="spec"){$ptype="Special";}
if($res2['method']=="th"){$method="taught in Thai";}
elseif($res2['method']=="en"){$method="taught in English";}
elseif($res2['method']=="bi"){$method="taught in English & Thai";}
$programs = "".$res2['programen']."";
$programs .= "
Type: ".$ptype." | Study time: ".$studytime." | Plan: ".$studyplan." | ".$location;
$programs .= "
".$method." | Duration: ".$res2['duration']." | ".number_format($res2['fee'])." Baht/Semester".$remark;
}
elseif($res2['ptype']=="inter")
{
$ptype="International Program";
$programs = "".$res2['programen']."";
$programs .= "
Type: ".$ptype." | Study time: ".$studytime." | Plan: ".$studyplan." | ".$location;
$programs .= "
Duration: ".$res2['duration']." | ".number_format($res2['fee'])." Baht/Semester".$remark;
}
elseif($res2['ptype']=="dual")
{
$ptype="Dual Degree Program";
if($res2['method']=="th"){$method="taught in Thai";}
elseif($res2['method']=="en"){$method="taught in English";}
elseif($res2['method']=="bi"){$method="taught in English & Thai";}
$programs = "".$res2['programen']."
with: ".$res2['institute']."";
$programs .= "
Type: ".$ptype." | Study time: ".$studytime." | Plan: ".$studyplan." | ".$location;
$programs .= "
".$method." | Duration: ".$res2['duration']." | ".number_format($res2['fee'])." Baht/Semester".$remark;
}
elseif($res2['ptype']=="reg")
{
$ptype="Regular Program";
if($res2['method']=="th"){$method="taught in Thai";}
elseif($res2['method']=="en"){$method="taught in English";}
elseif($res2['method']=="bi"){$method="taught in English & Thai";}
$programs = "".$res2['programen']."";
$programs .= "
Type: ".$ptype." | Study time: ".$studytime." | Plan: ".$studyplan." | ".$location;
$programs .= "
".$method." | Duration: ".$res2['duration']." | ".number_format($res2['fee'])." Baht/Semester".$remark;
}
elseif($res2['ptype']=="spec")
{
$ptype="Special Program";
if($res2['method']=="th"){$method="taught in Thai";}
elseif($res2['method']=="en"){$method="taught in English";}
elseif($res2['method']=="bi"){$method="taught in English & Thai";}
$programs = "".$res2['programen']."";
$programs .= "
Type: ".$ptype." | Study time: ".$studytime." | Plan: ".$studyplan." | ".$location;
$programs .= "
".$method." | Duration: ".$res2['duration']." | ".number_format($res2['fee'])." Baht/Semester".$remark;
}
?>
echo ++$i; ?> |
echo $programs; ?> |
echo $level; ?> |
|
}
$i=0;
?>
} ?>
$onum=mysql_num_rows(mysql_query("select * from inter_online_program_period where period=$period and faculty=$F_ID"));
if($onum > 0){
?>
Online Courses(Amount: echo $onum; ?>)
No. |
Course |
Qualification |
Info. |
$sql = "select * from inter_online_program_period,inter_online_program where inter_online_program_period.faculty=$F_ID and inter_online_program_period.period=$period and inter_online_program.faculty=$F_ID and inter_online_program_period.ocsid=inter_online_program.ocsid";
$qry = mysql_query($sql);
while($res2=mysql_fetch_array($qry))
{
if($res2['remark']=="")$remark="";
else $remark="
Remark: ".$res2['remark'];
if($res2['student']=="y")$qualification="- Student
";
if($res2['teacher']=="y")$qualification.="- Teacher / Lecturer
";
if($res2['educator']=="y")$qualification.="- Academic Staff
";
if($res2['interestor']=="y")$qualification.="- Any one interested
";
if($res2['fee_remark']=="")$fee_remark=number_format($res2['fee'],2)." Baht";
else $fee_remark=number_format($res2['fee'],2)." Baht (".$res2['fee_remark'].")";
$start_dateq = date_format(date_create($res2['start_date']),"d/m/Y");
$end_dateq = date_format(date_create($res2['end_date']),"d/m/Y");
$programs = "".$res2['programen']."";
$programs .= "
Start from ".$start_dateq." until ".$end_dateq ." | ".$res2['hour_per_week']." Hours/Week";
$programs .= "
".$fee_remark." | ".$res2['regis_url']." | ".$remark;
?>
echo ++$i; ?> |
echo $programs; ?> |
echo $qualification; ?> |
|
}
$i=0;
}
?>
}
?>