if($array_reg['faculty']=="Public")
{
echo "บุคคลภายนอก";
}else
{
$fac_n = array(
"Law Division"=>"กองกฎหมาย",
"Division of Central Administration"=>"กองกลาง",
"Personnel Management Division"=>"กองการบริหารงานบุคคล",
"Division of General Education"=>"กองการศึกษาทั่วไป",
"Student Affairs Division"=>"กองกิจการนิสิต",
"Financial Division"=>"กองคลัง",
"Division of Academic Affairs"=>"กองบริการการศึกษา",
"CITCOMS"=>"กองบริการเทคโนโลยีสารสนเทศและการสื่อสาร",
"Division of Acadamic Service and Asset Management"=>"กองบริการวิชาการและการจัดการทรัพย์สิน",
"Division of Research Administration"=>"กองบริหารการวิจัย",
"Planning Division"=>"กองแผนงาน",
"Division of Marketing Strategy Development"=>"กองพัฒนากลยุทธ์การตลาด",
"Division of International Development"=>"กองพัฒนากิจการต่างประเทศ",
"Educational Quality Development Division"=>"กองพัฒนาคุณภาพการศึกษา",
"Alumni Relations Development Division"=>"กองพัฒนาศิษย์เก่าสัมพันธ์",
"Division of Building and Ground"=>"กองอาคารสถานที่",
"Faculty of Agriculture, Nature Resources and Environment"=>"คณะเกษตรศาสตร์ ทรัพยากรธรรมชาติ และสิ่งแวดล้อม",
"Faculty of Dentistry"=>"คณะทันตแพทยศาสตร์",
"Faculty of Law"=>"คณะนิติศาสตร์",
"Faculty of Business, Economics and Communications"=>"คณะบริหารธุรกิจ เศรษฐศาสตร์และการสื่อสาร",
"Faculty of Nursing"=>"คณะพยาบาลศาสตร์",
"Faculty of Medicine"=>"คณะแพทยศาสตร์",
"Faculty of Pharmaceutical Sciences"=>"คณะเภสัชศาสตร์",
"Faculty of Humanities"=>"คณะมนุษยศาสตร์",
"Faculty of Science"=>"คณะวิทยาศาสตร์",
"Faculty of Medical Sciences"=>"คณะวิทยาศาสตร์การแพทย์",
"Faculty of Engineering"=>"คณะวิศวกรรมศาสตร์",
"Faculty of Education"=>"คณะศึกษาศาสตร์",
"Faculty of Architecture, Art and Design"=>"คณะสถาปัตยกรรมศาสตร์ ศิลปะและการออกแบบ",
"Faculty of Allied Health Sciences"=>"คณะสหเวชศาสตร์",
"Faculty of Social Sciences"=>"คณะสังคมศาสตร์",
"Faculty of Public Health"=>"คณะสาธารณสุขศาสตร์",
"Graduate School"=>"บัณฑิตวิทยาลัย",
"Naresuan Univerity Hospital"=>"โรงพยาบาลมหาวิทยาลัยนเรศวร",
"Naresuan University Secondary Demonstration School"=>"โรงเรียนมัธยมสาธิตมหาวิทยาลัยนเรศวร",
"Naresuan University International College"=>"วิทยาลัยนานาชาติ",
"College of ASEAN Community Studies"=>"วิทยาลัยประชาคมอาเซียนศึกษา",
"School of Renewable Energy Technology"=>"วิทยาลัยพลังงานทดแทน",
"Institute for Fundamental Study"=>"วิทยาลัยเพื่อการค้นคว้าระดับรากฐาน",
"School of Logistics and Supply Chain"=>"วิทยาลัยโลจิสติกส์และโซ่อุปทาน",
"Naresuan University Continuing Education Division"=>"สถานการศึกษาต่อเนื่องมหาวิทยาลัยนเรศวร",
"Naresuan University Business Incubation Center"=>"สถานบ่มเพาะวิสาหกิจมหาวิทยาลัยนเรศวร",
"NULC"=>"สถานพัฒนาวิชาการด้านภาษา",
"Naresuan Institute for Community Empowerment"=>"สถานเพื่อสร้างความเข้มแข็งให้ชุมชน",
"Regional Center of Geo-Informatics and Space Technology"=>"สถานภูมิภาคเทคโนโลยีอวกาศและภูมิสารสนเทศภาคเหนือตอนล่าง",
"Center For Animal Research Naresuan University"=>"สถานสัตว์ทดลองเพื่อการวิจัย",
"Institute of Mekong-Salween Civilization Studies"=>"สถานอารยธรรมศึกษาโขง - สาละวิน",
"Naresuan University FM Radio"=>"สถานีวิทยุ",
"Office of Internal Audit Naresuan University"=>"สำนักงานตรวจสอบภายใน",
"Office of the Faculty Senate"=>"สำนักงานสภาอาจารย์",
"Office of the President"=>"สำนักงานอธิการบดี",
"Naresuan Library"=>"สำนักหอสมุด");
$faculty = $fac_n[$array_reg['faculty']];
echo "$faculty";
}
?>
if($array_reg['faculty']=="Public")
{
echo "บุคคลภายนอก";
}else
{
$fac_n = array(
"Law Division"=>"กองกฎหมาย",
"Division of Central Administration"=>"กองกลาง",
"Personnel Management Division"=>"กองการบริหารงานบุคคล",
"Division of General Education"=>"กองการศึกษาทั่วไป",
"Student Affairs Division"=>"กองกิจการนิสิต",
"Financial Division"=>"กองคลัง",
"Division of Academic Affairs"=>"กองบริการการศึกษา",
"CITCOMS"=>"กองบริการเทคโนโลยีสารสนเทศและการสื่อสาร",
"Division of Acadamic Service and Asset Management"=>"กองบริการวิชาการและการจัดการทรัพย์สิน",
"Division of Research Administration"=>"กองบริหารการวิจัย",
"Planning Division"=>"กองแผนงาน",
"Division of Marketing Strategy Development"=>"กองพัฒนากลยุทธ์การตลาด",
"Division of International Development"=>"กองพัฒนากิจการต่างประเทศ",
"Educational Quality Development Division"=>"กองพัฒนาคุณภาพการศึกษา",
"Alumni Relations Development Division"=>"กองพัฒนาศิษย์เก่าสัมพันธ์",
"Division of Building and Ground"=>"กองอาคารสถานที่",
"Faculty of Agriculture, Nature Resources and Environment"=>"คณะเกษตรศาสตร์ ทรัพยากรธรรมชาติ และสิ่งแวดล้อม",
"Faculty of Dentistry"=>"คณะทันตแพทยศาสตร์",
"Faculty of Law"=>"คณะนิติศาสตร์",
"Faculty of Business, Economics and Communications"=>"คณะบริหารธุรกิจ เศรษฐศาสตร์และการสื่อสาร",
"Faculty of Nursing"=>"คณะพยาบาลศาสตร์",
"Faculty of Medicine"=>"คณะแพทยศาสตร์",
"Faculty of Pharmaceutical Sciences"=>"คณะเภสัชศาสตร์",
"Faculty of Humanities"=>"คณะมนุษยศาสตร์",
"Faculty of Science"=>"คณะวิทยาศาสตร์",
"Faculty of Medical Sciences"=>"คณะวิทยาศาสตร์การแพทย์",
"Faculty of Engineering"=>"คณะวิศวกรรมศาสตร์",
"Faculty of Education"=>"คณะศึกษาศาสตร์",
"Faculty of Architecture"=>"คณะสถาปัตยกรรมศาสตร์",
"Faculty of Allied Health Sciences"=>"คณะสหเวชศาสตร์",
"Faculty of Social Sciences"=>"คณะสังคมศาสตร์",
"Faculty of Public Health"=>"คณะสาธารณสุขศาสตร์",
"Graduate School"=>"บัณฑิตวิทยาลัย",
"Naresuan Univerity Hospital"=>"โรงพยาบาลมหาวิทยาลัยนเรศวร",
"Naresuan University Secondary Demonstration School"=>"โรงเรียนมัธยมสาธิตมหาวิทยาลัยนเรศวร",
"Naresuan University International College"=>"วิทยาลัยนานาชาติ",
"College of ASEAN Community Studies"=>"วิทยาลัยประชาคมอาเซียนศึกษา",
"School of Renewable Energy Technology"=>"วิทยาลัยพลังงานทดแทน",
"Institute for Fundamental Study"=>"วิทยาลัยเพื่อการค้นคว้าระดับรากฐาน",
"School of Logistics and Supply Chain"=>"วิทยาลัยโลจิสติกส์และโซ่อุปทาน",
"Naresuan University Continuing Education Division"=>"สถานการศึกษาต่อเนื่องมหาวิทยาลัยนเรศวร",
"Naresuan University Business Incubation Center"=>"สถานบ่มเพาะวิสาหกิจมหาวิทยาลัยนเรศวร",
"NULC"=>"สถานพัฒนาวิชาการด้านภาษา",
"Naresuan Institute for Community Empowerment"=>"สถานเพื่อสร้างความเข้มแข็งให้ชุมชน",
"Regional Center of Geo-Informatics and Space Technology"=>"สถานภูมิภาคเทคโนโลยีอวกาศและภูมิสารสนเทศภาคเหนือตอนล่าง",
"Center For Animal Research Naresuan University"=>"สถานสัตว์ทดลองเพื่อการวิจัย",
"Institute of Mekong-Salween Civilization Studies"=>"สถานอารยธรรมศึกษาโขง - สาละวิน",
"Naresuan University FM Radio"=>"สถานีวิทยุ",
"Office of Internal Audit Naresuan University"=>"สำนักงานตรวจสอบภายใน",
"Office of the Faculty Senate"=>"สำนักงานสภาอาจารย์",
"Office of the President"=>"สำนักงานอธิการบดี",
"Naresuan Library"=>"สำนักหอสมุด");
$faculty = $fac_n[$array_reg['faculty']];
echo "$faculty";
}
?>