Notice (8): Undefined variable: output1 [APP\Controller\StudentsController.php, line 15286]Code Context
$total = 0;
$totals1 = $totals1 + $output1;
$yearList = '2565'
$term = '2'
$degree_id = '1'
$UserName = null
$admins = null
$lastYearTerms = array(
'Yearterm' => array(
'id' => '35',
'year' => '2567',
'term' => '2',
'trm' => '672',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2567',
'postdate' => '2024-11-11',
'level' => '1'
)
)
$degreedropdowns = array(
(int) 0 => array(
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
)
),
(int) 1 => array(
'Degree' => array(
'id' => '3',
'degree_name' => 'ปริญญาโท',
'degree_name_en' => 'Master's degree'
)
),
(int) 2 => array(
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
)
)
)
$dropdowns = array(
(int) 0 => array(
'Yearterm' => array(
'id' => '35',
'year' => '2567',
'term' => '2',
'trm' => '672',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2567',
'postdate' => '2024-11-11',
'level' => '1'
)
),
(int) 1 => array(
'Yearterm' => array(
'id' => '34',
'year' => '2567',
'term' => '1',
'trm' => '671',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2567',
'postdate' => '2024-07-05',
'level' => '1'
)
),
(int) 2 => array(
'Yearterm' => array(
'id' => '33',
'year' => '2566',
'term' => '3',
'trm' => '663',
'name' => 'ภาคการศึกษาที่ 3 ปีการศึกษา 2566',
'postdate' => '2024-05-15',
'level' => '1'
)
),
(int) 3 => array(
'Yearterm' => array(
'id' => '32',
'year' => '2566',
'term' => '2',
'trm' => '662',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2566',
'postdate' => '2023-12-06',
'level' => '1'
)
),
(int) 4 => array(
'Yearterm' => array(
'id' => '31',
'year' => '2566',
'term' => '1',
'trm' => '661',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2566',
'postdate' => '2023-07-06',
'level' => '1'
)
),
(int) 5 => array(
'Yearterm' => array(
'id' => '30',
'year' => '2565',
'term' => '3',
'trm' => '653',
'name' => 'ภาคการศึกษาที่ 3 ปีการศึกษา 2565',
'postdate' => '2023-05-01',
'level' => '1'
)
),
(int) 6 => array(
'Yearterm' => array(
'id' => '29',
'year' => '2565',
'term' => '2',
'trm' => '652',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2565',
'postdate' => '2022-12-09',
'level' => '1'
)
),
(int) 7 => array(
'Yearterm' => array(
'id' => '28',
'year' => '2565',
'term' => '1',
'trm' => '651',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2565',
'postdate' => '2022-07-20',
'level' => '1'
)
),
(int) 8 => array(
'Yearterm' => array(
'id' => '27',
'year' => '2564',
'term' => '3',
'trm' => '643',
'name' => 'ภาคการศึกษาที่ 3 ปีการศึกษา 2564',
'postdate' => '2022-03-28',
'level' => '1'
)
),
(int) 9 => array(
'Yearterm' => array(
'id' => '26',
'year' => '2564',
'term' => '2',
'trm' => '642',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2564',
'postdate' => '2022-03-27',
'level' => '1'
)
),
(int) 10 => array(
'Yearterm' => array(
'id' => '25',
'year' => '2564',
'term' => '1',
'trm' => '641',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2564',
'postdate' => '2021-07-07',
'level' => '1'
)
),
(int) 11 => array(
'Yearterm' => array(
'id' => '24',
'year' => '2563',
'term' => '3',
'trm' => '633',
'name' => 'ภาคการศึกษาที่ 3 ปีการศึกษา 2563',
'postdate' => '2021-05-06',
'level' => '1'
)
)
)
$findStudentInNewTerm = array(
'Studentterm' => array(
'term_year' => '2565',
'term_id' => '2',
'student_id' => '660851005'
)
)
$years = array(
(int) 0 => array(
'Yearterm' => array(
'id' => '29',
'year' => '2565',
'term' => '2',
'trm' => '652',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2565',
'postdate' => '2022-12-09',
'level' => '1'
)
)
)
$countstudentTerm = (int) 1663
$output = ''
$totals1 = (int) 0
$totals2 = (int) 0
$totals3 = (int) 0
$totals4 = (int) 0
$totals5 = (int) 0
$totals6 = (int) 0
$totals7 = (int) 0
$totals8 = (int) 0
$totals9 = (int) 0
$totals10 = (int) 0
$output3 = ''
$totals13 = (int) 0
$totals23 = (int) 0
$totals33 = (int) 0
$totals43 = (int) 0
$totals53 = (int) 0
$totals63 = (int) 0
$totals73 = (int) 0
$totals83 = (int) 0
$totals93 = (int) 0
$totals103 = (int) 0
$output5 = ''
$totals15 = (int) 0
$totals25 = (int) 0
$totals35 = (int) 0
$totals45 = (int) 0
$totals55 = (int) 0
$totals65 = (int) 0
$totals75 = (int) 0
$totals85 = (int) 0
$totals95 = (int) 0
$totals105 = (int) 0
$totals115 = (int) 0
$majors = array(
(int) 0 => array(
'Majordegree' => array(
'id' => '1',
'major_name' => 'สาขาวิชาเศรษฐศาสตร์เกษตร',
'major_id' => '1',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '1',
'major_no' => '5',
'major_no_fee' => '8',
'major_code' => 'HA',
'major_name' => 'เศรษฐศาสตร์เกษตร',
'major_eng' => 'AGRICULTURAL ECONOMICS',
'major_eng2' => 'Agricultural Economics',
'major_acronym' => 'เศรษฐศาสตร์เกษตร',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(255, 128, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
),
(int) 1 => array(
'Majordegree' => array(
'id' => '5',
'major_name' => 'สาขาวิชากีฏวิทยา',
'major_id' => '3',
'organize_id' => '2',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '1'
),
'Major' => array(
'id' => '3',
'major_no' => '1',
'major_no_fee' => '2',
'major_code' => 'HE',
'major_name' => 'กีฏวิทยา',
'major_eng' => 'ENTOMOLOGY',
'major_eng2' => 'Entomology',
'major_acronym' => 'กีฏวิทยา',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(75, 190, 115)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '2',
'parent' => '40',
'name' => 'ภาควิชากีฏวิทยาและโรคพืช',
'status' => 'Y',
'old_name' => '',
'sort' => '40',
'name_shot' => 'กีฏโรคพืช',
'phone' => '44021',
'order' => '7',
'group' => '2',
'level_course_fee' => '2',
'level_scholarship' => '0'
)
),
(int) 2 => array(
'Majordegree' => array(
'id' => '9',
'major_name' => 'สาขาวิชาปฐพีศาสตร์และการจัดการทรัพยากรธรรมชาติ',
'major_id' => '5',
'organize_id' => '16',
'degree_id' => '1',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '5',
'major_no' => '6',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ปฐพีศาสตร์และการจัดการทรัพยากรธรรมชาติ',
'major_eng' => 'SOIL SCIENCE AND NATURAL RESOURCE MANAG',
'major_eng2' => 'Soil Science and Natural Resource Management',
'major_acronym' => 'ปฐพีศาสตร์ฯ',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => null,
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '16',
'parent' => '40',
'name' => 'ภาควิชาพืชศาสตร์และปฐพีศาสตร์',
'status' => 'Y',
'old_name' => '',
'sort' => '50',
'name_shot' => 'พืชศาสตร์ฯ',
'phone' => '44040',
'order' => '8',
'group' => '2',
'level_course_fee' => '3',
'level_scholarship' => '0'
)
),
(int) 3 => array(
'Majordegree' => array(
'id' => '12',
'major_name' => 'สาขาวิชาพืชไร่',
'major_id' => '6',
'organize_id' => '16',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '3'
),
'Major' => array(
'id' => '6',
'major_no' => '3',
'major_no_fee' => '5',
'major_code' => 'HC',
'major_name' => 'พืชไร่',
'major_eng' => 'AGRONOMY',
'major_eng2' => 'Agronomy',
'major_acronym' => 'พืชไร่',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(150, 21, 182)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '16',
'parent' => '40',
'name' => 'ภาควิชาพืชศาสตร์และปฐพีศาสตร์',
'status' => 'Y',
'old_name' => '',
'sort' => '50',
'name_shot' => 'พืชศาสตร์ฯ',
'phone' => '44040',
'order' => '8',
'group' => '2',
'level_course_fee' => '3',
'level_scholarship' => '0'
)
),
(int) 4 => array(
'Majordegree' => array(
'id' => '15',
'major_name' => 'สาขาวิชาพืชสวน',
'major_id' => '7',
'organize_id' => '16',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '4'
),
'Major' => array(
'id' => '7',
'major_no' => '4',
'major_no_fee' => '6',
'major_code' => 'HF',
'major_name' => 'พืชสวน',
'major_eng' => 'HORTICULTURE',
'major_eng2' => 'Horticulture',
'major_acronym' => 'พืชสวน',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(46, 39, 145)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '16',
'parent' => '40',
'name' => 'ภาควิชาพืชศาสตร์และปฐพีศาสตร์',
'status' => 'Y',
'old_name' => '',
'sort' => '50',
'name_shot' => 'พืชศาสตร์ฯ',
'phone' => '44040',
'order' => '8',
'group' => '2',
'level_course_fee' => '3',
'level_scholarship' => '0'
)
),
(int) 5 => array(
'Majordegree' => array(
'id' => '18',
'major_name' => 'สาขาวิชาโรคพืช',
'major_id' => '9',
'organize_id' => '2',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '2'
),
'Major' => array(
'id' => '9',
'major_no' => '2',
'major_no_fee' => '3',
'major_code' => 'HG ',
'major_name' => 'โรคพืช',
'major_eng' => 'PLANT PATHOLOGY',
'major_eng2' => 'Plant Pathology',
'major_acronym' => 'โรคพืช',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(245, 158, 216)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '2',
'parent' => '40',
'name' => 'ภาควิชากีฏวิทยาและโรคพืช',
'status' => 'Y',
'old_name' => '',
'sort' => '40',
'name_shot' => 'กีฏโรคพืช',
'phone' => '44021',
'order' => '7',
'group' => '2',
'level_course_fee' => '2',
'level_scholarship' => '0'
)
),
(int) 6 => array(
'Majordegree' => array(
'id' => '25',
'major_name' => 'สาขาวิชาส่งเสริมและเผยแพร่การเกษตร',
'major_id' => '12',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '6'
),
'Major' => array(
'id' => '12',
'major_no' => '10',
'major_no_fee' => '9',
'major_code' => 'HB',
'major_name' => 'ส่งเสริมและเผยแพร่การเกษตร',
'major_eng' => 'Agricultural Extension',
'major_eng2' => 'Agricultural Extension',
'major_acronym' => 'ส่งเสริมและเผยแพร่การเกษตร',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(224, 233, 93)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
),
(int) 7 => array(
'Majordegree' => array(
'id' => '26',
'major_name' => 'สาขาวิชาสัตวศาสตร์และสัตว์น้ำ',
'major_id' => '13',
'organize_id' => '23',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '7'
),
'Major' => array(
'id' => '13',
'major_no' => '8',
'major_no_fee' => '11',
'major_code' => null,
'major_name' => 'สัตวศาสตร์และสัตว์น้ำ',
'major_eng' => 'Animal and Aquatic Science',
'major_eng2' => 'Animal and Aquatic Science',
'major_acronym' => 'สัตวศาสตร์และสัตว์น้ำ',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(137, 185, 40)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '23',
'parent' => '40',
'name' => 'ภาควิชาสัตวศาสตร์และสัตว์น้ำ',
'status' => 'Y',
'old_name' => 'สาขาวิชาสัตวศาสตร์',
'sort' => '70',
'name_shot' => 'สัตวศาสตร์ฯ',
'phone' => '44069',
'order' => '10',
'group' => '2',
'level_course_fee' => '5',
'level_scholarship' => '0'
)
),
(int) 8 => array(
'Majordegree' => array(
'id' => '31',
'major_name' => 'สาขาวิชาปฐพีศาสตร์',
'major_id' => '18',
'organize_id' => '16',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '5'
),
'Major' => array(
'id' => '18',
'major_no' => '11',
'major_no_fee' => '7',
'major_code' => null,
'major_name' => 'ปฐพีศาสตร์',
'major_eng' => 'SOIL SCIENCE',
'major_eng2' => 'SOIL SCIENCE',
'major_acronym' => 'ปฐพีศาสตร์',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(219, 219, 85)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '16',
'parent' => '40',
'name' => 'ภาควิชาพืชศาสตร์และปฐพีศาสตร์',
'status' => 'Y',
'old_name' => '',
'sort' => '50',
'name_shot' => 'พืชศาสตร์ฯ',
'phone' => '44040',
'order' => '8',
'group' => '2',
'level_course_fee' => '3',
'level_scholarship' => '0'
)
),
(int) 9 => array(
'Majordegree' => array(
'id' => '39',
'major_name' => 'สาขาวิชาทรัพยากรป่าไม้และวนเกษตร',
'major_id' => '20',
'organize_id' => '24',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '20',
'major_no' => '14',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ทรัพยากรป่าไม้และวนเกษตร',
'major_eng' => 'Highland Agriculture and Natural Resources',
'major_eng2' => 'Highland Agriculture and Natural Resources',
'major_acronym' => 'เกษตรที่สูงและทรัพยากรธรรมชาติ',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(233, 202, 75)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '24',
'parent' => '40',
'name' => 'ภาควิชาเกษตรที่สูงและทรัพยากรธรรมชาติ',
'status' => 'Y',
'old_name' => '',
'sort' => '80',
'name_shot' => 'เกษตรที่สูงฯ',
'phone' => '44647',
'order' => '11',
'group' => '2',
'level_course_fee' => '6',
'level_scholarship' => '0'
)
),
(int) 10 => array(
'Majordegree' => array(
'id' => '40',
'major_name' => 'สาขาธุรกิจเกษตร',
'major_id' => '4',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '0',
'level' => '0',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '4',
'major_no' => '16',
'major_no_fee' => '10',
'major_code' => null,
'major_name' => 'ธุรกิจเกษตร',
'major_eng' => 'AGRIBUSINESS',
'major_eng2' => 'Agribusiness',
'major_acronym' => 'ธุรกิจเกษตร',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => 'rgb(153, 0, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
),
(int) 11 => array(
'Majordegree' => array(
'id' => '42',
'major_name' => 'สาขาวิชาเกษตรศาสตร์',
'major_id' => '17',
'organize_id' => '5',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '17',
'major_no' => '49',
'major_no_fee' => '1',
'major_code' => null,
'major_name' => 'เกษตรศาสตร์',
'major_eng' => 'Agriculture',
'major_eng2' => 'Agriculture
',
'major_acronym' => 'เกษตรศาสตร์',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(153, 0, 76)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '5',
'parent' => '1',
'name' => 'งานบริการการศึกษาและพัฒนาคุณภาพนักศึกษา',
'status' => 'Y',
'old_name' => 'งานบริการการศึกษา และพัฒนาคุณภาพนักศึกษา',
'sort' => '14',
'name_shot' => 'การศึกษา',
'phone' => '44642',
'order' => '3',
'group' => '1',
'level_course_fee' => '1',
'level_scholarship' => '1'
)
),
(int) 12 => array(
'Majordegree' => array(
'id' => '43',
'major_name' => 'สาขาวิชาเกษตรที่สูงและทรัพยากรธรรมชาติ',
'major_id' => '23',
'organize_id' => '24',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '8'
),
'Major' => array(
'id' => '23',
'major_no' => '17',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'เกษตรที่สูงและทรัพยากรธรรมชาติ',
'major_eng' => 'Highland Agriculture and Natural Resources',
'major_eng2' => 'Highland Agriculture and Natural Resources',
'major_acronym' => 'เกษตรที่สูงและทรัพยากรธรรมชาติ',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '0',
'color' => 'rgb(255, 99, 132)',
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '24',
'parent' => '40',
'name' => 'ภาควิชาเกษตรที่สูงและทรัพยากรธรรมชาติ',
'status' => 'Y',
'old_name' => '',
'sort' => '80',
'name_shot' => 'เกษตรที่สูงฯ',
'phone' => '44647',
'order' => '11',
'group' => '2',
'level_course_fee' => '6',
'level_scholarship' => '0'
)
),
(int) 13 => array(
'Majordegree' => array(
'id' => '44',
'major_name' => 'สาขาวิชาสัตวศาสตร์',
'major_id' => '11',
'organize_id' => '23',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '11',
'major_no' => '7',
'major_no_fee' => null,
'major_code' => 'HD',
'major_name' => 'สัตวศาสตร์',
'major_eng' => 'ANIMAL SCIENCE',
'major_eng2' => 'Animal Science',
'major_acronym' => 'สัตวศาสตร์',
'major_level' => '1',
'major_degree_id' => null,
'major_show_graph_id' => '1',
'color' => 'rgb(26, 139, 45)',
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '23',
'parent' => '40',
'name' => 'ภาควิชาสัตวศาสตร์และสัตว์น้ำ',
'status' => 'Y',
'old_name' => 'สาขาวิชาสัตวศาสตร์',
'sort' => '70',
'name_shot' => 'สัตวศาสตร์ฯ',
'phone' => '44069',
'order' => '10',
'group' => '2',
'level_course_fee' => '5',
'level_scholarship' => '0'
)
),
(int) 14 => array(
'Majordegree' => array(
'id' => '46',
'major_name' => 'สาขาวิชาผู้ประกอบการด้านเกษตรอัจฉริยะและอาหาร',
'major_id' => '25',
'organize_id' => null,
'degree_id' => '1',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => null,
'order' => '15',
'order_select_major' => '9'
),
'Major' => array(
'id' => '25',
'major_no' => '20',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ผู้ประกอบการด้านเกษตรอัจฉริยะและอาหาร',
'major_eng' => 'Smart Agriculture and Food Entrepreneur',
'major_eng2' => 'Smart Agriculture and Food Entrepreneur',
'major_acronym' => null,
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '0',
'color' => null,
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => null,
'parent' => null,
'name' => null,
'status' => null,
'old_name' => null,
'sort' => null,
'name_shot' => null,
'phone' => null,
'order' => null,
'group' => null,
'level_course_fee' => null,
'level_scholarship' => null
)
),
(int) 15 => array(
'Majordegree' => array(
'id' => '47',
'major_name' => 'สาขาวิชาเศรษฐศาสตร์เกษตรและธุรกิจเกษตร',
'major_id' => '26',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '26',
'major_no' => '21',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'เศรษฐศาสตร์เกษตรและธุรกิจเกษตร',
'major_eng' => null,
'major_eng2' => null,
'major_acronym' => null,
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(76, 0, 153)',
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
),
(int) 16 => array(
'Majordegree' => array(
'id' => '50',
'major_name' => 'สาขาวิชาวิทยาศาสตร์การประมง',
'major_id' => '28',
'organize_id' => '23',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '28',
'major_no' => '9',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'วิทยาศาสตร์การประมง',
'major_eng' => null,
'major_eng2' => null,
'major_acronym' => null,
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => null,
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '23',
'parent' => '40',
'name' => 'ภาควิชาสัตวศาสตร์และสัตว์น้ำ',
'status' => 'Y',
'old_name' => 'สาขาวิชาสัตวศาสตร์',
'sort' => '70',
'name_shot' => 'สัตวศาสตร์ฯ',
'phone' => '44069',
'order' => '10',
'group' => '2',
'level_course_fee' => '5',
'level_scholarship' => '0'
)
)
)
$major = array(
'Majordegree' => array(
'id' => '1',
'major_name' => 'สาขาวิชาเศรษฐศาสตร์เกษตร',
'major_id' => '1',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '1',
'major_no' => '5',
'major_no_fee' => '8',
'major_code' => 'HA',
'major_name' => 'เศรษฐศาสตร์เกษตร',
'major_eng' => 'AGRICULTURAL ECONOMICS',
'major_eng2' => 'Agricultural Economics',
'major_acronym' => 'เศรษฐศาสตร์เกษตร',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(255, 128, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
)
$yearId = '66'
$yearIdmin1 = '660000000'
$yearIdmax1 = '669999999'
$yearIdmin2 = '650000000'
$yearIdmax2 = '659999999'
$yearIdmin3 = '640000000'
$yearIdmax3 = '649999999'
$yearIdmin4 = '630000000'
$yearIdmax4 = '639999999'
$yearIdmin5 = '620000000'
$yearIdmax5 = '629999999'
$yearIdmin6 = '610000000'
$yearIdmax6 = '619999999'
$yearIdmin7 = '600000000'
$yearIdmax7 = '609999999'
$yearIdmin8 = '590000000'
$yearIdmax8 = '599999999'
$yearIdmin9 = '580000000'
$yearIdmax9 = '589999999'
$yearIdmin10 = '570000000'
$yearIdmax10 = '579999999'
$total = (int) 0
StudentsController::list_student_by_division_student() - APP\Controller\StudentsController.php, line 15286
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE\Cake\Controller\Controller.php, line 490
Dispatcher::_invoke() - CORE\Cake\Routing\Dispatcher.php, line 191
Dispatcher::dispatch() - CORE\Cake\Routing\Dispatcher.php, line 165
require - APP\webroot\index.php, line 108
[main] - ROOT\index.php, line 41
Notice (8): Undefined variable: output2 [APP\Controller\StudentsController.php, line 15287]Code Context $total = 0;
$totals1 = $totals1 + $output1;
$totals2 = $totals2 + $output2;
$yearList = '2565'
$term = '2'
$degree_id = '1'
$UserName = null
$admins = null
$lastYearTerms = array(
'Yearterm' => array(
'id' => '35',
'year' => '2567',
'term' => '2',
'trm' => '672',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2567',
'postdate' => '2024-11-11',
'level' => '1'
)
)
$degreedropdowns = array(
(int) 0 => array(
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
)
),
(int) 1 => array(
'Degree' => array(
'id' => '3',
'degree_name' => 'ปริญญาโท',
'degree_name_en' => 'Master's degree'
)
),
(int) 2 => array(
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
)
)
)
$dropdowns = array(
(int) 0 => array(
'Yearterm' => array(
'id' => '35',
'year' => '2567',
'term' => '2',
'trm' => '672',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2567',
'postdate' => '2024-11-11',
'level' => '1'
)
),
(int) 1 => array(
'Yearterm' => array(
'id' => '34',
'year' => '2567',
'term' => '1',
'trm' => '671',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2567',
'postdate' => '2024-07-05',
'level' => '1'
)
),
(int) 2 => array(
'Yearterm' => array(
'id' => '33',
'year' => '2566',
'term' => '3',
'trm' => '663',
'name' => 'ภาคการศึกษาที่ 3 ปีการศึกษา 2566',
'postdate' => '2024-05-15',
'level' => '1'
)
),
(int) 3 => array(
'Yearterm' => array(
'id' => '32',
'year' => '2566',
'term' => '2',
'trm' => '662',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2566',
'postdate' => '2023-12-06',
'level' => '1'
)
),
(int) 4 => array(
'Yearterm' => array(
'id' => '31',
'year' => '2566',
'term' => '1',
'trm' => '661',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2566',
'postdate' => '2023-07-06',
'level' => '1'
)
),
(int) 5 => array(
'Yearterm' => array(
'id' => '30',
'year' => '2565',
'term' => '3',
'trm' => '653',
'name' => 'ภาคการศึกษาที่ 3 ปีการศึกษา 2565',
'postdate' => '2023-05-01',
'level' => '1'
)
),
(int) 6 => array(
'Yearterm' => array(
'id' => '29',
'year' => '2565',
'term' => '2',
'trm' => '652',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2565',
'postdate' => '2022-12-09',
'level' => '1'
)
),
(int) 7 => array(
'Yearterm' => array(
'id' => '28',
'year' => '2565',
'term' => '1',
'trm' => '651',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2565',
'postdate' => '2022-07-20',
'level' => '1'
)
),
(int) 8 => array(
'Yearterm' => array(
'id' => '27',
'year' => '2564',
'term' => '3',
'trm' => '643',
'name' => 'ภาคการศึกษาที่ 3 ปีการศึกษา 2564',
'postdate' => '2022-03-28',
'level' => '1'
)
),
(int) 9 => array(
'Yearterm' => array(
'id' => '26',
'year' => '2564',
'term' => '2',
'trm' => '642',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2564',
'postdate' => '2022-03-27',
'level' => '1'
)
),
(int) 10 => array(
'Yearterm' => array(
'id' => '25',
'year' => '2564',
'term' => '1',
'trm' => '641',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2564',
'postdate' => '2021-07-07',
'level' => '1'
)
),
(int) 11 => array(
'Yearterm' => array(
'id' => '24',
'year' => '2563',
'term' => '3',
'trm' => '633',
'name' => 'ภาคการศึกษาที่ 3 ปีการศึกษา 2563',
'postdate' => '2021-05-06',
'level' => '1'
)
)
)
$findStudentInNewTerm = array(
'Studentterm' => array(
'term_year' => '2565',
'term_id' => '2',
'student_id' => '660851005'
)
)
$years = array(
(int) 0 => array(
'Yearterm' => array(
'id' => '29',
'year' => '2565',
'term' => '2',
'trm' => '652',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2565',
'postdate' => '2022-12-09',
'level' => '1'
)
)
)
$countstudentTerm = (int) 1663
$output = ''
$totals1 = (int) 0
$totals2 = (int) 0
$totals3 = (int) 0
$totals4 = (int) 0
$totals5 = (int) 0
$totals6 = (int) 0
$totals7 = (int) 0
$totals8 = (int) 0
$totals9 = (int) 0
$totals10 = (int) 0
$output3 = ''
$totals13 = (int) 0
$totals23 = (int) 0
$totals33 = (int) 0
$totals43 = (int) 0
$totals53 = (int) 0
$totals63 = (int) 0
$totals73 = (int) 0
$totals83 = (int) 0
$totals93 = (int) 0
$totals103 = (int) 0
$output5 = ''
$totals15 = (int) 0
$totals25 = (int) 0
$totals35 = (int) 0
$totals45 = (int) 0
$totals55 = (int) 0
$totals65 = (int) 0
$totals75 = (int) 0
$totals85 = (int) 0
$totals95 = (int) 0
$totals105 = (int) 0
$totals115 = (int) 0
$majors = array(
(int) 0 => array(
'Majordegree' => array(
'id' => '1',
'major_name' => 'สาขาวิชาเศรษฐศาสตร์เกษตร',
'major_id' => '1',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '1',
'major_no' => '5',
'major_no_fee' => '8',
'major_code' => 'HA',
'major_name' => 'เศรษฐศาสตร์เกษตร',
'major_eng' => 'AGRICULTURAL ECONOMICS',
'major_eng2' => 'Agricultural Economics',
'major_acronym' => 'เศรษฐศาสตร์เกษตร',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(255, 128, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
),
(int) 1 => array(
'Majordegree' => array(
'id' => '5',
'major_name' => 'สาขาวิชากีฏวิทยา',
'major_id' => '3',
'organize_id' => '2',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '1'
),
'Major' => array(
'id' => '3',
'major_no' => '1',
'major_no_fee' => '2',
'major_code' => 'HE',
'major_name' => 'กีฏวิทยา',
'major_eng' => 'ENTOMOLOGY',
'major_eng2' => 'Entomology',
'major_acronym' => 'กีฏวิทยา',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(75, 190, 115)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '2',
'parent' => '40',
'name' => 'ภาควิชากีฏวิทยาและโรคพืช',
'status' => 'Y',
'old_name' => '',
'sort' => '40',
'name_shot' => 'กีฏโรคพืช',
'phone' => '44021',
'order' => '7',
'group' => '2',
'level_course_fee' => '2',
'level_scholarship' => '0'
)
),
(int) 2 => array(
'Majordegree' => array(
'id' => '9',
'major_name' => 'สาขาวิชาปฐพีศาสตร์และการจัดการทรัพยากรธรรมชาติ',
'major_id' => '5',
'organize_id' => '16',
'degree_id' => '1',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '5',
'major_no' => '6',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ปฐพีศาสตร์และการจัดการทรัพยากรธรรมชาติ',
'major_eng' => 'SOIL SCIENCE AND NATURAL RESOURCE MANAG',
'major_eng2' => 'Soil Science and Natural Resource Management',
'major_acronym' => 'ปฐพีศาสตร์ฯ',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => null,
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '16',
'parent' => '40',
'name' => 'ภาควิชาพืชศาสตร์และปฐพีศาสตร์',
'status' => 'Y',
'old_name' => '',
'sort' => '50',
'name_shot' => 'พืชศาสตร์ฯ',
'phone' => '44040',
'order' => '8',
'group' => '2',
'level_course_fee' => '3',
'level_scholarship' => '0'
)
),
(int) 3 => array(
'Majordegree' => array(
'id' => '12',
'major_name' => 'สาขาวิชาพืชไร่',
'major_id' => '6',
'organize_id' => '16',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '3'
),
'Major' => array(
'id' => '6',
'major_no' => '3',
'major_no_fee' => '5',
'major_code' => 'HC',
'major_name' => 'พืชไร่',
'major_eng' => 'AGRONOMY',
'major_eng2' => 'Agronomy',
'major_acronym' => 'พืชไร่',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(150, 21, 182)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '16',
'parent' => '40',
'name' => 'ภาควิชาพืชศาสตร์และปฐพีศาสตร์',
'status' => 'Y',
'old_name' => '',
'sort' => '50',
'name_shot' => 'พืชศาสตร์ฯ',
'phone' => '44040',
'order' => '8',
'group' => '2',
'level_course_fee' => '3',
'level_scholarship' => '0'
)
),
(int) 4 => array(
'Majordegree' => array(
'id' => '15',
'major_name' => 'สาขาวิชาพืชสวน',
'major_id' => '7',
'organize_id' => '16',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '4'
),
'Major' => array(
'id' => '7',
'major_no' => '4',
'major_no_fee' => '6',
'major_code' => 'HF',
'major_name' => 'พืชสวน',
'major_eng' => 'HORTICULTURE',
'major_eng2' => 'Horticulture',
'major_acronym' => 'พืชสวน',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(46, 39, 145)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '16',
'parent' => '40',
'name' => 'ภาควิชาพืชศาสตร์และปฐพีศาสตร์',
'status' => 'Y',
'old_name' => '',
'sort' => '50',
'name_shot' => 'พืชศาสตร์ฯ',
'phone' => '44040',
'order' => '8',
'group' => '2',
'level_course_fee' => '3',
'level_scholarship' => '0'
)
),
(int) 5 => array(
'Majordegree' => array(
'id' => '18',
'major_name' => 'สาขาวิชาโรคพืช',
'major_id' => '9',
'organize_id' => '2',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '2'
),
'Major' => array(
'id' => '9',
'major_no' => '2',
'major_no_fee' => '3',
'major_code' => 'HG ',
'major_name' => 'โรคพืช',
'major_eng' => 'PLANT PATHOLOGY',
'major_eng2' => 'Plant Pathology',
'major_acronym' => 'โรคพืช',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(245, 158, 216)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '2',
'parent' => '40',
'name' => 'ภาควิชากีฏวิทยาและโรคพืช',
'status' => 'Y',
'old_name' => '',
'sort' => '40',
'name_shot' => 'กีฏโรคพืช',
'phone' => '44021',
'order' => '7',
'group' => '2',
'level_course_fee' => '2',
'level_scholarship' => '0'
)
),
(int) 6 => array(
'Majordegree' => array(
'id' => '25',
'major_name' => 'สาขาวิชาส่งเสริมและเผยแพร่การเกษตร',
'major_id' => '12',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '6'
),
'Major' => array(
'id' => '12',
'major_no' => '10',
'major_no_fee' => '9',
'major_code' => 'HB',
'major_name' => 'ส่งเสริมและเผยแพร่การเกษตร',
'major_eng' => 'Agricultural Extension',
'major_eng2' => 'Agricultural Extension',
'major_acronym' => 'ส่งเสริมและเผยแพร่การเกษตร',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(224, 233, 93)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
),
(int) 7 => array(
'Majordegree' => array(
'id' => '26',
'major_name' => 'สาขาวิชาสัตวศาสตร์และสัตว์น้ำ',
'major_id' => '13',
'organize_id' => '23',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '7'
),
'Major' => array(
'id' => '13',
'major_no' => '8',
'major_no_fee' => '11',
'major_code' => null,
'major_name' => 'สัตวศาสตร์และสัตว์น้ำ',
'major_eng' => 'Animal and Aquatic Science',
'major_eng2' => 'Animal and Aquatic Science',
'major_acronym' => 'สัตวศาสตร์และสัตว์น้ำ',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(137, 185, 40)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '23',
'parent' => '40',
'name' => 'ภาควิชาสัตวศาสตร์และสัตว์น้ำ',
'status' => 'Y',
'old_name' => 'สาขาวิชาสัตวศาสตร์',
'sort' => '70',
'name_shot' => 'สัตวศาสตร์ฯ',
'phone' => '44069',
'order' => '10',
'group' => '2',
'level_course_fee' => '5',
'level_scholarship' => '0'
)
),
(int) 8 => array(
'Majordegree' => array(
'id' => '31',
'major_name' => 'สาขาวิชาปฐพีศาสตร์',
'major_id' => '18',
'organize_id' => '16',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '5'
),
'Major' => array(
'id' => '18',
'major_no' => '11',
'major_no_fee' => '7',
'major_code' => null,
'major_name' => 'ปฐพีศาสตร์',
'major_eng' => 'SOIL SCIENCE',
'major_eng2' => 'SOIL SCIENCE',
'major_acronym' => 'ปฐพีศาสตร์',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(219, 219, 85)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '16',
'parent' => '40',
'name' => 'ภาควิชาพืชศาสตร์และปฐพีศาสตร์',
'status' => 'Y',
'old_name' => '',
'sort' => '50',
'name_shot' => 'พืชศาสตร์ฯ',
'phone' => '44040',
'order' => '8',
'group' => '2',
'level_course_fee' => '3',
'level_scholarship' => '0'
)
),
(int) 9 => array(
'Majordegree' => array(
'id' => '39',
'major_name' => 'สาขาวิชาทรัพยากรป่าไม้และวนเกษตร',
'major_id' => '20',
'organize_id' => '24',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '20',
'major_no' => '14',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ทรัพยากรป่าไม้และวนเกษตร',
'major_eng' => 'Highland Agriculture and Natural Resources',
'major_eng2' => 'Highland Agriculture and Natural Resources',
'major_acronym' => 'เกษตรที่สูงและทรัพยากรธรรมชาติ',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(233, 202, 75)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '24',
'parent' => '40',
'name' => 'ภาควิชาเกษตรที่สูงและทรัพยากรธรรมชาติ',
'status' => 'Y',
'old_name' => '',
'sort' => '80',
'name_shot' => 'เกษตรที่สูงฯ',
'phone' => '44647',
'order' => '11',
'group' => '2',
'level_course_fee' => '6',
'level_scholarship' => '0'
)
),
(int) 10 => array(
'Majordegree' => array(
'id' => '40',
'major_name' => 'สาขาธุรกิจเกษตร',
'major_id' => '4',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '0',
'level' => '0',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '4',
'major_no' => '16',
'major_no_fee' => '10',
'major_code' => null,
'major_name' => 'ธุรกิจเกษตร',
'major_eng' => 'AGRIBUSINESS',
'major_eng2' => 'Agribusiness',
'major_acronym' => 'ธุรกิจเกษตร',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => 'rgb(153, 0, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
),
(int) 11 => array(
'Majordegree' => array(
'id' => '42',
'major_name' => 'สาขาวิชาเกษตรศาสตร์',
'major_id' => '17',
'organize_id' => '5',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '17',
'major_no' => '49',
'major_no_fee' => '1',
'major_code' => null,
'major_name' => 'เกษตรศาสตร์',
'major_eng' => 'Agriculture',
'major_eng2' => 'Agriculture
',
'major_acronym' => 'เกษตรศาสตร์',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(153, 0, 76)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '5',
'parent' => '1',
'name' => 'งานบริการการศึกษาและพัฒนาคุณภาพนักศึกษา',
'status' => 'Y',
'old_name' => 'งานบริการการศึกษา และพัฒนาคุณภาพนักศึกษา',
'sort' => '14',
'name_shot' => 'การศึกษา',
'phone' => '44642',
'order' => '3',
'group' => '1',
'level_course_fee' => '1',
'level_scholarship' => '1'
)
),
(int) 12 => array(
'Majordegree' => array(
'id' => '43',
'major_name' => 'สาขาวิชาเกษตรที่สูงและทรัพยากรธรรมชาติ',
'major_id' => '23',
'organize_id' => '24',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '8'
),
'Major' => array(
'id' => '23',
'major_no' => '17',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'เกษตรที่สูงและทรัพยากรธรรมชาติ',
'major_eng' => 'Highland Agriculture and Natural Resources',
'major_eng2' => 'Highland Agriculture and Natural Resources',
'major_acronym' => 'เกษตรที่สูงและทรัพยากรธรรมชาติ',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '0',
'color' => 'rgb(255, 99, 132)',
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '24',
'parent' => '40',
'name' => 'ภาควิชาเกษตรที่สูงและทรัพยากรธรรมชาติ',
'status' => 'Y',
'old_name' => '',
'sort' => '80',
'name_shot' => 'เกษตรที่สูงฯ',
'phone' => '44647',
'order' => '11',
'group' => '2',
'level_course_fee' => '6',
'level_scholarship' => '0'
)
),
(int) 13 => array(
'Majordegree' => array(
'id' => '44',
'major_name' => 'สาขาวิชาสัตวศาสตร์',
'major_id' => '11',
'organize_id' => '23',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '11',
'major_no' => '7',
'major_no_fee' => null,
'major_code' => 'HD',
'major_name' => 'สัตวศาสตร์',
'major_eng' => 'ANIMAL SCIENCE',
'major_eng2' => 'Animal Science',
'major_acronym' => 'สัตวศาสตร์',
'major_level' => '1',
'major_degree_id' => null,
'major_show_graph_id' => '1',
'color' => 'rgb(26, 139, 45)',
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '23',
'parent' => '40',
'name' => 'ภาควิชาสัตวศาสตร์และสัตว์น้ำ',
'status' => 'Y',
'old_name' => 'สาขาวิชาสัตวศาสตร์',
'sort' => '70',
'name_shot' => 'สัตวศาสตร์ฯ',
'phone' => '44069',
'order' => '10',
'group' => '2',
'level_course_fee' => '5',
'level_scholarship' => '0'
)
),
(int) 14 => array(
'Majordegree' => array(
'id' => '46',
'major_name' => 'สาขาวิชาผู้ประกอบการด้านเกษตรอัจฉริยะและอาหาร',
'major_id' => '25',
'organize_id' => null,
'degree_id' => '1',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => null,
'order' => '15',
'order_select_major' => '9'
),
'Major' => array(
'id' => '25',
'major_no' => '20',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ผู้ประกอบการด้านเกษตรอัจฉริยะและอาหาร',
'major_eng' => 'Smart Agriculture and Food Entrepreneur',
'major_eng2' => 'Smart Agriculture and Food Entrepreneur',
'major_acronym' => null,
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '0',
'color' => null,
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => null,
'parent' => null,
'name' => null,
'status' => null,
'old_name' => null,
'sort' => null,
'name_shot' => null,
'phone' => null,
'order' => null,
'group' => null,
'level_course_fee' => null,
'level_scholarship' => null
)
),
(int) 15 => array(
'Majordegree' => array(
'id' => '47',
'major_name' => 'สาขาวิชาเศรษฐศาสตร์เกษตรและธุรกิจเกษตร',
'major_id' => '26',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '26',
'major_no' => '21',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'เศรษฐศาสตร์เกษตรและธุรกิจเกษตร',
'major_eng' => null,
'major_eng2' => null,
'major_acronym' => null,
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(76, 0, 153)',
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
),
(int) 16 => array(
'Majordegree' => array(
'id' => '50',
'major_name' => 'สาขาวิชาวิทยาศาสตร์การประมง',
'major_id' => '28',
'organize_id' => '23',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '28',
'major_no' => '9',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'วิทยาศาสตร์การประมง',
'major_eng' => null,
'major_eng2' => null,
'major_acronym' => null,
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => null,
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '23',
'parent' => '40',
'name' => 'ภาควิชาสัตวศาสตร์และสัตว์น้ำ',
'status' => 'Y',
'old_name' => 'สาขาวิชาสัตวศาสตร์',
'sort' => '70',
'name_shot' => 'สัตวศาสตร์ฯ',
'phone' => '44069',
'order' => '10',
'group' => '2',
'level_course_fee' => '5',
'level_scholarship' => '0'
)
)
)
$major = array(
'Majordegree' => array(
'id' => '1',
'major_name' => 'สาขาวิชาเศรษฐศาสตร์เกษตร',
'major_id' => '1',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '1',
'major_no' => '5',
'major_no_fee' => '8',
'major_code' => 'HA',
'major_name' => 'เศรษฐศาสตร์เกษตร',
'major_eng' => 'AGRICULTURAL ECONOMICS',
'major_eng2' => 'Agricultural Economics',
'major_acronym' => 'เศรษฐศาสตร์เกษตร',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(255, 128, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
)
$yearId = '66'
$yearIdmin1 = '660000000'
$yearIdmax1 = '669999999'
$yearIdmin2 = '650000000'
$yearIdmax2 = '659999999'
$yearIdmin3 = '640000000'
$yearIdmax3 = '649999999'
$yearIdmin4 = '630000000'
$yearIdmax4 = '639999999'
$yearIdmin5 = '620000000'
$yearIdmax5 = '629999999'
$yearIdmin6 = '610000000'
$yearIdmax6 = '619999999'
$yearIdmin7 = '600000000'
$yearIdmax7 = '609999999'
$yearIdmin8 = '590000000'
$yearIdmax8 = '599999999'
$yearIdmin9 = '580000000'
$yearIdmax9 = '589999999'
$yearIdmin10 = '570000000'
$yearIdmax10 = '579999999'
$total = (int) 0
StudentsController::list_student_by_division_student() - APP\Controller\StudentsController.php, line 15287
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE\Cake\Controller\Controller.php, line 490
Dispatcher::_invoke() - CORE\Cake\Routing\Dispatcher.php, line 191
Dispatcher::dispatch() - CORE\Cake\Routing\Dispatcher.php, line 165
require - APP\webroot\index.php, line 108
[main] - ROOT\index.php, line 41
Notice (8): Undefined variable: output31 [APP\Controller\StudentsController.php, line 15288]Code Context $totals1 = $totals1 + $output1;
$totals2 = $totals2 + $output2;
$totals3 = $totals3 + $output31;
$yearList = '2565'
$term = '2'
$degree_id = '1'
$UserName = null
$admins = null
$lastYearTerms = array(
'Yearterm' => array(
'id' => '35',
'year' => '2567',
'term' => '2',
'trm' => '672',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2567',
'postdate' => '2024-11-11',
'level' => '1'
)
)
$degreedropdowns = array(
(int) 0 => array(
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
)
),
(int) 1 => array(
'Degree' => array(
'id' => '3',
'degree_name' => 'ปริญญาโท',
'degree_name_en' => 'Master's degree'
)
),
(int) 2 => array(
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
)
)
)
$dropdowns = array(
(int) 0 => array(
'Yearterm' => array(
'id' => '35',
'year' => '2567',
'term' => '2',
'trm' => '672',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2567',
'postdate' => '2024-11-11',
'level' => '1'
)
),
(int) 1 => array(
'Yearterm' => array(
'id' => '34',
'year' => '2567',
'term' => '1',
'trm' => '671',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2567',
'postdate' => '2024-07-05',
'level' => '1'
)
),
(int) 2 => array(
'Yearterm' => array(
'id' => '33',
'year' => '2566',
'term' => '3',
'trm' => '663',
'name' => 'ภาคการศึกษาที่ 3 ปีการศึกษา 2566',
'postdate' => '2024-05-15',
'level' => '1'
)
),
(int) 3 => array(
'Yearterm' => array(
'id' => '32',
'year' => '2566',
'term' => '2',
'trm' => '662',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2566',
'postdate' => '2023-12-06',
'level' => '1'
)
),
(int) 4 => array(
'Yearterm' => array(
'id' => '31',
'year' => '2566',
'term' => '1',
'trm' => '661',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2566',
'postdate' => '2023-07-06',
'level' => '1'
)
),
(int) 5 => array(
'Yearterm' => array(
'id' => '30',
'year' => '2565',
'term' => '3',
'trm' => '653',
'name' => 'ภาคการศึกษาที่ 3 ปีการศึกษา 2565',
'postdate' => '2023-05-01',
'level' => '1'
)
),
(int) 6 => array(
'Yearterm' => array(
'id' => '29',
'year' => '2565',
'term' => '2',
'trm' => '652',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2565',
'postdate' => '2022-12-09',
'level' => '1'
)
),
(int) 7 => array(
'Yearterm' => array(
'id' => '28',
'year' => '2565',
'term' => '1',
'trm' => '651',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2565',
'postdate' => '2022-07-20',
'level' => '1'
)
),
(int) 8 => array(
'Yearterm' => array(
'id' => '27',
'year' => '2564',
'term' => '3',
'trm' => '643',
'name' => 'ภาคการศึกษาที่ 3 ปีการศึกษา 2564',
'postdate' => '2022-03-28',
'level' => '1'
)
),
(int) 9 => array(
'Yearterm' => array(
'id' => '26',
'year' => '2564',
'term' => '2',
'trm' => '642',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2564',
'postdate' => '2022-03-27',
'level' => '1'
)
),
(int) 10 => array(
'Yearterm' => array(
'id' => '25',
'year' => '2564',
'term' => '1',
'trm' => '641',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2564',
'postdate' => '2021-07-07',
'level' => '1'
)
),
(int) 11 => array(
'Yearterm' => array(
'id' => '24',
'year' => '2563',
'term' => '3',
'trm' => '633',
'name' => 'ภาคการศึกษาที่ 3 ปีการศึกษา 2563',
'postdate' => '2021-05-06',
'level' => '1'
)
)
)
$findStudentInNewTerm = array(
'Studentterm' => array(
'term_year' => '2565',
'term_id' => '2',
'student_id' => '660851005'
)
)
$years = array(
(int) 0 => array(
'Yearterm' => array(
'id' => '29',
'year' => '2565',
'term' => '2',
'trm' => '652',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2565',
'postdate' => '2022-12-09',
'level' => '1'
)
)
)
$countstudentTerm = (int) 1663
$output = ''
$totals1 = (int) 0
$totals2 = (int) 0
$totals3 = (int) 0
$totals4 = (int) 0
$totals5 = (int) 0
$totals6 = (int) 0
$totals7 = (int) 0
$totals8 = (int) 0
$totals9 = (int) 0
$totals10 = (int) 0
$output3 = ''
$totals13 = (int) 0
$totals23 = (int) 0
$totals33 = (int) 0
$totals43 = (int) 0
$totals53 = (int) 0
$totals63 = (int) 0
$totals73 = (int) 0
$totals83 = (int) 0
$totals93 = (int) 0
$totals103 = (int) 0
$output5 = ''
$totals15 = (int) 0
$totals25 = (int) 0
$totals35 = (int) 0
$totals45 = (int) 0
$totals55 = (int) 0
$totals65 = (int) 0
$totals75 = (int) 0
$totals85 = (int) 0
$totals95 = (int) 0
$totals105 = (int) 0
$totals115 = (int) 0
$majors = array(
(int) 0 => array(
'Majordegree' => array(
'id' => '1',
'major_name' => 'สาขาวิชาเศรษฐศาสตร์เกษตร',
'major_id' => '1',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '1',
'major_no' => '5',
'major_no_fee' => '8',
'major_code' => 'HA',
'major_name' => 'เศรษฐศาสตร์เกษตร',
'major_eng' => 'AGRICULTURAL ECONOMICS',
'major_eng2' => 'Agricultural Economics',
'major_acronym' => 'เศรษฐศาสตร์เกษตร',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(255, 128, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
),
(int) 1 => array(
'Majordegree' => array(
'id' => '5',
'major_name' => 'สาขาวิชากีฏวิทยา',
'major_id' => '3',
'organize_id' => '2',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '1'
),
'Major' => array(
'id' => '3',
'major_no' => '1',
'major_no_fee' => '2',
'major_code' => 'HE',
'major_name' => 'กีฏวิทยา',
'major_eng' => 'ENTOMOLOGY',
'major_eng2' => 'Entomology',
'major_acronym' => 'กีฏวิทยา',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(75, 190, 115)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '2',
'parent' => '40',
'name' => 'ภาควิชากีฏวิทยาและโรคพืช',
'status' => 'Y',
'old_name' => '',
'sort' => '40',
'name_shot' => 'กีฏโรคพืช',
'phone' => '44021',
'order' => '7',
'group' => '2',
'level_course_fee' => '2',
'level_scholarship' => '0'
)
),
(int) 2 => array(
'Majordegree' => array(
'id' => '9',
'major_name' => 'สาขาวิชาปฐพีศาสตร์และการจัดการทรัพยากรธรรมชาติ',
'major_id' => '5',
'organize_id' => '16',
'degree_id' => '1',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '5',
'major_no' => '6',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ปฐพีศาสตร์และการจัดการทรัพยากรธรรมชาติ',
'major_eng' => 'SOIL SCIENCE AND NATURAL RESOURCE MANAG',
'major_eng2' => 'Soil Science and Natural Resource Management',
'major_acronym' => 'ปฐพีศาสตร์ฯ',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => null,
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '16',
'parent' => '40',
'name' => 'ภาควิชาพืชศาสตร์และปฐพีศาสตร์',
'status' => 'Y',
'old_name' => '',
'sort' => '50',
'name_shot' => 'พืชศาสตร์ฯ',
'phone' => '44040',
'order' => '8',
'group' => '2',
'level_course_fee' => '3',
'level_scholarship' => '0'
)
),
(int) 3 => array(
'Majordegree' => array(
'id' => '12',
'major_name' => 'สาขาวิชาพืชไร่',
'major_id' => '6',
'organize_id' => '16',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '3'
),
'Major' => array(
'id' => '6',
'major_no' => '3',
'major_no_fee' => '5',
'major_code' => 'HC',
'major_name' => 'พืชไร่',
'major_eng' => 'AGRONOMY',
'major_eng2' => 'Agronomy',
'major_acronym' => 'พืชไร่',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(150, 21, 182)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '16',
'parent' => '40',
'name' => 'ภาควิชาพืชศาสตร์และปฐพีศาสตร์',
'status' => 'Y',
'old_name' => '',
'sort' => '50',
'name_shot' => 'พืชศาสตร์ฯ',
'phone' => '44040',
'order' => '8',
'group' => '2',
'level_course_fee' => '3',
'level_scholarship' => '0'
)
),
(int) 4 => array(
'Majordegree' => array(
'id' => '15',
'major_name' => 'สาขาวิชาพืชสวน',
'major_id' => '7',
'organize_id' => '16',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '4'
),
'Major' => array(
'id' => '7',
'major_no' => '4',
'major_no_fee' => '6',
'major_code' => 'HF',
'major_name' => 'พืชสวน',
'major_eng' => 'HORTICULTURE',
'major_eng2' => 'Horticulture',
'major_acronym' => 'พืชสวน',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(46, 39, 145)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '16',
'parent' => '40',
'name' => 'ภาควิชาพืชศาสตร์และปฐพีศาสตร์',
'status' => 'Y',
'old_name' => '',
'sort' => '50',
'name_shot' => 'พืชศาสตร์ฯ',
'phone' => '44040',
'order' => '8',
'group' => '2',
'level_course_fee' => '3',
'level_scholarship' => '0'
)
),
(int) 5 => array(
'Majordegree' => array(
'id' => '18',
'major_name' => 'สาขาวิชาโรคพืช',
'major_id' => '9',
'organize_id' => '2',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '2'
),
'Major' => array(
'id' => '9',
'major_no' => '2',
'major_no_fee' => '3',
'major_code' => 'HG ',
'major_name' => 'โรคพืช',
'major_eng' => 'PLANT PATHOLOGY',
'major_eng2' => 'Plant Pathology',
'major_acronym' => 'โรคพืช',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(245, 158, 216)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '2',
'parent' => '40',
'name' => 'ภาควิชากีฏวิทยาและโรคพืช',
'status' => 'Y',
'old_name' => '',
'sort' => '40',
'name_shot' => 'กีฏโรคพืช',
'phone' => '44021',
'order' => '7',
'group' => '2',
'level_course_fee' => '2',
'level_scholarship' => '0'
)
),
(int) 6 => array(
'Majordegree' => array(
'id' => '25',
'major_name' => 'สาขาวิชาส่งเสริมและเผยแพร่การเกษตร',
'major_id' => '12',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '6'
),
'Major' => array(
'id' => '12',
'major_no' => '10',
'major_no_fee' => '9',
'major_code' => 'HB',
'major_name' => 'ส่งเสริมและเผยแพร่การเกษตร',
'major_eng' => 'Agricultural Extension',
'major_eng2' => 'Agricultural Extension',
'major_acronym' => 'ส่งเสริมและเผยแพร่การเกษตร',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(224, 233, 93)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
),
(int) 7 => array(
'Majordegree' => array(
'id' => '26',
'major_name' => 'สาขาวิชาสัตวศาสตร์และสัตว์น้ำ',
'major_id' => '13',
'organize_id' => '23',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '7'
),
'Major' => array(
'id' => '13',
'major_no' => '8',
'major_no_fee' => '11',
'major_code' => null,
'major_name' => 'สัตวศาสตร์และสัตว์น้ำ',
'major_eng' => 'Animal and Aquatic Science',
'major_eng2' => 'Animal and Aquatic Science',
'major_acronym' => 'สัตวศาสตร์และสัตว์น้ำ',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(137, 185, 40)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '23',
'parent' => '40',
'name' => 'ภาควิชาสัตวศาสตร์และสัตว์น้ำ',
'status' => 'Y',
'old_name' => 'สาขาวิชาสัตวศาสตร์',
'sort' => '70',
'name_shot' => 'สัตวศาสตร์ฯ',
'phone' => '44069',
'order' => '10',
'group' => '2',
'level_course_fee' => '5',
'level_scholarship' => '0'
)
),
(int) 8 => array(
'Majordegree' => array(
'id' => '31',
'major_name' => 'สาขาวิชาปฐพีศาสตร์',
'major_id' => '18',
'organize_id' => '16',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '5'
),
'Major' => array(
'id' => '18',
'major_no' => '11',
'major_no_fee' => '7',
'major_code' => null,
'major_name' => 'ปฐพีศาสตร์',
'major_eng' => 'SOIL SCIENCE',
'major_eng2' => 'SOIL SCIENCE',
'major_acronym' => 'ปฐพีศาสตร์',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(219, 219, 85)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '16',
'parent' => '40',
'name' => 'ภาควิชาพืชศาสตร์และปฐพีศาสตร์',
'status' => 'Y',
'old_name' => '',
'sort' => '50',
'name_shot' => 'พืชศาสตร์ฯ',
'phone' => '44040',
'order' => '8',
'group' => '2',
'level_course_fee' => '3',
'level_scholarship' => '0'
)
),
(int) 9 => array(
'Majordegree' => array(
'id' => '39',
'major_name' => 'สาขาวิชาทรัพยากรป่าไม้และวนเกษตร',
'major_id' => '20',
'organize_id' => '24',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '20',
'major_no' => '14',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ทรัพยากรป่าไม้และวนเกษตร',
'major_eng' => 'Highland Agriculture and Natural Resources',
'major_eng2' => 'Highland Agriculture and Natural Resources',
'major_acronym' => 'เกษตรที่สูงและทรัพยากรธรรมชาติ',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(233, 202, 75)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '24',
'parent' => '40',
'name' => 'ภาควิชาเกษตรที่สูงและทรัพยากรธรรมชาติ',
'status' => 'Y',
'old_name' => '',
'sort' => '80',
'name_shot' => 'เกษตรที่สูงฯ',
'phone' => '44647',
'order' => '11',
'group' => '2',
'level_course_fee' => '6',
'level_scholarship' => '0'
)
),
(int) 10 => array(
'Majordegree' => array(
'id' => '40',
'major_name' => 'สาขาธุรกิจเกษตร',
'major_id' => '4',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '0',
'level' => '0',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '4',
'major_no' => '16',
'major_no_fee' => '10',
'major_code' => null,
'major_name' => 'ธุรกิจเกษตร',
'major_eng' => 'AGRIBUSINESS',
'major_eng2' => 'Agribusiness',
'major_acronym' => 'ธุรกิจเกษตร',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => 'rgb(153, 0, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
),
(int) 11 => array(
'Majordegree' => array(
'id' => '42',
'major_name' => 'สาขาวิชาเกษตรศาสตร์',
'major_id' => '17',
'organize_id' => '5',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '17',
'major_no' => '49',
'major_no_fee' => '1',
'major_code' => null,
'major_name' => 'เกษตรศาสตร์',
'major_eng' => 'Agriculture',
'major_eng2' => 'Agriculture
',
'major_acronym' => 'เกษตรศาสตร์',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(153, 0, 76)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '5',
'parent' => '1',
'name' => 'งานบริการการศึกษาและพัฒนาคุณภาพนักศึกษา',
'status' => 'Y',
'old_name' => 'งานบริการการศึกษา และพัฒนาคุณภาพนักศึกษา',
'sort' => '14',
'name_shot' => 'การศึกษา',
'phone' => '44642',
'order' => '3',
'group' => '1',
'level_course_fee' => '1',
'level_scholarship' => '1'
)
),
(int) 12 => array(
'Majordegree' => array(
'id' => '43',
'major_name' => 'สาขาวิชาเกษตรที่สูงและทรัพยากรธรรมชาติ',
'major_id' => '23',
'organize_id' => '24',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '8'
),
'Major' => array(
'id' => '23',
'major_no' => '17',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'เกษตรที่สูงและทรัพยากรธรรมชาติ',
'major_eng' => 'Highland Agriculture and Natural Resources',
'major_eng2' => 'Highland Agriculture and Natural Resources',
'major_acronym' => 'เกษตรที่สูงและทรัพยากรธรรมชาติ',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '0',
'color' => 'rgb(255, 99, 132)',
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '24',
'parent' => '40',
'name' => 'ภาควิชาเกษตรที่สูงและทรัพยากรธรรมชาติ',
'status' => 'Y',
'old_name' => '',
'sort' => '80',
'name_shot' => 'เกษตรที่สูงฯ',
'phone' => '44647',
'order' => '11',
'group' => '2',
'level_course_fee' => '6',
'level_scholarship' => '0'
)
),
(int) 13 => array(
'Majordegree' => array(
'id' => '44',
'major_name' => 'สาขาวิชาสัตวศาสตร์',
'major_id' => '11',
'organize_id' => '23',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '11',
'major_no' => '7',
'major_no_fee' => null,
'major_code' => 'HD',
'major_name' => 'สัตวศาสตร์',
'major_eng' => 'ANIMAL SCIENCE',
'major_eng2' => 'Animal Science',
'major_acronym' => 'สัตวศาสตร์',
'major_level' => '1',
'major_degree_id' => null,
'major_show_graph_id' => '1',
'color' => 'rgb(26, 139, 45)',
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '23',
'parent' => '40',
'name' => 'ภาควิชาสัตวศาสตร์และสัตว์น้ำ',
'status' => 'Y',
'old_name' => 'สาขาวิชาสัตวศาสตร์',
'sort' => '70',
'name_shot' => 'สัตวศาสตร์ฯ',
'phone' => '44069',
'order' => '10',
'group' => '2',
'level_course_fee' => '5',
'level_scholarship' => '0'
)
),
(int) 14 => array(
'Majordegree' => array(
'id' => '46',
'major_name' => 'สาขาวิชาผู้ประกอบการด้านเกษตรอัจฉริยะและอาหาร',
'major_id' => '25',
'organize_id' => null,
'degree_id' => '1',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => null,
'order' => '15',
'order_select_major' => '9'
),
'Major' => array(
'id' => '25',
'major_no' => '20',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ผู้ประกอบการด้านเกษตรอัจฉริยะและอาหาร',
'major_eng' => 'Smart Agriculture and Food Entrepreneur',
'major_eng2' => 'Smart Agriculture and Food Entrepreneur',
'major_acronym' => null,
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '0',
'color' => null,
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => null,
'parent' => null,
'name' => null,
'status' => null,
'old_name' => null,
'sort' => null,
'name_shot' => null,
'phone' => null,
'order' => null,
'group' => null,
'level_course_fee' => null,
'level_scholarship' => null
)
),
(int) 15 => array(
'Majordegree' => array(
'id' => '47',
'major_name' => 'สาขาวิชาเศรษฐศาสตร์เกษตรและธุรกิจเกษตร',
'major_id' => '26',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '26',
'major_no' => '21',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'เศรษฐศาสตร์เกษตรและธุรกิจเกษตร',
'major_eng' => null,
'major_eng2' => null,
'major_acronym' => null,
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(76, 0, 153)',
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
),
(int) 16 => array(
'Majordegree' => array(
'id' => '50',
'major_name' => 'สาขาวิชาวิทยาศาสตร์การประมง',
'major_id' => '28',
'organize_id' => '23',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '28',
'major_no' => '9',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'วิทยาศาสตร์การประมง',
'major_eng' => null,
'major_eng2' => null,
'major_acronym' => null,
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => null,
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '23',
'parent' => '40',
'name' => 'ภาควิชาสัตวศาสตร์และสัตว์น้ำ',
'status' => 'Y',
'old_name' => 'สาขาวิชาสัตวศาสตร์',
'sort' => '70',
'name_shot' => 'สัตวศาสตร์ฯ',
'phone' => '44069',
'order' => '10',
'group' => '2',
'level_course_fee' => '5',
'level_scholarship' => '0'
)
)
)
$major = array(
'Majordegree' => array(
'id' => '1',
'major_name' => 'สาขาวิชาเศรษฐศาสตร์เกษตร',
'major_id' => '1',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '1',
'major_no' => '5',
'major_no_fee' => '8',
'major_code' => 'HA',
'major_name' => 'เศรษฐศาสตร์เกษตร',
'major_eng' => 'AGRICULTURAL ECONOMICS',
'major_eng2' => 'Agricultural Economics',
'major_acronym' => 'เศรษฐศาสตร์เกษตร',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(255, 128, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
)
$yearId = '66'
$yearIdmin1 = '660000000'
$yearIdmax1 = '669999999'
$yearIdmin2 = '650000000'
$yearIdmax2 = '659999999'
$yearIdmin3 = '640000000'
$yearIdmax3 = '649999999'
$yearIdmin4 = '630000000'
$yearIdmax4 = '639999999'
$yearIdmin5 = '620000000'
$yearIdmax5 = '629999999'
$yearIdmin6 = '610000000'
$yearIdmax6 = '619999999'
$yearIdmin7 = '600000000'
$yearIdmax7 = '609999999'
$yearIdmin8 = '590000000'
$yearIdmax8 = '599999999'
$yearIdmin9 = '580000000'
$yearIdmax9 = '589999999'
$yearIdmin10 = '570000000'
$yearIdmax10 = '579999999'
$total = (int) 0
StudentsController::list_student_by_division_student() - APP\Controller\StudentsController.php, line 15288
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE\Cake\Controller\Controller.php, line 490
Dispatcher::_invoke() - CORE\Cake\Routing\Dispatcher.php, line 191
Dispatcher::dispatch() - CORE\Cake\Routing\Dispatcher.php, line 165
require - APP\webroot\index.php, line 108
[main] - ROOT\index.php, line 41
Notice (8): Undefined variable: output4 [APP\Controller\StudentsController.php, line 15289]Code Context $totals2 = $totals2 + $output2;
$totals3 = $totals3 + $output31;
$totals4 = $totals4 + $output4;
$yearList = '2565'
$term = '2'
$degree_id = '1'
$UserName = null
$admins = null
$lastYearTerms = array(
'Yearterm' => array(
'id' => '35',
'year' => '2567',
'term' => '2',
'trm' => '672',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2567',
'postdate' => '2024-11-11',
'level' => '1'
)
)
$degreedropdowns = array(
(int) 0 => array(
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
)
),
(int) 1 => array(
'Degree' => array(
'id' => '3',
'degree_name' => 'ปริญญาโท',
'degree_name_en' => 'Master's degree'
)
),
(int) 2 => array(
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
)
)
)
$dropdowns = array(
(int) 0 => array(
'Yearterm' => array(
'id' => '35',
'year' => '2567',
'term' => '2',
'trm' => '672',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2567',
'postdate' => '2024-11-11',
'level' => '1'
)
),
(int) 1 => array(
'Yearterm' => array(
'id' => '34',
'year' => '2567',
'term' => '1',
'trm' => '671',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2567',
'postdate' => '2024-07-05',
'level' => '1'
)
),
(int) 2 => array(
'Yearterm' => array(
'id' => '33',
'year' => '2566',
'term' => '3',
'trm' => '663',
'name' => 'ภาคการศึกษาที่ 3 ปีการศึกษา 2566',
'postdate' => '2024-05-15',
'level' => '1'
)
),
(int) 3 => array(
'Yearterm' => array(
'id' => '32',
'year' => '2566',
'term' => '2',
'trm' => '662',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2566',
'postdate' => '2023-12-06',
'level' => '1'
)
),
(int) 4 => array(
'Yearterm' => array(
'id' => '31',
'year' => '2566',
'term' => '1',
'trm' => '661',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2566',
'postdate' => '2023-07-06',
'level' => '1'
)
),
(int) 5 => array(
'Yearterm' => array(
'id' => '30',
'year' => '2565',
'term' => '3',
'trm' => '653',
'name' => 'ภาคการศึกษาที่ 3 ปีการศึกษา 2565',
'postdate' => '2023-05-01',
'level' => '1'
)
),
(int) 6 => array(
'Yearterm' => array(
'id' => '29',
'year' => '2565',
'term' => '2',
'trm' => '652',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2565',
'postdate' => '2022-12-09',
'level' => '1'
)
),
(int) 7 => array(
'Yearterm' => array(
'id' => '28',
'year' => '2565',
'term' => '1',
'trm' => '651',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2565',
'postdate' => '2022-07-20',
'level' => '1'
)
),
(int) 8 => array(
'Yearterm' => array(
'id' => '27',
'year' => '2564',
'term' => '3',
'trm' => '643',
'name' => 'ภาคการศึกษาที่ 3 ปีการศึกษา 2564',
'postdate' => '2022-03-28',
'level' => '1'
)
),
(int) 9 => array(
'Yearterm' => array(
'id' => '26',
'year' => '2564',
'term' => '2',
'trm' => '642',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2564',
'postdate' => '2022-03-27',
'level' => '1'
)
),
(int) 10 => array(
'Yearterm' => array(
'id' => '25',
'year' => '2564',
'term' => '1',
'trm' => '641',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2564',
'postdate' => '2021-07-07',
'level' => '1'
)
),
(int) 11 => array(
'Yearterm' => array(
'id' => '24',
'year' => '2563',
'term' => '3',
'trm' => '633',
'name' => 'ภาคการศึกษาที่ 3 ปีการศึกษา 2563',
'postdate' => '2021-05-06',
'level' => '1'
)
)
)
$findStudentInNewTerm = array(
'Studentterm' => array(
'term_year' => '2565',
'term_id' => '2',
'student_id' => '660851005'
)
)
$years = array(
(int) 0 => array(
'Yearterm' => array(
'id' => '29',
'year' => '2565',
'term' => '2',
'trm' => '652',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2565',
'postdate' => '2022-12-09',
'level' => '1'
)
)
)
$countstudentTerm = (int) 1663
$output = ''
$totals1 = (int) 0
$totals2 = (int) 0
$totals3 = (int) 0
$totals4 = (int) 0
$totals5 = (int) 0
$totals6 = (int) 0
$totals7 = (int) 0
$totals8 = (int) 0
$totals9 = (int) 0
$totals10 = (int) 0
$output3 = ''
$totals13 = (int) 0
$totals23 = (int) 0
$totals33 = (int) 0
$totals43 = (int) 0
$totals53 = (int) 0
$totals63 = (int) 0
$totals73 = (int) 0
$totals83 = (int) 0
$totals93 = (int) 0
$totals103 = (int) 0
$output5 = ''
$totals15 = (int) 0
$totals25 = (int) 0
$totals35 = (int) 0
$totals45 = (int) 0
$totals55 = (int) 0
$totals65 = (int) 0
$totals75 = (int) 0
$totals85 = (int) 0
$totals95 = (int) 0
$totals105 = (int) 0
$totals115 = (int) 0
$majors = array(
(int) 0 => array(
'Majordegree' => array(
'id' => '1',
'major_name' => 'สาขาวิชาเศรษฐศาสตร์เกษตร',
'major_id' => '1',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '1',
'major_no' => '5',
'major_no_fee' => '8',
'major_code' => 'HA',
'major_name' => 'เศรษฐศาสตร์เกษตร',
'major_eng' => 'AGRICULTURAL ECONOMICS',
'major_eng2' => 'Agricultural Economics',
'major_acronym' => 'เศรษฐศาสตร์เกษตร',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(255, 128, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
),
(int) 1 => array(
'Majordegree' => array(
'id' => '5',
'major_name' => 'สาขาวิชากีฏวิทยา',
'major_id' => '3',
'organize_id' => '2',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '1'
),
'Major' => array(
'id' => '3',
'major_no' => '1',
'major_no_fee' => '2',
'major_code' => 'HE',
'major_name' => 'กีฏวิทยา',
'major_eng' => 'ENTOMOLOGY',
'major_eng2' => 'Entomology',
'major_acronym' => 'กีฏวิทยา',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(75, 190, 115)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '2',
'parent' => '40',
'name' => 'ภาควิชากีฏวิทยาและโรคพืช',
'status' => 'Y',
'old_name' => '',
'sort' => '40',
'name_shot' => 'กีฏโรคพืช',
'phone' => '44021',
'order' => '7',
'group' => '2',
'level_course_fee' => '2',
'level_scholarship' => '0'
)
),
(int) 2 => array(
'Majordegree' => array(
'id' => '9',
'major_name' => 'สาขาวิชาปฐพีศาสตร์และการจัดการทรัพยากรธรรมชาติ',
'major_id' => '5',
'organize_id' => '16',
'degree_id' => '1',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '5',
'major_no' => '6',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ปฐพีศาสตร์และการจัดการทรัพยากรธรรมชาติ',
'major_eng' => 'SOIL SCIENCE AND NATURAL RESOURCE MANAG',
'major_eng2' => 'Soil Science and Natural Resource Management',
'major_acronym' => 'ปฐพีศาสตร์ฯ',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => null,
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '16',
'parent' => '40',
'name' => 'ภาควิชาพืชศาสตร์และปฐพีศาสตร์',
'status' => 'Y',
'old_name' => '',
'sort' => '50',
'name_shot' => 'พืชศาสตร์ฯ',
'phone' => '44040',
'order' => '8',
'group' => '2',
'level_course_fee' => '3',
'level_scholarship' => '0'
)
),
(int) 3 => array(
'Majordegree' => array(
'id' => '12',
'major_name' => 'สาขาวิชาพืชไร่',
'major_id' => '6',
'organize_id' => '16',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '3'
),
'Major' => array(
'id' => '6',
'major_no' => '3',
'major_no_fee' => '5',
'major_code' => 'HC',
'major_name' => 'พืชไร่',
'major_eng' => 'AGRONOMY',
'major_eng2' => 'Agronomy',
'major_acronym' => 'พืชไร่',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(150, 21, 182)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '16',
'parent' => '40',
'name' => 'ภาควิชาพืชศาสตร์และปฐพีศาสตร์',
'status' => 'Y',
'old_name' => '',
'sort' => '50',
'name_shot' => 'พืชศาสตร์ฯ',
'phone' => '44040',
'order' => '8',
'group' => '2',
'level_course_fee' => '3',
'level_scholarship' => '0'
)
),
(int) 4 => array(
'Majordegree' => array(
'id' => '15',
'major_name' => 'สาขาวิชาพืชสวน',
'major_id' => '7',
'organize_id' => '16',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '4'
),
'Major' => array(
'id' => '7',
'major_no' => '4',
'major_no_fee' => '6',
'major_code' => 'HF',
'major_name' => 'พืชสวน',
'major_eng' => 'HORTICULTURE',
'major_eng2' => 'Horticulture',
'major_acronym' => 'พืชสวน',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(46, 39, 145)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '16',
'parent' => '40',
'name' => 'ภาควิชาพืชศาสตร์และปฐพีศาสตร์',
'status' => 'Y',
'old_name' => '',
'sort' => '50',
'name_shot' => 'พืชศาสตร์ฯ',
'phone' => '44040',
'order' => '8',
'group' => '2',
'level_course_fee' => '3',
'level_scholarship' => '0'
)
),
(int) 5 => array(
'Majordegree' => array(
'id' => '18',
'major_name' => 'สาขาวิชาโรคพืช',
'major_id' => '9',
'organize_id' => '2',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '2'
),
'Major' => array(
'id' => '9',
'major_no' => '2',
'major_no_fee' => '3',
'major_code' => 'HG ',
'major_name' => 'โรคพืช',
'major_eng' => 'PLANT PATHOLOGY',
'major_eng2' => 'Plant Pathology',
'major_acronym' => 'โรคพืช',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(245, 158, 216)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '2',
'parent' => '40',
'name' => 'ภาควิชากีฏวิทยาและโรคพืช',
'status' => 'Y',
'old_name' => '',
'sort' => '40',
'name_shot' => 'กีฏโรคพืช',
'phone' => '44021',
'order' => '7',
'group' => '2',
'level_course_fee' => '2',
'level_scholarship' => '0'
)
),
(int) 6 => array(
'Majordegree' => array(
'id' => '25',
'major_name' => 'สาขาวิชาส่งเสริมและเผยแพร่การเกษตร',
'major_id' => '12',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '6'
),
'Major' => array(
'id' => '12',
'major_no' => '10',
'major_no_fee' => '9',
'major_code' => 'HB',
'major_name' => 'ส่งเสริมและเผยแพร่การเกษตร',
'major_eng' => 'Agricultural Extension',
'major_eng2' => 'Agricultural Extension',
'major_acronym' => 'ส่งเสริมและเผยแพร่การเกษตร',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(224, 233, 93)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
),
(int) 7 => array(
'Majordegree' => array(
'id' => '26',
'major_name' => 'สาขาวิชาสัตวศาสตร์และสัตว์น้ำ',
'major_id' => '13',
'organize_id' => '23',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '7'
),
'Major' => array(
'id' => '13',
'major_no' => '8',
'major_no_fee' => '11',
'major_code' => null,
'major_name' => 'สัตวศาสตร์และสัตว์น้ำ',
'major_eng' => 'Animal and Aquatic Science',
'major_eng2' => 'Animal and Aquatic Science',
'major_acronym' => 'สัตวศาสตร์และสัตว์น้ำ',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(137, 185, 40)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '23',
'parent' => '40',
'name' => 'ภาควิชาสัตวศาสตร์และสัตว์น้ำ',
'status' => 'Y',
'old_name' => 'สาขาวิชาสัตวศาสตร์',
'sort' => '70',
'name_shot' => 'สัตวศาสตร์ฯ',
'phone' => '44069',
'order' => '10',
'group' => '2',
'level_course_fee' => '5',
'level_scholarship' => '0'
)
),
(int) 8 => array(
'Majordegree' => array(
'id' => '31',
'major_name' => 'สาขาวิชาปฐพีศาสตร์',
'major_id' => '18',
'organize_id' => '16',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '5'
),
'Major' => array(
'id' => '18',
'major_no' => '11',
'major_no_fee' => '7',
'major_code' => null,
'major_name' => 'ปฐพีศาสตร์',
'major_eng' => 'SOIL SCIENCE',
'major_eng2' => 'SOIL SCIENCE',
'major_acronym' => 'ปฐพีศาสตร์',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(219, 219, 85)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '16',
'parent' => '40',
'name' => 'ภาควิชาพืชศาสตร์และปฐพีศาสตร์',
'status' => 'Y',
'old_name' => '',
'sort' => '50',
'name_shot' => 'พืชศาสตร์ฯ',
'phone' => '44040',
'order' => '8',
'group' => '2',
'level_course_fee' => '3',
'level_scholarship' => '0'
)
),
(int) 9 => array(
'Majordegree' => array(
'id' => '39',
'major_name' => 'สาขาวิชาทรัพยากรป่าไม้และวนเกษตร',
'major_id' => '20',
'organize_id' => '24',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '20',
'major_no' => '14',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ทรัพยากรป่าไม้และวนเกษตร',
'major_eng' => 'Highland Agriculture and Natural Resources',
'major_eng2' => 'Highland Agriculture and Natural Resources',
'major_acronym' => 'เกษตรที่สูงและทรัพยากรธรรมชาติ',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(233, 202, 75)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '24',
'parent' => '40',
'name' => 'ภาควิชาเกษตรที่สูงและทรัพยากรธรรมชาติ',
'status' => 'Y',
'old_name' => '',
'sort' => '80',
'name_shot' => 'เกษตรที่สูงฯ',
'phone' => '44647',
'order' => '11',
'group' => '2',
'level_course_fee' => '6',
'level_scholarship' => '0'
)
),
(int) 10 => array(
'Majordegree' => array(
'id' => '40',
'major_name' => 'สาขาธุรกิจเกษตร',
'major_id' => '4',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '0',
'level' => '0',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '4',
'major_no' => '16',
'major_no_fee' => '10',
'major_code' => null,
'major_name' => 'ธุรกิจเกษตร',
'major_eng' => 'AGRIBUSINESS',
'major_eng2' => 'Agribusiness',
'major_acronym' => 'ธุรกิจเกษตร',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => 'rgb(153, 0, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
),
(int) 11 => array(
'Majordegree' => array(
'id' => '42',
'major_name' => 'สาขาวิชาเกษตรศาสตร์',
'major_id' => '17',
'organize_id' => '5',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '17',
'major_no' => '49',
'major_no_fee' => '1',
'major_code' => null,
'major_name' => 'เกษตรศาสตร์',
'major_eng' => 'Agriculture',
'major_eng2' => 'Agriculture
',
'major_acronym' => 'เกษตรศาสตร์',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(153, 0, 76)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '5',
'parent' => '1',
'name' => 'งานบริการการศึกษาและพัฒนาคุณภาพนักศึกษา',
'status' => 'Y',
'old_name' => 'งานบริการการศึกษา และพัฒนาคุณภาพนักศึกษา',
'sort' => '14',
'name_shot' => 'การศึกษา',
'phone' => '44642',
'order' => '3',
'group' => '1',
'level_course_fee' => '1',
'level_scholarship' => '1'
)
),
(int) 12 => array(
'Majordegree' => array(
'id' => '43',
'major_name' => 'สาขาวิชาเกษตรที่สูงและทรัพยากรธรรมชาติ',
'major_id' => '23',
'organize_id' => '24',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '8'
),
'Major' => array(
'id' => '23',
'major_no' => '17',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'เกษตรที่สูงและทรัพยากรธรรมชาติ',
'major_eng' => 'Highland Agriculture and Natural Resources',
'major_eng2' => 'Highland Agriculture and Natural Resources',
'major_acronym' => 'เกษตรที่สูงและทรัพยากรธรรมชาติ',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '0',
'color' => 'rgb(255, 99, 132)',
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '24',
'parent' => '40',
'name' => 'ภาควิชาเกษตรที่สูงและทรัพยากรธรรมชาติ',
'status' => 'Y',
'old_name' => '',
'sort' => '80',
'name_shot' => 'เกษตรที่สูงฯ',
'phone' => '44647',
'order' => '11',
'group' => '2',
'level_course_fee' => '6',
'level_scholarship' => '0'
)
),
(int) 13 => array(
'Majordegree' => array(
'id' => '44',
'major_name' => 'สาขาวิชาสัตวศาสตร์',
'major_id' => '11',
'organize_id' => '23',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '11',
'major_no' => '7',
'major_no_fee' => null,
'major_code' => 'HD',
'major_name' => 'สัตวศาสตร์',
'major_eng' => 'ANIMAL SCIENCE',
'major_eng2' => 'Animal Science',
'major_acronym' => 'สัตวศาสตร์',
'major_level' => '1',
'major_degree_id' => null,
'major_show_graph_id' => '1',
'color' => 'rgb(26, 139, 45)',
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '23',
'parent' => '40',
'name' => 'ภาควิชาสัตวศาสตร์และสัตว์น้ำ',
'status' => 'Y',
'old_name' => 'สาขาวิชาสัตวศาสตร์',
'sort' => '70',
'name_shot' => 'สัตวศาสตร์ฯ',
'phone' => '44069',
'order' => '10',
'group' => '2',
'level_course_fee' => '5',
'level_scholarship' => '0'
)
),
(int) 14 => array(
'Majordegree' => array(
'id' => '46',
'major_name' => 'สาขาวิชาผู้ประกอบการด้านเกษตรอัจฉริยะและอาหาร',
'major_id' => '25',
'organize_id' => null,
'degree_id' => '1',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => null,
'order' => '15',
'order_select_major' => '9'
),
'Major' => array(
'id' => '25',
'major_no' => '20',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ผู้ประกอบการด้านเกษตรอัจฉริยะและอาหาร',
'major_eng' => 'Smart Agriculture and Food Entrepreneur',
'major_eng2' => 'Smart Agriculture and Food Entrepreneur',
'major_acronym' => null,
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '0',
'color' => null,
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => null,
'parent' => null,
'name' => null,
'status' => null,
'old_name' => null,
'sort' => null,
'name_shot' => null,
'phone' => null,
'order' => null,
'group' => null,
'level_course_fee' => null,
'level_scholarship' => null
)
),
(int) 15 => array(
'Majordegree' => array(
'id' => '47',
'major_name' => 'สาขาวิชาเศรษฐศาสตร์เกษตรและธุรกิจเกษตร',
'major_id' => '26',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '26',
'major_no' => '21',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'เศรษฐศาสตร์เกษตรและธุรกิจเกษตร',
'major_eng' => null,
'major_eng2' => null,
'major_acronym' => null,
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(76, 0, 153)',
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
),
(int) 16 => array(
'Majordegree' => array(
'id' => '50',
'major_name' => 'สาขาวิชาวิทยาศาสตร์การประมง',
'major_id' => '28',
'organize_id' => '23',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '28',
'major_no' => '9',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'วิทยาศาสตร์การประมง',
'major_eng' => null,
'major_eng2' => null,
'major_acronym' => null,
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => null,
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '23',
'parent' => '40',
'name' => 'ภาควิชาสัตวศาสตร์และสัตว์น้ำ',
'status' => 'Y',
'old_name' => 'สาขาวิชาสัตวศาสตร์',
'sort' => '70',
'name_shot' => 'สัตวศาสตร์ฯ',
'phone' => '44069',
'order' => '10',
'group' => '2',
'level_course_fee' => '5',
'level_scholarship' => '0'
)
)
)
$major = array(
'Majordegree' => array(
'id' => '1',
'major_name' => 'สาขาวิชาเศรษฐศาสตร์เกษตร',
'major_id' => '1',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '1',
'major_no' => '5',
'major_no_fee' => '8',
'major_code' => 'HA',
'major_name' => 'เศรษฐศาสตร์เกษตร',
'major_eng' => 'AGRICULTURAL ECONOMICS',
'major_eng2' => 'Agricultural Economics',
'major_acronym' => 'เศรษฐศาสตร์เกษตร',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(255, 128, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
)
$yearId = '66'
$yearIdmin1 = '660000000'
$yearIdmax1 = '669999999'
$yearIdmin2 = '650000000'
$yearIdmax2 = '659999999'
$yearIdmin3 = '640000000'
$yearIdmax3 = '649999999'
$yearIdmin4 = '630000000'
$yearIdmax4 = '639999999'
$yearIdmin5 = '620000000'
$yearIdmax5 = '629999999'
$yearIdmin6 = '610000000'
$yearIdmax6 = '619999999'
$yearIdmin7 = '600000000'
$yearIdmax7 = '609999999'
$yearIdmin8 = '590000000'
$yearIdmax8 = '599999999'
$yearIdmin9 = '580000000'
$yearIdmax9 = '589999999'
$yearIdmin10 = '570000000'
$yearIdmax10 = '579999999'
$total = (int) 0
StudentsController::list_student_by_division_student() - APP\Controller\StudentsController.php, line 15289
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE\Cake\Controller\Controller.php, line 490
Dispatcher::_invoke() - CORE\Cake\Routing\Dispatcher.php, line 191
Dispatcher::dispatch() - CORE\Cake\Routing\Dispatcher.php, line 165
require - APP\webroot\index.php, line 108
[main] - ROOT\index.php, line 41
Notice (8): Undefined variable: output51 [APP\Controller\StudentsController.php, line 15290]Code Context $totals3 = $totals3 + $output31;
$totals4 = $totals4 + $output4;
$totals5 = $totals5 + $output51;
$yearList = '2565'
$term = '2'
$degree_id = '1'
$UserName = null
$admins = null
$lastYearTerms = array(
'Yearterm' => array(
'id' => '35',
'year' => '2567',
'term' => '2',
'trm' => '672',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2567',
'postdate' => '2024-11-11',
'level' => '1'
)
)
$degreedropdowns = array(
(int) 0 => array(
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
)
),
(int) 1 => array(
'Degree' => array(
'id' => '3',
'degree_name' => 'ปริญญาโท',
'degree_name_en' => 'Master's degree'
)
),
(int) 2 => array(
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
)
)
)
$dropdowns = array(
(int) 0 => array(
'Yearterm' => array(
'id' => '35',
'year' => '2567',
'term' => '2',
'trm' => '672',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2567',
'postdate' => '2024-11-11',
'level' => '1'
)
),
(int) 1 => array(
'Yearterm' => array(
'id' => '34',
'year' => '2567',
'term' => '1',
'trm' => '671',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2567',
'postdate' => '2024-07-05',
'level' => '1'
)
),
(int) 2 => array(
'Yearterm' => array(
'id' => '33',
'year' => '2566',
'term' => '3',
'trm' => '663',
'name' => 'ภาคการศึกษาที่ 3 ปีการศึกษา 2566',
'postdate' => '2024-05-15',
'level' => '1'
)
),
(int) 3 => array(
'Yearterm' => array(
'id' => '32',
'year' => '2566',
'term' => '2',
'trm' => '662',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2566',
'postdate' => '2023-12-06',
'level' => '1'
)
),
(int) 4 => array(
'Yearterm' => array(
'id' => '31',
'year' => '2566',
'term' => '1',
'trm' => '661',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2566',
'postdate' => '2023-07-06',
'level' => '1'
)
),
(int) 5 => array(
'Yearterm' => array(
'id' => '30',
'year' => '2565',
'term' => '3',
'trm' => '653',
'name' => 'ภาคการศึกษาที่ 3 ปีการศึกษา 2565',
'postdate' => '2023-05-01',
'level' => '1'
)
),
(int) 6 => array(
'Yearterm' => array(
'id' => '29',
'year' => '2565',
'term' => '2',
'trm' => '652',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2565',
'postdate' => '2022-12-09',
'level' => '1'
)
),
(int) 7 => array(
'Yearterm' => array(
'id' => '28',
'year' => '2565',
'term' => '1',
'trm' => '651',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2565',
'postdate' => '2022-07-20',
'level' => '1'
)
),
(int) 8 => array(
'Yearterm' => array(
'id' => '27',
'year' => '2564',
'term' => '3',
'trm' => '643',
'name' => 'ภาคการศึกษาที่ 3 ปีการศึกษา 2564',
'postdate' => '2022-03-28',
'level' => '1'
)
),
(int) 9 => array(
'Yearterm' => array(
'id' => '26',
'year' => '2564',
'term' => '2',
'trm' => '642',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2564',
'postdate' => '2022-03-27',
'level' => '1'
)
),
(int) 10 => array(
'Yearterm' => array(
'id' => '25',
'year' => '2564',
'term' => '1',
'trm' => '641',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2564',
'postdate' => '2021-07-07',
'level' => '1'
)
),
(int) 11 => array(
'Yearterm' => array(
'id' => '24',
'year' => '2563',
'term' => '3',
'trm' => '633',
'name' => 'ภาคการศึกษาที่ 3 ปีการศึกษา 2563',
'postdate' => '2021-05-06',
'level' => '1'
)
)
)
$findStudentInNewTerm = array(
'Studentterm' => array(
'term_year' => '2565',
'term_id' => '2',
'student_id' => '660851005'
)
)
$years = array(
(int) 0 => array(
'Yearterm' => array(
'id' => '29',
'year' => '2565',
'term' => '2',
'trm' => '652',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2565',
'postdate' => '2022-12-09',
'level' => '1'
)
)
)
$countstudentTerm = (int) 1663
$output = ''
$totals1 = (int) 0
$totals2 = (int) 0
$totals3 = (int) 0
$totals4 = (int) 0
$totals5 = (int) 0
$totals6 = (int) 0
$totals7 = (int) 0
$totals8 = (int) 0
$totals9 = (int) 0
$totals10 = (int) 0
$output3 = ''
$totals13 = (int) 0
$totals23 = (int) 0
$totals33 = (int) 0
$totals43 = (int) 0
$totals53 = (int) 0
$totals63 = (int) 0
$totals73 = (int) 0
$totals83 = (int) 0
$totals93 = (int) 0
$totals103 = (int) 0
$output5 = ''
$totals15 = (int) 0
$totals25 = (int) 0
$totals35 = (int) 0
$totals45 = (int) 0
$totals55 = (int) 0
$totals65 = (int) 0
$totals75 = (int) 0
$totals85 = (int) 0
$totals95 = (int) 0
$totals105 = (int) 0
$totals115 = (int) 0
$majors = array(
(int) 0 => array(
'Majordegree' => array(
'id' => '1',
'major_name' => 'สาขาวิชาเศรษฐศาสตร์เกษตร',
'major_id' => '1',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '1',
'major_no' => '5',
'major_no_fee' => '8',
'major_code' => 'HA',
'major_name' => 'เศรษฐศาสตร์เกษตร',
'major_eng' => 'AGRICULTURAL ECONOMICS',
'major_eng2' => 'Agricultural Economics',
'major_acronym' => 'เศรษฐศาสตร์เกษตร',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(255, 128, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
),
(int) 1 => array(
'Majordegree' => array(
'id' => '5',
'major_name' => 'สาขาวิชากีฏวิทยา',
'major_id' => '3',
'organize_id' => '2',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '1'
),
'Major' => array(
'id' => '3',
'major_no' => '1',
'major_no_fee' => '2',
'major_code' => 'HE',
'major_name' => 'กีฏวิทยา',
'major_eng' => 'ENTOMOLOGY',
'major_eng2' => 'Entomology',
'major_acronym' => 'กีฏวิทยา',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(75, 190, 115)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '2',
'parent' => '40',
'name' => 'ภาควิชากีฏวิทยาและโรคพืช',
'status' => 'Y',
'old_name' => '',
'sort' => '40',
'name_shot' => 'กีฏโรคพืช',
'phone' => '44021',
'order' => '7',
'group' => '2',
'level_course_fee' => '2',
'level_scholarship' => '0'
)
),
(int) 2 => array(
'Majordegree' => array(
'id' => '9',
'major_name' => 'สาขาวิชาปฐพีศาสตร์และการจัดการทรัพยากรธรรมชาติ',
'major_id' => '5',
'organize_id' => '16',
'degree_id' => '1',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '5',
'major_no' => '6',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ปฐพีศาสตร์และการจัดการทรัพยากรธรรมชาติ',
'major_eng' => 'SOIL SCIENCE AND NATURAL RESOURCE MANAG',
'major_eng2' => 'Soil Science and Natural Resource Management',
'major_acronym' => 'ปฐพีศาสตร์ฯ',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => null,
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '16',
'parent' => '40',
'name' => 'ภาควิชาพืชศาสตร์และปฐพีศาสตร์',
'status' => 'Y',
'old_name' => '',
'sort' => '50',
'name_shot' => 'พืชศาสตร์ฯ',
'phone' => '44040',
'order' => '8',
'group' => '2',
'level_course_fee' => '3',
'level_scholarship' => '0'
)
),
(int) 3 => array(
'Majordegree' => array(
'id' => '12',
'major_name' => 'สาขาวิชาพืชไร่',
'major_id' => '6',
'organize_id' => '16',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '3'
),
'Major' => array(
'id' => '6',
'major_no' => '3',
'major_no_fee' => '5',
'major_code' => 'HC',
'major_name' => 'พืชไร่',
'major_eng' => 'AGRONOMY',
'major_eng2' => 'Agronomy',
'major_acronym' => 'พืชไร่',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(150, 21, 182)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '16',
'parent' => '40',
'name' => 'ภาควิชาพืชศาสตร์และปฐพีศาสตร์',
'status' => 'Y',
'old_name' => '',
'sort' => '50',
'name_shot' => 'พืชศาสตร์ฯ',
'phone' => '44040',
'order' => '8',
'group' => '2',
'level_course_fee' => '3',
'level_scholarship' => '0'
)
),
(int) 4 => array(
'Majordegree' => array(
'id' => '15',
'major_name' => 'สาขาวิชาพืชสวน',
'major_id' => '7',
'organize_id' => '16',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '4'
),
'Major' => array(
'id' => '7',
'major_no' => '4',
'major_no_fee' => '6',
'major_code' => 'HF',
'major_name' => 'พืชสวน',
'major_eng' => 'HORTICULTURE',
'major_eng2' => 'Horticulture',
'major_acronym' => 'พืชสวน',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(46, 39, 145)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '16',
'parent' => '40',
'name' => 'ภาควิชาพืชศาสตร์และปฐพีศาสตร์',
'status' => 'Y',
'old_name' => '',
'sort' => '50',
'name_shot' => 'พืชศาสตร์ฯ',
'phone' => '44040',
'order' => '8',
'group' => '2',
'level_course_fee' => '3',
'level_scholarship' => '0'
)
),
(int) 5 => array(
'Majordegree' => array(
'id' => '18',
'major_name' => 'สาขาวิชาโรคพืช',
'major_id' => '9',
'organize_id' => '2',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '2'
),
'Major' => array(
'id' => '9',
'major_no' => '2',
'major_no_fee' => '3',
'major_code' => 'HG ',
'major_name' => 'โรคพืช',
'major_eng' => 'PLANT PATHOLOGY',
'major_eng2' => 'Plant Pathology',
'major_acronym' => 'โรคพืช',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(245, 158, 216)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '2',
'parent' => '40',
'name' => 'ภาควิชากีฏวิทยาและโรคพืช',
'status' => 'Y',
'old_name' => '',
'sort' => '40',
'name_shot' => 'กีฏโรคพืช',
'phone' => '44021',
'order' => '7',
'group' => '2',
'level_course_fee' => '2',
'level_scholarship' => '0'
)
),
(int) 6 => array(
'Majordegree' => array(
'id' => '25',
'major_name' => 'สาขาวิชาส่งเสริมและเผยแพร่การเกษตร',
'major_id' => '12',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '6'
),
'Major' => array(
'id' => '12',
'major_no' => '10',
'major_no_fee' => '9',
'major_code' => 'HB',
'major_name' => 'ส่งเสริมและเผยแพร่การเกษตร',
'major_eng' => 'Agricultural Extension',
'major_eng2' => 'Agricultural Extension',
'major_acronym' => 'ส่งเสริมและเผยแพร่การเกษตร',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(224, 233, 93)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
),
(int) 7 => array(
'Majordegree' => array(
'id' => '26',
'major_name' => 'สาขาวิชาสัตวศาสตร์และสัตว์น้ำ',
'major_id' => '13',
'organize_id' => '23',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '7'
),
'Major' => array(
'id' => '13',
'major_no' => '8',
'major_no_fee' => '11',
'major_code' => null,
'major_name' => 'สัตวศาสตร์และสัตว์น้ำ',
'major_eng' => 'Animal and Aquatic Science',
'major_eng2' => 'Animal and Aquatic Science',
'major_acronym' => 'สัตวศาสตร์และสัตว์น้ำ',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(137, 185, 40)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '23',
'parent' => '40',
'name' => 'ภาควิชาสัตวศาสตร์และสัตว์น้ำ',
'status' => 'Y',
'old_name' => 'สาขาวิชาสัตวศาสตร์',
'sort' => '70',
'name_shot' => 'สัตวศาสตร์ฯ',
'phone' => '44069',
'order' => '10',
'group' => '2',
'level_course_fee' => '5',
'level_scholarship' => '0'
)
),
(int) 8 => array(
'Majordegree' => array(
'id' => '31',
'major_name' => 'สาขาวิชาปฐพีศาสตร์',
'major_id' => '18',
'organize_id' => '16',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '5'
),
'Major' => array(
'id' => '18',
'major_no' => '11',
'major_no_fee' => '7',
'major_code' => null,
'major_name' => 'ปฐพีศาสตร์',
'major_eng' => 'SOIL SCIENCE',
'major_eng2' => 'SOIL SCIENCE',
'major_acronym' => 'ปฐพีศาสตร์',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(219, 219, 85)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '16',
'parent' => '40',
'name' => 'ภาควิชาพืชศาสตร์และปฐพีศาสตร์',
'status' => 'Y',
'old_name' => '',
'sort' => '50',
'name_shot' => 'พืชศาสตร์ฯ',
'phone' => '44040',
'order' => '8',
'group' => '2',
'level_course_fee' => '3',
'level_scholarship' => '0'
)
),
(int) 9 => array(
'Majordegree' => array(
'id' => '39',
'major_name' => 'สาขาวิชาทรัพยากรป่าไม้และวนเกษตร',
'major_id' => '20',
'organize_id' => '24',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '20',
'major_no' => '14',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ทรัพยากรป่าไม้และวนเกษตร',
'major_eng' => 'Highland Agriculture and Natural Resources',
'major_eng2' => 'Highland Agriculture and Natural Resources',
'major_acronym' => 'เกษตรที่สูงและทรัพยากรธรรมชาติ',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(233, 202, 75)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '24',
'parent' => '40',
'name' => 'ภาควิชาเกษตรที่สูงและทรัพยากรธรรมชาติ',
'status' => 'Y',
'old_name' => '',
'sort' => '80',
'name_shot' => 'เกษตรที่สูงฯ',
'phone' => '44647',
'order' => '11',
'group' => '2',
'level_course_fee' => '6',
'level_scholarship' => '0'
)
),
(int) 10 => array(
'Majordegree' => array(
'id' => '40',
'major_name' => 'สาขาธุรกิจเกษตร',
'major_id' => '4',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '0',
'level' => '0',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '4',
'major_no' => '16',
'major_no_fee' => '10',
'major_code' => null,
'major_name' => 'ธุรกิจเกษตร',
'major_eng' => 'AGRIBUSINESS',
'major_eng2' => 'Agribusiness',
'major_acronym' => 'ธุรกิจเกษตร',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => 'rgb(153, 0, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
),
(int) 11 => array(
'Majordegree' => array(
'id' => '42',
'major_name' => 'สาขาวิชาเกษตรศาสตร์',
'major_id' => '17',
'organize_id' => '5',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '17',
'major_no' => '49',
'major_no_fee' => '1',
'major_code' => null,
'major_name' => 'เกษตรศาสตร์',
'major_eng' => 'Agriculture',
'major_eng2' => 'Agriculture
',
'major_acronym' => 'เกษตรศาสตร์',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(153, 0, 76)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '5',
'parent' => '1',
'name' => 'งานบริการการศึกษาและพัฒนาคุณภาพนักศึกษา',
'status' => 'Y',
'old_name' => 'งานบริการการศึกษา และพัฒนาคุณภาพนักศึกษา',
'sort' => '14',
'name_shot' => 'การศึกษา',
'phone' => '44642',
'order' => '3',
'group' => '1',
'level_course_fee' => '1',
'level_scholarship' => '1'
)
),
(int) 12 => array(
'Majordegree' => array(
'id' => '43',
'major_name' => 'สาขาวิชาเกษตรที่สูงและทรัพยากรธรรมชาติ',
'major_id' => '23',
'organize_id' => '24',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '8'
),
'Major' => array(
'id' => '23',
'major_no' => '17',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'เกษตรที่สูงและทรัพยากรธรรมชาติ',
'major_eng' => 'Highland Agriculture and Natural Resources',
'major_eng2' => 'Highland Agriculture and Natural Resources',
'major_acronym' => 'เกษตรที่สูงและทรัพยากรธรรมชาติ',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '0',
'color' => 'rgb(255, 99, 132)',
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '24',
'parent' => '40',
'name' => 'ภาควิชาเกษตรที่สูงและทรัพยากรธรรมชาติ',
'status' => 'Y',
'old_name' => '',
'sort' => '80',
'name_shot' => 'เกษตรที่สูงฯ',
'phone' => '44647',
'order' => '11',
'group' => '2',
'level_course_fee' => '6',
'level_scholarship' => '0'
)
),
(int) 13 => array(
'Majordegree' => array(
'id' => '44',
'major_name' => 'สาขาวิชาสัตวศาสตร์',
'major_id' => '11',
'organize_id' => '23',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '11',
'major_no' => '7',
'major_no_fee' => null,
'major_code' => 'HD',
'major_name' => 'สัตวศาสตร์',
'major_eng' => 'ANIMAL SCIENCE',
'major_eng2' => 'Animal Science',
'major_acronym' => 'สัตวศาสตร์',
'major_level' => '1',
'major_degree_id' => null,
'major_show_graph_id' => '1',
'color' => 'rgb(26, 139, 45)',
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '23',
'parent' => '40',
'name' => 'ภาควิชาสัตวศาสตร์และสัตว์น้ำ',
'status' => 'Y',
'old_name' => 'สาขาวิชาสัตวศาสตร์',
'sort' => '70',
'name_shot' => 'สัตวศาสตร์ฯ',
'phone' => '44069',
'order' => '10',
'group' => '2',
'level_course_fee' => '5',
'level_scholarship' => '0'
)
),
(int) 14 => array(
'Majordegree' => array(
'id' => '46',
'major_name' => 'สาขาวิชาผู้ประกอบการด้านเกษตรอัจฉริยะและอาหาร',
'major_id' => '25',
'organize_id' => null,
'degree_id' => '1',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => null,
'order' => '15',
'order_select_major' => '9'
),
'Major' => array(
'id' => '25',
'major_no' => '20',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ผู้ประกอบการด้านเกษตรอัจฉริยะและอาหาร',
'major_eng' => 'Smart Agriculture and Food Entrepreneur',
'major_eng2' => 'Smart Agriculture and Food Entrepreneur',
'major_acronym' => null,
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '0',
'color' => null,
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => null,
'parent' => null,
'name' => null,
'status' => null,
'old_name' => null,
'sort' => null,
'name_shot' => null,
'phone' => null,
'order' => null,
'group' => null,
'level_course_fee' => null,
'level_scholarship' => null
)
),
(int) 15 => array(
'Majordegree' => array(
'id' => '47',
'major_name' => 'สาขาวิชาเศรษฐศาสตร์เกษตรและธุรกิจเกษตร',
'major_id' => '26',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '26',
'major_no' => '21',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'เศรษฐศาสตร์เกษตรและธุรกิจเกษตร',
'major_eng' => null,
'major_eng2' => null,
'major_acronym' => null,
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(76, 0, 153)',
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
),
(int) 16 => array(
'Majordegree' => array(
'id' => '50',
'major_name' => 'สาขาวิชาวิทยาศาสตร์การประมง',
'major_id' => '28',
'organize_id' => '23',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '28',
'major_no' => '9',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'วิทยาศาสตร์การประมง',
'major_eng' => null,
'major_eng2' => null,
'major_acronym' => null,
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => null,
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '23',
'parent' => '40',
'name' => 'ภาควิชาสัตวศาสตร์และสัตว์น้ำ',
'status' => 'Y',
'old_name' => 'สาขาวิชาสัตวศาสตร์',
'sort' => '70',
'name_shot' => 'สัตวศาสตร์ฯ',
'phone' => '44069',
'order' => '10',
'group' => '2',
'level_course_fee' => '5',
'level_scholarship' => '0'
)
)
)
$major = array(
'Majordegree' => array(
'id' => '1',
'major_name' => 'สาขาวิชาเศรษฐศาสตร์เกษตร',
'major_id' => '1',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '1',
'major_no' => '5',
'major_no_fee' => '8',
'major_code' => 'HA',
'major_name' => 'เศรษฐศาสตร์เกษตร',
'major_eng' => 'AGRICULTURAL ECONOMICS',
'major_eng2' => 'Agricultural Economics',
'major_acronym' => 'เศรษฐศาสตร์เกษตร',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(255, 128, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
)
$yearId = '66'
$yearIdmin1 = '660000000'
$yearIdmax1 = '669999999'
$yearIdmin2 = '650000000'
$yearIdmax2 = '659999999'
$yearIdmin3 = '640000000'
$yearIdmax3 = '649999999'
$yearIdmin4 = '630000000'
$yearIdmax4 = '639999999'
$yearIdmin5 = '620000000'
$yearIdmax5 = '629999999'
$yearIdmin6 = '610000000'
$yearIdmax6 = '619999999'
$yearIdmin7 = '600000000'
$yearIdmax7 = '609999999'
$yearIdmin8 = '590000000'
$yearIdmax8 = '599999999'
$yearIdmin9 = '580000000'
$yearIdmax9 = '589999999'
$yearIdmin10 = '570000000'
$yearIdmax10 = '579999999'
$total = (int) 0
StudentsController::list_student_by_division_student() - APP\Controller\StudentsController.php, line 15290
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE\Cake\Controller\Controller.php, line 490
Dispatcher::_invoke() - CORE\Cake\Routing\Dispatcher.php, line 191
Dispatcher::dispatch() - CORE\Cake\Routing\Dispatcher.php, line 165
require - APP\webroot\index.php, line 108
[main] - ROOT\index.php, line 41
Notice (8): Undefined variable: output6 [APP\Controller\StudentsController.php, line 15291]Code Context $totals4 = $totals4 + $output4;
$totals5 = $totals5 + $output51;
$totals6 = $totals6 + $output6;
$yearList = '2565'
$term = '2'
$degree_id = '1'
$UserName = null
$admins = null
$lastYearTerms = array(
'Yearterm' => array(
'id' => '35',
'year' => '2567',
'term' => '2',
'trm' => '672',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2567',
'postdate' => '2024-11-11',
'level' => '1'
)
)
$degreedropdowns = array(
(int) 0 => array(
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
)
),
(int) 1 => array(
'Degree' => array(
'id' => '3',
'degree_name' => 'ปริญญาโท',
'degree_name_en' => 'Master's degree'
)
),
(int) 2 => array(
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
)
)
)
$dropdowns = array(
(int) 0 => array(
'Yearterm' => array(
'id' => '35',
'year' => '2567',
'term' => '2',
'trm' => '672',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2567',
'postdate' => '2024-11-11',
'level' => '1'
)
),
(int) 1 => array(
'Yearterm' => array(
'id' => '34',
'year' => '2567',
'term' => '1',
'trm' => '671',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2567',
'postdate' => '2024-07-05',
'level' => '1'
)
),
(int) 2 => array(
'Yearterm' => array(
'id' => '33',
'year' => '2566',
'term' => '3',
'trm' => '663',
'name' => 'ภาคการศึกษาที่ 3 ปีการศึกษา 2566',
'postdate' => '2024-05-15',
'level' => '1'
)
),
(int) 3 => array(
'Yearterm' => array(
'id' => '32',
'year' => '2566',
'term' => '2',
'trm' => '662',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2566',
'postdate' => '2023-12-06',
'level' => '1'
)
),
(int) 4 => array(
'Yearterm' => array(
'id' => '31',
'year' => '2566',
'term' => '1',
'trm' => '661',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2566',
'postdate' => '2023-07-06',
'level' => '1'
)
),
(int) 5 => array(
'Yearterm' => array(
'id' => '30',
'year' => '2565',
'term' => '3',
'trm' => '653',
'name' => 'ภาคการศึกษาที่ 3 ปีการศึกษา 2565',
'postdate' => '2023-05-01',
'level' => '1'
)
),
(int) 6 => array(
'Yearterm' => array(
'id' => '29',
'year' => '2565',
'term' => '2',
'trm' => '652',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2565',
'postdate' => '2022-12-09',
'level' => '1'
)
),
(int) 7 => array(
'Yearterm' => array(
'id' => '28',
'year' => '2565',
'term' => '1',
'trm' => '651',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2565',
'postdate' => '2022-07-20',
'level' => '1'
)
),
(int) 8 => array(
'Yearterm' => array(
'id' => '27',
'year' => '2564',
'term' => '3',
'trm' => '643',
'name' => 'ภาคการศึกษาที่ 3 ปีการศึกษา 2564',
'postdate' => '2022-03-28',
'level' => '1'
)
),
(int) 9 => array(
'Yearterm' => array(
'id' => '26',
'year' => '2564',
'term' => '2',
'trm' => '642',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2564',
'postdate' => '2022-03-27',
'level' => '1'
)
),
(int) 10 => array(
'Yearterm' => array(
'id' => '25',
'year' => '2564',
'term' => '1',
'trm' => '641',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2564',
'postdate' => '2021-07-07',
'level' => '1'
)
),
(int) 11 => array(
'Yearterm' => array(
'id' => '24',
'year' => '2563',
'term' => '3',
'trm' => '633',
'name' => 'ภาคการศึกษาที่ 3 ปีการศึกษา 2563',
'postdate' => '2021-05-06',
'level' => '1'
)
)
)
$findStudentInNewTerm = array(
'Studentterm' => array(
'term_year' => '2565',
'term_id' => '2',
'student_id' => '660851005'
)
)
$years = array(
(int) 0 => array(
'Yearterm' => array(
'id' => '29',
'year' => '2565',
'term' => '2',
'trm' => '652',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2565',
'postdate' => '2022-12-09',
'level' => '1'
)
)
)
$countstudentTerm = (int) 1663
$output = ''
$totals1 = (int) 0
$totals2 = (int) 0
$totals3 = (int) 0
$totals4 = (int) 0
$totals5 = (int) 0
$totals6 = (int) 0
$totals7 = (int) 0
$totals8 = (int) 0
$totals9 = (int) 0
$totals10 = (int) 0
$output3 = ''
$totals13 = (int) 0
$totals23 = (int) 0
$totals33 = (int) 0
$totals43 = (int) 0
$totals53 = (int) 0
$totals63 = (int) 0
$totals73 = (int) 0
$totals83 = (int) 0
$totals93 = (int) 0
$totals103 = (int) 0
$output5 = ''
$totals15 = (int) 0
$totals25 = (int) 0
$totals35 = (int) 0
$totals45 = (int) 0
$totals55 = (int) 0
$totals65 = (int) 0
$totals75 = (int) 0
$totals85 = (int) 0
$totals95 = (int) 0
$totals105 = (int) 0
$totals115 = (int) 0
$majors = array(
(int) 0 => array(
'Majordegree' => array(
'id' => '1',
'major_name' => 'สาขาวิชาเศรษฐศาสตร์เกษตร',
'major_id' => '1',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '1',
'major_no' => '5',
'major_no_fee' => '8',
'major_code' => 'HA',
'major_name' => 'เศรษฐศาสตร์เกษตร',
'major_eng' => 'AGRICULTURAL ECONOMICS',
'major_eng2' => 'Agricultural Economics',
'major_acronym' => 'เศรษฐศาสตร์เกษตร',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(255, 128, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
),
(int) 1 => array(
'Majordegree' => array(
'id' => '5',
'major_name' => 'สาขาวิชากีฏวิทยา',
'major_id' => '3',
'organize_id' => '2',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '1'
),
'Major' => array(
'id' => '3',
'major_no' => '1',
'major_no_fee' => '2',
'major_code' => 'HE',
'major_name' => 'กีฏวิทยา',
'major_eng' => 'ENTOMOLOGY',
'major_eng2' => 'Entomology',
'major_acronym' => 'กีฏวิทยา',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(75, 190, 115)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '2',
'parent' => '40',
'name' => 'ภาควิชากีฏวิทยาและโรคพืช',
'status' => 'Y',
'old_name' => '',
'sort' => '40',
'name_shot' => 'กีฏโรคพืช',
'phone' => '44021',
'order' => '7',
'group' => '2',
'level_course_fee' => '2',
'level_scholarship' => '0'
)
),
(int) 2 => array(
'Majordegree' => array(
'id' => '9',
'major_name' => 'สาขาวิชาปฐพีศาสตร์และการจัดการทรัพยากรธรรมชาติ',
'major_id' => '5',
'organize_id' => '16',
'degree_id' => '1',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '5',
'major_no' => '6',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ปฐพีศาสตร์และการจัดการทรัพยากรธรรมชาติ',
'major_eng' => 'SOIL SCIENCE AND NATURAL RESOURCE MANAG',
'major_eng2' => 'Soil Science and Natural Resource Management',
'major_acronym' => 'ปฐพีศาสตร์ฯ',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => null,
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '16',
'parent' => '40',
'name' => 'ภาควิชาพืชศาสตร์และปฐพีศาสตร์',
'status' => 'Y',
'old_name' => '',
'sort' => '50',
'name_shot' => 'พืชศาสตร์ฯ',
'phone' => '44040',
'order' => '8',
'group' => '2',
'level_course_fee' => '3',
'level_scholarship' => '0'
)
),
(int) 3 => array(
'Majordegree' => array(
'id' => '12',
'major_name' => 'สาขาวิชาพืชไร่',
'major_id' => '6',
'organize_id' => '16',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '3'
),
'Major' => array(
'id' => '6',
'major_no' => '3',
'major_no_fee' => '5',
'major_code' => 'HC',
'major_name' => 'พืชไร่',
'major_eng' => 'AGRONOMY',
'major_eng2' => 'Agronomy',
'major_acronym' => 'พืชไร่',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(150, 21, 182)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '16',
'parent' => '40',
'name' => 'ภาควิชาพืชศาสตร์และปฐพีศาสตร์',
'status' => 'Y',
'old_name' => '',
'sort' => '50',
'name_shot' => 'พืชศาสตร์ฯ',
'phone' => '44040',
'order' => '8',
'group' => '2',
'level_course_fee' => '3',
'level_scholarship' => '0'
)
),
(int) 4 => array(
'Majordegree' => array(
'id' => '15',
'major_name' => 'สาขาวิชาพืชสวน',
'major_id' => '7',
'organize_id' => '16',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '4'
),
'Major' => array(
'id' => '7',
'major_no' => '4',
'major_no_fee' => '6',
'major_code' => 'HF',
'major_name' => 'พืชสวน',
'major_eng' => 'HORTICULTURE',
'major_eng2' => 'Horticulture',
'major_acronym' => 'พืชสวน',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(46, 39, 145)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '16',
'parent' => '40',
'name' => 'ภาควิชาพืชศาสตร์และปฐพีศาสตร์',
'status' => 'Y',
'old_name' => '',
'sort' => '50',
'name_shot' => 'พืชศาสตร์ฯ',
'phone' => '44040',
'order' => '8',
'group' => '2',
'level_course_fee' => '3',
'level_scholarship' => '0'
)
),
(int) 5 => array(
'Majordegree' => array(
'id' => '18',
'major_name' => 'สาขาวิชาโรคพืช',
'major_id' => '9',
'organize_id' => '2',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '2'
),
'Major' => array(
'id' => '9',
'major_no' => '2',
'major_no_fee' => '3',
'major_code' => 'HG ',
'major_name' => 'โรคพืช',
'major_eng' => 'PLANT PATHOLOGY',
'major_eng2' => 'Plant Pathology',
'major_acronym' => 'โรคพืช',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(245, 158, 216)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '2',
'parent' => '40',
'name' => 'ภาควิชากีฏวิทยาและโรคพืช',
'status' => 'Y',
'old_name' => '',
'sort' => '40',
'name_shot' => 'กีฏโรคพืช',
'phone' => '44021',
'order' => '7',
'group' => '2',
'level_course_fee' => '2',
'level_scholarship' => '0'
)
),
(int) 6 => array(
'Majordegree' => array(
'id' => '25',
'major_name' => 'สาขาวิชาส่งเสริมและเผยแพร่การเกษตร',
'major_id' => '12',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '6'
),
'Major' => array(
'id' => '12',
'major_no' => '10',
'major_no_fee' => '9',
'major_code' => 'HB',
'major_name' => 'ส่งเสริมและเผยแพร่การเกษตร',
'major_eng' => 'Agricultural Extension',
'major_eng2' => 'Agricultural Extension',
'major_acronym' => 'ส่งเสริมและเผยแพร่การเกษตร',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(224, 233, 93)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
),
(int) 7 => array(
'Majordegree' => array(
'id' => '26',
'major_name' => 'สาขาวิชาสัตวศาสตร์และสัตว์น้ำ',
'major_id' => '13',
'organize_id' => '23',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '7'
),
'Major' => array(
'id' => '13',
'major_no' => '8',
'major_no_fee' => '11',
'major_code' => null,
'major_name' => 'สัตวศาสตร์และสัตว์น้ำ',
'major_eng' => 'Animal and Aquatic Science',
'major_eng2' => 'Animal and Aquatic Science',
'major_acronym' => 'สัตวศาสตร์และสัตว์น้ำ',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(137, 185, 40)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '23',
'parent' => '40',
'name' => 'ภาควิชาสัตวศาสตร์และสัตว์น้ำ',
'status' => 'Y',
'old_name' => 'สาขาวิชาสัตวศาสตร์',
'sort' => '70',
'name_shot' => 'สัตวศาสตร์ฯ',
'phone' => '44069',
'order' => '10',
'group' => '2',
'level_course_fee' => '5',
'level_scholarship' => '0'
)
),
(int) 8 => array(
'Majordegree' => array(
'id' => '31',
'major_name' => 'สาขาวิชาปฐพีศาสตร์',
'major_id' => '18',
'organize_id' => '16',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '5'
),
'Major' => array(
'id' => '18',
'major_no' => '11',
'major_no_fee' => '7',
'major_code' => null,
'major_name' => 'ปฐพีศาสตร์',
'major_eng' => 'SOIL SCIENCE',
'major_eng2' => 'SOIL SCIENCE',
'major_acronym' => 'ปฐพีศาสตร์',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(219, 219, 85)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '16',
'parent' => '40',
'name' => 'ภาควิชาพืชศาสตร์และปฐพีศาสตร์',
'status' => 'Y',
'old_name' => '',
'sort' => '50',
'name_shot' => 'พืชศาสตร์ฯ',
'phone' => '44040',
'order' => '8',
'group' => '2',
'level_course_fee' => '3',
'level_scholarship' => '0'
)
),
(int) 9 => array(
'Majordegree' => array(
'id' => '39',
'major_name' => 'สาขาวิชาทรัพยากรป่าไม้และวนเกษตร',
'major_id' => '20',
'organize_id' => '24',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '20',
'major_no' => '14',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ทรัพยากรป่าไม้และวนเกษตร',
'major_eng' => 'Highland Agriculture and Natural Resources',
'major_eng2' => 'Highland Agriculture and Natural Resources',
'major_acronym' => 'เกษตรที่สูงและทรัพยากรธรรมชาติ',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(233, 202, 75)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '24',
'parent' => '40',
'name' => 'ภาควิชาเกษตรที่สูงและทรัพยากรธรรมชาติ',
'status' => 'Y',
'old_name' => '',
'sort' => '80',
'name_shot' => 'เกษตรที่สูงฯ',
'phone' => '44647',
'order' => '11',
'group' => '2',
'level_course_fee' => '6',
'level_scholarship' => '0'
)
),
(int) 10 => array(
'Majordegree' => array(
'id' => '40',
'major_name' => 'สาขาธุรกิจเกษตร',
'major_id' => '4',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '0',
'level' => '0',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '4',
'major_no' => '16',
'major_no_fee' => '10',
'major_code' => null,
'major_name' => 'ธุรกิจเกษตร',
'major_eng' => 'AGRIBUSINESS',
'major_eng2' => 'Agribusiness',
'major_acronym' => 'ธุรกิจเกษตร',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => 'rgb(153, 0, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
),
(int) 11 => array(
'Majordegree' => array(
'id' => '42',
'major_name' => 'สาขาวิชาเกษตรศาสตร์',
'major_id' => '17',
'organize_id' => '5',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '17',
'major_no' => '49',
'major_no_fee' => '1',
'major_code' => null,
'major_name' => 'เกษตรศาสตร์',
'major_eng' => 'Agriculture',
'major_eng2' => 'Agriculture
',
'major_acronym' => 'เกษตรศาสตร์',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(153, 0, 76)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '5',
'parent' => '1',
'name' => 'งานบริการการศึกษาและพัฒนาคุณภาพนักศึกษา',
'status' => 'Y',
'old_name' => 'งานบริการการศึกษา และพัฒนาคุณภาพนักศึกษา',
'sort' => '14',
'name_shot' => 'การศึกษา',
'phone' => '44642',
'order' => '3',
'group' => '1',
'level_course_fee' => '1',
'level_scholarship' => '1'
)
),
(int) 12 => array(
'Majordegree' => array(
'id' => '43',
'major_name' => 'สาขาวิชาเกษตรที่สูงและทรัพยากรธรรมชาติ',
'major_id' => '23',
'organize_id' => '24',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '8'
),
'Major' => array(
'id' => '23',
'major_no' => '17',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'เกษตรที่สูงและทรัพยากรธรรมชาติ',
'major_eng' => 'Highland Agriculture and Natural Resources',
'major_eng2' => 'Highland Agriculture and Natural Resources',
'major_acronym' => 'เกษตรที่สูงและทรัพยากรธรรมชาติ',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '0',
'color' => 'rgb(255, 99, 132)',
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '24',
'parent' => '40',
'name' => 'ภาควิชาเกษตรที่สูงและทรัพยากรธรรมชาติ',
'status' => 'Y',
'old_name' => '',
'sort' => '80',
'name_shot' => 'เกษตรที่สูงฯ',
'phone' => '44647',
'order' => '11',
'group' => '2',
'level_course_fee' => '6',
'level_scholarship' => '0'
)
),
(int) 13 => array(
'Majordegree' => array(
'id' => '44',
'major_name' => 'สาขาวิชาสัตวศาสตร์',
'major_id' => '11',
'organize_id' => '23',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '11',
'major_no' => '7',
'major_no_fee' => null,
'major_code' => 'HD',
'major_name' => 'สัตวศาสตร์',
'major_eng' => 'ANIMAL SCIENCE',
'major_eng2' => 'Animal Science',
'major_acronym' => 'สัตวศาสตร์',
'major_level' => '1',
'major_degree_id' => null,
'major_show_graph_id' => '1',
'color' => 'rgb(26, 139, 45)',
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '23',
'parent' => '40',
'name' => 'ภาควิชาสัตวศาสตร์และสัตว์น้ำ',
'status' => 'Y',
'old_name' => 'สาขาวิชาสัตวศาสตร์',
'sort' => '70',
'name_shot' => 'สัตวศาสตร์ฯ',
'phone' => '44069',
'order' => '10',
'group' => '2',
'level_course_fee' => '5',
'level_scholarship' => '0'
)
),
(int) 14 => array(
'Majordegree' => array(
'id' => '46',
'major_name' => 'สาขาวิชาผู้ประกอบการด้านเกษตรอัจฉริยะและอาหาร',
'major_id' => '25',
'organize_id' => null,
'degree_id' => '1',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => null,
'order' => '15',
'order_select_major' => '9'
),
'Major' => array(
'id' => '25',
'major_no' => '20',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ผู้ประกอบการด้านเกษตรอัจฉริยะและอาหาร',
'major_eng' => 'Smart Agriculture and Food Entrepreneur',
'major_eng2' => 'Smart Agriculture and Food Entrepreneur',
'major_acronym' => null,
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '0',
'color' => null,
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => null,
'parent' => null,
'name' => null,
'status' => null,
'old_name' => null,
'sort' => null,
'name_shot' => null,
'phone' => null,
'order' => null,
'group' => null,
'level_course_fee' => null,
'level_scholarship' => null
)
),
(int) 15 => array(
'Majordegree' => array(
'id' => '47',
'major_name' => 'สาขาวิชาเศรษฐศาสตร์เกษตรและธุรกิจเกษตร',
'major_id' => '26',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '26',
'major_no' => '21',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'เศรษฐศาสตร์เกษตรและธุรกิจเกษตร',
'major_eng' => null,
'major_eng2' => null,
'major_acronym' => null,
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(76, 0, 153)',
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
),
(int) 16 => array(
'Majordegree' => array(
'id' => '50',
'major_name' => 'สาขาวิชาวิทยาศาสตร์การประมง',
'major_id' => '28',
'organize_id' => '23',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '28',
'major_no' => '9',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'วิทยาศาสตร์การประมง',
'major_eng' => null,
'major_eng2' => null,
'major_acronym' => null,
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => null,
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '23',
'parent' => '40',
'name' => 'ภาควิชาสัตวศาสตร์และสัตว์น้ำ',
'status' => 'Y',
'old_name' => 'สาขาวิชาสัตวศาสตร์',
'sort' => '70',
'name_shot' => 'สัตวศาสตร์ฯ',
'phone' => '44069',
'order' => '10',
'group' => '2',
'level_course_fee' => '5',
'level_scholarship' => '0'
)
)
)
$major = array(
'Majordegree' => array(
'id' => '1',
'major_name' => 'สาขาวิชาเศรษฐศาสตร์เกษตร',
'major_id' => '1',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '1',
'major_no' => '5',
'major_no_fee' => '8',
'major_code' => 'HA',
'major_name' => 'เศรษฐศาสตร์เกษตร',
'major_eng' => 'AGRICULTURAL ECONOMICS',
'major_eng2' => 'Agricultural Economics',
'major_acronym' => 'เศรษฐศาสตร์เกษตร',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(255, 128, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
)
$yearId = '66'
$yearIdmin1 = '660000000'
$yearIdmax1 = '669999999'
$yearIdmin2 = '650000000'
$yearIdmax2 = '659999999'
$yearIdmin3 = '640000000'
$yearIdmax3 = '649999999'
$yearIdmin4 = '630000000'
$yearIdmax4 = '639999999'
$yearIdmin5 = '620000000'
$yearIdmax5 = '629999999'
$yearIdmin6 = '610000000'
$yearIdmax6 = '619999999'
$yearIdmin7 = '600000000'
$yearIdmax7 = '609999999'
$yearIdmin8 = '590000000'
$yearIdmax8 = '599999999'
$yearIdmin9 = '580000000'
$yearIdmax9 = '589999999'
$yearIdmin10 = '570000000'
$yearIdmax10 = '579999999'
$total = (int) 0
StudentsController::list_student_by_division_student() - APP\Controller\StudentsController.php, line 15291
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE\Cake\Controller\Controller.php, line 490
Dispatcher::_invoke() - CORE\Cake\Routing\Dispatcher.php, line 191
Dispatcher::dispatch() - CORE\Cake\Routing\Dispatcher.php, line 165
require - APP\webroot\index.php, line 108
[main] - ROOT\index.php, line 41
Notice (8): Undefined variable: output7 [APP\Controller\StudentsController.php, line 15292]Code Context $totals5 = $totals5 + $output51;
$totals6 = $totals6 + $output6;
$totals7 = $totals7 + $output7;
$yearList = '2565'
$term = '2'
$degree_id = '1'
$UserName = null
$admins = null
$lastYearTerms = array(
'Yearterm' => array(
'id' => '35',
'year' => '2567',
'term' => '2',
'trm' => '672',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2567',
'postdate' => '2024-11-11',
'level' => '1'
)
)
$degreedropdowns = array(
(int) 0 => array(
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
)
),
(int) 1 => array(
'Degree' => array(
'id' => '3',
'degree_name' => 'ปริญญาโท',
'degree_name_en' => 'Master's degree'
)
),
(int) 2 => array(
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
)
)
)
$dropdowns = array(
(int) 0 => array(
'Yearterm' => array(
'id' => '35',
'year' => '2567',
'term' => '2',
'trm' => '672',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2567',
'postdate' => '2024-11-11',
'level' => '1'
)
),
(int) 1 => array(
'Yearterm' => array(
'id' => '34',
'year' => '2567',
'term' => '1',
'trm' => '671',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2567',
'postdate' => '2024-07-05',
'level' => '1'
)
),
(int) 2 => array(
'Yearterm' => array(
'id' => '33',
'year' => '2566',
'term' => '3',
'trm' => '663',
'name' => 'ภาคการศึกษาที่ 3 ปีการศึกษา 2566',
'postdate' => '2024-05-15',
'level' => '1'
)
),
(int) 3 => array(
'Yearterm' => array(
'id' => '32',
'year' => '2566',
'term' => '2',
'trm' => '662',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2566',
'postdate' => '2023-12-06',
'level' => '1'
)
),
(int) 4 => array(
'Yearterm' => array(
'id' => '31',
'year' => '2566',
'term' => '1',
'trm' => '661',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2566',
'postdate' => '2023-07-06',
'level' => '1'
)
),
(int) 5 => array(
'Yearterm' => array(
'id' => '30',
'year' => '2565',
'term' => '3',
'trm' => '653',
'name' => 'ภาคการศึกษาที่ 3 ปีการศึกษา 2565',
'postdate' => '2023-05-01',
'level' => '1'
)
),
(int) 6 => array(
'Yearterm' => array(
'id' => '29',
'year' => '2565',
'term' => '2',
'trm' => '652',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2565',
'postdate' => '2022-12-09',
'level' => '1'
)
),
(int) 7 => array(
'Yearterm' => array(
'id' => '28',
'year' => '2565',
'term' => '1',
'trm' => '651',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2565',
'postdate' => '2022-07-20',
'level' => '1'
)
),
(int) 8 => array(
'Yearterm' => array(
'id' => '27',
'year' => '2564',
'term' => '3',
'trm' => '643',
'name' => 'ภาคการศึกษาที่ 3 ปีการศึกษา 2564',
'postdate' => '2022-03-28',
'level' => '1'
)
),
(int) 9 => array(
'Yearterm' => array(
'id' => '26',
'year' => '2564',
'term' => '2',
'trm' => '642',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2564',
'postdate' => '2022-03-27',
'level' => '1'
)
),
(int) 10 => array(
'Yearterm' => array(
'id' => '25',
'year' => '2564',
'term' => '1',
'trm' => '641',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2564',
'postdate' => '2021-07-07',
'level' => '1'
)
),
(int) 11 => array(
'Yearterm' => array(
'id' => '24',
'year' => '2563',
'term' => '3',
'trm' => '633',
'name' => 'ภาคการศึกษาที่ 3 ปีการศึกษา 2563',
'postdate' => '2021-05-06',
'level' => '1'
)
)
)
$findStudentInNewTerm = array(
'Studentterm' => array(
'term_year' => '2565',
'term_id' => '2',
'student_id' => '660851005'
)
)
$years = array(
(int) 0 => array(
'Yearterm' => array(
'id' => '29',
'year' => '2565',
'term' => '2',
'trm' => '652',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2565',
'postdate' => '2022-12-09',
'level' => '1'
)
)
)
$countstudentTerm = (int) 1663
$output = ''
$totals1 = (int) 0
$totals2 = (int) 0
$totals3 = (int) 0
$totals4 = (int) 0
$totals5 = (int) 0
$totals6 = (int) 0
$totals7 = (int) 0
$totals8 = (int) 0
$totals9 = (int) 0
$totals10 = (int) 0
$output3 = ''
$totals13 = (int) 0
$totals23 = (int) 0
$totals33 = (int) 0
$totals43 = (int) 0
$totals53 = (int) 0
$totals63 = (int) 0
$totals73 = (int) 0
$totals83 = (int) 0
$totals93 = (int) 0
$totals103 = (int) 0
$output5 = ''
$totals15 = (int) 0
$totals25 = (int) 0
$totals35 = (int) 0
$totals45 = (int) 0
$totals55 = (int) 0
$totals65 = (int) 0
$totals75 = (int) 0
$totals85 = (int) 0
$totals95 = (int) 0
$totals105 = (int) 0
$totals115 = (int) 0
$majors = array(
(int) 0 => array(
'Majordegree' => array(
'id' => '1',
'major_name' => 'สาขาวิชาเศรษฐศาสตร์เกษตร',
'major_id' => '1',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '1',
'major_no' => '5',
'major_no_fee' => '8',
'major_code' => 'HA',
'major_name' => 'เศรษฐศาสตร์เกษตร',
'major_eng' => 'AGRICULTURAL ECONOMICS',
'major_eng2' => 'Agricultural Economics',
'major_acronym' => 'เศรษฐศาสตร์เกษตร',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(255, 128, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
),
(int) 1 => array(
'Majordegree' => array(
'id' => '5',
'major_name' => 'สาขาวิชากีฏวิทยา',
'major_id' => '3',
'organize_id' => '2',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '1'
),
'Major' => array(
'id' => '3',
'major_no' => '1',
'major_no_fee' => '2',
'major_code' => 'HE',
'major_name' => 'กีฏวิทยา',
'major_eng' => 'ENTOMOLOGY',
'major_eng2' => 'Entomology',
'major_acronym' => 'กีฏวิทยา',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(75, 190, 115)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '2',
'parent' => '40',
'name' => 'ภาควิชากีฏวิทยาและโรคพืช',
'status' => 'Y',
'old_name' => '',
'sort' => '40',
'name_shot' => 'กีฏโรคพืช',
'phone' => '44021',
'order' => '7',
'group' => '2',
'level_course_fee' => '2',
'level_scholarship' => '0'
)
),
(int) 2 => array(
'Majordegree' => array(
'id' => '9',
'major_name' => 'สาขาวิชาปฐพีศาสตร์และการจัดการทรัพยากรธรรมชาติ',
'major_id' => '5',
'organize_id' => '16',
'degree_id' => '1',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '5',
'major_no' => '6',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ปฐพีศาสตร์และการจัดการทรัพยากรธรรมชาติ',
'major_eng' => 'SOIL SCIENCE AND NATURAL RESOURCE MANAG',
'major_eng2' => 'Soil Science and Natural Resource Management',
'major_acronym' => 'ปฐพีศาสตร์ฯ',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => null,
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '16',
'parent' => '40',
'name' => 'ภาควิชาพืชศาสตร์และปฐพีศาสตร์',
'status' => 'Y',
'old_name' => '',
'sort' => '50',
'name_shot' => 'พืชศาสตร์ฯ',
'phone' => '44040',
'order' => '8',
'group' => '2',
'level_course_fee' => '3',
'level_scholarship' => '0'
)
),
(int) 3 => array(
'Majordegree' => array(
'id' => '12',
'major_name' => 'สาขาวิชาพืชไร่',
'major_id' => '6',
'organize_id' => '16',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '3'
),
'Major' => array(
'id' => '6',
'major_no' => '3',
'major_no_fee' => '5',
'major_code' => 'HC',
'major_name' => 'พืชไร่',
'major_eng' => 'AGRONOMY',
'major_eng2' => 'Agronomy',
'major_acronym' => 'พืชไร่',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(150, 21, 182)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '16',
'parent' => '40',
'name' => 'ภาควิชาพืชศาสตร์และปฐพีศาสตร์',
'status' => 'Y',
'old_name' => '',
'sort' => '50',
'name_shot' => 'พืชศาสตร์ฯ',
'phone' => '44040',
'order' => '8',
'group' => '2',
'level_course_fee' => '3',
'level_scholarship' => '0'
)
),
(int) 4 => array(
'Majordegree' => array(
'id' => '15',
'major_name' => 'สาขาวิชาพืชสวน',
'major_id' => '7',
'organize_id' => '16',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '4'
),
'Major' => array(
'id' => '7',
'major_no' => '4',
'major_no_fee' => '6',
'major_code' => 'HF',
'major_name' => 'พืชสวน',
'major_eng' => 'HORTICULTURE',
'major_eng2' => 'Horticulture',
'major_acronym' => 'พืชสวน',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(46, 39, 145)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '16',
'parent' => '40',
'name' => 'ภาควิชาพืชศาสตร์และปฐพีศาสตร์',
'status' => 'Y',
'old_name' => '',
'sort' => '50',
'name_shot' => 'พืชศาสตร์ฯ',
'phone' => '44040',
'order' => '8',
'group' => '2',
'level_course_fee' => '3',
'level_scholarship' => '0'
)
),
(int) 5 => array(
'Majordegree' => array(
'id' => '18',
'major_name' => 'สาขาวิชาโรคพืช',
'major_id' => '9',
'organize_id' => '2',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '2'
),
'Major' => array(
'id' => '9',
'major_no' => '2',
'major_no_fee' => '3',
'major_code' => 'HG ',
'major_name' => 'โรคพืช',
'major_eng' => 'PLANT PATHOLOGY',
'major_eng2' => 'Plant Pathology',
'major_acronym' => 'โรคพืช',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(245, 158, 216)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '2',
'parent' => '40',
'name' => 'ภาควิชากีฏวิทยาและโรคพืช',
'status' => 'Y',
'old_name' => '',
'sort' => '40',
'name_shot' => 'กีฏโรคพืช',
'phone' => '44021',
'order' => '7',
'group' => '2',
'level_course_fee' => '2',
'level_scholarship' => '0'
)
),
(int) 6 => array(
'Majordegree' => array(
'id' => '25',
'major_name' => 'สาขาวิชาส่งเสริมและเผยแพร่การเกษตร',
'major_id' => '12',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '6'
),
'Major' => array(
'id' => '12',
'major_no' => '10',
'major_no_fee' => '9',
'major_code' => 'HB',
'major_name' => 'ส่งเสริมและเผยแพร่การเกษตร',
'major_eng' => 'Agricultural Extension',
'major_eng2' => 'Agricultural Extension',
'major_acronym' => 'ส่งเสริมและเผยแพร่การเกษตร',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(224, 233, 93)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
),
(int) 7 => array(
'Majordegree' => array(
'id' => '26',
'major_name' => 'สาขาวิชาสัตวศาสตร์และสัตว์น้ำ',
'major_id' => '13',
'organize_id' => '23',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '7'
),
'Major' => array(
'id' => '13',
'major_no' => '8',
'major_no_fee' => '11',
'major_code' => null,
'major_name' => 'สัตวศาสตร์และสัตว์น้ำ',
'major_eng' => 'Animal and Aquatic Science',
'major_eng2' => 'Animal and Aquatic Science',
'major_acronym' => 'สัตวศาสตร์และสัตว์น้ำ',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(137, 185, 40)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '23',
'parent' => '40',
'name' => 'ภาควิชาสัตวศาสตร์และสัตว์น้ำ',
'status' => 'Y',
'old_name' => 'สาขาวิชาสัตวศาสตร์',
'sort' => '70',
'name_shot' => 'สัตวศาสตร์ฯ',
'phone' => '44069',
'order' => '10',
'group' => '2',
'level_course_fee' => '5',
'level_scholarship' => '0'
)
),
(int) 8 => array(
'Majordegree' => array(
'id' => '31',
'major_name' => 'สาขาวิชาปฐพีศาสตร์',
'major_id' => '18',
'organize_id' => '16',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '5'
),
'Major' => array(
'id' => '18',
'major_no' => '11',
'major_no_fee' => '7',
'major_code' => null,
'major_name' => 'ปฐพีศาสตร์',
'major_eng' => 'SOIL SCIENCE',
'major_eng2' => 'SOIL SCIENCE',
'major_acronym' => 'ปฐพีศาสตร์',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(219, 219, 85)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '16',
'parent' => '40',
'name' => 'ภาควิชาพืชศาสตร์และปฐพีศาสตร์',
'status' => 'Y',
'old_name' => '',
'sort' => '50',
'name_shot' => 'พืชศาสตร์ฯ',
'phone' => '44040',
'order' => '8',
'group' => '2',
'level_course_fee' => '3',
'level_scholarship' => '0'
)
),
(int) 9 => array(
'Majordegree' => array(
'id' => '39',
'major_name' => 'สาขาวิชาทรัพยากรป่าไม้และวนเกษตร',
'major_id' => '20',
'organize_id' => '24',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '20',
'major_no' => '14',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ทรัพยากรป่าไม้และวนเกษตร',
'major_eng' => 'Highland Agriculture and Natural Resources',
'major_eng2' => 'Highland Agriculture and Natural Resources',
'major_acronym' => 'เกษตรที่สูงและทรัพยากรธรรมชาติ',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(233, 202, 75)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '24',
'parent' => '40',
'name' => 'ภาควิชาเกษตรที่สูงและทรัพยากรธรรมชาติ',
'status' => 'Y',
'old_name' => '',
'sort' => '80',
'name_shot' => 'เกษตรที่สูงฯ',
'phone' => '44647',
'order' => '11',
'group' => '2',
'level_course_fee' => '6',
'level_scholarship' => '0'
)
),
(int) 10 => array(
'Majordegree' => array(
'id' => '40',
'major_name' => 'สาขาธุรกิจเกษตร',
'major_id' => '4',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '0',
'level' => '0',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '4',
'major_no' => '16',
'major_no_fee' => '10',
'major_code' => null,
'major_name' => 'ธุรกิจเกษตร',
'major_eng' => 'AGRIBUSINESS',
'major_eng2' => 'Agribusiness',
'major_acronym' => 'ธุรกิจเกษตร',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => 'rgb(153, 0, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
),
(int) 11 => array(
'Majordegree' => array(
'id' => '42',
'major_name' => 'สาขาวิชาเกษตรศาสตร์',
'major_id' => '17',
'organize_id' => '5',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '17',
'major_no' => '49',
'major_no_fee' => '1',
'major_code' => null,
'major_name' => 'เกษตรศาสตร์',
'major_eng' => 'Agriculture',
'major_eng2' => 'Agriculture
',
'major_acronym' => 'เกษตรศาสตร์',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(153, 0, 76)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '5',
'parent' => '1',
'name' => 'งานบริการการศึกษาและพัฒนาคุณภาพนักศึกษา',
'status' => 'Y',
'old_name' => 'งานบริการการศึกษา และพัฒนาคุณภาพนักศึกษา',
'sort' => '14',
'name_shot' => 'การศึกษา',
'phone' => '44642',
'order' => '3',
'group' => '1',
'level_course_fee' => '1',
'level_scholarship' => '1'
)
),
(int) 12 => array(
'Majordegree' => array(
'id' => '43',
'major_name' => 'สาขาวิชาเกษตรที่สูงและทรัพยากรธรรมชาติ',
'major_id' => '23',
'organize_id' => '24',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '8'
),
'Major' => array(
'id' => '23',
'major_no' => '17',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'เกษตรที่สูงและทรัพยากรธรรมชาติ',
'major_eng' => 'Highland Agriculture and Natural Resources',
'major_eng2' => 'Highland Agriculture and Natural Resources',
'major_acronym' => 'เกษตรที่สูงและทรัพยากรธรรมชาติ',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '0',
'color' => 'rgb(255, 99, 132)',
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '24',
'parent' => '40',
'name' => 'ภาควิชาเกษตรที่สูงและทรัพยากรธรรมชาติ',
'status' => 'Y',
'old_name' => '',
'sort' => '80',
'name_shot' => 'เกษตรที่สูงฯ',
'phone' => '44647',
'order' => '11',
'group' => '2',
'level_course_fee' => '6',
'level_scholarship' => '0'
)
),
(int) 13 => array(
'Majordegree' => array(
'id' => '44',
'major_name' => 'สาขาวิชาสัตวศาสตร์',
'major_id' => '11',
'organize_id' => '23',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '11',
'major_no' => '7',
'major_no_fee' => null,
'major_code' => 'HD',
'major_name' => 'สัตวศาสตร์',
'major_eng' => 'ANIMAL SCIENCE',
'major_eng2' => 'Animal Science',
'major_acronym' => 'สัตวศาสตร์',
'major_level' => '1',
'major_degree_id' => null,
'major_show_graph_id' => '1',
'color' => 'rgb(26, 139, 45)',
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '23',
'parent' => '40',
'name' => 'ภาควิชาสัตวศาสตร์และสัตว์น้ำ',
'status' => 'Y',
'old_name' => 'สาขาวิชาสัตวศาสตร์',
'sort' => '70',
'name_shot' => 'สัตวศาสตร์ฯ',
'phone' => '44069',
'order' => '10',
'group' => '2',
'level_course_fee' => '5',
'level_scholarship' => '0'
)
),
(int) 14 => array(
'Majordegree' => array(
'id' => '46',
'major_name' => 'สาขาวิชาผู้ประกอบการด้านเกษตรอัจฉริยะและอาหาร',
'major_id' => '25',
'organize_id' => null,
'degree_id' => '1',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => null,
'order' => '15',
'order_select_major' => '9'
),
'Major' => array(
'id' => '25',
'major_no' => '20',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ผู้ประกอบการด้านเกษตรอัจฉริยะและอาหาร',
'major_eng' => 'Smart Agriculture and Food Entrepreneur',
'major_eng2' => 'Smart Agriculture and Food Entrepreneur',
'major_acronym' => null,
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '0',
'color' => null,
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => null,
'parent' => null,
'name' => null,
'status' => null,
'old_name' => null,
'sort' => null,
'name_shot' => null,
'phone' => null,
'order' => null,
'group' => null,
'level_course_fee' => null,
'level_scholarship' => null
)
),
(int) 15 => array(
'Majordegree' => array(
'id' => '47',
'major_name' => 'สาขาวิชาเศรษฐศาสตร์เกษตรและธุรกิจเกษตร',
'major_id' => '26',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '26',
'major_no' => '21',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'เศรษฐศาสตร์เกษตรและธุรกิจเกษตร',
'major_eng' => null,
'major_eng2' => null,
'major_acronym' => null,
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(76, 0, 153)',
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
),
(int) 16 => array(
'Majordegree' => array(
'id' => '50',
'major_name' => 'สาขาวิชาวิทยาศาสตร์การประมง',
'major_id' => '28',
'organize_id' => '23',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '28',
'major_no' => '9',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'วิทยาศาสตร์การประมง',
'major_eng' => null,
'major_eng2' => null,
'major_acronym' => null,
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => null,
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '23',
'parent' => '40',
'name' => 'ภาควิชาสัตวศาสตร์และสัตว์น้ำ',
'status' => 'Y',
'old_name' => 'สาขาวิชาสัตวศาสตร์',
'sort' => '70',
'name_shot' => 'สัตวศาสตร์ฯ',
'phone' => '44069',
'order' => '10',
'group' => '2',
'level_course_fee' => '5',
'level_scholarship' => '0'
)
)
)
$major = array(
'Majordegree' => array(
'id' => '1',
'major_name' => 'สาขาวิชาเศรษฐศาสตร์เกษตร',
'major_id' => '1',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '1',
'major_no' => '5',
'major_no_fee' => '8',
'major_code' => 'HA',
'major_name' => 'เศรษฐศาสตร์เกษตร',
'major_eng' => 'AGRICULTURAL ECONOMICS',
'major_eng2' => 'Agricultural Economics',
'major_acronym' => 'เศรษฐศาสตร์เกษตร',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(255, 128, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
)
$yearId = '66'
$yearIdmin1 = '660000000'
$yearIdmax1 = '669999999'
$yearIdmin2 = '650000000'
$yearIdmax2 = '659999999'
$yearIdmin3 = '640000000'
$yearIdmax3 = '649999999'
$yearIdmin4 = '630000000'
$yearIdmax4 = '639999999'
$yearIdmin5 = '620000000'
$yearIdmax5 = '629999999'
$yearIdmin6 = '610000000'
$yearIdmax6 = '619999999'
$yearIdmin7 = '600000000'
$yearIdmax7 = '609999999'
$yearIdmin8 = '590000000'
$yearIdmax8 = '599999999'
$yearIdmin9 = '580000000'
$yearIdmax9 = '589999999'
$yearIdmin10 = '570000000'
$yearIdmax10 = '579999999'
$total = (int) 0
StudentsController::list_student_by_division_student() - APP\Controller\StudentsController.php, line 15292
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE\Cake\Controller\Controller.php, line 490
Dispatcher::_invoke() - CORE\Cake\Routing\Dispatcher.php, line 191
Dispatcher::dispatch() - CORE\Cake\Routing\Dispatcher.php, line 165
require - APP\webroot\index.php, line 108
[main] - ROOT\index.php, line 41
Notice (8): Undefined variable: output8 [APP\Controller\StudentsController.php, line 15293]Code Context $totals6 = $totals6 + $output6;
$totals7 = $totals7 + $output7;
$totals8 = $totals8 + $output8;
$yearList = '2565'
$term = '2'
$degree_id = '1'
$UserName = null
$admins = null
$lastYearTerms = array(
'Yearterm' => array(
'id' => '35',
'year' => '2567',
'term' => '2',
'trm' => '672',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2567',
'postdate' => '2024-11-11',
'level' => '1'
)
)
$degreedropdowns = array(
(int) 0 => array(
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
)
),
(int) 1 => array(
'Degree' => array(
'id' => '3',
'degree_name' => 'ปริญญาโท',
'degree_name_en' => 'Master's degree'
)
),
(int) 2 => array(
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
)
)
)
$dropdowns = array(
(int) 0 => array(
'Yearterm' => array(
'id' => '35',
'year' => '2567',
'term' => '2',
'trm' => '672',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2567',
'postdate' => '2024-11-11',
'level' => '1'
)
),
(int) 1 => array(
'Yearterm' => array(
'id' => '34',
'year' => '2567',
'term' => '1',
'trm' => '671',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2567',
'postdate' => '2024-07-05',
'level' => '1'
)
),
(int) 2 => array(
'Yearterm' => array(
'id' => '33',
'year' => '2566',
'term' => '3',
'trm' => '663',
'name' => 'ภาคการศึกษาที่ 3 ปีการศึกษา 2566',
'postdate' => '2024-05-15',
'level' => '1'
)
),
(int) 3 => array(
'Yearterm' => array(
'id' => '32',
'year' => '2566',
'term' => '2',
'trm' => '662',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2566',
'postdate' => '2023-12-06',
'level' => '1'
)
),
(int) 4 => array(
'Yearterm' => array(
'id' => '31',
'year' => '2566',
'term' => '1',
'trm' => '661',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2566',
'postdate' => '2023-07-06',
'level' => '1'
)
),
(int) 5 => array(
'Yearterm' => array(
'id' => '30',
'year' => '2565',
'term' => '3',
'trm' => '653',
'name' => 'ภาคการศึกษาที่ 3 ปีการศึกษา 2565',
'postdate' => '2023-05-01',
'level' => '1'
)
),
(int) 6 => array(
'Yearterm' => array(
'id' => '29',
'year' => '2565',
'term' => '2',
'trm' => '652',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2565',
'postdate' => '2022-12-09',
'level' => '1'
)
),
(int) 7 => array(
'Yearterm' => array(
'id' => '28',
'year' => '2565',
'term' => '1',
'trm' => '651',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2565',
'postdate' => '2022-07-20',
'level' => '1'
)
),
(int) 8 => array(
'Yearterm' => array(
'id' => '27',
'year' => '2564',
'term' => '3',
'trm' => '643',
'name' => 'ภาคการศึกษาที่ 3 ปีการศึกษา 2564',
'postdate' => '2022-03-28',
'level' => '1'
)
),
(int) 9 => array(
'Yearterm' => array(
'id' => '26',
'year' => '2564',
'term' => '2',
'trm' => '642',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2564',
'postdate' => '2022-03-27',
'level' => '1'
)
),
(int) 10 => array(
'Yearterm' => array(
'id' => '25',
'year' => '2564',
'term' => '1',
'trm' => '641',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2564',
'postdate' => '2021-07-07',
'level' => '1'
)
),
(int) 11 => array(
'Yearterm' => array(
'id' => '24',
'year' => '2563',
'term' => '3',
'trm' => '633',
'name' => 'ภาคการศึกษาที่ 3 ปีการศึกษา 2563',
'postdate' => '2021-05-06',
'level' => '1'
)
)
)
$findStudentInNewTerm = array(
'Studentterm' => array(
'term_year' => '2565',
'term_id' => '2',
'student_id' => '660851005'
)
)
$years = array(
(int) 0 => array(
'Yearterm' => array(
'id' => '29',
'year' => '2565',
'term' => '2',
'trm' => '652',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2565',
'postdate' => '2022-12-09',
'level' => '1'
)
)
)
$countstudentTerm = (int) 1663
$output = ''
$totals1 = (int) 0
$totals2 = (int) 0
$totals3 = (int) 0
$totals4 = (int) 0
$totals5 = (int) 0
$totals6 = (int) 0
$totals7 = (int) 0
$totals8 = (int) 0
$totals9 = (int) 0
$totals10 = (int) 0
$output3 = ''
$totals13 = (int) 0
$totals23 = (int) 0
$totals33 = (int) 0
$totals43 = (int) 0
$totals53 = (int) 0
$totals63 = (int) 0
$totals73 = (int) 0
$totals83 = (int) 0
$totals93 = (int) 0
$totals103 = (int) 0
$output5 = ''
$totals15 = (int) 0
$totals25 = (int) 0
$totals35 = (int) 0
$totals45 = (int) 0
$totals55 = (int) 0
$totals65 = (int) 0
$totals75 = (int) 0
$totals85 = (int) 0
$totals95 = (int) 0
$totals105 = (int) 0
$totals115 = (int) 0
$majors = array(
(int) 0 => array(
'Majordegree' => array(
'id' => '1',
'major_name' => 'สาขาวิชาเศรษฐศาสตร์เกษตร',
'major_id' => '1',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '1',
'major_no' => '5',
'major_no_fee' => '8',
'major_code' => 'HA',
'major_name' => 'เศรษฐศาสตร์เกษตร',
'major_eng' => 'AGRICULTURAL ECONOMICS',
'major_eng2' => 'Agricultural Economics',
'major_acronym' => 'เศรษฐศาสตร์เกษตร',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(255, 128, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
),
(int) 1 => array(
'Majordegree' => array(
'id' => '5',
'major_name' => 'สาขาวิชากีฏวิทยา',
'major_id' => '3',
'organize_id' => '2',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '1'
),
'Major' => array(
'id' => '3',
'major_no' => '1',
'major_no_fee' => '2',
'major_code' => 'HE',
'major_name' => 'กีฏวิทยา',
'major_eng' => 'ENTOMOLOGY',
'major_eng2' => 'Entomology',
'major_acronym' => 'กีฏวิทยา',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(75, 190, 115)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '2',
'parent' => '40',
'name' => 'ภาควิชากีฏวิทยาและโรคพืช',
'status' => 'Y',
'old_name' => '',
'sort' => '40',
'name_shot' => 'กีฏโรคพืช',
'phone' => '44021',
'order' => '7',
'group' => '2',
'level_course_fee' => '2',
'level_scholarship' => '0'
)
),
(int) 2 => array(
'Majordegree' => array(
'id' => '9',
'major_name' => 'สาขาวิชาปฐพีศาสตร์และการจัดการทรัพยากรธรรมชาติ',
'major_id' => '5',
'organize_id' => '16',
'degree_id' => '1',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '5',
'major_no' => '6',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ปฐพีศาสตร์และการจัดการทรัพยากรธรรมชาติ',
'major_eng' => 'SOIL SCIENCE AND NATURAL RESOURCE MANAG',
'major_eng2' => 'Soil Science and Natural Resource Management',
'major_acronym' => 'ปฐพีศาสตร์ฯ',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => null,
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '16',
'parent' => '40',
'name' => 'ภาควิชาพืชศาสตร์และปฐพีศาสตร์',
'status' => 'Y',
'old_name' => '',
'sort' => '50',
'name_shot' => 'พืชศาสตร์ฯ',
'phone' => '44040',
'order' => '8',
'group' => '2',
'level_course_fee' => '3',
'level_scholarship' => '0'
)
),
(int) 3 => array(
'Majordegree' => array(
'id' => '12',
'major_name' => 'สาขาวิชาพืชไร่',
'major_id' => '6',
'organize_id' => '16',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '3'
),
'Major' => array(
'id' => '6',
'major_no' => '3',
'major_no_fee' => '5',
'major_code' => 'HC',
'major_name' => 'พืชไร่',
'major_eng' => 'AGRONOMY',
'major_eng2' => 'Agronomy',
'major_acronym' => 'พืชไร่',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(150, 21, 182)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '16',
'parent' => '40',
'name' => 'ภาควิชาพืชศาสตร์และปฐพีศาสตร์',
'status' => 'Y',
'old_name' => '',
'sort' => '50',
'name_shot' => 'พืชศาสตร์ฯ',
'phone' => '44040',
'order' => '8',
'group' => '2',
'level_course_fee' => '3',
'level_scholarship' => '0'
)
),
(int) 4 => array(
'Majordegree' => array(
'id' => '15',
'major_name' => 'สาขาวิชาพืชสวน',
'major_id' => '7',
'organize_id' => '16',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '4'
),
'Major' => array(
'id' => '7',
'major_no' => '4',
'major_no_fee' => '6',
'major_code' => 'HF',
'major_name' => 'พืชสวน',
'major_eng' => 'HORTICULTURE',
'major_eng2' => 'Horticulture',
'major_acronym' => 'พืชสวน',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(46, 39, 145)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '16',
'parent' => '40',
'name' => 'ภาควิชาพืชศาสตร์และปฐพีศาสตร์',
'status' => 'Y',
'old_name' => '',
'sort' => '50',
'name_shot' => 'พืชศาสตร์ฯ',
'phone' => '44040',
'order' => '8',
'group' => '2',
'level_course_fee' => '3',
'level_scholarship' => '0'
)
),
(int) 5 => array(
'Majordegree' => array(
'id' => '18',
'major_name' => 'สาขาวิชาโรคพืช',
'major_id' => '9',
'organize_id' => '2',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '2'
),
'Major' => array(
'id' => '9',
'major_no' => '2',
'major_no_fee' => '3',
'major_code' => 'HG ',
'major_name' => 'โรคพืช',
'major_eng' => 'PLANT PATHOLOGY',
'major_eng2' => 'Plant Pathology',
'major_acronym' => 'โรคพืช',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(245, 158, 216)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '2',
'parent' => '40',
'name' => 'ภาควิชากีฏวิทยาและโรคพืช',
'status' => 'Y',
'old_name' => '',
'sort' => '40',
'name_shot' => 'กีฏโรคพืช',
'phone' => '44021',
'order' => '7',
'group' => '2',
'level_course_fee' => '2',
'level_scholarship' => '0'
)
),
(int) 6 => array(
'Majordegree' => array(
'id' => '25',
'major_name' => 'สาขาวิชาส่งเสริมและเผยแพร่การเกษตร',
'major_id' => '12',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '6'
),
'Major' => array(
'id' => '12',
'major_no' => '10',
'major_no_fee' => '9',
'major_code' => 'HB',
'major_name' => 'ส่งเสริมและเผยแพร่การเกษตร',
'major_eng' => 'Agricultural Extension',
'major_eng2' => 'Agricultural Extension',
'major_acronym' => 'ส่งเสริมและเผยแพร่การเกษตร',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(224, 233, 93)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
),
(int) 7 => array(
'Majordegree' => array(
'id' => '26',
'major_name' => 'สาขาวิชาสัตวศาสตร์และสัตว์น้ำ',
'major_id' => '13',
'organize_id' => '23',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '7'
),
'Major' => array(
'id' => '13',
'major_no' => '8',
'major_no_fee' => '11',
'major_code' => null,
'major_name' => 'สัตวศาสตร์และสัตว์น้ำ',
'major_eng' => 'Animal and Aquatic Science',
'major_eng2' => 'Animal and Aquatic Science',
'major_acronym' => 'สัตวศาสตร์และสัตว์น้ำ',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(137, 185, 40)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '23',
'parent' => '40',
'name' => 'ภาควิชาสัตวศาสตร์และสัตว์น้ำ',
'status' => 'Y',
'old_name' => 'สาขาวิชาสัตวศาสตร์',
'sort' => '70',
'name_shot' => 'สัตวศาสตร์ฯ',
'phone' => '44069',
'order' => '10',
'group' => '2',
'level_course_fee' => '5',
'level_scholarship' => '0'
)
),
(int) 8 => array(
'Majordegree' => array(
'id' => '31',
'major_name' => 'สาขาวิชาปฐพีศาสตร์',
'major_id' => '18',
'organize_id' => '16',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '5'
),
'Major' => array(
'id' => '18',
'major_no' => '11',
'major_no_fee' => '7',
'major_code' => null,
'major_name' => 'ปฐพีศาสตร์',
'major_eng' => 'SOIL SCIENCE',
'major_eng2' => 'SOIL SCIENCE',
'major_acronym' => 'ปฐพีศาสตร์',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(219, 219, 85)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '16',
'parent' => '40',
'name' => 'ภาควิชาพืชศาสตร์และปฐพีศาสตร์',
'status' => 'Y',
'old_name' => '',
'sort' => '50',
'name_shot' => 'พืชศาสตร์ฯ',
'phone' => '44040',
'order' => '8',
'group' => '2',
'level_course_fee' => '3',
'level_scholarship' => '0'
)
),
(int) 9 => array(
'Majordegree' => array(
'id' => '39',
'major_name' => 'สาขาวิชาทรัพยากรป่าไม้และวนเกษตร',
'major_id' => '20',
'organize_id' => '24',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '20',
'major_no' => '14',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ทรัพยากรป่าไม้และวนเกษตร',
'major_eng' => 'Highland Agriculture and Natural Resources',
'major_eng2' => 'Highland Agriculture and Natural Resources',
'major_acronym' => 'เกษตรที่สูงและทรัพยากรธรรมชาติ',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(233, 202, 75)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '24',
'parent' => '40',
'name' => 'ภาควิชาเกษตรที่สูงและทรัพยากรธรรมชาติ',
'status' => 'Y',
'old_name' => '',
'sort' => '80',
'name_shot' => 'เกษตรที่สูงฯ',
'phone' => '44647',
'order' => '11',
'group' => '2',
'level_course_fee' => '6',
'level_scholarship' => '0'
)
),
(int) 10 => array(
'Majordegree' => array(
'id' => '40',
'major_name' => 'สาขาธุรกิจเกษตร',
'major_id' => '4',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '0',
'level' => '0',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '4',
'major_no' => '16',
'major_no_fee' => '10',
'major_code' => null,
'major_name' => 'ธุรกิจเกษตร',
'major_eng' => 'AGRIBUSINESS',
'major_eng2' => 'Agribusiness',
'major_acronym' => 'ธุรกิจเกษตร',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => 'rgb(153, 0, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
),
(int) 11 => array(
'Majordegree' => array(
'id' => '42',
'major_name' => 'สาขาวิชาเกษตรศาสตร์',
'major_id' => '17',
'organize_id' => '5',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '17',
'major_no' => '49',
'major_no_fee' => '1',
'major_code' => null,
'major_name' => 'เกษตรศาสตร์',
'major_eng' => 'Agriculture',
'major_eng2' => 'Agriculture
',
'major_acronym' => 'เกษตรศาสตร์',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(153, 0, 76)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '5',
'parent' => '1',
'name' => 'งานบริการการศึกษาและพัฒนาคุณภาพนักศึกษา',
'status' => 'Y',
'old_name' => 'งานบริการการศึกษา และพัฒนาคุณภาพนักศึกษา',
'sort' => '14',
'name_shot' => 'การศึกษา',
'phone' => '44642',
'order' => '3',
'group' => '1',
'level_course_fee' => '1',
'level_scholarship' => '1'
)
),
(int) 12 => array(
'Majordegree' => array(
'id' => '43',
'major_name' => 'สาขาวิชาเกษตรที่สูงและทรัพยากรธรรมชาติ',
'major_id' => '23',
'organize_id' => '24',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '8'
),
'Major' => array(
'id' => '23',
'major_no' => '17',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'เกษตรที่สูงและทรัพยากรธรรมชาติ',
'major_eng' => 'Highland Agriculture and Natural Resources',
'major_eng2' => 'Highland Agriculture and Natural Resources',
'major_acronym' => 'เกษตรที่สูงและทรัพยากรธรรมชาติ',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '0',
'color' => 'rgb(255, 99, 132)',
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '24',
'parent' => '40',
'name' => 'ภาควิชาเกษตรที่สูงและทรัพยากรธรรมชาติ',
'status' => 'Y',
'old_name' => '',
'sort' => '80',
'name_shot' => 'เกษตรที่สูงฯ',
'phone' => '44647',
'order' => '11',
'group' => '2',
'level_course_fee' => '6',
'level_scholarship' => '0'
)
),
(int) 13 => array(
'Majordegree' => array(
'id' => '44',
'major_name' => 'สาขาวิชาสัตวศาสตร์',
'major_id' => '11',
'organize_id' => '23',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '11',
'major_no' => '7',
'major_no_fee' => null,
'major_code' => 'HD',
'major_name' => 'สัตวศาสตร์',
'major_eng' => 'ANIMAL SCIENCE',
'major_eng2' => 'Animal Science',
'major_acronym' => 'สัตวศาสตร์',
'major_level' => '1',
'major_degree_id' => null,
'major_show_graph_id' => '1',
'color' => 'rgb(26, 139, 45)',
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '23',
'parent' => '40',
'name' => 'ภาควิชาสัตวศาสตร์และสัตว์น้ำ',
'status' => 'Y',
'old_name' => 'สาขาวิชาสัตวศาสตร์',
'sort' => '70',
'name_shot' => 'สัตวศาสตร์ฯ',
'phone' => '44069',
'order' => '10',
'group' => '2',
'level_course_fee' => '5',
'level_scholarship' => '0'
)
),
(int) 14 => array(
'Majordegree' => array(
'id' => '46',
'major_name' => 'สาขาวิชาผู้ประกอบการด้านเกษตรอัจฉริยะและอาหาร',
'major_id' => '25',
'organize_id' => null,
'degree_id' => '1',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => null,
'order' => '15',
'order_select_major' => '9'
),
'Major' => array(
'id' => '25',
'major_no' => '20',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ผู้ประกอบการด้านเกษตรอัจฉริยะและอาหาร',
'major_eng' => 'Smart Agriculture and Food Entrepreneur',
'major_eng2' => 'Smart Agriculture and Food Entrepreneur',
'major_acronym' => null,
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '0',
'color' => null,
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => null,
'parent' => null,
'name' => null,
'status' => null,
'old_name' => null,
'sort' => null,
'name_shot' => null,
'phone' => null,
'order' => null,
'group' => null,
'level_course_fee' => null,
'level_scholarship' => null
)
),
(int) 15 => array(
'Majordegree' => array(
'id' => '47',
'major_name' => 'สาขาวิชาเศรษฐศาสตร์เกษตรและธุรกิจเกษตร',
'major_id' => '26',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '26',
'major_no' => '21',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'เศรษฐศาสตร์เกษตรและธุรกิจเกษตร',
'major_eng' => null,
'major_eng2' => null,
'major_acronym' => null,
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(76, 0, 153)',
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
),
(int) 16 => array(
'Majordegree' => array(
'id' => '50',
'major_name' => 'สาขาวิชาวิทยาศาสตร์การประมง',
'major_id' => '28',
'organize_id' => '23',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '28',
'major_no' => '9',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'วิทยาศาสตร์การประมง',
'major_eng' => null,
'major_eng2' => null,
'major_acronym' => null,
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => null,
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '23',
'parent' => '40',
'name' => 'ภาควิชาสัตวศาสตร์และสัตว์น้ำ',
'status' => 'Y',
'old_name' => 'สาขาวิชาสัตวศาสตร์',
'sort' => '70',
'name_shot' => 'สัตวศาสตร์ฯ',
'phone' => '44069',
'order' => '10',
'group' => '2',
'level_course_fee' => '5',
'level_scholarship' => '0'
)
)
)
$major = array(
'Majordegree' => array(
'id' => '1',
'major_name' => 'สาขาวิชาเศรษฐศาสตร์เกษตร',
'major_id' => '1',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '1',
'major_no' => '5',
'major_no_fee' => '8',
'major_code' => 'HA',
'major_name' => 'เศรษฐศาสตร์เกษตร',
'major_eng' => 'AGRICULTURAL ECONOMICS',
'major_eng2' => 'Agricultural Economics',
'major_acronym' => 'เศรษฐศาสตร์เกษตร',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(255, 128, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
)
$yearId = '66'
$yearIdmin1 = '660000000'
$yearIdmax1 = '669999999'
$yearIdmin2 = '650000000'
$yearIdmax2 = '659999999'
$yearIdmin3 = '640000000'
$yearIdmax3 = '649999999'
$yearIdmin4 = '630000000'
$yearIdmax4 = '639999999'
$yearIdmin5 = '620000000'
$yearIdmax5 = '629999999'
$yearIdmin6 = '610000000'
$yearIdmax6 = '619999999'
$yearIdmin7 = '600000000'
$yearIdmax7 = '609999999'
$yearIdmin8 = '590000000'
$yearIdmax8 = '599999999'
$yearIdmin9 = '580000000'
$yearIdmax9 = '589999999'
$yearIdmin10 = '570000000'
$yearIdmax10 = '579999999'
$total = (int) 0
StudentsController::list_student_by_division_student() - APP\Controller\StudentsController.php, line 15293
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE\Cake\Controller\Controller.php, line 490
Dispatcher::_invoke() - CORE\Cake\Routing\Dispatcher.php, line 191
Dispatcher::dispatch() - CORE\Cake\Routing\Dispatcher.php, line 165
require - APP\webroot\index.php, line 108
[main] - ROOT\index.php, line 41
Notice (8): Undefined variable: output9 [APP\Controller\StudentsController.php, line 15294]Code Context $totals7 = $totals7 + $output7;
$totals8 = $totals8 + $output8;
$totals9 = $totals9 + $output9;
$yearList = '2565'
$term = '2'
$degree_id = '1'
$UserName = null
$admins = null
$lastYearTerms = array(
'Yearterm' => array(
'id' => '35',
'year' => '2567',
'term' => '2',
'trm' => '672',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2567',
'postdate' => '2024-11-11',
'level' => '1'
)
)
$degreedropdowns = array(
(int) 0 => array(
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
)
),
(int) 1 => array(
'Degree' => array(
'id' => '3',
'degree_name' => 'ปริญญาโท',
'degree_name_en' => 'Master's degree'
)
),
(int) 2 => array(
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
)
)
)
$dropdowns = array(
(int) 0 => array(
'Yearterm' => array(
'id' => '35',
'year' => '2567',
'term' => '2',
'trm' => '672',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2567',
'postdate' => '2024-11-11',
'level' => '1'
)
),
(int) 1 => array(
'Yearterm' => array(
'id' => '34',
'year' => '2567',
'term' => '1',
'trm' => '671',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2567',
'postdate' => '2024-07-05',
'level' => '1'
)
),
(int) 2 => array(
'Yearterm' => array(
'id' => '33',
'year' => '2566',
'term' => '3',
'trm' => '663',
'name' => 'ภาคการศึกษาที่ 3 ปีการศึกษา 2566',
'postdate' => '2024-05-15',
'level' => '1'
)
),
(int) 3 => array(
'Yearterm' => array(
'id' => '32',
'year' => '2566',
'term' => '2',
'trm' => '662',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2566',
'postdate' => '2023-12-06',
'level' => '1'
)
),
(int) 4 => array(
'Yearterm' => array(
'id' => '31',
'year' => '2566',
'term' => '1',
'trm' => '661',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2566',
'postdate' => '2023-07-06',
'level' => '1'
)
),
(int) 5 => array(
'Yearterm' => array(
'id' => '30',
'year' => '2565',
'term' => '3',
'trm' => '653',
'name' => 'ภาคการศึกษาที่ 3 ปีการศึกษา 2565',
'postdate' => '2023-05-01',
'level' => '1'
)
),
(int) 6 => array(
'Yearterm' => array(
'id' => '29',
'year' => '2565',
'term' => '2',
'trm' => '652',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2565',
'postdate' => '2022-12-09',
'level' => '1'
)
),
(int) 7 => array(
'Yearterm' => array(
'id' => '28',
'year' => '2565',
'term' => '1',
'trm' => '651',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2565',
'postdate' => '2022-07-20',
'level' => '1'
)
),
(int) 8 => array(
'Yearterm' => array(
'id' => '27',
'year' => '2564',
'term' => '3',
'trm' => '643',
'name' => 'ภาคการศึกษาที่ 3 ปีการศึกษา 2564',
'postdate' => '2022-03-28',
'level' => '1'
)
),
(int) 9 => array(
'Yearterm' => array(
'id' => '26',
'year' => '2564',
'term' => '2',
'trm' => '642',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2564',
'postdate' => '2022-03-27',
'level' => '1'
)
),
(int) 10 => array(
'Yearterm' => array(
'id' => '25',
'year' => '2564',
'term' => '1',
'trm' => '641',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2564',
'postdate' => '2021-07-07',
'level' => '1'
)
),
(int) 11 => array(
'Yearterm' => array(
'id' => '24',
'year' => '2563',
'term' => '3',
'trm' => '633',
'name' => 'ภาคการศึกษาที่ 3 ปีการศึกษา 2563',
'postdate' => '2021-05-06',
'level' => '1'
)
)
)
$findStudentInNewTerm = array(
'Studentterm' => array(
'term_year' => '2565',
'term_id' => '2',
'student_id' => '660851005'
)
)
$years = array(
(int) 0 => array(
'Yearterm' => array(
'id' => '29',
'year' => '2565',
'term' => '2',
'trm' => '652',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2565',
'postdate' => '2022-12-09',
'level' => '1'
)
)
)
$countstudentTerm = (int) 1663
$output = ''
$totals1 = (int) 0
$totals2 = (int) 0
$totals3 = (int) 0
$totals4 = (int) 0
$totals5 = (int) 0
$totals6 = (int) 0
$totals7 = (int) 0
$totals8 = (int) 0
$totals9 = (int) 0
$totals10 = (int) 0
$output3 = ''
$totals13 = (int) 0
$totals23 = (int) 0
$totals33 = (int) 0
$totals43 = (int) 0
$totals53 = (int) 0
$totals63 = (int) 0
$totals73 = (int) 0
$totals83 = (int) 0
$totals93 = (int) 0
$totals103 = (int) 0
$output5 = ''
$totals15 = (int) 0
$totals25 = (int) 0
$totals35 = (int) 0
$totals45 = (int) 0
$totals55 = (int) 0
$totals65 = (int) 0
$totals75 = (int) 0
$totals85 = (int) 0
$totals95 = (int) 0
$totals105 = (int) 0
$totals115 = (int) 0
$majors = array(
(int) 0 => array(
'Majordegree' => array(
'id' => '1',
'major_name' => 'สาขาวิชาเศรษฐศาสตร์เกษตร',
'major_id' => '1',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '1',
'major_no' => '5',
'major_no_fee' => '8',
'major_code' => 'HA',
'major_name' => 'เศรษฐศาสตร์เกษตร',
'major_eng' => 'AGRICULTURAL ECONOMICS',
'major_eng2' => 'Agricultural Economics',
'major_acronym' => 'เศรษฐศาสตร์เกษตร',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(255, 128, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
),
(int) 1 => array(
'Majordegree' => array(
'id' => '5',
'major_name' => 'สาขาวิชากีฏวิทยา',
'major_id' => '3',
'organize_id' => '2',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '1'
),
'Major' => array(
'id' => '3',
'major_no' => '1',
'major_no_fee' => '2',
'major_code' => 'HE',
'major_name' => 'กีฏวิทยา',
'major_eng' => 'ENTOMOLOGY',
'major_eng2' => 'Entomology',
'major_acronym' => 'กีฏวิทยา',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(75, 190, 115)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '2',
'parent' => '40',
'name' => 'ภาควิชากีฏวิทยาและโรคพืช',
'status' => 'Y',
'old_name' => '',
'sort' => '40',
'name_shot' => 'กีฏโรคพืช',
'phone' => '44021',
'order' => '7',
'group' => '2',
'level_course_fee' => '2',
'level_scholarship' => '0'
)
),
(int) 2 => array(
'Majordegree' => array(
'id' => '9',
'major_name' => 'สาขาวิชาปฐพีศาสตร์และการจัดการทรัพยากรธรรมชาติ',
'major_id' => '5',
'organize_id' => '16',
'degree_id' => '1',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '5',
'major_no' => '6',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ปฐพีศาสตร์และการจัดการทรัพยากรธรรมชาติ',
'major_eng' => 'SOIL SCIENCE AND NATURAL RESOURCE MANAG',
'major_eng2' => 'Soil Science and Natural Resource Management',
'major_acronym' => 'ปฐพีศาสตร์ฯ',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => null,
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '16',
'parent' => '40',
'name' => 'ภาควิชาพืชศาสตร์และปฐพีศาสตร์',
'status' => 'Y',
'old_name' => '',
'sort' => '50',
'name_shot' => 'พืชศาสตร์ฯ',
'phone' => '44040',
'order' => '8',
'group' => '2',
'level_course_fee' => '3',
'level_scholarship' => '0'
)
),
(int) 3 => array(
'Majordegree' => array(
'id' => '12',
'major_name' => 'สาขาวิชาพืชไร่',
'major_id' => '6',
'organize_id' => '16',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '3'
),
'Major' => array(
'id' => '6',
'major_no' => '3',
'major_no_fee' => '5',
'major_code' => 'HC',
'major_name' => 'พืชไร่',
'major_eng' => 'AGRONOMY',
'major_eng2' => 'Agronomy',
'major_acronym' => 'พืชไร่',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(150, 21, 182)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '16',
'parent' => '40',
'name' => 'ภาควิชาพืชศาสตร์และปฐพีศาสตร์',
'status' => 'Y',
'old_name' => '',
'sort' => '50',
'name_shot' => 'พืชศาสตร์ฯ',
'phone' => '44040',
'order' => '8',
'group' => '2',
'level_course_fee' => '3',
'level_scholarship' => '0'
)
),
(int) 4 => array(
'Majordegree' => array(
'id' => '15',
'major_name' => 'สาขาวิชาพืชสวน',
'major_id' => '7',
'organize_id' => '16',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '4'
),
'Major' => array(
'id' => '7',
'major_no' => '4',
'major_no_fee' => '6',
'major_code' => 'HF',
'major_name' => 'พืชสวน',
'major_eng' => 'HORTICULTURE',
'major_eng2' => 'Horticulture',
'major_acronym' => 'พืชสวน',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(46, 39, 145)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '16',
'parent' => '40',
'name' => 'ภาควิชาพืชศาสตร์และปฐพีศาสตร์',
'status' => 'Y',
'old_name' => '',
'sort' => '50',
'name_shot' => 'พืชศาสตร์ฯ',
'phone' => '44040',
'order' => '8',
'group' => '2',
'level_course_fee' => '3',
'level_scholarship' => '0'
)
),
(int) 5 => array(
'Majordegree' => array(
'id' => '18',
'major_name' => 'สาขาวิชาโรคพืช',
'major_id' => '9',
'organize_id' => '2',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '2'
),
'Major' => array(
'id' => '9',
'major_no' => '2',
'major_no_fee' => '3',
'major_code' => 'HG ',
'major_name' => 'โรคพืช',
'major_eng' => 'PLANT PATHOLOGY',
'major_eng2' => 'Plant Pathology',
'major_acronym' => 'โรคพืช',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(245, 158, 216)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '2',
'parent' => '40',
'name' => 'ภาควิชากีฏวิทยาและโรคพืช',
'status' => 'Y',
'old_name' => '',
'sort' => '40',
'name_shot' => 'กีฏโรคพืช',
'phone' => '44021',
'order' => '7',
'group' => '2',
'level_course_fee' => '2',
'level_scholarship' => '0'
)
),
(int) 6 => array(
'Majordegree' => array(
'id' => '25',
'major_name' => 'สาขาวิชาส่งเสริมและเผยแพร่การเกษตร',
'major_id' => '12',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '6'
),
'Major' => array(
'id' => '12',
'major_no' => '10',
'major_no_fee' => '9',
'major_code' => 'HB',
'major_name' => 'ส่งเสริมและเผยแพร่การเกษตร',
'major_eng' => 'Agricultural Extension',
'major_eng2' => 'Agricultural Extension',
'major_acronym' => 'ส่งเสริมและเผยแพร่การเกษตร',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(224, 233, 93)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
),
(int) 7 => array(
'Majordegree' => array(
'id' => '26',
'major_name' => 'สาขาวิชาสัตวศาสตร์และสัตว์น้ำ',
'major_id' => '13',
'organize_id' => '23',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '7'
),
'Major' => array(
'id' => '13',
'major_no' => '8',
'major_no_fee' => '11',
'major_code' => null,
'major_name' => 'สัตวศาสตร์และสัตว์น้ำ',
'major_eng' => 'Animal and Aquatic Science',
'major_eng2' => 'Animal and Aquatic Science',
'major_acronym' => 'สัตวศาสตร์และสัตว์น้ำ',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(137, 185, 40)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '23',
'parent' => '40',
'name' => 'ภาควิชาสัตวศาสตร์และสัตว์น้ำ',
'status' => 'Y',
'old_name' => 'สาขาวิชาสัตวศาสตร์',
'sort' => '70',
'name_shot' => 'สัตวศาสตร์ฯ',
'phone' => '44069',
'order' => '10',
'group' => '2',
'level_course_fee' => '5',
'level_scholarship' => '0'
)
),
(int) 8 => array(
'Majordegree' => array(
'id' => '31',
'major_name' => 'สาขาวิชาปฐพีศาสตร์',
'major_id' => '18',
'organize_id' => '16',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '5'
),
'Major' => array(
'id' => '18',
'major_no' => '11',
'major_no_fee' => '7',
'major_code' => null,
'major_name' => 'ปฐพีศาสตร์',
'major_eng' => 'SOIL SCIENCE',
'major_eng2' => 'SOIL SCIENCE',
'major_acronym' => 'ปฐพีศาสตร์',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(219, 219, 85)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '16',
'parent' => '40',
'name' => 'ภาควิชาพืชศาสตร์และปฐพีศาสตร์',
'status' => 'Y',
'old_name' => '',
'sort' => '50',
'name_shot' => 'พืชศาสตร์ฯ',
'phone' => '44040',
'order' => '8',
'group' => '2',
'level_course_fee' => '3',
'level_scholarship' => '0'
)
),
(int) 9 => array(
'Majordegree' => array(
'id' => '39',
'major_name' => 'สาขาวิชาทรัพยากรป่าไม้และวนเกษตร',
'major_id' => '20',
'organize_id' => '24',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '20',
'major_no' => '14',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ทรัพยากรป่าไม้และวนเกษตร',
'major_eng' => 'Highland Agriculture and Natural Resources',
'major_eng2' => 'Highland Agriculture and Natural Resources',
'major_acronym' => 'เกษตรที่สูงและทรัพยากรธรรมชาติ',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(233, 202, 75)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '24',
'parent' => '40',
'name' => 'ภาควิชาเกษตรที่สูงและทรัพยากรธรรมชาติ',
'status' => 'Y',
'old_name' => '',
'sort' => '80',
'name_shot' => 'เกษตรที่สูงฯ',
'phone' => '44647',
'order' => '11',
'group' => '2',
'level_course_fee' => '6',
'level_scholarship' => '0'
)
),
(int) 10 => array(
'Majordegree' => array(
'id' => '40',
'major_name' => 'สาขาธุรกิจเกษตร',
'major_id' => '4',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '0',
'level' => '0',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '4',
'major_no' => '16',
'major_no_fee' => '10',
'major_code' => null,
'major_name' => 'ธุรกิจเกษตร',
'major_eng' => 'AGRIBUSINESS',
'major_eng2' => 'Agribusiness',
'major_acronym' => 'ธุรกิจเกษตร',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => 'rgb(153, 0, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
),
(int) 11 => array(
'Majordegree' => array(
'id' => '42',
'major_name' => 'สาขาวิชาเกษตรศาสตร์',
'major_id' => '17',
'organize_id' => '5',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '17',
'major_no' => '49',
'major_no_fee' => '1',
'major_code' => null,
'major_name' => 'เกษตรศาสตร์',
'major_eng' => 'Agriculture',
'major_eng2' => 'Agriculture
',
'major_acronym' => 'เกษตรศาสตร์',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(153, 0, 76)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '5',
'parent' => '1',
'name' => 'งานบริการการศึกษาและพัฒนาคุณภาพนักศึกษา',
'status' => 'Y',
'old_name' => 'งานบริการการศึกษา และพัฒนาคุณภาพนักศึกษา',
'sort' => '14',
'name_shot' => 'การศึกษา',
'phone' => '44642',
'order' => '3',
'group' => '1',
'level_course_fee' => '1',
'level_scholarship' => '1'
)
),
(int) 12 => array(
'Majordegree' => array(
'id' => '43',
'major_name' => 'สาขาวิชาเกษตรที่สูงและทรัพยากรธรรมชาติ',
'major_id' => '23',
'organize_id' => '24',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '8'
),
'Major' => array(
'id' => '23',
'major_no' => '17',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'เกษตรที่สูงและทรัพยากรธรรมชาติ',
'major_eng' => 'Highland Agriculture and Natural Resources',
'major_eng2' => 'Highland Agriculture and Natural Resources',
'major_acronym' => 'เกษตรที่สูงและทรัพยากรธรรมชาติ',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '0',
'color' => 'rgb(255, 99, 132)',
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '24',
'parent' => '40',
'name' => 'ภาควิชาเกษตรที่สูงและทรัพยากรธรรมชาติ',
'status' => 'Y',
'old_name' => '',
'sort' => '80',
'name_shot' => 'เกษตรที่สูงฯ',
'phone' => '44647',
'order' => '11',
'group' => '2',
'level_course_fee' => '6',
'level_scholarship' => '0'
)
),
(int) 13 => array(
'Majordegree' => array(
'id' => '44',
'major_name' => 'สาขาวิชาสัตวศาสตร์',
'major_id' => '11',
'organize_id' => '23',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '11',
'major_no' => '7',
'major_no_fee' => null,
'major_code' => 'HD',
'major_name' => 'สัตวศาสตร์',
'major_eng' => 'ANIMAL SCIENCE',
'major_eng2' => 'Animal Science',
'major_acronym' => 'สัตวศาสตร์',
'major_level' => '1',
'major_degree_id' => null,
'major_show_graph_id' => '1',
'color' => 'rgb(26, 139, 45)',
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '23',
'parent' => '40',
'name' => 'ภาควิชาสัตวศาสตร์และสัตว์น้ำ',
'status' => 'Y',
'old_name' => 'สาขาวิชาสัตวศาสตร์',
'sort' => '70',
'name_shot' => 'สัตวศาสตร์ฯ',
'phone' => '44069',
'order' => '10',
'group' => '2',
'level_course_fee' => '5',
'level_scholarship' => '0'
)
),
(int) 14 => array(
'Majordegree' => array(
'id' => '46',
'major_name' => 'สาขาวิชาผู้ประกอบการด้านเกษตรอัจฉริยะและอาหาร',
'major_id' => '25',
'organize_id' => null,
'degree_id' => '1',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => null,
'order' => '15',
'order_select_major' => '9'
),
'Major' => array(
'id' => '25',
'major_no' => '20',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ผู้ประกอบการด้านเกษตรอัจฉริยะและอาหาร',
'major_eng' => 'Smart Agriculture and Food Entrepreneur',
'major_eng2' => 'Smart Agriculture and Food Entrepreneur',
'major_acronym' => null,
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '0',
'color' => null,
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => null,
'parent' => null,
'name' => null,
'status' => null,
'old_name' => null,
'sort' => null,
'name_shot' => null,
'phone' => null,
'order' => null,
'group' => null,
'level_course_fee' => null,
'level_scholarship' => null
)
),
(int) 15 => array(
'Majordegree' => array(
'id' => '47',
'major_name' => 'สาขาวิชาเศรษฐศาสตร์เกษตรและธุรกิจเกษตร',
'major_id' => '26',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '26',
'major_no' => '21',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'เศรษฐศาสตร์เกษตรและธุรกิจเกษตร',
'major_eng' => null,
'major_eng2' => null,
'major_acronym' => null,
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(76, 0, 153)',
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
),
(int) 16 => array(
'Majordegree' => array(
'id' => '50',
'major_name' => 'สาขาวิชาวิทยาศาสตร์การประมง',
'major_id' => '28',
'organize_id' => '23',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '28',
'major_no' => '9',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'วิทยาศาสตร์การประมง',
'major_eng' => null,
'major_eng2' => null,
'major_acronym' => null,
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => null,
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '23',
'parent' => '40',
'name' => 'ภาควิชาสัตวศาสตร์และสัตว์น้ำ',
'status' => 'Y',
'old_name' => 'สาขาวิชาสัตวศาสตร์',
'sort' => '70',
'name_shot' => 'สัตวศาสตร์ฯ',
'phone' => '44069',
'order' => '10',
'group' => '2',
'level_course_fee' => '5',
'level_scholarship' => '0'
)
)
)
$major = array(
'Majordegree' => array(
'id' => '1',
'major_name' => 'สาขาวิชาเศรษฐศาสตร์เกษตร',
'major_id' => '1',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '1',
'major_no' => '5',
'major_no_fee' => '8',
'major_code' => 'HA',
'major_name' => 'เศรษฐศาสตร์เกษตร',
'major_eng' => 'AGRICULTURAL ECONOMICS',
'major_eng2' => 'Agricultural Economics',
'major_acronym' => 'เศรษฐศาสตร์เกษตร',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(255, 128, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
)
$yearId = '66'
$yearIdmin1 = '660000000'
$yearIdmax1 = '669999999'
$yearIdmin2 = '650000000'
$yearIdmax2 = '659999999'
$yearIdmin3 = '640000000'
$yearIdmax3 = '649999999'
$yearIdmin4 = '630000000'
$yearIdmax4 = '639999999'
$yearIdmin5 = '620000000'
$yearIdmax5 = '629999999'
$yearIdmin6 = '610000000'
$yearIdmax6 = '619999999'
$yearIdmin7 = '600000000'
$yearIdmax7 = '609999999'
$yearIdmin8 = '590000000'
$yearIdmax8 = '599999999'
$yearIdmin9 = '580000000'
$yearIdmax9 = '589999999'
$yearIdmin10 = '570000000'
$yearIdmax10 = '579999999'
$total = (int) 0
StudentsController::list_student_by_division_student() - APP\Controller\StudentsController.php, line 15294
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE\Cake\Controller\Controller.php, line 490
Dispatcher::_invoke() - CORE\Cake\Routing\Dispatcher.php, line 191
Dispatcher::dispatch() - CORE\Cake\Routing\Dispatcher.php, line 165
require - APP\webroot\index.php, line 108
[main] - ROOT\index.php, line 41
Notice (8): Undefined variable: output10 [APP\Controller\StudentsController.php, line 15295]Code Context $totals8 = $totals8 + $output8;
$totals9 = $totals9 + $output9;
$totals10 = $totals10 + $output10;
$yearList = '2565'
$term = '2'
$degree_id = '1'
$UserName = null
$admins = null
$lastYearTerms = array(
'Yearterm' => array(
'id' => '35',
'year' => '2567',
'term' => '2',
'trm' => '672',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2567',
'postdate' => '2024-11-11',
'level' => '1'
)
)
$degreedropdowns = array(
(int) 0 => array(
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
)
),
(int) 1 => array(
'Degree' => array(
'id' => '3',
'degree_name' => 'ปริญญาโท',
'degree_name_en' => 'Master's degree'
)
),
(int) 2 => array(
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
)
)
)
$dropdowns = array(
(int) 0 => array(
'Yearterm' => array(
'id' => '35',
'year' => '2567',
'term' => '2',
'trm' => '672',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2567',
'postdate' => '2024-11-11',
'level' => '1'
)
),
(int) 1 => array(
'Yearterm' => array(
'id' => '34',
'year' => '2567',
'term' => '1',
'trm' => '671',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2567',
'postdate' => '2024-07-05',
'level' => '1'
)
),
(int) 2 => array(
'Yearterm' => array(
'id' => '33',
'year' => '2566',
'term' => '3',
'trm' => '663',
'name' => 'ภาคการศึกษาที่ 3 ปีการศึกษา 2566',
'postdate' => '2024-05-15',
'level' => '1'
)
),
(int) 3 => array(
'Yearterm' => array(
'id' => '32',
'year' => '2566',
'term' => '2',
'trm' => '662',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2566',
'postdate' => '2023-12-06',
'level' => '1'
)
),
(int) 4 => array(
'Yearterm' => array(
'id' => '31',
'year' => '2566',
'term' => '1',
'trm' => '661',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2566',
'postdate' => '2023-07-06',
'level' => '1'
)
),
(int) 5 => array(
'Yearterm' => array(
'id' => '30',
'year' => '2565',
'term' => '3',
'trm' => '653',
'name' => 'ภาคการศึกษาที่ 3 ปีการศึกษา 2565',
'postdate' => '2023-05-01',
'level' => '1'
)
),
(int) 6 => array(
'Yearterm' => array(
'id' => '29',
'year' => '2565',
'term' => '2',
'trm' => '652',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2565',
'postdate' => '2022-12-09',
'level' => '1'
)
),
(int) 7 => array(
'Yearterm' => array(
'id' => '28',
'year' => '2565',
'term' => '1',
'trm' => '651',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2565',
'postdate' => '2022-07-20',
'level' => '1'
)
),
(int) 8 => array(
'Yearterm' => array(
'id' => '27',
'year' => '2564',
'term' => '3',
'trm' => '643',
'name' => 'ภาคการศึกษาที่ 3 ปีการศึกษา 2564',
'postdate' => '2022-03-28',
'level' => '1'
)
),
(int) 9 => array(
'Yearterm' => array(
'id' => '26',
'year' => '2564',
'term' => '2',
'trm' => '642',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2564',
'postdate' => '2022-03-27',
'level' => '1'
)
),
(int) 10 => array(
'Yearterm' => array(
'id' => '25',
'year' => '2564',
'term' => '1',
'trm' => '641',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2564',
'postdate' => '2021-07-07',
'level' => '1'
)
),
(int) 11 => array(
'Yearterm' => array(
'id' => '24',
'year' => '2563',
'term' => '3',
'trm' => '633',
'name' => 'ภาคการศึกษาที่ 3 ปีการศึกษา 2563',
'postdate' => '2021-05-06',
'level' => '1'
)
)
)
$findStudentInNewTerm = array(
'Studentterm' => array(
'term_year' => '2565',
'term_id' => '2',
'student_id' => '660851005'
)
)
$years = array(
(int) 0 => array(
'Yearterm' => array(
'id' => '29',
'year' => '2565',
'term' => '2',
'trm' => '652',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2565',
'postdate' => '2022-12-09',
'level' => '1'
)
)
)
$countstudentTerm = (int) 1663
$output = ''
$totals1 = (int) 0
$totals2 = (int) 0
$totals3 = (int) 0
$totals4 = (int) 0
$totals5 = (int) 0
$totals6 = (int) 0
$totals7 = (int) 0
$totals8 = (int) 0
$totals9 = (int) 0
$totals10 = (int) 0
$output3 = ''
$totals13 = (int) 0
$totals23 = (int) 0
$totals33 = (int) 0
$totals43 = (int) 0
$totals53 = (int) 0
$totals63 = (int) 0
$totals73 = (int) 0
$totals83 = (int) 0
$totals93 = (int) 0
$totals103 = (int) 0
$output5 = ''
$totals15 = (int) 0
$totals25 = (int) 0
$totals35 = (int) 0
$totals45 = (int) 0
$totals55 = (int) 0
$totals65 = (int) 0
$totals75 = (int) 0
$totals85 = (int) 0
$totals95 = (int) 0
$totals105 = (int) 0
$totals115 = (int) 0
$majors = array(
(int) 0 => array(
'Majordegree' => array(
'id' => '1',
'major_name' => 'สาขาวิชาเศรษฐศาสตร์เกษตร',
'major_id' => '1',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '1',
'major_no' => '5',
'major_no_fee' => '8',
'major_code' => 'HA',
'major_name' => 'เศรษฐศาสตร์เกษตร',
'major_eng' => 'AGRICULTURAL ECONOMICS',
'major_eng2' => 'Agricultural Economics',
'major_acronym' => 'เศรษฐศาสตร์เกษตร',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(255, 128, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
),
(int) 1 => array(
'Majordegree' => array(
'id' => '5',
'major_name' => 'สาขาวิชากีฏวิทยา',
'major_id' => '3',
'organize_id' => '2',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '1'
),
'Major' => array(
'id' => '3',
'major_no' => '1',
'major_no_fee' => '2',
'major_code' => 'HE',
'major_name' => 'กีฏวิทยา',
'major_eng' => 'ENTOMOLOGY',
'major_eng2' => 'Entomology',
'major_acronym' => 'กีฏวิทยา',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(75, 190, 115)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '2',
'parent' => '40',
'name' => 'ภาควิชากีฏวิทยาและโรคพืช',
'status' => 'Y',
'old_name' => '',
'sort' => '40',
'name_shot' => 'กีฏโรคพืช',
'phone' => '44021',
'order' => '7',
'group' => '2',
'level_course_fee' => '2',
'level_scholarship' => '0'
)
),
(int) 2 => array(
'Majordegree' => array(
'id' => '9',
'major_name' => 'สาขาวิชาปฐพีศาสตร์และการจัดการทรัพยากรธรรมชาติ',
'major_id' => '5',
'organize_id' => '16',
'degree_id' => '1',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '5',
'major_no' => '6',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ปฐพีศาสตร์และการจัดการทรัพยากรธรรมชาติ',
'major_eng' => 'SOIL SCIENCE AND NATURAL RESOURCE MANAG',
'major_eng2' => 'Soil Science and Natural Resource Management',
'major_acronym' => 'ปฐพีศาสตร์ฯ',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => null,
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '16',
'parent' => '40',
'name' => 'ภาควิชาพืชศาสตร์และปฐพีศาสตร์',
'status' => 'Y',
'old_name' => '',
'sort' => '50',
'name_shot' => 'พืชศาสตร์ฯ',
'phone' => '44040',
'order' => '8',
'group' => '2',
'level_course_fee' => '3',
'level_scholarship' => '0'
)
),
(int) 3 => array(
'Majordegree' => array(
'id' => '12',
'major_name' => 'สาขาวิชาพืชไร่',
'major_id' => '6',
'organize_id' => '16',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '3'
),
'Major' => array(
'id' => '6',
'major_no' => '3',
'major_no_fee' => '5',
'major_code' => 'HC',
'major_name' => 'พืชไร่',
'major_eng' => 'AGRONOMY',
'major_eng2' => 'Agronomy',
'major_acronym' => 'พืชไร่',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(150, 21, 182)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '16',
'parent' => '40',
'name' => 'ภาควิชาพืชศาสตร์และปฐพีศาสตร์',
'status' => 'Y',
'old_name' => '',
'sort' => '50',
'name_shot' => 'พืชศาสตร์ฯ',
'phone' => '44040',
'order' => '8',
'group' => '2',
'level_course_fee' => '3',
'level_scholarship' => '0'
)
),
(int) 4 => array(
'Majordegree' => array(
'id' => '15',
'major_name' => 'สาขาวิชาพืชสวน',
'major_id' => '7',
'organize_id' => '16',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '4'
),
'Major' => array(
'id' => '7',
'major_no' => '4',
'major_no_fee' => '6',
'major_code' => 'HF',
'major_name' => 'พืชสวน',
'major_eng' => 'HORTICULTURE',
'major_eng2' => 'Horticulture',
'major_acronym' => 'พืชสวน',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(46, 39, 145)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '16',
'parent' => '40',
'name' => 'ภาควิชาพืชศาสตร์และปฐพีศาสตร์',
'status' => 'Y',
'old_name' => '',
'sort' => '50',
'name_shot' => 'พืชศาสตร์ฯ',
'phone' => '44040',
'order' => '8',
'group' => '2',
'level_course_fee' => '3',
'level_scholarship' => '0'
)
),
(int) 5 => array(
'Majordegree' => array(
'id' => '18',
'major_name' => 'สาขาวิชาโรคพืช',
'major_id' => '9',
'organize_id' => '2',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '2'
),
'Major' => array(
'id' => '9',
'major_no' => '2',
'major_no_fee' => '3',
'major_code' => 'HG ',
'major_name' => 'โรคพืช',
'major_eng' => 'PLANT PATHOLOGY',
'major_eng2' => 'Plant Pathology',
'major_acronym' => 'โรคพืช',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(245, 158, 216)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '2',
'parent' => '40',
'name' => 'ภาควิชากีฏวิทยาและโรคพืช',
'status' => 'Y',
'old_name' => '',
'sort' => '40',
'name_shot' => 'กีฏโรคพืช',
'phone' => '44021',
'order' => '7',
'group' => '2',
'level_course_fee' => '2',
'level_scholarship' => '0'
)
),
(int) 6 => array(
'Majordegree' => array(
'id' => '25',
'major_name' => 'สาขาวิชาส่งเสริมและเผยแพร่การเกษตร',
'major_id' => '12',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '6'
),
'Major' => array(
'id' => '12',
'major_no' => '10',
'major_no_fee' => '9',
'major_code' => 'HB',
'major_name' => 'ส่งเสริมและเผยแพร่การเกษตร',
'major_eng' => 'Agricultural Extension',
'major_eng2' => 'Agricultural Extension',
'major_acronym' => 'ส่งเสริมและเผยแพร่การเกษตร',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(224, 233, 93)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
),
(int) 7 => array(
'Majordegree' => array(
'id' => '26',
'major_name' => 'สาขาวิชาสัตวศาสตร์และสัตว์น้ำ',
'major_id' => '13',
'organize_id' => '23',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '7'
),
'Major' => array(
'id' => '13',
'major_no' => '8',
'major_no_fee' => '11',
'major_code' => null,
'major_name' => 'สัตวศาสตร์และสัตว์น้ำ',
'major_eng' => 'Animal and Aquatic Science',
'major_eng2' => 'Animal and Aquatic Science',
'major_acronym' => 'สัตวศาสตร์และสัตว์น้ำ',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(137, 185, 40)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '23',
'parent' => '40',
'name' => 'ภาควิชาสัตวศาสตร์และสัตว์น้ำ',
'status' => 'Y',
'old_name' => 'สาขาวิชาสัตวศาสตร์',
'sort' => '70',
'name_shot' => 'สัตวศาสตร์ฯ',
'phone' => '44069',
'order' => '10',
'group' => '2',
'level_course_fee' => '5',
'level_scholarship' => '0'
)
),
(int) 8 => array(
'Majordegree' => array(
'id' => '31',
'major_name' => 'สาขาวิชาปฐพีศาสตร์',
'major_id' => '18',
'organize_id' => '16',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '5'
),
'Major' => array(
'id' => '18',
'major_no' => '11',
'major_no_fee' => '7',
'major_code' => null,
'major_name' => 'ปฐพีศาสตร์',
'major_eng' => 'SOIL SCIENCE',
'major_eng2' => 'SOIL SCIENCE',
'major_acronym' => 'ปฐพีศาสตร์',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(219, 219, 85)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '16',
'parent' => '40',
'name' => 'ภาควิชาพืชศาสตร์และปฐพีศาสตร์',
'status' => 'Y',
'old_name' => '',
'sort' => '50',
'name_shot' => 'พืชศาสตร์ฯ',
'phone' => '44040',
'order' => '8',
'group' => '2',
'level_course_fee' => '3',
'level_scholarship' => '0'
)
),
(int) 9 => array(
'Majordegree' => array(
'id' => '39',
'major_name' => 'สาขาวิชาทรัพยากรป่าไม้และวนเกษตร',
'major_id' => '20',
'organize_id' => '24',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '20',
'major_no' => '14',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ทรัพยากรป่าไม้และวนเกษตร',
'major_eng' => 'Highland Agriculture and Natural Resources',
'major_eng2' => 'Highland Agriculture and Natural Resources',
'major_acronym' => 'เกษตรที่สูงและทรัพยากรธรรมชาติ',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(233, 202, 75)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '24',
'parent' => '40',
'name' => 'ภาควิชาเกษตรที่สูงและทรัพยากรธรรมชาติ',
'status' => 'Y',
'old_name' => '',
'sort' => '80',
'name_shot' => 'เกษตรที่สูงฯ',
'phone' => '44647',
'order' => '11',
'group' => '2',
'level_course_fee' => '6',
'level_scholarship' => '0'
)
),
(int) 10 => array(
'Majordegree' => array(
'id' => '40',
'major_name' => 'สาขาธุรกิจเกษตร',
'major_id' => '4',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '0',
'level' => '0',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '4',
'major_no' => '16',
'major_no_fee' => '10',
'major_code' => null,
'major_name' => 'ธุรกิจเกษตร',
'major_eng' => 'AGRIBUSINESS',
'major_eng2' => 'Agribusiness',
'major_acronym' => 'ธุรกิจเกษตร',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => 'rgb(153, 0, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
),
(int) 11 => array(
'Majordegree' => array(
'id' => '42',
'major_name' => 'สาขาวิชาเกษตรศาสตร์',
'major_id' => '17',
'organize_id' => '5',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '17',
'major_no' => '49',
'major_no_fee' => '1',
'major_code' => null,
'major_name' => 'เกษตรศาสตร์',
'major_eng' => 'Agriculture',
'major_eng2' => 'Agriculture
',
'major_acronym' => 'เกษตรศาสตร์',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(153, 0, 76)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '5',
'parent' => '1',
'name' => 'งานบริการการศึกษาและพัฒนาคุณภาพนักศึกษา',
'status' => 'Y',
'old_name' => 'งานบริการการศึกษา และพัฒนาคุณภาพนักศึกษา',
'sort' => '14',
'name_shot' => 'การศึกษา',
'phone' => '44642',
'order' => '3',
'group' => '1',
'level_course_fee' => '1',
'level_scholarship' => '1'
)
),
(int) 12 => array(
'Majordegree' => array(
'id' => '43',
'major_name' => 'สาขาวิชาเกษตรที่สูงและทรัพยากรธรรมชาติ',
'major_id' => '23',
'organize_id' => '24',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '8'
),
'Major' => array(
'id' => '23',
'major_no' => '17',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'เกษตรที่สูงและทรัพยากรธรรมชาติ',
'major_eng' => 'Highland Agriculture and Natural Resources',
'major_eng2' => 'Highland Agriculture and Natural Resources',
'major_acronym' => 'เกษตรที่สูงและทรัพยากรธรรมชาติ',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '0',
'color' => 'rgb(255, 99, 132)',
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '24',
'parent' => '40',
'name' => 'ภาควิชาเกษตรที่สูงและทรัพยากรธรรมชาติ',
'status' => 'Y',
'old_name' => '',
'sort' => '80',
'name_shot' => 'เกษตรที่สูงฯ',
'phone' => '44647',
'order' => '11',
'group' => '2',
'level_course_fee' => '6',
'level_scholarship' => '0'
)
),
(int) 13 => array(
'Majordegree' => array(
'id' => '44',
'major_name' => 'สาขาวิชาสัตวศาสตร์',
'major_id' => '11',
'organize_id' => '23',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '11',
'major_no' => '7',
'major_no_fee' => null,
'major_code' => 'HD',
'major_name' => 'สัตวศาสตร์',
'major_eng' => 'ANIMAL SCIENCE',
'major_eng2' => 'Animal Science',
'major_acronym' => 'สัตวศาสตร์',
'major_level' => '1',
'major_degree_id' => null,
'major_show_graph_id' => '1',
'color' => 'rgb(26, 139, 45)',
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '23',
'parent' => '40',
'name' => 'ภาควิชาสัตวศาสตร์และสัตว์น้ำ',
'status' => 'Y',
'old_name' => 'สาขาวิชาสัตวศาสตร์',
'sort' => '70',
'name_shot' => 'สัตวศาสตร์ฯ',
'phone' => '44069',
'order' => '10',
'group' => '2',
'level_course_fee' => '5',
'level_scholarship' => '0'
)
),
(int) 14 => array(
'Majordegree' => array(
'id' => '46',
'major_name' => 'สาขาวิชาผู้ประกอบการด้านเกษตรอัจฉริยะและอาหาร',
'major_id' => '25',
'organize_id' => null,
'degree_id' => '1',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => null,
'order' => '15',
'order_select_major' => '9'
),
'Major' => array(
'id' => '25',
'major_no' => '20',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ผู้ประกอบการด้านเกษตรอัจฉริยะและอาหาร',
'major_eng' => 'Smart Agriculture and Food Entrepreneur',
'major_eng2' => 'Smart Agriculture and Food Entrepreneur',
'major_acronym' => null,
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '0',
'color' => null,
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => null,
'parent' => null,
'name' => null,
'status' => null,
'old_name' => null,
'sort' => null,
'name_shot' => null,
'phone' => null,
'order' => null,
'group' => null,
'level_course_fee' => null,
'level_scholarship' => null
)
),
(int) 15 => array(
'Majordegree' => array(
'id' => '47',
'major_name' => 'สาขาวิชาเศรษฐศาสตร์เกษตรและธุรกิจเกษตร',
'major_id' => '26',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '26',
'major_no' => '21',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'เศรษฐศาสตร์เกษตรและธุรกิจเกษตร',
'major_eng' => null,
'major_eng2' => null,
'major_acronym' => null,
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(76, 0, 153)',
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
),
(int) 16 => array(
'Majordegree' => array(
'id' => '50',
'major_name' => 'สาขาวิชาวิทยาศาสตร์การประมง',
'major_id' => '28',
'organize_id' => '23',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '28',
'major_no' => '9',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'วิทยาศาสตร์การประมง',
'major_eng' => null,
'major_eng2' => null,
'major_acronym' => null,
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => null,
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '23',
'parent' => '40',
'name' => 'ภาควิชาสัตวศาสตร์และสัตว์น้ำ',
'status' => 'Y',
'old_name' => 'สาขาวิชาสัตวศาสตร์',
'sort' => '70',
'name_shot' => 'สัตวศาสตร์ฯ',
'phone' => '44069',
'order' => '10',
'group' => '2',
'level_course_fee' => '5',
'level_scholarship' => '0'
)
)
)
$major = array(
'Majordegree' => array(
'id' => '1',
'major_name' => 'สาขาวิชาเศรษฐศาสตร์เกษตร',
'major_id' => '1',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '1',
'major_no' => '5',
'major_no_fee' => '8',
'major_code' => 'HA',
'major_name' => 'เศรษฐศาสตร์เกษตร',
'major_eng' => 'AGRICULTURAL ECONOMICS',
'major_eng2' => 'Agricultural Economics',
'major_acronym' => 'เศรษฐศาสตร์เกษตร',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(255, 128, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
)
$yearId = '66'
$yearIdmin1 = '660000000'
$yearIdmax1 = '669999999'
$yearIdmin2 = '650000000'
$yearIdmax2 = '659999999'
$yearIdmin3 = '640000000'
$yearIdmax3 = '649999999'
$yearIdmin4 = '630000000'
$yearIdmax4 = '639999999'
$yearIdmin5 = '620000000'
$yearIdmax5 = '629999999'
$yearIdmin6 = '610000000'
$yearIdmax6 = '619999999'
$yearIdmin7 = '600000000'
$yearIdmax7 = '609999999'
$yearIdmin8 = '590000000'
$yearIdmax8 = '599999999'
$yearIdmin9 = '580000000'
$yearIdmax9 = '589999999'
$yearIdmin10 = '570000000'
$yearIdmax10 = '579999999'
$total = (int) 0
StudentsController::list_student_by_division_student() - APP\Controller\StudentsController.php, line 15295
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE\Cake\Controller\Controller.php, line 490
Dispatcher::_invoke() - CORE\Cake\Routing\Dispatcher.php, line 191
Dispatcher::dispatch() - CORE\Cake\Routing\Dispatcher.php, line 165
require - APP\webroot\index.php, line 108
[main] - ROOT\index.php, line 41
Notice (8): Undefined variable: output1 [APP\Controller\StudentsController.php, line 15301]Code Context <tr>
<td style="text-align:left;">'.$major['Major']['major_name'].'</td>;
if ($output1== null) {
$yearList = '2565'
$term = '2'
$degree_id = '1'
$UserName = null
$admins = null
$lastYearTerms = array(
'Yearterm' => array(
'id' => '35',
'year' => '2567',
'term' => '2',
'trm' => '672',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2567',
'postdate' => '2024-11-11',
'level' => '1'
)
)
$degreedropdowns = array(
(int) 0 => array(
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
)
),
(int) 1 => array(
'Degree' => array(
'id' => '3',
'degree_name' => 'ปริญญาโท',
'degree_name_en' => 'Master's degree'
)
),
(int) 2 => array(
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
)
)
)
$dropdowns = array(
(int) 0 => array(
'Yearterm' => array(
'id' => '35',
'year' => '2567',
'term' => '2',
'trm' => '672',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2567',
'postdate' => '2024-11-11',
'level' => '1'
)
),
(int) 1 => array(
'Yearterm' => array(
'id' => '34',
'year' => '2567',
'term' => '1',
'trm' => '671',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2567',
'postdate' => '2024-07-05',
'level' => '1'
)
),
(int) 2 => array(
'Yearterm' => array(
'id' => '33',
'year' => '2566',
'term' => '3',
'trm' => '663',
'name' => 'ภาคการศึกษาที่ 3 ปีการศึกษา 2566',
'postdate' => '2024-05-15',
'level' => '1'
)
),
(int) 3 => array(
'Yearterm' => array(
'id' => '32',
'year' => '2566',
'term' => '2',
'trm' => '662',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2566',
'postdate' => '2023-12-06',
'level' => '1'
)
),
(int) 4 => array(
'Yearterm' => array(
'id' => '31',
'year' => '2566',
'term' => '1',
'trm' => '661',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2566',
'postdate' => '2023-07-06',
'level' => '1'
)
),
(int) 5 => array(
'Yearterm' => array(
'id' => '30',
'year' => '2565',
'term' => '3',
'trm' => '653',
'name' => 'ภาคการศึกษาที่ 3 ปีการศึกษา 2565',
'postdate' => '2023-05-01',
'level' => '1'
)
),
(int) 6 => array(
'Yearterm' => array(
'id' => '29',
'year' => '2565',
'term' => '2',
'trm' => '652',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2565',
'postdate' => '2022-12-09',
'level' => '1'
)
),
(int) 7 => array(
'Yearterm' => array(
'id' => '28',
'year' => '2565',
'term' => '1',
'trm' => '651',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2565',
'postdate' => '2022-07-20',
'level' => '1'
)
),
(int) 8 => array(
'Yearterm' => array(
'id' => '27',
'year' => '2564',
'term' => '3',
'trm' => '643',
'name' => 'ภาคการศึกษาที่ 3 ปีการศึกษา 2564',
'postdate' => '2022-03-28',
'level' => '1'
)
),
(int) 9 => array(
'Yearterm' => array(
'id' => '26',
'year' => '2564',
'term' => '2',
'trm' => '642',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2564',
'postdate' => '2022-03-27',
'level' => '1'
)
),
(int) 10 => array(
'Yearterm' => array(
'id' => '25',
'year' => '2564',
'term' => '1',
'trm' => '641',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2564',
'postdate' => '2021-07-07',
'level' => '1'
)
),
(int) 11 => array(
'Yearterm' => array(
'id' => '24',
'year' => '2563',
'term' => '3',
'trm' => '633',
'name' => 'ภาคการศึกษาที่ 3 ปีการศึกษา 2563',
'postdate' => '2021-05-06',
'level' => '1'
)
)
)
$findStudentInNewTerm = array(
'Studentterm' => array(
'term_year' => '2565',
'term_id' => '2',
'student_id' => '660851005'
)
)
$years = array(
(int) 0 => array(
'Yearterm' => array(
'id' => '29',
'year' => '2565',
'term' => '2',
'trm' => '652',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2565',
'postdate' => '2022-12-09',
'level' => '1'
)
)
)
$countstudentTerm = (int) 1663
$output = '
<tr>
<td style="text-align:left;">เศรษฐศาสตร์เกษตร</td>'
$totals1 = (int) 0
$totals2 = (int) 0
$totals3 = (int) 0
$totals4 = (int) 0
$totals5 = (int) 0
$totals6 = (int) 0
$totals7 = (int) 0
$totals8 = (int) 0
$totals9 = (int) 0
$totals10 = (int) 0
$output3 = ''
$totals13 = (int) 0
$totals23 = (int) 0
$totals33 = (int) 0
$totals43 = (int) 0
$totals53 = (int) 0
$totals63 = (int) 0
$totals73 = (int) 0
$totals83 = (int) 0
$totals93 = (int) 0
$totals103 = (int) 0
$output5 = ''
$totals15 = (int) 0
$totals25 = (int) 0
$totals35 = (int) 0
$totals45 = (int) 0
$totals55 = (int) 0
$totals65 = (int) 0
$totals75 = (int) 0
$totals85 = (int) 0
$totals95 = (int) 0
$totals105 = (int) 0
$totals115 = (int) 0
$majors = array(
(int) 0 => array(
'Majordegree' => array(
'id' => '1',
'major_name' => 'สาขาวิชาเศรษฐศาสตร์เกษตร',
'major_id' => '1',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '1',
'major_no' => '5',
'major_no_fee' => '8',
'major_code' => 'HA',
'major_name' => 'เศรษฐศาสตร์เกษตร',
'major_eng' => 'AGRICULTURAL ECONOMICS',
'major_eng2' => 'Agricultural Economics',
'major_acronym' => 'เศรษฐศาสตร์เกษตร',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(255, 128, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
),
(int) 1 => array(
'Majordegree' => array(
'id' => '5',
'major_name' => 'สาขาวิชากีฏวิทยา',
'major_id' => '3',
'organize_id' => '2',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '1'
),
'Major' => array(
'id' => '3',
'major_no' => '1',
'major_no_fee' => '2',
'major_code' => 'HE',
'major_name' => 'กีฏวิทยา',
'major_eng' => 'ENTOMOLOGY',
'major_eng2' => 'Entomology',
'major_acronym' => 'กีฏวิทยา',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(75, 190, 115)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '2',
'parent' => '40',
'name' => 'ภาควิชากีฏวิทยาและโรคพืช',
'status' => 'Y',
'old_name' => '',
'sort' => '40',
'name_shot' => 'กีฏโรคพืช',
'phone' => '44021',
'order' => '7',
'group' => '2',
'level_course_fee' => '2',
'level_scholarship' => '0'
)
),
(int) 2 => array(
'Majordegree' => array(
'id' => '9',
'major_name' => 'สาขาวิชาปฐพีศาสตร์และการจัดการทรัพยากรธรรมชาติ',
'major_id' => '5',
'organize_id' => '16',
'degree_id' => '1',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '5',
'major_no' => '6',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ปฐพีศาสตร์และการจัดการทรัพยากรธรรมชาติ',
'major_eng' => 'SOIL SCIENCE AND NATURAL RESOURCE MANAG',
'major_eng2' => 'Soil Science and Natural Resource Management',
'major_acronym' => 'ปฐพีศาสตร์ฯ',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => null,
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '16',
'parent' => '40',
'name' => 'ภาควิชาพืชศาสตร์และปฐพีศาสตร์',
'status' => 'Y',
'old_name' => '',
'sort' => '50',
'name_shot' => 'พืชศาสตร์ฯ',
'phone' => '44040',
'order' => '8',
'group' => '2',
'level_course_fee' => '3',
'level_scholarship' => '0'
)
),
(int) 3 => array(
'Majordegree' => array(
'id' => '12',
'major_name' => 'สาขาวิชาพืชไร่',
'major_id' => '6',
'organize_id' => '16',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '3'
),
'Major' => array(
'id' => '6',
'major_no' => '3',
'major_no_fee' => '5',
'major_code' => 'HC',
'major_name' => 'พืชไร่',
'major_eng' => 'AGRONOMY',
'major_eng2' => 'Agronomy',
'major_acronym' => 'พืชไร่',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(150, 21, 182)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '16',
'parent' => '40',
'name' => 'ภาควิชาพืชศาสตร์และปฐพีศาสตร์',
'status' => 'Y',
'old_name' => '',
'sort' => '50',
'name_shot' => 'พืชศาสตร์ฯ',
'phone' => '44040',
'order' => '8',
'group' => '2',
'level_course_fee' => '3',
'level_scholarship' => '0'
)
),
(int) 4 => array(
'Majordegree' => array(
'id' => '15',
'major_name' => 'สาขาวิชาพืชสวน',
'major_id' => '7',
'organize_id' => '16',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '4'
),
'Major' => array(
'id' => '7',
'major_no' => '4',
'major_no_fee' => '6',
'major_code' => 'HF',
'major_name' => 'พืชสวน',
'major_eng' => 'HORTICULTURE',
'major_eng2' => 'Horticulture',
'major_acronym' => 'พืชสวน',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(46, 39, 145)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '16',
'parent' => '40',
'name' => 'ภาควิชาพืชศาสตร์และปฐพีศาสตร์',
'status' => 'Y',
'old_name' => '',
'sort' => '50',
'name_shot' => 'พืชศาสตร์ฯ',
'phone' => '44040',
'order' => '8',
'group' => '2',
'level_course_fee' => '3',
'level_scholarship' => '0'
)
),
(int) 5 => array(
'Majordegree' => array(
'id' => '18',
'major_name' => 'สาขาวิชาโรคพืช',
'major_id' => '9',
'organize_id' => '2',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '2'
),
'Major' => array(
'id' => '9',
'major_no' => '2',
'major_no_fee' => '3',
'major_code' => 'HG ',
'major_name' => 'โรคพืช',
'major_eng' => 'PLANT PATHOLOGY',
'major_eng2' => 'Plant Pathology',
'major_acronym' => 'โรคพืช',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(245, 158, 216)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '2',
'parent' => '40',
'name' => 'ภาควิชากีฏวิทยาและโรคพืช',
'status' => 'Y',
'old_name' => '',
'sort' => '40',
'name_shot' => 'กีฏโรคพืช',
'phone' => '44021',
'order' => '7',
'group' => '2',
'level_course_fee' => '2',
'level_scholarship' => '0'
)
),
(int) 6 => array(
'Majordegree' => array(
'id' => '25',
'major_name' => 'สาขาวิชาส่งเสริมและเผยแพร่การเกษตร',
'major_id' => '12',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '6'
),
'Major' => array(
'id' => '12',
'major_no' => '10',
'major_no_fee' => '9',
'major_code' => 'HB',
'major_name' => 'ส่งเสริมและเผยแพร่การเกษตร',
'major_eng' => 'Agricultural Extension',
'major_eng2' => 'Agricultural Extension',
'major_acronym' => 'ส่งเสริมและเผยแพร่การเกษตร',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(224, 233, 93)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
),
(int) 7 => array(
'Majordegree' => array(
'id' => '26',
'major_name' => 'สาขาวิชาสัตวศาสตร์และสัตว์น้ำ',
'major_id' => '13',
'organize_id' => '23',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '7'
),
'Major' => array(
'id' => '13',
'major_no' => '8',
'major_no_fee' => '11',
'major_code' => null,
'major_name' => 'สัตวศาสตร์และสัตว์น้ำ',
'major_eng' => 'Animal and Aquatic Science',
'major_eng2' => 'Animal and Aquatic Science',
'major_acronym' => 'สัตวศาสตร์และสัตว์น้ำ',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(137, 185, 40)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '23',
'parent' => '40',
'name' => 'ภาควิชาสัตวศาสตร์และสัตว์น้ำ',
'status' => 'Y',
'old_name' => 'สาขาวิชาสัตวศาสตร์',
'sort' => '70',
'name_shot' => 'สัตวศาสตร์ฯ',
'phone' => '44069',
'order' => '10',
'group' => '2',
'level_course_fee' => '5',
'level_scholarship' => '0'
)
),
(int) 8 => array(
'Majordegree' => array(
'id' => '31',
'major_name' => 'สาขาวิชาปฐพีศาสตร์',
'major_id' => '18',
'organize_id' => '16',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '5'
),
'Major' => array(
'id' => '18',
'major_no' => '11',
'major_no_fee' => '7',
'major_code' => null,
'major_name' => 'ปฐพีศาสตร์',
'major_eng' => 'SOIL SCIENCE',
'major_eng2' => 'SOIL SCIENCE',
'major_acronym' => 'ปฐพีศาสตร์',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(219, 219, 85)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '16',
'parent' => '40',
'name' => 'ภาควิชาพืชศาสตร์และปฐพีศาสตร์',
'status' => 'Y',
'old_name' => '',
'sort' => '50',
'name_shot' => 'พืชศาสตร์ฯ',
'phone' => '44040',
'order' => '8',
'group' => '2',
'level_course_fee' => '3',
'level_scholarship' => '0'
)
),
(int) 9 => array(
'Majordegree' => array(
'id' => '39',
'major_name' => 'สาขาวิชาทรัพยากรป่าไม้และวนเกษตร',
'major_id' => '20',
'organize_id' => '24',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '20',
'major_no' => '14',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ทรัพยากรป่าไม้และวนเกษตร',
'major_eng' => 'Highland Agriculture and Natural Resources',
'major_eng2' => 'Highland Agriculture and Natural Resources',
'major_acronym' => 'เกษตรที่สูงและทรัพยากรธรรมชาติ',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(233, 202, 75)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '24',
'parent' => '40',
'name' => 'ภาควิชาเกษตรที่สูงและทรัพยากรธรรมชาติ',
'status' => 'Y',
'old_name' => '',
'sort' => '80',
'name_shot' => 'เกษตรที่สูงฯ',
'phone' => '44647',
'order' => '11',
'group' => '2',
'level_course_fee' => '6',
'level_scholarship' => '0'
)
),
(int) 10 => array(
'Majordegree' => array(
'id' => '40',
'major_name' => 'สาขาธุรกิจเกษตร',
'major_id' => '4',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '0',
'level' => '0',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '4',
'major_no' => '16',
'major_no_fee' => '10',
'major_code' => null,
'major_name' => 'ธุรกิจเกษตร',
'major_eng' => 'AGRIBUSINESS',
'major_eng2' => 'Agribusiness',
'major_acronym' => 'ธุรกิจเกษตร',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => 'rgb(153, 0, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
),
(int) 11 => array(
'Majordegree' => array(
'id' => '42',
'major_name' => 'สาขาวิชาเกษตรศาสตร์',
'major_id' => '17',
'organize_id' => '5',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '17',
'major_no' => '49',
'major_no_fee' => '1',
'major_code' => null,
'major_name' => 'เกษตรศาสตร์',
'major_eng' => 'Agriculture',
'major_eng2' => 'Agriculture
',
'major_acronym' => 'เกษตรศาสตร์',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(153, 0, 76)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '5',
'parent' => '1',
'name' => 'งานบริการการศึกษาและพัฒนาคุณภาพนักศึกษา',
'status' => 'Y',
'old_name' => 'งานบริการการศึกษา และพัฒนาคุณภาพนักศึกษา',
'sort' => '14',
'name_shot' => 'การศึกษา',
'phone' => '44642',
'order' => '3',
'group' => '1',
'level_course_fee' => '1',
'level_scholarship' => '1'
)
),
(int) 12 => array(
'Majordegree' => array(
'id' => '43',
'major_name' => 'สาขาวิชาเกษตรที่สูงและทรัพยากรธรรมชาติ',
'major_id' => '23',
'organize_id' => '24',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '8'
),
'Major' => array(
'id' => '23',
'major_no' => '17',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'เกษตรที่สูงและทรัพยากรธรรมชาติ',
'major_eng' => 'Highland Agriculture and Natural Resources',
'major_eng2' => 'Highland Agriculture and Natural Resources',
'major_acronym' => 'เกษตรที่สูงและทรัพยากรธรรมชาติ',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '0',
'color' => 'rgb(255, 99, 132)',
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '24',
'parent' => '40',
'name' => 'ภาควิชาเกษตรที่สูงและทรัพยากรธรรมชาติ',
'status' => 'Y',
'old_name' => '',
'sort' => '80',
'name_shot' => 'เกษตรที่สูงฯ',
'phone' => '44647',
'order' => '11',
'group' => '2',
'level_course_fee' => '6',
'level_scholarship' => '0'
)
),
(int) 13 => array(
'Majordegree' => array(
'id' => '44',
'major_name' => 'สาขาวิชาสัตวศาสตร์',
'major_id' => '11',
'organize_id' => '23',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '11',
'major_no' => '7',
'major_no_fee' => null,
'major_code' => 'HD',
'major_name' => 'สัตวศาสตร์',
'major_eng' => 'ANIMAL SCIENCE',
'major_eng2' => 'Animal Science',
'major_acronym' => 'สัตวศาสตร์',
'major_level' => '1',
'major_degree_id' => null,
'major_show_graph_id' => '1',
'color' => 'rgb(26, 139, 45)',
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '23',
'parent' => '40',
'name' => 'ภาควิชาสัตวศาสตร์และสัตว์น้ำ',
'status' => 'Y',
'old_name' => 'สาขาวิชาสัตวศาสตร์',
'sort' => '70',
'name_shot' => 'สัตวศาสตร์ฯ',
'phone' => '44069',
'order' => '10',
'group' => '2',
'level_course_fee' => '5',
'level_scholarship' => '0'
)
),
(int) 14 => array(
'Majordegree' => array(
'id' => '46',
'major_name' => 'สาขาวิชาผู้ประกอบการด้านเกษตรอัจฉริยะและอาหาร',
'major_id' => '25',
'organize_id' => null,
'degree_id' => '1',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => null,
'order' => '15',
'order_select_major' => '9'
),
'Major' => array(
'id' => '25',
'major_no' => '20',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ผู้ประกอบการด้านเกษตรอัจฉริยะและอาหาร',
'major_eng' => 'Smart Agriculture and Food Entrepreneur',
'major_eng2' => 'Smart Agriculture and Food Entrepreneur',
'major_acronym' => null,
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '0',
'color' => null,
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => null,
'parent' => null,
'name' => null,
'status' => null,
'old_name' => null,
'sort' => null,
'name_shot' => null,
'phone' => null,
'order' => null,
'group' => null,
'level_course_fee' => null,
'level_scholarship' => null
)
),
(int) 15 => array(
'Majordegree' => array(
'id' => '47',
'major_name' => 'สาขาวิชาเศรษฐศาสตร์เกษตรและธุรกิจเกษตร',
'major_id' => '26',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '26',
'major_no' => '21',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'เศรษฐศาสตร์เกษตรและธุรกิจเกษตร',
'major_eng' => null,
'major_eng2' => null,
'major_acronym' => null,
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(76, 0, 153)',
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
),
(int) 16 => array(
'Majordegree' => array(
'id' => '50',
'major_name' => 'สาขาวิชาวิทยาศาสตร์การประมง',
'major_id' => '28',
'organize_id' => '23',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '28',
'major_no' => '9',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'วิทยาศาสตร์การประมง',
'major_eng' => null,
'major_eng2' => null,
'major_acronym' => null,
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => null,
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '23',
'parent' => '40',
'name' => 'ภาควิชาสัตวศาสตร์และสัตว์น้ำ',
'status' => 'Y',
'old_name' => 'สาขาวิชาสัตวศาสตร์',
'sort' => '70',
'name_shot' => 'สัตวศาสตร์ฯ',
'phone' => '44069',
'order' => '10',
'group' => '2',
'level_course_fee' => '5',
'level_scholarship' => '0'
)
)
)
$major = array(
'Majordegree' => array(
'id' => '1',
'major_name' => 'สาขาวิชาเศรษฐศาสตร์เกษตร',
'major_id' => '1',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '1',
'major_no' => '5',
'major_no_fee' => '8',
'major_code' => 'HA',
'major_name' => 'เศรษฐศาสตร์เกษตร',
'major_eng' => 'AGRICULTURAL ECONOMICS',
'major_eng2' => 'Agricultural Economics',
'major_acronym' => 'เศรษฐศาสตร์เกษตร',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(255, 128, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
)
$yearId = '66'
$yearIdmin1 = '660000000'
$yearIdmax1 = '669999999'
$yearIdmin2 = '650000000'
$yearIdmax2 = '659999999'
$yearIdmin3 = '640000000'
$yearIdmax3 = '649999999'
$yearIdmin4 = '630000000'
$yearIdmax4 = '639999999'
$yearIdmin5 = '620000000'
$yearIdmax5 = '629999999'
$yearIdmin6 = '610000000'
$yearIdmax6 = '619999999'
$yearIdmin7 = '600000000'
$yearIdmax7 = '609999999'
$yearIdmin8 = '590000000'
$yearIdmax8 = '599999999'
$yearIdmin9 = '580000000'
$yearIdmax9 = '589999999'
$yearIdmin10 = '570000000'
$yearIdmax10 = '579999999'
$total = (int) 0
StudentsController::list_student_by_division_student() - APP\Controller\StudentsController.php, line 15301
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE\Cake\Controller\Controller.php, line 490
Dispatcher::_invoke() - CORE\Cake\Routing\Dispatcher.php, line 191
Dispatcher::dispatch() - CORE\Cake\Routing\Dispatcher.php, line 165
require - APP\webroot\index.php, line 108
[main] - ROOT\index.php, line 41
Notice (8): Undefined variable: output2 [APP\Controller\StudentsController.php, line 15326]Code Context }
if ($output2== null) {
$yearList = '2565'
$term = '2'
$degree_id = '1'
$UserName = null
$admins = null
$lastYearTerms = array(
'Yearterm' => array(
'id' => '35',
'year' => '2567',
'term' => '2',
'trm' => '672',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2567',
'postdate' => '2024-11-11',
'level' => '1'
)
)
$degreedropdowns = array(
(int) 0 => array(
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
)
),
(int) 1 => array(
'Degree' => array(
'id' => '3',
'degree_name' => 'ปริญญาโท',
'degree_name_en' => 'Master's degree'
)
),
(int) 2 => array(
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
)
)
)
$dropdowns = array(
(int) 0 => array(
'Yearterm' => array(
'id' => '35',
'year' => '2567',
'term' => '2',
'trm' => '672',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2567',
'postdate' => '2024-11-11',
'level' => '1'
)
),
(int) 1 => array(
'Yearterm' => array(
'id' => '34',
'year' => '2567',
'term' => '1',
'trm' => '671',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2567',
'postdate' => '2024-07-05',
'level' => '1'
)
),
(int) 2 => array(
'Yearterm' => array(
'id' => '33',
'year' => '2566',
'term' => '3',
'trm' => '663',
'name' => 'ภาคการศึกษาที่ 3 ปีการศึกษา 2566',
'postdate' => '2024-05-15',
'level' => '1'
)
),
(int) 3 => array(
'Yearterm' => array(
'id' => '32',
'year' => '2566',
'term' => '2',
'trm' => '662',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2566',
'postdate' => '2023-12-06',
'level' => '1'
)
),
(int) 4 => array(
'Yearterm' => array(
'id' => '31',
'year' => '2566',
'term' => '1',
'trm' => '661',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2566',
'postdate' => '2023-07-06',
'level' => '1'
)
),
(int) 5 => array(
'Yearterm' => array(
'id' => '30',
'year' => '2565',
'term' => '3',
'trm' => '653',
'name' => 'ภาคการศึกษาที่ 3 ปีการศึกษา 2565',
'postdate' => '2023-05-01',
'level' => '1'
)
),
(int) 6 => array(
'Yearterm' => array(
'id' => '29',
'year' => '2565',
'term' => '2',
'trm' => '652',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2565',
'postdate' => '2022-12-09',
'level' => '1'
)
),
(int) 7 => array(
'Yearterm' => array(
'id' => '28',
'year' => '2565',
'term' => '1',
'trm' => '651',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2565',
'postdate' => '2022-07-20',
'level' => '1'
)
),
(int) 8 => array(
'Yearterm' => array(
'id' => '27',
'year' => '2564',
'term' => '3',
'trm' => '643',
'name' => 'ภาคการศึกษาที่ 3 ปีการศึกษา 2564',
'postdate' => '2022-03-28',
'level' => '1'
)
),
(int) 9 => array(
'Yearterm' => array(
'id' => '26',
'year' => '2564',
'term' => '2',
'trm' => '642',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2564',
'postdate' => '2022-03-27',
'level' => '1'
)
),
(int) 10 => array(
'Yearterm' => array(
'id' => '25',
'year' => '2564',
'term' => '1',
'trm' => '641',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2564',
'postdate' => '2021-07-07',
'level' => '1'
)
),
(int) 11 => array(
'Yearterm' => array(
'id' => '24',
'year' => '2563',
'term' => '3',
'trm' => '633',
'name' => 'ภาคการศึกษาที่ 3 ปีการศึกษา 2563',
'postdate' => '2021-05-06',
'level' => '1'
)
)
)
$findStudentInNewTerm = array(
'Studentterm' => array(
'term_year' => '2565',
'term_id' => '2',
'student_id' => '660851005'
)
)
$years = array(
(int) 0 => array(
'Yearterm' => array(
'id' => '29',
'year' => '2565',
'term' => '2',
'trm' => '652',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2565',
'postdate' => '2022-12-09',
'level' => '1'
)
)
)
$countstudentTerm = (int) 1663
$output = '
<tr>
<td style="text-align:left;">เศรษฐศาสตร์เกษตร</td><td>-</td>'
$totals1 = (int) 0
$totals2 = (int) 0
$totals3 = (int) 0
$totals4 = (int) 0
$totals5 = (int) 0
$totals6 = (int) 0
$totals7 = (int) 0
$totals8 = (int) 0
$totals9 = (int) 0
$totals10 = (int) 0
$output3 = ''
$totals13 = (int) 0
$totals23 = (int) 0
$totals33 = (int) 0
$totals43 = (int) 0
$totals53 = (int) 0
$totals63 = (int) 0
$totals73 = (int) 0
$totals83 = (int) 0
$totals93 = (int) 0
$totals103 = (int) 0
$output5 = ''
$totals15 = (int) 0
$totals25 = (int) 0
$totals35 = (int) 0
$totals45 = (int) 0
$totals55 = (int) 0
$totals65 = (int) 0
$totals75 = (int) 0
$totals85 = (int) 0
$totals95 = (int) 0
$totals105 = (int) 0
$totals115 = (int) 0
$majors = array(
(int) 0 => array(
'Majordegree' => array(
'id' => '1',
'major_name' => 'สาขาวิชาเศรษฐศาสตร์เกษตร',
'major_id' => '1',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '1',
'major_no' => '5',
'major_no_fee' => '8',
'major_code' => 'HA',
'major_name' => 'เศรษฐศาสตร์เกษตร',
'major_eng' => 'AGRICULTURAL ECONOMICS',
'major_eng2' => 'Agricultural Economics',
'major_acronym' => 'เศรษฐศาสตร์เกษตร',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(255, 128, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
),
(int) 1 => array(
'Majordegree' => array(
'id' => '5',
'major_name' => 'สาขาวิชากีฏวิทยา',
'major_id' => '3',
'organize_id' => '2',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '1'
),
'Major' => array(
'id' => '3',
'major_no' => '1',
'major_no_fee' => '2',
'major_code' => 'HE',
'major_name' => 'กีฏวิทยา',
'major_eng' => 'ENTOMOLOGY',
'major_eng2' => 'Entomology',
'major_acronym' => 'กีฏวิทยา',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(75, 190, 115)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '2',
'parent' => '40',
'name' => 'ภาควิชากีฏวิทยาและโรคพืช',
'status' => 'Y',
'old_name' => '',
'sort' => '40',
'name_shot' => 'กีฏโรคพืช',
'phone' => '44021',
'order' => '7',
'group' => '2',
'level_course_fee' => '2',
'level_scholarship' => '0'
)
),
(int) 2 => array(
'Majordegree' => array(
'id' => '9',
'major_name' => 'สาขาวิชาปฐพีศาสตร์และการจัดการทรัพยากรธรรมชาติ',
'major_id' => '5',
'organize_id' => '16',
'degree_id' => '1',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '5',
'major_no' => '6',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ปฐพีศาสตร์และการจัดการทรัพยากรธรรมชาติ',
'major_eng' => 'SOIL SCIENCE AND NATURAL RESOURCE MANAG',
'major_eng2' => 'Soil Science and Natural Resource Management',
'major_acronym' => 'ปฐพีศาสตร์ฯ',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => null,
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '16',
'parent' => '40',
'name' => 'ภาควิชาพืชศาสตร์และปฐพีศาสตร์',
'status' => 'Y',
'old_name' => '',
'sort' => '50',
'name_shot' => 'พืชศาสตร์ฯ',
'phone' => '44040',
'order' => '8',
'group' => '2',
'level_course_fee' => '3',
'level_scholarship' => '0'
)
),
(int) 3 => array(
'Majordegree' => array(
'id' => '12',
'major_name' => 'สาขาวิชาพืชไร่',
'major_id' => '6',
'organize_id' => '16',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '3'
),
'Major' => array(
'id' => '6',
'major_no' => '3',
'major_no_fee' => '5',
'major_code' => 'HC',
'major_name' => 'พืชไร่',
'major_eng' => 'AGRONOMY',
'major_eng2' => 'Agronomy',
'major_acronym' => 'พืชไร่',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(150, 21, 182)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '16',
'parent' => '40',
'name' => 'ภาควิชาพืชศาสตร์และปฐพีศาสตร์',
'status' => 'Y',
'old_name' => '',
'sort' => '50',
'name_shot' => 'พืชศาสตร์ฯ',
'phone' => '44040',
'order' => '8',
'group' => '2',
'level_course_fee' => '3',
'level_scholarship' => '0'
)
),
(int) 4 => array(
'Majordegree' => array(
'id' => '15',
'major_name' => 'สาขาวิชาพืชสวน',
'major_id' => '7',
'organize_id' => '16',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '4'
),
'Major' => array(
'id' => '7',
'major_no' => '4',
'major_no_fee' => '6',
'major_code' => 'HF',
'major_name' => 'พืชสวน',
'major_eng' => 'HORTICULTURE',
'major_eng2' => 'Horticulture',
'major_acronym' => 'พืชสวน',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(46, 39, 145)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '16',
'parent' => '40',
'name' => 'ภาควิชาพืชศาสตร์และปฐพีศาสตร์',
'status' => 'Y',
'old_name' => '',
'sort' => '50',
'name_shot' => 'พืชศาสตร์ฯ',
'phone' => '44040',
'order' => '8',
'group' => '2',
'level_course_fee' => '3',
'level_scholarship' => '0'
)
),
(int) 5 => array(
'Majordegree' => array(
'id' => '18',
'major_name' => 'สาขาวิชาโรคพืช',
'major_id' => '9',
'organize_id' => '2',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '2'
),
'Major' => array(
'id' => '9',
'major_no' => '2',
'major_no_fee' => '3',
'major_code' => 'HG ',
'major_name' => 'โรคพืช',
'major_eng' => 'PLANT PATHOLOGY',
'major_eng2' => 'Plant Pathology',
'major_acronym' => 'โรคพืช',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(245, 158, 216)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '2',
'parent' => '40',
'name' => 'ภาควิชากีฏวิทยาและโรคพืช',
'status' => 'Y',
'old_name' => '',
'sort' => '40',
'name_shot' => 'กีฏโรคพืช',
'phone' => '44021',
'order' => '7',
'group' => '2',
'level_course_fee' => '2',
'level_scholarship' => '0'
)
),
(int) 6 => array(
'Majordegree' => array(
'id' => '25',
'major_name' => 'สาขาวิชาส่งเสริมและเผยแพร่การเกษตร',
'major_id' => '12',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '6'
),
'Major' => array(
'id' => '12',
'major_no' => '10',
'major_no_fee' => '9',
'major_code' => 'HB',
'major_name' => 'ส่งเสริมและเผยแพร่การเกษตร',
'major_eng' => 'Agricultural Extension',
'major_eng2' => 'Agricultural Extension',
'major_acronym' => 'ส่งเสริมและเผยแพร่การเกษตร',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(224, 233, 93)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
),
(int) 7 => array(
'Majordegree' => array(
'id' => '26',
'major_name' => 'สาขาวิชาสัตวศาสตร์และสัตว์น้ำ',
'major_id' => '13',
'organize_id' => '23',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '7'
),
'Major' => array(
'id' => '13',
'major_no' => '8',
'major_no_fee' => '11',
'major_code' => null,
'major_name' => 'สัตวศาสตร์และสัตว์น้ำ',
'major_eng' => 'Animal and Aquatic Science',
'major_eng2' => 'Animal and Aquatic Science',
'major_acronym' => 'สัตวศาสตร์และสัตว์น้ำ',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(137, 185, 40)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '23',
'parent' => '40',
'name' => 'ภาควิชาสัตวศาสตร์และสัตว์น้ำ',
'status' => 'Y',
'old_name' => 'สาขาวิชาสัตวศาสตร์',
'sort' => '70',
'name_shot' => 'สัตวศาสตร์ฯ',
'phone' => '44069',
'order' => '10',
'group' => '2',
'level_course_fee' => '5',
'level_scholarship' => '0'
)
),
(int) 8 => array(
'Majordegree' => array(
'id' => '31',
'major_name' => 'สาขาวิชาปฐพีศาสตร์',
'major_id' => '18',
'organize_id' => '16',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '5'
),
'Major' => array(
'id' => '18',
'major_no' => '11',
'major_no_fee' => '7',
'major_code' => null,
'major_name' => 'ปฐพีศาสตร์',
'major_eng' => 'SOIL SCIENCE',
'major_eng2' => 'SOIL SCIENCE',
'major_acronym' => 'ปฐพีศาสตร์',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(219, 219, 85)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '16',
'parent' => '40',
'name' => 'ภาควิชาพืชศาสตร์และปฐพีศาสตร์',
'status' => 'Y',
'old_name' => '',
'sort' => '50',
'name_shot' => 'พืชศาสตร์ฯ',
'phone' => '44040',
'order' => '8',
'group' => '2',
'level_course_fee' => '3',
'level_scholarship' => '0'
)
),
(int) 9 => array(
'Majordegree' => array(
'id' => '39',
'major_name' => 'สาขาวิชาทรัพยากรป่าไม้และวนเกษตร',
'major_id' => '20',
'organize_id' => '24',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '20',
'major_no' => '14',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ทรัพยากรป่าไม้และวนเกษตร',
'major_eng' => 'Highland Agriculture and Natural Resources',
'major_eng2' => 'Highland Agriculture and Natural Resources',
'major_acronym' => 'เกษตรที่สูงและทรัพยากรธรรมชาติ',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(233, 202, 75)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '24',
'parent' => '40',
'name' => 'ภาควิชาเกษตรที่สูงและทรัพยากรธรรมชาติ',
'status' => 'Y',
'old_name' => '',
'sort' => '80',
'name_shot' => 'เกษตรที่สูงฯ',
'phone' => '44647',
'order' => '11',
'group' => '2',
'level_course_fee' => '6',
'level_scholarship' => '0'
)
),
(int) 10 => array(
'Majordegree' => array(
'id' => '40',
'major_name' => 'สาขาธุรกิจเกษตร',
'major_id' => '4',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '0',
'level' => '0',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '4',
'major_no' => '16',
'major_no_fee' => '10',
'major_code' => null,
'major_name' => 'ธุรกิจเกษตร',
'major_eng' => 'AGRIBUSINESS',
'major_eng2' => 'Agribusiness',
'major_acronym' => 'ธุรกิจเกษตร',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => 'rgb(153, 0, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
),
(int) 11 => array(
'Majordegree' => array(
'id' => '42',
'major_name' => 'สาขาวิชาเกษตรศาสตร์',
'major_id' => '17',
'organize_id' => '5',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '17',
'major_no' => '49',
'major_no_fee' => '1',
'major_code' => null,
'major_name' => 'เกษตรศาสตร์',
'major_eng' => 'Agriculture',
'major_eng2' => 'Agriculture
',
'major_acronym' => 'เกษตรศาสตร์',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(153, 0, 76)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '5',
'parent' => '1',
'name' => 'งานบริการการศึกษาและพัฒนาคุณภาพนักศึกษา',
'status' => 'Y',
'old_name' => 'งานบริการการศึกษา และพัฒนาคุณภาพนักศึกษา',
'sort' => '14',
'name_shot' => 'การศึกษา',
'phone' => '44642',
'order' => '3',
'group' => '1',
'level_course_fee' => '1',
'level_scholarship' => '1'
)
),
(int) 12 => array(
'Majordegree' => array(
'id' => '43',
'major_name' => 'สาขาวิชาเกษตรที่สูงและทรัพยากรธรรมชาติ',
'major_id' => '23',
'organize_id' => '24',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '8'
),
'Major' => array(
'id' => '23',
'major_no' => '17',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'เกษตรที่สูงและทรัพยากรธรรมชาติ',
'major_eng' => 'Highland Agriculture and Natural Resources',
'major_eng2' => 'Highland Agriculture and Natural Resources',
'major_acronym' => 'เกษตรที่สูงและทรัพยากรธรรมชาติ',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '0',
'color' => 'rgb(255, 99, 132)',
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '24',
'parent' => '40',
'name' => 'ภาควิชาเกษตรที่สูงและทรัพยากรธรรมชาติ',
'status' => 'Y',
'old_name' => '',
'sort' => '80',
'name_shot' => 'เกษตรที่สูงฯ',
'phone' => '44647',
'order' => '11',
'group' => '2',
'level_course_fee' => '6',
'level_scholarship' => '0'
)
),
(int) 13 => array(
'Majordegree' => array(
'id' => '44',
'major_name' => 'สาขาวิชาสัตวศาสตร์',
'major_id' => '11',
'organize_id' => '23',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '11',
'major_no' => '7',
'major_no_fee' => null,
'major_code' => 'HD',
'major_name' => 'สัตวศาสตร์',
'major_eng' => 'ANIMAL SCIENCE',
'major_eng2' => 'Animal Science',
'major_acronym' => 'สัตวศาสตร์',
'major_level' => '1',
'major_degree_id' => null,
'major_show_graph_id' => '1',
'color' => 'rgb(26, 139, 45)',
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '23',
'parent' => '40',
'name' => 'ภาควิชาสัตวศาสตร์และสัตว์น้ำ',
'status' => 'Y',
'old_name' => 'สาขาวิชาสัตวศาสตร์',
'sort' => '70',
'name_shot' => 'สัตวศาสตร์ฯ',
'phone' => '44069',
'order' => '10',
'group' => '2',
'level_course_fee' => '5',
'level_scholarship' => '0'
)
),
(int) 14 => array(
'Majordegree' => array(
'id' => '46',
'major_name' => 'สาขาวิชาผู้ประกอบการด้านเกษตรอัจฉริยะและอาหาร',
'major_id' => '25',
'organize_id' => null,
'degree_id' => '1',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => null,
'order' => '15',
'order_select_major' => '9'
),
'Major' => array(
'id' => '25',
'major_no' => '20',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ผู้ประกอบการด้านเกษตรอัจฉริยะและอาหาร',
'major_eng' => 'Smart Agriculture and Food Entrepreneur',
'major_eng2' => 'Smart Agriculture and Food Entrepreneur',
'major_acronym' => null,
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '0',
'color' => null,
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => null,
'parent' => null,
'name' => null,
'status' => null,
'old_name' => null,
'sort' => null,
'name_shot' => null,
'phone' => null,
'order' => null,
'group' => null,
'level_course_fee' => null,
'level_scholarship' => null
)
),
(int) 15 => array(
'Majordegree' => array(
'id' => '47',
'major_name' => 'สาขาวิชาเศรษฐศาสตร์เกษตรและธุรกิจเกษตร',
'major_id' => '26',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '26',
'major_no' => '21',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'เศรษฐศาสตร์เกษตรและธุรกิจเกษตร',
'major_eng' => null,
'major_eng2' => null,
'major_acronym' => null,
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(76, 0, 153)',
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
),
(int) 16 => array(
'Majordegree' => array(
'id' => '50',
'major_name' => 'สาขาวิชาวิทยาศาสตร์การประมง',
'major_id' => '28',
'organize_id' => '23',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '28',
'major_no' => '9',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'วิทยาศาสตร์การประมง',
'major_eng' => null,
'major_eng2' => null,
'major_acronym' => null,
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => null,
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '23',
'parent' => '40',
'name' => 'ภาควิชาสัตวศาสตร์และสัตว์น้ำ',
'status' => 'Y',
'old_name' => 'สาขาวิชาสัตวศาสตร์',
'sort' => '70',
'name_shot' => 'สัตวศาสตร์ฯ',
'phone' => '44069',
'order' => '10',
'group' => '2',
'level_course_fee' => '5',
'level_scholarship' => '0'
)
)
)
$major = array(
'Majordegree' => array(
'id' => '1',
'major_name' => 'สาขาวิชาเศรษฐศาสตร์เกษตร',
'major_id' => '1',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '1',
'major_no' => '5',
'major_no_fee' => '8',
'major_code' => 'HA',
'major_name' => 'เศรษฐศาสตร์เกษตร',
'major_eng' => 'AGRICULTURAL ECONOMICS',
'major_eng2' => 'Agricultural Economics',
'major_acronym' => 'เศรษฐศาสตร์เกษตร',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(255, 128, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
)
$yearId = '66'
$yearIdmin1 = '660000000'
$yearIdmax1 = '669999999'
$yearIdmin2 = '650000000'
$yearIdmax2 = '659999999'
$yearIdmin3 = '640000000'
$yearIdmax3 = '649999999'
$yearIdmin4 = '630000000'
$yearIdmax4 = '639999999'
$yearIdmin5 = '620000000'
$yearIdmax5 = '629999999'
$yearIdmin6 = '610000000'
$yearIdmax6 = '619999999'
$yearIdmin7 = '600000000'
$yearIdmax7 = '609999999'
$yearIdmin8 = '590000000'
$yearIdmax8 = '599999999'
$yearIdmin9 = '580000000'
$yearIdmax9 = '589999999'
$yearIdmin10 = '570000000'
$yearIdmax10 = '579999999'
$total = (int) 0
StudentsController::list_student_by_division_student() - APP\Controller\StudentsController.php, line 15326
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE\Cake\Controller\Controller.php, line 490
Dispatcher::_invoke() - CORE\Cake\Routing\Dispatcher.php, line 191
Dispatcher::dispatch() - CORE\Cake\Routing\Dispatcher.php, line 165
require - APP\webroot\index.php, line 108
[main] - ROOT\index.php, line 41
Notice (8): Undefined variable: output31 [APP\Controller\StudentsController.php, line 15351]Code Context }
if ($output31== null) {
$yearList = '2565'
$term = '2'
$degree_id = '1'
$UserName = null
$admins = null
$lastYearTerms = array(
'Yearterm' => array(
'id' => '35',
'year' => '2567',
'term' => '2',
'trm' => '672',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2567',
'postdate' => '2024-11-11',
'level' => '1'
)
)
$degreedropdowns = array(
(int) 0 => array(
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
)
),
(int) 1 => array(
'Degree' => array(
'id' => '3',
'degree_name' => 'ปริญญาโท',
'degree_name_en' => 'Master's degree'
)
),
(int) 2 => array(
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
)
)
)
$dropdowns = array(
(int) 0 => array(
'Yearterm' => array(
'id' => '35',
'year' => '2567',
'term' => '2',
'trm' => '672',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2567',
'postdate' => '2024-11-11',
'level' => '1'
)
),
(int) 1 => array(
'Yearterm' => array(
'id' => '34',
'year' => '2567',
'term' => '1',
'trm' => '671',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2567',
'postdate' => '2024-07-05',
'level' => '1'
)
),
(int) 2 => array(
'Yearterm' => array(
'id' => '33',
'year' => '2566',
'term' => '3',
'trm' => '663',
'name' => 'ภาคการศึกษาที่ 3 ปีการศึกษา 2566',
'postdate' => '2024-05-15',
'level' => '1'
)
),
(int) 3 => array(
'Yearterm' => array(
'id' => '32',
'year' => '2566',
'term' => '2',
'trm' => '662',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2566',
'postdate' => '2023-12-06',
'level' => '1'
)
),
(int) 4 => array(
'Yearterm' => array(
'id' => '31',
'year' => '2566',
'term' => '1',
'trm' => '661',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2566',
'postdate' => '2023-07-06',
'level' => '1'
)
),
(int) 5 => array(
'Yearterm' => array(
'id' => '30',
'year' => '2565',
'term' => '3',
'trm' => '653',
'name' => 'ภาคการศึกษาที่ 3 ปีการศึกษา 2565',
'postdate' => '2023-05-01',
'level' => '1'
)
),
(int) 6 => array(
'Yearterm' => array(
'id' => '29',
'year' => '2565',
'term' => '2',
'trm' => '652',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2565',
'postdate' => '2022-12-09',
'level' => '1'
)
),
(int) 7 => array(
'Yearterm' => array(
'id' => '28',
'year' => '2565',
'term' => '1',
'trm' => '651',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2565',
'postdate' => '2022-07-20',
'level' => '1'
)
),
(int) 8 => array(
'Yearterm' => array(
'id' => '27',
'year' => '2564',
'term' => '3',
'trm' => '643',
'name' => 'ภาคการศึกษาที่ 3 ปีการศึกษา 2564',
'postdate' => '2022-03-28',
'level' => '1'
)
),
(int) 9 => array(
'Yearterm' => array(
'id' => '26',
'year' => '2564',
'term' => '2',
'trm' => '642',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2564',
'postdate' => '2022-03-27',
'level' => '1'
)
),
(int) 10 => array(
'Yearterm' => array(
'id' => '25',
'year' => '2564',
'term' => '1',
'trm' => '641',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2564',
'postdate' => '2021-07-07',
'level' => '1'
)
),
(int) 11 => array(
'Yearterm' => array(
'id' => '24',
'year' => '2563',
'term' => '3',
'trm' => '633',
'name' => 'ภาคการศึกษาที่ 3 ปีการศึกษา 2563',
'postdate' => '2021-05-06',
'level' => '1'
)
)
)
$findStudentInNewTerm = array(
'Studentterm' => array(
'term_year' => '2565',
'term_id' => '2',
'student_id' => '660851005'
)
)
$years = array(
(int) 0 => array(
'Yearterm' => array(
'id' => '29',
'year' => '2565',
'term' => '2',
'trm' => '652',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2565',
'postdate' => '2022-12-09',
'level' => '1'
)
)
)
$countstudentTerm = (int) 1663
$output = '
<tr>
<td style="text-align:left;">เศรษฐศาสตร์เกษตร</td><td>-</td><td>-</td>'
$totals1 = (int) 0
$totals2 = (int) 0
$totals3 = (int) 0
$totals4 = (int) 0
$totals5 = (int) 0
$totals6 = (int) 0
$totals7 = (int) 0
$totals8 = (int) 0
$totals9 = (int) 0
$totals10 = (int) 0
$output3 = ''
$totals13 = (int) 0
$totals23 = (int) 0
$totals33 = (int) 0
$totals43 = (int) 0
$totals53 = (int) 0
$totals63 = (int) 0
$totals73 = (int) 0
$totals83 = (int) 0
$totals93 = (int) 0
$totals103 = (int) 0
$output5 = ''
$totals15 = (int) 0
$totals25 = (int) 0
$totals35 = (int) 0
$totals45 = (int) 0
$totals55 = (int) 0
$totals65 = (int) 0
$totals75 = (int) 0
$totals85 = (int) 0
$totals95 = (int) 0
$totals105 = (int) 0
$totals115 = (int) 0
$majors = array(
(int) 0 => array(
'Majordegree' => array(
'id' => '1',
'major_name' => 'สาขาวิชาเศรษฐศาสตร์เกษตร',
'major_id' => '1',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '1',
'major_no' => '5',
'major_no_fee' => '8',
'major_code' => 'HA',
'major_name' => 'เศรษฐศาสตร์เกษตร',
'major_eng' => 'AGRICULTURAL ECONOMICS',
'major_eng2' => 'Agricultural Economics',
'major_acronym' => 'เศรษฐศาสตร์เกษตร',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(255, 128, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
),
(int) 1 => array(
'Majordegree' => array(
'id' => '5',
'major_name' => 'สาขาวิชากีฏวิทยา',
'major_id' => '3',
'organize_id' => '2',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '1'
),
'Major' => array(
'id' => '3',
'major_no' => '1',
'major_no_fee' => '2',
'major_code' => 'HE',
'major_name' => 'กีฏวิทยา',
'major_eng' => 'ENTOMOLOGY',
'major_eng2' => 'Entomology',
'major_acronym' => 'กีฏวิทยา',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(75, 190, 115)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '2',
'parent' => '40',
'name' => 'ภาควิชากีฏวิทยาและโรคพืช',
'status' => 'Y',
'old_name' => '',
'sort' => '40',
'name_shot' => 'กีฏโรคพืช',
'phone' => '44021',
'order' => '7',
'group' => '2',
'level_course_fee' => '2',
'level_scholarship' => '0'
)
),
(int) 2 => array(
'Majordegree' => array(
'id' => '9',
'major_name' => 'สาขาวิชาปฐพีศาสตร์และการจัดการทรัพยากรธรรมชาติ',
'major_id' => '5',
'organize_id' => '16',
'degree_id' => '1',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '5',
'major_no' => '6',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ปฐพีศาสตร์และการจัดการทรัพยากรธรรมชาติ',
'major_eng' => 'SOIL SCIENCE AND NATURAL RESOURCE MANAG',
'major_eng2' => 'Soil Science and Natural Resource Management',
'major_acronym' => 'ปฐพีศาสตร์ฯ',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => null,
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '16',
'parent' => '40',
'name' => 'ภาควิชาพืชศาสตร์และปฐพีศาสตร์',
'status' => 'Y',
'old_name' => '',
'sort' => '50',
'name_shot' => 'พืชศาสตร์ฯ',
'phone' => '44040',
'order' => '8',
'group' => '2',
'level_course_fee' => '3',
'level_scholarship' => '0'
)
),
(int) 3 => array(
'Majordegree' => array(
'id' => '12',
'major_name' => 'สาขาวิชาพืชไร่',
'major_id' => '6',
'organize_id' => '16',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '3'
),
'Major' => array(
'id' => '6',
'major_no' => '3',
'major_no_fee' => '5',
'major_code' => 'HC',
'major_name' => 'พืชไร่',
'major_eng' => 'AGRONOMY',
'major_eng2' => 'Agronomy',
'major_acronym' => 'พืชไร่',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(150, 21, 182)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '16',
'parent' => '40',
'name' => 'ภาควิชาพืชศาสตร์และปฐพีศาสตร์',
'status' => 'Y',
'old_name' => '',
'sort' => '50',
'name_shot' => 'พืชศาสตร์ฯ',
'phone' => '44040',
'order' => '8',
'group' => '2',
'level_course_fee' => '3',
'level_scholarship' => '0'
)
),
(int) 4 => array(
'Majordegree' => array(
'id' => '15',
'major_name' => 'สาขาวิชาพืชสวน',
'major_id' => '7',
'organize_id' => '16',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '4'
),
'Major' => array(
'id' => '7',
'major_no' => '4',
'major_no_fee' => '6',
'major_code' => 'HF',
'major_name' => 'พืชสวน',
'major_eng' => 'HORTICULTURE',
'major_eng2' => 'Horticulture',
'major_acronym' => 'พืชสวน',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(46, 39, 145)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '16',
'parent' => '40',
'name' => 'ภาควิชาพืชศาสตร์และปฐพีศาสตร์',
'status' => 'Y',
'old_name' => '',
'sort' => '50',
'name_shot' => 'พืชศาสตร์ฯ',
'phone' => '44040',
'order' => '8',
'group' => '2',
'level_course_fee' => '3',
'level_scholarship' => '0'
)
),
(int) 5 => array(
'Majordegree' => array(
'id' => '18',
'major_name' => 'สาขาวิชาโรคพืช',
'major_id' => '9',
'organize_id' => '2',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '2'
),
'Major' => array(
'id' => '9',
'major_no' => '2',
'major_no_fee' => '3',
'major_code' => 'HG ',
'major_name' => 'โรคพืช',
'major_eng' => 'PLANT PATHOLOGY',
'major_eng2' => 'Plant Pathology',
'major_acronym' => 'โรคพืช',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(245, 158, 216)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '2',
'parent' => '40',
'name' => 'ภาควิชากีฏวิทยาและโรคพืช',
'status' => 'Y',
'old_name' => '',
'sort' => '40',
'name_shot' => 'กีฏโรคพืช',
'phone' => '44021',
'order' => '7',
'group' => '2',
'level_course_fee' => '2',
'level_scholarship' => '0'
)
),
(int) 6 => array(
'Majordegree' => array(
'id' => '25',
'major_name' => 'สาขาวิชาส่งเสริมและเผยแพร่การเกษตร',
'major_id' => '12',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '6'
),
'Major' => array(
'id' => '12',
'major_no' => '10',
'major_no_fee' => '9',
'major_code' => 'HB',
'major_name' => 'ส่งเสริมและเผยแพร่การเกษตร',
'major_eng' => 'Agricultural Extension',
'major_eng2' => 'Agricultural Extension',
'major_acronym' => 'ส่งเสริมและเผยแพร่การเกษตร',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(224, 233, 93)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
),
(int) 7 => array(
'Majordegree' => array(
'id' => '26',
'major_name' => 'สาขาวิชาสัตวศาสตร์และสัตว์น้ำ',
'major_id' => '13',
'organize_id' => '23',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '7'
),
'Major' => array(
'id' => '13',
'major_no' => '8',
'major_no_fee' => '11',
'major_code' => null,
'major_name' => 'สัตวศาสตร์และสัตว์น้ำ',
'major_eng' => 'Animal and Aquatic Science',
'major_eng2' => 'Animal and Aquatic Science',
'major_acronym' => 'สัตวศาสตร์และสัตว์น้ำ',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(137, 185, 40)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '23',
'parent' => '40',
'name' => 'ภาควิชาสัตวศาสตร์และสัตว์น้ำ',
'status' => 'Y',
'old_name' => 'สาขาวิชาสัตวศาสตร์',
'sort' => '70',
'name_shot' => 'สัตวศาสตร์ฯ',
'phone' => '44069',
'order' => '10',
'group' => '2',
'level_course_fee' => '5',
'level_scholarship' => '0'
)
),
(int) 8 => array(
'Majordegree' => array(
'id' => '31',
'major_name' => 'สาขาวิชาปฐพีศาสตร์',
'major_id' => '18',
'organize_id' => '16',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '5'
),
'Major' => array(
'id' => '18',
'major_no' => '11',
'major_no_fee' => '7',
'major_code' => null,
'major_name' => 'ปฐพีศาสตร์',
'major_eng' => 'SOIL SCIENCE',
'major_eng2' => 'SOIL SCIENCE',
'major_acronym' => 'ปฐพีศาสตร์',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(219, 219, 85)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '16',
'parent' => '40',
'name' => 'ภาควิชาพืชศาสตร์และปฐพีศาสตร์',
'status' => 'Y',
'old_name' => '',
'sort' => '50',
'name_shot' => 'พืชศาสตร์ฯ',
'phone' => '44040',
'order' => '8',
'group' => '2',
'level_course_fee' => '3',
'level_scholarship' => '0'
)
),
(int) 9 => array(
'Majordegree' => array(
'id' => '39',
'major_name' => 'สาขาวิชาทรัพยากรป่าไม้และวนเกษตร',
'major_id' => '20',
'organize_id' => '24',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '20',
'major_no' => '14',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ทรัพยากรป่าไม้และวนเกษตร',
'major_eng' => 'Highland Agriculture and Natural Resources',
'major_eng2' => 'Highland Agriculture and Natural Resources',
'major_acronym' => 'เกษตรที่สูงและทรัพยากรธรรมชาติ',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(233, 202, 75)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '24',
'parent' => '40',
'name' => 'ภาควิชาเกษตรที่สูงและทรัพยากรธรรมชาติ',
'status' => 'Y',
'old_name' => '',
'sort' => '80',
'name_shot' => 'เกษตรที่สูงฯ',
'phone' => '44647',
'order' => '11',
'group' => '2',
'level_course_fee' => '6',
'level_scholarship' => '0'
)
),
(int) 10 => array(
'Majordegree' => array(
'id' => '40',
'major_name' => 'สาขาธุรกิจเกษตร',
'major_id' => '4',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '0',
'level' => '0',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '4',
'major_no' => '16',
'major_no_fee' => '10',
'major_code' => null,
'major_name' => 'ธุรกิจเกษตร',
'major_eng' => 'AGRIBUSINESS',
'major_eng2' => 'Agribusiness',
'major_acronym' => 'ธุรกิจเกษตร',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => 'rgb(153, 0, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
),
(int) 11 => array(
'Majordegree' => array(
'id' => '42',
'major_name' => 'สาขาวิชาเกษตรศาสตร์',
'major_id' => '17',
'organize_id' => '5',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '17',
'major_no' => '49',
'major_no_fee' => '1',
'major_code' => null,
'major_name' => 'เกษตรศาสตร์',
'major_eng' => 'Agriculture',
'major_eng2' => 'Agriculture
',
'major_acronym' => 'เกษตรศาสตร์',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(153, 0, 76)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '5',
'parent' => '1',
'name' => 'งานบริการการศึกษาและพัฒนาคุณภาพนักศึกษา',
'status' => 'Y',
'old_name' => 'งานบริการการศึกษา และพัฒนาคุณภาพนักศึกษา',
'sort' => '14',
'name_shot' => 'การศึกษา',
'phone' => '44642',
'order' => '3',
'group' => '1',
'level_course_fee' => '1',
'level_scholarship' => '1'
)
),
(int) 12 => array(
'Majordegree' => array(
'id' => '43',
'major_name' => 'สาขาวิชาเกษตรที่สูงและทรัพยากรธรรมชาติ',
'major_id' => '23',
'organize_id' => '24',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '8'
),
'Major' => array(
'id' => '23',
'major_no' => '17',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'เกษตรที่สูงและทรัพยากรธรรมชาติ',
'major_eng' => 'Highland Agriculture and Natural Resources',
'major_eng2' => 'Highland Agriculture and Natural Resources',
'major_acronym' => 'เกษตรที่สูงและทรัพยากรธรรมชาติ',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '0',
'color' => 'rgb(255, 99, 132)',
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '24',
'parent' => '40',
'name' => 'ภาควิชาเกษตรที่สูงและทรัพยากรธรรมชาติ',
'status' => 'Y',
'old_name' => '',
'sort' => '80',
'name_shot' => 'เกษตรที่สูงฯ',
'phone' => '44647',
'order' => '11',
'group' => '2',
'level_course_fee' => '6',
'level_scholarship' => '0'
)
),
(int) 13 => array(
'Majordegree' => array(
'id' => '44',
'major_name' => 'สาขาวิชาสัตวศาสตร์',
'major_id' => '11',
'organize_id' => '23',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '11',
'major_no' => '7',
'major_no_fee' => null,
'major_code' => 'HD',
'major_name' => 'สัตวศาสตร์',
'major_eng' => 'ANIMAL SCIENCE',
'major_eng2' => 'Animal Science',
'major_acronym' => 'สัตวศาสตร์',
'major_level' => '1',
'major_degree_id' => null,
'major_show_graph_id' => '1',
'color' => 'rgb(26, 139, 45)',
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '23',
'parent' => '40',
'name' => 'ภาควิชาสัตวศาสตร์และสัตว์น้ำ',
'status' => 'Y',
'old_name' => 'สาขาวิชาสัตวศาสตร์',
'sort' => '70',
'name_shot' => 'สัตวศาสตร์ฯ',
'phone' => '44069',
'order' => '10',
'group' => '2',
'level_course_fee' => '5',
'level_scholarship' => '0'
)
),
(int) 14 => array(
'Majordegree' => array(
'id' => '46',
'major_name' => 'สาขาวิชาผู้ประกอบการด้านเกษตรอัจฉริยะและอาหาร',
'major_id' => '25',
'organize_id' => null,
'degree_id' => '1',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => null,
'order' => '15',
'order_select_major' => '9'
),
'Major' => array(
'id' => '25',
'major_no' => '20',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ผู้ประกอบการด้านเกษตรอัจฉริยะและอาหาร',
'major_eng' => 'Smart Agriculture and Food Entrepreneur',
'major_eng2' => 'Smart Agriculture and Food Entrepreneur',
'major_acronym' => null,
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '0',
'color' => null,
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => null,
'parent' => null,
'name' => null,
'status' => null,
'old_name' => null,
'sort' => null,
'name_shot' => null,
'phone' => null,
'order' => null,
'group' => null,
'level_course_fee' => null,
'level_scholarship' => null
)
),
(int) 15 => array(
'Majordegree' => array(
'id' => '47',
'major_name' => 'สาขาวิชาเศรษฐศาสตร์เกษตรและธุรกิจเกษตร',
'major_id' => '26',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '26',
'major_no' => '21',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'เศรษฐศาสตร์เกษตรและธุรกิจเกษตร',
'major_eng' => null,
'major_eng2' => null,
'major_acronym' => null,
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(76, 0, 153)',
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
),
(int) 16 => array(
'Majordegree' => array(
'id' => '50',
'major_name' => 'สาขาวิชาวิทยาศาสตร์การประมง',
'major_id' => '28',
'organize_id' => '23',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '28',
'major_no' => '9',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'วิทยาศาสตร์การประมง',
'major_eng' => null,
'major_eng2' => null,
'major_acronym' => null,
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => null,
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '23',
'parent' => '40',
'name' => 'ภาควิชาสัตวศาสตร์และสัตว์น้ำ',
'status' => 'Y',
'old_name' => 'สาขาวิชาสัตวศาสตร์',
'sort' => '70',
'name_shot' => 'สัตวศาสตร์ฯ',
'phone' => '44069',
'order' => '10',
'group' => '2',
'level_course_fee' => '5',
'level_scholarship' => '0'
)
)
)
$major = array(
'Majordegree' => array(
'id' => '1',
'major_name' => 'สาขาวิชาเศรษฐศาสตร์เกษตร',
'major_id' => '1',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '1',
'major_no' => '5',
'major_no_fee' => '8',
'major_code' => 'HA',
'major_name' => 'เศรษฐศาสตร์เกษตร',
'major_eng' => 'AGRICULTURAL ECONOMICS',
'major_eng2' => 'Agricultural Economics',
'major_acronym' => 'เศรษฐศาสตร์เกษตร',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(255, 128, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
)
$yearId = '66'
$yearIdmin1 = '660000000'
$yearIdmax1 = '669999999'
$yearIdmin2 = '650000000'
$yearIdmax2 = '659999999'
$yearIdmin3 = '640000000'
$yearIdmax3 = '649999999'
$yearIdmin4 = '630000000'
$yearIdmax4 = '639999999'
$yearIdmin5 = '620000000'
$yearIdmax5 = '629999999'
$yearIdmin6 = '610000000'
$yearIdmax6 = '619999999'
$yearIdmin7 = '600000000'
$yearIdmax7 = '609999999'
$yearIdmin8 = '590000000'
$yearIdmax8 = '599999999'
$yearIdmin9 = '580000000'
$yearIdmax9 = '589999999'
$yearIdmin10 = '570000000'
$yearIdmax10 = '579999999'
$total = (int) 0
StudentsController::list_student_by_division_student() - APP\Controller\StudentsController.php, line 15351
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE\Cake\Controller\Controller.php, line 490
Dispatcher::_invoke() - CORE\Cake\Routing\Dispatcher.php, line 191
Dispatcher::dispatch() - CORE\Cake\Routing\Dispatcher.php, line 165
require - APP\webroot\index.php, line 108
[main] - ROOT\index.php, line 41
Notice (8): Undefined variable: output4 [APP\Controller\StudentsController.php, line 15375]Code Context }
if ($output4== null) {
$yearList = '2565'
$term = '2'
$degree_id = '1'
$UserName = null
$admins = null
$lastYearTerms = array(
'Yearterm' => array(
'id' => '35',
'year' => '2567',
'term' => '2',
'trm' => '672',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2567',
'postdate' => '2024-11-11',
'level' => '1'
)
)
$degreedropdowns = array(
(int) 0 => array(
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
)
),
(int) 1 => array(
'Degree' => array(
'id' => '3',
'degree_name' => 'ปริญญาโท',
'degree_name_en' => 'Master's degree'
)
),
(int) 2 => array(
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
)
)
)
$dropdowns = array(
(int) 0 => array(
'Yearterm' => array(
'id' => '35',
'year' => '2567',
'term' => '2',
'trm' => '672',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2567',
'postdate' => '2024-11-11',
'level' => '1'
)
),
(int) 1 => array(
'Yearterm' => array(
'id' => '34',
'year' => '2567',
'term' => '1',
'trm' => '671',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2567',
'postdate' => '2024-07-05',
'level' => '1'
)
),
(int) 2 => array(
'Yearterm' => array(
'id' => '33',
'year' => '2566',
'term' => '3',
'trm' => '663',
'name' => 'ภาคการศึกษาที่ 3 ปีการศึกษา 2566',
'postdate' => '2024-05-15',
'level' => '1'
)
),
(int) 3 => array(
'Yearterm' => array(
'id' => '32',
'year' => '2566',
'term' => '2',
'trm' => '662',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2566',
'postdate' => '2023-12-06',
'level' => '1'
)
),
(int) 4 => array(
'Yearterm' => array(
'id' => '31',
'year' => '2566',
'term' => '1',
'trm' => '661',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2566',
'postdate' => '2023-07-06',
'level' => '1'
)
),
(int) 5 => array(
'Yearterm' => array(
'id' => '30',
'year' => '2565',
'term' => '3',
'trm' => '653',
'name' => 'ภาคการศึกษาที่ 3 ปีการศึกษา 2565',
'postdate' => '2023-05-01',
'level' => '1'
)
),
(int) 6 => array(
'Yearterm' => array(
'id' => '29',
'year' => '2565',
'term' => '2',
'trm' => '652',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2565',
'postdate' => '2022-12-09',
'level' => '1'
)
),
(int) 7 => array(
'Yearterm' => array(
'id' => '28',
'year' => '2565',
'term' => '1',
'trm' => '651',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2565',
'postdate' => '2022-07-20',
'level' => '1'
)
),
(int) 8 => array(
'Yearterm' => array(
'id' => '27',
'year' => '2564',
'term' => '3',
'trm' => '643',
'name' => 'ภาคการศึกษาที่ 3 ปีการศึกษา 2564',
'postdate' => '2022-03-28',
'level' => '1'
)
),
(int) 9 => array(
'Yearterm' => array(
'id' => '26',
'year' => '2564',
'term' => '2',
'trm' => '642',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2564',
'postdate' => '2022-03-27',
'level' => '1'
)
),
(int) 10 => array(
'Yearterm' => array(
'id' => '25',
'year' => '2564',
'term' => '1',
'trm' => '641',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2564',
'postdate' => '2021-07-07',
'level' => '1'
)
),
(int) 11 => array(
'Yearterm' => array(
'id' => '24',
'year' => '2563',
'term' => '3',
'trm' => '633',
'name' => 'ภาคการศึกษาที่ 3 ปีการศึกษา 2563',
'postdate' => '2021-05-06',
'level' => '1'
)
)
)
$findStudentInNewTerm = array(
'Studentterm' => array(
'term_year' => '2565',
'term_id' => '2',
'student_id' => '660851005'
)
)
$years = array(
(int) 0 => array(
'Yearterm' => array(
'id' => '29',
'year' => '2565',
'term' => '2',
'trm' => '652',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2565',
'postdate' => '2022-12-09',
'level' => '1'
)
)
)
$countstudentTerm = (int) 1663
$output = '
<tr>
<td style="text-align:left;">เศรษฐศาสตร์เกษตร</td><td>-</td><td>-</td><td>-</td>'
$totals1 = (int) 0
$totals2 = (int) 0
$totals3 = (int) 0
$totals4 = (int) 0
$totals5 = (int) 0
$totals6 = (int) 0
$totals7 = (int) 0
$totals8 = (int) 0
$totals9 = (int) 0
$totals10 = (int) 0
$output3 = ''
$totals13 = (int) 0
$totals23 = (int) 0
$totals33 = (int) 0
$totals43 = (int) 0
$totals53 = (int) 0
$totals63 = (int) 0
$totals73 = (int) 0
$totals83 = (int) 0
$totals93 = (int) 0
$totals103 = (int) 0
$output5 = ''
$totals15 = (int) 0
$totals25 = (int) 0
$totals35 = (int) 0
$totals45 = (int) 0
$totals55 = (int) 0
$totals65 = (int) 0
$totals75 = (int) 0
$totals85 = (int) 0
$totals95 = (int) 0
$totals105 = (int) 0
$totals115 = (int) 0
$majors = array(
(int) 0 => array(
'Majordegree' => array(
'id' => '1',
'major_name' => 'สาขาวิชาเศรษฐศาสตร์เกษตร',
'major_id' => '1',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '1',
'major_no' => '5',
'major_no_fee' => '8',
'major_code' => 'HA',
'major_name' => 'เศรษฐศาสตร์เกษตร',
'major_eng' => 'AGRICULTURAL ECONOMICS',
'major_eng2' => 'Agricultural Economics',
'major_acronym' => 'เศรษฐศาสตร์เกษตร',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(255, 128, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
),
(int) 1 => array(
'Majordegree' => array(
'id' => '5',
'major_name' => 'สาขาวิชากีฏวิทยา',
'major_id' => '3',
'organize_id' => '2',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '1'
),
'Major' => array(
'id' => '3',
'major_no' => '1',
'major_no_fee' => '2',
'major_code' => 'HE',
'major_name' => 'กีฏวิทยา',
'major_eng' => 'ENTOMOLOGY',
'major_eng2' => 'Entomology',
'major_acronym' => 'กีฏวิทยา',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(75, 190, 115)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '2',
'parent' => '40',
'name' => 'ภาควิชากีฏวิทยาและโรคพืช',
'status' => 'Y',
'old_name' => '',
'sort' => '40',
'name_shot' => 'กีฏโรคพืช',
'phone' => '44021',
'order' => '7',
'group' => '2',
'level_course_fee' => '2',
'level_scholarship' => '0'
)
),
(int) 2 => array(
'Majordegree' => array(
'id' => '9',
'major_name' => 'สาขาวิชาปฐพีศาสตร์และการจัดการทรัพยากรธรรมชาติ',
'major_id' => '5',
'organize_id' => '16',
'degree_id' => '1',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '5',
'major_no' => '6',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ปฐพีศาสตร์และการจัดการทรัพยากรธรรมชาติ',
'major_eng' => 'SOIL SCIENCE AND NATURAL RESOURCE MANAG',
'major_eng2' => 'Soil Science and Natural Resource Management',
'major_acronym' => 'ปฐพีศาสตร์ฯ',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => null,
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '16',
'parent' => '40',
'name' => 'ภาควิชาพืชศาสตร์และปฐพีศาสตร์',
'status' => 'Y',
'old_name' => '',
'sort' => '50',
'name_shot' => 'พืชศาสตร์ฯ',
'phone' => '44040',
'order' => '8',
'group' => '2',
'level_course_fee' => '3',
'level_scholarship' => '0'
)
),
(int) 3 => array(
'Majordegree' => array(
'id' => '12',
'major_name' => 'สาขาวิชาพืชไร่',
'major_id' => '6',
'organize_id' => '16',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '3'
),
'Major' => array(
'id' => '6',
'major_no' => '3',
'major_no_fee' => '5',
'major_code' => 'HC',
'major_name' => 'พืชไร่',
'major_eng' => 'AGRONOMY',
'major_eng2' => 'Agronomy',
'major_acronym' => 'พืชไร่',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(150, 21, 182)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '16',
'parent' => '40',
'name' => 'ภาควิชาพืชศาสตร์และปฐพีศาสตร์',
'status' => 'Y',
'old_name' => '',
'sort' => '50',
'name_shot' => 'พืชศาสตร์ฯ',
'phone' => '44040',
'order' => '8',
'group' => '2',
'level_course_fee' => '3',
'level_scholarship' => '0'
)
),
(int) 4 => array(
'Majordegree' => array(
'id' => '15',
'major_name' => 'สาขาวิชาพืชสวน',
'major_id' => '7',
'organize_id' => '16',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '4'
),
'Major' => array(
'id' => '7',
'major_no' => '4',
'major_no_fee' => '6',
'major_code' => 'HF',
'major_name' => 'พืชสวน',
'major_eng' => 'HORTICULTURE',
'major_eng2' => 'Horticulture',
'major_acronym' => 'พืชสวน',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(46, 39, 145)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '16',
'parent' => '40',
'name' => 'ภาควิชาพืชศาสตร์และปฐพีศาสตร์',
'status' => 'Y',
'old_name' => '',
'sort' => '50',
'name_shot' => 'พืชศาสตร์ฯ',
'phone' => '44040',
'order' => '8',
'group' => '2',
'level_course_fee' => '3',
'level_scholarship' => '0'
)
),
(int) 5 => array(
'Majordegree' => array(
'id' => '18',
'major_name' => 'สาขาวิชาโรคพืช',
'major_id' => '9',
'organize_id' => '2',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '2'
),
'Major' => array(
'id' => '9',
'major_no' => '2',
'major_no_fee' => '3',
'major_code' => 'HG ',
'major_name' => 'โรคพืช',
'major_eng' => 'PLANT PATHOLOGY',
'major_eng2' => 'Plant Pathology',
'major_acronym' => 'โรคพืช',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(245, 158, 216)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '2',
'parent' => '40',
'name' => 'ภาควิชากีฏวิทยาและโรคพืช',
'status' => 'Y',
'old_name' => '',
'sort' => '40',
'name_shot' => 'กีฏโรคพืช',
'phone' => '44021',
'order' => '7',
'group' => '2',
'level_course_fee' => '2',
'level_scholarship' => '0'
)
),
(int) 6 => array(
'Majordegree' => array(
'id' => '25',
'major_name' => 'สาขาวิชาส่งเสริมและเผยแพร่การเกษตร',
'major_id' => '12',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '6'
),
'Major' => array(
'id' => '12',
'major_no' => '10',
'major_no_fee' => '9',
'major_code' => 'HB',
'major_name' => 'ส่งเสริมและเผยแพร่การเกษตร',
'major_eng' => 'Agricultural Extension',
'major_eng2' => 'Agricultural Extension',
'major_acronym' => 'ส่งเสริมและเผยแพร่การเกษตร',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(224, 233, 93)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
),
(int) 7 => array(
'Majordegree' => array(
'id' => '26',
'major_name' => 'สาขาวิชาสัตวศาสตร์และสัตว์น้ำ',
'major_id' => '13',
'organize_id' => '23',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '7'
),
'Major' => array(
'id' => '13',
'major_no' => '8',
'major_no_fee' => '11',
'major_code' => null,
'major_name' => 'สัตวศาสตร์และสัตว์น้ำ',
'major_eng' => 'Animal and Aquatic Science',
'major_eng2' => 'Animal and Aquatic Science',
'major_acronym' => 'สัตวศาสตร์และสัตว์น้ำ',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(137, 185, 40)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '23',
'parent' => '40',
'name' => 'ภาควิชาสัตวศาสตร์และสัตว์น้ำ',
'status' => 'Y',
'old_name' => 'สาขาวิชาสัตวศาสตร์',
'sort' => '70',
'name_shot' => 'สัตวศาสตร์ฯ',
'phone' => '44069',
'order' => '10',
'group' => '2',
'level_course_fee' => '5',
'level_scholarship' => '0'
)
),
(int) 8 => array(
'Majordegree' => array(
'id' => '31',
'major_name' => 'สาขาวิชาปฐพีศาสตร์',
'major_id' => '18',
'organize_id' => '16',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '5'
),
'Major' => array(
'id' => '18',
'major_no' => '11',
'major_no_fee' => '7',
'major_code' => null,
'major_name' => 'ปฐพีศาสตร์',
'major_eng' => 'SOIL SCIENCE',
'major_eng2' => 'SOIL SCIENCE',
'major_acronym' => 'ปฐพีศาสตร์',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(219, 219, 85)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '16',
'parent' => '40',
'name' => 'ภาควิชาพืชศาสตร์และปฐพีศาสตร์',
'status' => 'Y',
'old_name' => '',
'sort' => '50',
'name_shot' => 'พืชศาสตร์ฯ',
'phone' => '44040',
'order' => '8',
'group' => '2',
'level_course_fee' => '3',
'level_scholarship' => '0'
)
),
(int) 9 => array(
'Majordegree' => array(
'id' => '39',
'major_name' => 'สาขาวิชาทรัพยากรป่าไม้และวนเกษตร',
'major_id' => '20',
'organize_id' => '24',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '20',
'major_no' => '14',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ทรัพยากรป่าไม้และวนเกษตร',
'major_eng' => 'Highland Agriculture and Natural Resources',
'major_eng2' => 'Highland Agriculture and Natural Resources',
'major_acronym' => 'เกษตรที่สูงและทรัพยากรธรรมชาติ',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(233, 202, 75)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '24',
'parent' => '40',
'name' => 'ภาควิชาเกษตรที่สูงและทรัพยากรธรรมชาติ',
'status' => 'Y',
'old_name' => '',
'sort' => '80',
'name_shot' => 'เกษตรที่สูงฯ',
'phone' => '44647',
'order' => '11',
'group' => '2',
'level_course_fee' => '6',
'level_scholarship' => '0'
)
),
(int) 10 => array(
'Majordegree' => array(
'id' => '40',
'major_name' => 'สาขาธุรกิจเกษตร',
'major_id' => '4',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '0',
'level' => '0',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '4',
'major_no' => '16',
'major_no_fee' => '10',
'major_code' => null,
'major_name' => 'ธุรกิจเกษตร',
'major_eng' => 'AGRIBUSINESS',
'major_eng2' => 'Agribusiness',
'major_acronym' => 'ธุรกิจเกษตร',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => 'rgb(153, 0, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
),
(int) 11 => array(
'Majordegree' => array(
'id' => '42',
'major_name' => 'สาขาวิชาเกษตรศาสตร์',
'major_id' => '17',
'organize_id' => '5',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '17',
'major_no' => '49',
'major_no_fee' => '1',
'major_code' => null,
'major_name' => 'เกษตรศาสตร์',
'major_eng' => 'Agriculture',
'major_eng2' => 'Agriculture
',
'major_acronym' => 'เกษตรศาสตร์',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(153, 0, 76)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '5',
'parent' => '1',
'name' => 'งานบริการการศึกษาและพัฒนาคุณภาพนักศึกษา',
'status' => 'Y',
'old_name' => 'งานบริการการศึกษา และพัฒนาคุณภาพนักศึกษา',
'sort' => '14',
'name_shot' => 'การศึกษา',
'phone' => '44642',
'order' => '3',
'group' => '1',
'level_course_fee' => '1',
'level_scholarship' => '1'
)
),
(int) 12 => array(
'Majordegree' => array(
'id' => '43',
'major_name' => 'สาขาวิชาเกษตรที่สูงและทรัพยากรธรรมชาติ',
'major_id' => '23',
'organize_id' => '24',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '8'
),
'Major' => array(
'id' => '23',
'major_no' => '17',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'เกษตรที่สูงและทรัพยากรธรรมชาติ',
'major_eng' => 'Highland Agriculture and Natural Resources',
'major_eng2' => 'Highland Agriculture and Natural Resources',
'major_acronym' => 'เกษตรที่สูงและทรัพยากรธรรมชาติ',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '0',
'color' => 'rgb(255, 99, 132)',
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '24',
'parent' => '40',
'name' => 'ภาควิชาเกษตรที่สูงและทรัพยากรธรรมชาติ',
'status' => 'Y',
'old_name' => '',
'sort' => '80',
'name_shot' => 'เกษตรที่สูงฯ',
'phone' => '44647',
'order' => '11',
'group' => '2',
'level_course_fee' => '6',
'level_scholarship' => '0'
)
),
(int) 13 => array(
'Majordegree' => array(
'id' => '44',
'major_name' => 'สาขาวิชาสัตวศาสตร์',
'major_id' => '11',
'organize_id' => '23',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '11',
'major_no' => '7',
'major_no_fee' => null,
'major_code' => 'HD',
'major_name' => 'สัตวศาสตร์',
'major_eng' => 'ANIMAL SCIENCE',
'major_eng2' => 'Animal Science',
'major_acronym' => 'สัตวศาสตร์',
'major_level' => '1',
'major_degree_id' => null,
'major_show_graph_id' => '1',
'color' => 'rgb(26, 139, 45)',
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '23',
'parent' => '40',
'name' => 'ภาควิชาสัตวศาสตร์และสัตว์น้ำ',
'status' => 'Y',
'old_name' => 'สาขาวิชาสัตวศาสตร์',
'sort' => '70',
'name_shot' => 'สัตวศาสตร์ฯ',
'phone' => '44069',
'order' => '10',
'group' => '2',
'level_course_fee' => '5',
'level_scholarship' => '0'
)
),
(int) 14 => array(
'Majordegree' => array(
'id' => '46',
'major_name' => 'สาขาวิชาผู้ประกอบการด้านเกษตรอัจฉริยะและอาหาร',
'major_id' => '25',
'organize_id' => null,
'degree_id' => '1',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => null,
'order' => '15',
'order_select_major' => '9'
),
'Major' => array(
'id' => '25',
'major_no' => '20',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ผู้ประกอบการด้านเกษตรอัจฉริยะและอาหาร',
'major_eng' => 'Smart Agriculture and Food Entrepreneur',
'major_eng2' => 'Smart Agriculture and Food Entrepreneur',
'major_acronym' => null,
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '0',
'color' => null,
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => null,
'parent' => null,
'name' => null,
'status' => null,
'old_name' => null,
'sort' => null,
'name_shot' => null,
'phone' => null,
'order' => null,
'group' => null,
'level_course_fee' => null,
'level_scholarship' => null
)
),
(int) 15 => array(
'Majordegree' => array(
'id' => '47',
'major_name' => 'สาขาวิชาเศรษฐศาสตร์เกษตรและธุรกิจเกษตร',
'major_id' => '26',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '26',
'major_no' => '21',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'เศรษฐศาสตร์เกษตรและธุรกิจเกษตร',
'major_eng' => null,
'major_eng2' => null,
'major_acronym' => null,
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(76, 0, 153)',
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
),
(int) 16 => array(
'Majordegree' => array(
'id' => '50',
'major_name' => 'สาขาวิชาวิทยาศาสตร์การประมง',
'major_id' => '28',
'organize_id' => '23',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '28',
'major_no' => '9',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'วิทยาศาสตร์การประมง',
'major_eng' => null,
'major_eng2' => null,
'major_acronym' => null,
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => null,
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '23',
'parent' => '40',
'name' => 'ภาควิชาสัตวศาสตร์และสัตว์น้ำ',
'status' => 'Y',
'old_name' => 'สาขาวิชาสัตวศาสตร์',
'sort' => '70',
'name_shot' => 'สัตวศาสตร์ฯ',
'phone' => '44069',
'order' => '10',
'group' => '2',
'level_course_fee' => '5',
'level_scholarship' => '0'
)
)
)
$major = array(
'Majordegree' => array(
'id' => '1',
'major_name' => 'สาขาวิชาเศรษฐศาสตร์เกษตร',
'major_id' => '1',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '1',
'major_no' => '5',
'major_no_fee' => '8',
'major_code' => 'HA',
'major_name' => 'เศรษฐศาสตร์เกษตร',
'major_eng' => 'AGRICULTURAL ECONOMICS',
'major_eng2' => 'Agricultural Economics',
'major_acronym' => 'เศรษฐศาสตร์เกษตร',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(255, 128, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
)
$yearId = '66'
$yearIdmin1 = '660000000'
$yearIdmax1 = '669999999'
$yearIdmin2 = '650000000'
$yearIdmax2 = '659999999'
$yearIdmin3 = '640000000'
$yearIdmax3 = '649999999'
$yearIdmin4 = '630000000'
$yearIdmax4 = '639999999'
$yearIdmin5 = '620000000'
$yearIdmax5 = '629999999'
$yearIdmin6 = '610000000'
$yearIdmax6 = '619999999'
$yearIdmin7 = '600000000'
$yearIdmax7 = '609999999'
$yearIdmin8 = '590000000'
$yearIdmax8 = '599999999'
$yearIdmin9 = '580000000'
$yearIdmax9 = '589999999'
$yearIdmin10 = '570000000'
$yearIdmax10 = '579999999'
$total = (int) 0
StudentsController::list_student_by_division_student() - APP\Controller\StudentsController.php, line 15375
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE\Cake\Controller\Controller.php, line 490
Dispatcher::_invoke() - CORE\Cake\Routing\Dispatcher.php, line 191
Dispatcher::dispatch() - CORE\Cake\Routing\Dispatcher.php, line 165
require - APP\webroot\index.php, line 108
[main] - ROOT\index.php, line 41
Notice (8): Undefined variable: output51 [APP\Controller\StudentsController.php, line 15401]Code Context }
if ($output51== null) {
$yearList = '2565'
$term = '2'
$degree_id = '1'
$UserName = null
$admins = null
$lastYearTerms = array(
'Yearterm' => array(
'id' => '35',
'year' => '2567',
'term' => '2',
'trm' => '672',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2567',
'postdate' => '2024-11-11',
'level' => '1'
)
)
$degreedropdowns = array(
(int) 0 => array(
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
)
),
(int) 1 => array(
'Degree' => array(
'id' => '3',
'degree_name' => 'ปริญญาโท',
'degree_name_en' => 'Master's degree'
)
),
(int) 2 => array(
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
)
)
)
$dropdowns = array(
(int) 0 => array(
'Yearterm' => array(
'id' => '35',
'year' => '2567',
'term' => '2',
'trm' => '672',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2567',
'postdate' => '2024-11-11',
'level' => '1'
)
),
(int) 1 => array(
'Yearterm' => array(
'id' => '34',
'year' => '2567',
'term' => '1',
'trm' => '671',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2567',
'postdate' => '2024-07-05',
'level' => '1'
)
),
(int) 2 => array(
'Yearterm' => array(
'id' => '33',
'year' => '2566',
'term' => '3',
'trm' => '663',
'name' => 'ภาคการศึกษาที่ 3 ปีการศึกษา 2566',
'postdate' => '2024-05-15',
'level' => '1'
)
),
(int) 3 => array(
'Yearterm' => array(
'id' => '32',
'year' => '2566',
'term' => '2',
'trm' => '662',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2566',
'postdate' => '2023-12-06',
'level' => '1'
)
),
(int) 4 => array(
'Yearterm' => array(
'id' => '31',
'year' => '2566',
'term' => '1',
'trm' => '661',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2566',
'postdate' => '2023-07-06',
'level' => '1'
)
),
(int) 5 => array(
'Yearterm' => array(
'id' => '30',
'year' => '2565',
'term' => '3',
'trm' => '653',
'name' => 'ภาคการศึกษาที่ 3 ปีการศึกษา 2565',
'postdate' => '2023-05-01',
'level' => '1'
)
),
(int) 6 => array(
'Yearterm' => array(
'id' => '29',
'year' => '2565',
'term' => '2',
'trm' => '652',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2565',
'postdate' => '2022-12-09',
'level' => '1'
)
),
(int) 7 => array(
'Yearterm' => array(
'id' => '28',
'year' => '2565',
'term' => '1',
'trm' => '651',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2565',
'postdate' => '2022-07-20',
'level' => '1'
)
),
(int) 8 => array(
'Yearterm' => array(
'id' => '27',
'year' => '2564',
'term' => '3',
'trm' => '643',
'name' => 'ภาคการศึกษาที่ 3 ปีการศึกษา 2564',
'postdate' => '2022-03-28',
'level' => '1'
)
),
(int) 9 => array(
'Yearterm' => array(
'id' => '26',
'year' => '2564',
'term' => '2',
'trm' => '642',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2564',
'postdate' => '2022-03-27',
'level' => '1'
)
),
(int) 10 => array(
'Yearterm' => array(
'id' => '25',
'year' => '2564',
'term' => '1',
'trm' => '641',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2564',
'postdate' => '2021-07-07',
'level' => '1'
)
),
(int) 11 => array(
'Yearterm' => array(
'id' => '24',
'year' => '2563',
'term' => '3',
'trm' => '633',
'name' => 'ภาคการศึกษาที่ 3 ปีการศึกษา 2563',
'postdate' => '2021-05-06',
'level' => '1'
)
)
)
$findStudentInNewTerm = array(
'Studentterm' => array(
'term_year' => '2565',
'term_id' => '2',
'student_id' => '660851005'
)
)
$years = array(
(int) 0 => array(
'Yearterm' => array(
'id' => '29',
'year' => '2565',
'term' => '2',
'trm' => '652',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2565',
'postdate' => '2022-12-09',
'level' => '1'
)
)
)
$countstudentTerm = (int) 1663
$output = '
<tr>
<td style="text-align:left;">เศรษฐศาสตร์เกษตร</td><td>-</td><td>-</td><td>-</td><td>-</td>'
$totals1 = (int) 0
$totals2 = (int) 0
$totals3 = (int) 0
$totals4 = (int) 0
$totals5 = (int) 0
$totals6 = (int) 0
$totals7 = (int) 0
$totals8 = (int) 0
$totals9 = (int) 0
$totals10 = (int) 0
$output3 = ''
$totals13 = (int) 0
$totals23 = (int) 0
$totals33 = (int) 0
$totals43 = (int) 0
$totals53 = (int) 0
$totals63 = (int) 0
$totals73 = (int) 0
$totals83 = (int) 0
$totals93 = (int) 0
$totals103 = (int) 0
$output5 = ''
$totals15 = (int) 0
$totals25 = (int) 0
$totals35 = (int) 0
$totals45 = (int) 0
$totals55 = (int) 0
$totals65 = (int) 0
$totals75 = (int) 0
$totals85 = (int) 0
$totals95 = (int) 0
$totals105 = (int) 0
$totals115 = (int) 0
$majors = array(
(int) 0 => array(
'Majordegree' => array(
'id' => '1',
'major_name' => 'สาขาวิชาเศรษฐศาสตร์เกษตร',
'major_id' => '1',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '1',
'major_no' => '5',
'major_no_fee' => '8',
'major_code' => 'HA',
'major_name' => 'เศรษฐศาสตร์เกษตร',
'major_eng' => 'AGRICULTURAL ECONOMICS',
'major_eng2' => 'Agricultural Economics',
'major_acronym' => 'เศรษฐศาสตร์เกษตร',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(255, 128, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
),
(int) 1 => array(
'Majordegree' => array(
'id' => '5',
'major_name' => 'สาขาวิชากีฏวิทยา',
'major_id' => '3',
'organize_id' => '2',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '1'
),
'Major' => array(
'id' => '3',
'major_no' => '1',
'major_no_fee' => '2',
'major_code' => 'HE',
'major_name' => 'กีฏวิทยา',
'major_eng' => 'ENTOMOLOGY',
'major_eng2' => 'Entomology',
'major_acronym' => 'กีฏวิทยา',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(75, 190, 115)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '2',
'parent' => '40',
'name' => 'ภาควิชากีฏวิทยาและโรคพืช',
'status' => 'Y',
'old_name' => '',
'sort' => '40',
'name_shot' => 'กีฏโรคพืช',
'phone' => '44021',
'order' => '7',
'group' => '2',
'level_course_fee' => '2',
'level_scholarship' => '0'
)
),
(int) 2 => array(
'Majordegree' => array(
'id' => '9',
'major_name' => 'สาขาวิชาปฐพีศาสตร์และการจัดการทรัพยากรธรรมชาติ',
'major_id' => '5',
'organize_id' => '16',
'degree_id' => '1',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '5',
'major_no' => '6',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ปฐพีศาสตร์และการจัดการทรัพยากรธรรมชาติ',
'major_eng' => 'SOIL SCIENCE AND NATURAL RESOURCE MANAG',
'major_eng2' => 'Soil Science and Natural Resource Management',
'major_acronym' => 'ปฐพีศาสตร์ฯ',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => null,
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '16',
'parent' => '40',
'name' => 'ภาควิชาพืชศาสตร์และปฐพีศาสตร์',
'status' => 'Y',
'old_name' => '',
'sort' => '50',
'name_shot' => 'พืชศาสตร์ฯ',
'phone' => '44040',
'order' => '8',
'group' => '2',
'level_course_fee' => '3',
'level_scholarship' => '0'
)
),
(int) 3 => array(
'Majordegree' => array(
'id' => '12',
'major_name' => 'สาขาวิชาพืชไร่',
'major_id' => '6',
'organize_id' => '16',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '3'
),
'Major' => array(
'id' => '6',
'major_no' => '3',
'major_no_fee' => '5',
'major_code' => 'HC',
'major_name' => 'พืชไร่',
'major_eng' => 'AGRONOMY',
'major_eng2' => 'Agronomy',
'major_acronym' => 'พืชไร่',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(150, 21, 182)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '16',
'parent' => '40',
'name' => 'ภาควิชาพืชศาสตร์และปฐพีศาสตร์',
'status' => 'Y',
'old_name' => '',
'sort' => '50',
'name_shot' => 'พืชศาสตร์ฯ',
'phone' => '44040',
'order' => '8',
'group' => '2',
'level_course_fee' => '3',
'level_scholarship' => '0'
)
),
(int) 4 => array(
'Majordegree' => array(
'id' => '15',
'major_name' => 'สาขาวิชาพืชสวน',
'major_id' => '7',
'organize_id' => '16',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '4'
),
'Major' => array(
'id' => '7',
'major_no' => '4',
'major_no_fee' => '6',
'major_code' => 'HF',
'major_name' => 'พืชสวน',
'major_eng' => 'HORTICULTURE',
'major_eng2' => 'Horticulture',
'major_acronym' => 'พืชสวน',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(46, 39, 145)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '16',
'parent' => '40',
'name' => 'ภาควิชาพืชศาสตร์และปฐพีศาสตร์',
'status' => 'Y',
'old_name' => '',
'sort' => '50',
'name_shot' => 'พืชศาสตร์ฯ',
'phone' => '44040',
'order' => '8',
'group' => '2',
'level_course_fee' => '3',
'level_scholarship' => '0'
)
),
(int) 5 => array(
'Majordegree' => array(
'id' => '18',
'major_name' => 'สาขาวิชาโรคพืช',
'major_id' => '9',
'organize_id' => '2',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '2'
),
'Major' => array(
'id' => '9',
'major_no' => '2',
'major_no_fee' => '3',
'major_code' => 'HG ',
'major_name' => 'โรคพืช',
'major_eng' => 'PLANT PATHOLOGY',
'major_eng2' => 'Plant Pathology',
'major_acronym' => 'โรคพืช',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(245, 158, 216)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '2',
'parent' => '40',
'name' => 'ภาควิชากีฏวิทยาและโรคพืช',
'status' => 'Y',
'old_name' => '',
'sort' => '40',
'name_shot' => 'กีฏโรคพืช',
'phone' => '44021',
'order' => '7',
'group' => '2',
'level_course_fee' => '2',
'level_scholarship' => '0'
)
),
(int) 6 => array(
'Majordegree' => array(
'id' => '25',
'major_name' => 'สาขาวิชาส่งเสริมและเผยแพร่การเกษตร',
'major_id' => '12',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '6'
),
'Major' => array(
'id' => '12',
'major_no' => '10',
'major_no_fee' => '9',
'major_code' => 'HB',
'major_name' => 'ส่งเสริมและเผยแพร่การเกษตร',
'major_eng' => 'Agricultural Extension',
'major_eng2' => 'Agricultural Extension',
'major_acronym' => 'ส่งเสริมและเผยแพร่การเกษตร',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(224, 233, 93)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
),
(int) 7 => array(
'Majordegree' => array(
'id' => '26',
'major_name' => 'สาขาวิชาสัตวศาสตร์และสัตว์น้ำ',
'major_id' => '13',
'organize_id' => '23',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '7'
),
'Major' => array(
'id' => '13',
'major_no' => '8',
'major_no_fee' => '11',
'major_code' => null,
'major_name' => 'สัตวศาสตร์และสัตว์น้ำ',
'major_eng' => 'Animal and Aquatic Science',
'major_eng2' => 'Animal and Aquatic Science',
'major_acronym' => 'สัตวศาสตร์และสัตว์น้ำ',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(137, 185, 40)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '23',
'parent' => '40',
'name' => 'ภาควิชาสัตวศาสตร์และสัตว์น้ำ',
'status' => 'Y',
'old_name' => 'สาขาวิชาสัตวศาสตร์',
'sort' => '70',
'name_shot' => 'สัตวศาสตร์ฯ',
'phone' => '44069',
'order' => '10',
'group' => '2',
'level_course_fee' => '5',
'level_scholarship' => '0'
)
),
(int) 8 => array(
'Majordegree' => array(
'id' => '31',
'major_name' => 'สาขาวิชาปฐพีศาสตร์',
'major_id' => '18',
'organize_id' => '16',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '5'
),
'Major' => array(
'id' => '18',
'major_no' => '11',
'major_no_fee' => '7',
'major_code' => null,
'major_name' => 'ปฐพีศาสตร์',
'major_eng' => 'SOIL SCIENCE',
'major_eng2' => 'SOIL SCIENCE',
'major_acronym' => 'ปฐพีศาสตร์',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(219, 219, 85)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '16',
'parent' => '40',
'name' => 'ภาควิชาพืชศาสตร์และปฐพีศาสตร์',
'status' => 'Y',
'old_name' => '',
'sort' => '50',
'name_shot' => 'พืชศาสตร์ฯ',
'phone' => '44040',
'order' => '8',
'group' => '2',
'level_course_fee' => '3',
'level_scholarship' => '0'
)
),
(int) 9 => array(
'Majordegree' => array(
'id' => '39',
'major_name' => 'สาขาวิชาทรัพยากรป่าไม้และวนเกษตร',
'major_id' => '20',
'organize_id' => '24',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '20',
'major_no' => '14',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ทรัพยากรป่าไม้และวนเกษตร',
'major_eng' => 'Highland Agriculture and Natural Resources',
'major_eng2' => 'Highland Agriculture and Natural Resources',
'major_acronym' => 'เกษตรที่สูงและทรัพยากรธรรมชาติ',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(233, 202, 75)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '24',
'parent' => '40',
'name' => 'ภาควิชาเกษตรที่สูงและทรัพยากรธรรมชาติ',
'status' => 'Y',
'old_name' => '',
'sort' => '80',
'name_shot' => 'เกษตรที่สูงฯ',
'phone' => '44647',
'order' => '11',
'group' => '2',
'level_course_fee' => '6',
'level_scholarship' => '0'
)
),
(int) 10 => array(
'Majordegree' => array(
'id' => '40',
'major_name' => 'สาขาธุรกิจเกษตร',
'major_id' => '4',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '0',
'level' => '0',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '4',
'major_no' => '16',
'major_no_fee' => '10',
'major_code' => null,
'major_name' => 'ธุรกิจเกษตร',
'major_eng' => 'AGRIBUSINESS',
'major_eng2' => 'Agribusiness',
'major_acronym' => 'ธุรกิจเกษตร',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => 'rgb(153, 0, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
),
(int) 11 => array(
'Majordegree' => array(
'id' => '42',
'major_name' => 'สาขาวิชาเกษตรศาสตร์',
'major_id' => '17',
'organize_id' => '5',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '17',
'major_no' => '49',
'major_no_fee' => '1',
'major_code' => null,
'major_name' => 'เกษตรศาสตร์',
'major_eng' => 'Agriculture',
'major_eng2' => 'Agriculture
',
'major_acronym' => 'เกษตรศาสตร์',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(153, 0, 76)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '5',
'parent' => '1',
'name' => 'งานบริการการศึกษาและพัฒนาคุณภาพนักศึกษา',
'status' => 'Y',
'old_name' => 'งานบริการการศึกษา และพัฒนาคุณภาพนักศึกษา',
'sort' => '14',
'name_shot' => 'การศึกษา',
'phone' => '44642',
'order' => '3',
'group' => '1',
'level_course_fee' => '1',
'level_scholarship' => '1'
)
),
(int) 12 => array(
'Majordegree' => array(
'id' => '43',
'major_name' => 'สาขาวิชาเกษตรที่สูงและทรัพยากรธรรมชาติ',
'major_id' => '23',
'organize_id' => '24',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '8'
),
'Major' => array(
'id' => '23',
'major_no' => '17',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'เกษตรที่สูงและทรัพยากรธรรมชาติ',
'major_eng' => 'Highland Agriculture and Natural Resources',
'major_eng2' => 'Highland Agriculture and Natural Resources',
'major_acronym' => 'เกษตรที่สูงและทรัพยากรธรรมชาติ',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '0',
'color' => 'rgb(255, 99, 132)',
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '24',
'parent' => '40',
'name' => 'ภาควิชาเกษตรที่สูงและทรัพยากรธรรมชาติ',
'status' => 'Y',
'old_name' => '',
'sort' => '80',
'name_shot' => 'เกษตรที่สูงฯ',
'phone' => '44647',
'order' => '11',
'group' => '2',
'level_course_fee' => '6',
'level_scholarship' => '0'
)
),
(int) 13 => array(
'Majordegree' => array(
'id' => '44',
'major_name' => 'สาขาวิชาสัตวศาสตร์',
'major_id' => '11',
'organize_id' => '23',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '11',
'major_no' => '7',
'major_no_fee' => null,
'major_code' => 'HD',
'major_name' => 'สัตวศาสตร์',
'major_eng' => 'ANIMAL SCIENCE',
'major_eng2' => 'Animal Science',
'major_acronym' => 'สัตวศาสตร์',
'major_level' => '1',
'major_degree_id' => null,
'major_show_graph_id' => '1',
'color' => 'rgb(26, 139, 45)',
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '23',
'parent' => '40',
'name' => 'ภาควิชาสัตวศาสตร์และสัตว์น้ำ',
'status' => 'Y',
'old_name' => 'สาขาวิชาสัตวศาสตร์',
'sort' => '70',
'name_shot' => 'สัตวศาสตร์ฯ',
'phone' => '44069',
'order' => '10',
'group' => '2',
'level_course_fee' => '5',
'level_scholarship' => '0'
)
),
(int) 14 => array(
'Majordegree' => array(
'id' => '46',
'major_name' => 'สาขาวิชาผู้ประกอบการด้านเกษตรอัจฉริยะและอาหาร',
'major_id' => '25',
'organize_id' => null,
'degree_id' => '1',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => null,
'order' => '15',
'order_select_major' => '9'
),
'Major' => array(
'id' => '25',
'major_no' => '20',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ผู้ประกอบการด้านเกษตรอัจฉริยะและอาหาร',
'major_eng' => 'Smart Agriculture and Food Entrepreneur',
'major_eng2' => 'Smart Agriculture and Food Entrepreneur',
'major_acronym' => null,
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '0',
'color' => null,
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => null,
'parent' => null,
'name' => null,
'status' => null,
'old_name' => null,
'sort' => null,
'name_shot' => null,
'phone' => null,
'order' => null,
'group' => null,
'level_course_fee' => null,
'level_scholarship' => null
)
),
(int) 15 => array(
'Majordegree' => array(
'id' => '47',
'major_name' => 'สาขาวิชาเศรษฐศาสตร์เกษตรและธุรกิจเกษตร',
'major_id' => '26',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '26',
'major_no' => '21',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'เศรษฐศาสตร์เกษตรและธุรกิจเกษตร',
'major_eng' => null,
'major_eng2' => null,
'major_acronym' => null,
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(76, 0, 153)',
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
),
(int) 16 => array(
'Majordegree' => array(
'id' => '50',
'major_name' => 'สาขาวิชาวิทยาศาสตร์การประมง',
'major_id' => '28',
'organize_id' => '23',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '28',
'major_no' => '9',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'วิทยาศาสตร์การประมง',
'major_eng' => null,
'major_eng2' => null,
'major_acronym' => null,
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => null,
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '23',
'parent' => '40',
'name' => 'ภาควิชาสัตวศาสตร์และสัตว์น้ำ',
'status' => 'Y',
'old_name' => 'สาขาวิชาสัตวศาสตร์',
'sort' => '70',
'name_shot' => 'สัตวศาสตร์ฯ',
'phone' => '44069',
'order' => '10',
'group' => '2',
'level_course_fee' => '5',
'level_scholarship' => '0'
)
)
)
$major = array(
'Majordegree' => array(
'id' => '1',
'major_name' => 'สาขาวิชาเศรษฐศาสตร์เกษตร',
'major_id' => '1',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '1',
'major_no' => '5',
'major_no_fee' => '8',
'major_code' => 'HA',
'major_name' => 'เศรษฐศาสตร์เกษตร',
'major_eng' => 'AGRICULTURAL ECONOMICS',
'major_eng2' => 'Agricultural Economics',
'major_acronym' => 'เศรษฐศาสตร์เกษตร',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(255, 128, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
)
$yearId = '66'
$yearIdmin1 = '660000000'
$yearIdmax1 = '669999999'
$yearIdmin2 = '650000000'
$yearIdmax2 = '659999999'
$yearIdmin3 = '640000000'
$yearIdmax3 = '649999999'
$yearIdmin4 = '630000000'
$yearIdmax4 = '639999999'
$yearIdmin5 = '620000000'
$yearIdmax5 = '629999999'
$yearIdmin6 = '610000000'
$yearIdmax6 = '619999999'
$yearIdmin7 = '600000000'
$yearIdmax7 = '609999999'
$yearIdmin8 = '590000000'
$yearIdmax8 = '599999999'
$yearIdmin9 = '580000000'
$yearIdmax9 = '589999999'
$yearIdmin10 = '570000000'
$yearIdmax10 = '579999999'
$total = (int) 0
StudentsController::list_student_by_division_student() - APP\Controller\StudentsController.php, line 15401
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE\Cake\Controller\Controller.php, line 490
Dispatcher::_invoke() - CORE\Cake\Routing\Dispatcher.php, line 191
Dispatcher::dispatch() - CORE\Cake\Routing\Dispatcher.php, line 165
require - APP\webroot\index.php, line 108
[main] - ROOT\index.php, line 41
Notice (8): Undefined variable: output6 [APP\Controller\StudentsController.php, line 15426]Code Context }
if ($output6== null) {
$yearList = '2565'
$term = '2'
$degree_id = '1'
$UserName = null
$admins = null
$lastYearTerms = array(
'Yearterm' => array(
'id' => '35',
'year' => '2567',
'term' => '2',
'trm' => '672',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2567',
'postdate' => '2024-11-11',
'level' => '1'
)
)
$degreedropdowns = array(
(int) 0 => array(
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
)
),
(int) 1 => array(
'Degree' => array(
'id' => '3',
'degree_name' => 'ปริญญาโท',
'degree_name_en' => 'Master's degree'
)
),
(int) 2 => array(
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
)
)
)
$dropdowns = array(
(int) 0 => array(
'Yearterm' => array(
'id' => '35',
'year' => '2567',
'term' => '2',
'trm' => '672',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2567',
'postdate' => '2024-11-11',
'level' => '1'
)
),
(int) 1 => array(
'Yearterm' => array(
'id' => '34',
'year' => '2567',
'term' => '1',
'trm' => '671',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2567',
'postdate' => '2024-07-05',
'level' => '1'
)
),
(int) 2 => array(
'Yearterm' => array(
'id' => '33',
'year' => '2566',
'term' => '3',
'trm' => '663',
'name' => 'ภาคการศึกษาที่ 3 ปีการศึกษา 2566',
'postdate' => '2024-05-15',
'level' => '1'
)
),
(int) 3 => array(
'Yearterm' => array(
'id' => '32',
'year' => '2566',
'term' => '2',
'trm' => '662',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2566',
'postdate' => '2023-12-06',
'level' => '1'
)
),
(int) 4 => array(
'Yearterm' => array(
'id' => '31',
'year' => '2566',
'term' => '1',
'trm' => '661',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2566',
'postdate' => '2023-07-06',
'level' => '1'
)
),
(int) 5 => array(
'Yearterm' => array(
'id' => '30',
'year' => '2565',
'term' => '3',
'trm' => '653',
'name' => 'ภาคการศึกษาที่ 3 ปีการศึกษา 2565',
'postdate' => '2023-05-01',
'level' => '1'
)
),
(int) 6 => array(
'Yearterm' => array(
'id' => '29',
'year' => '2565',
'term' => '2',
'trm' => '652',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2565',
'postdate' => '2022-12-09',
'level' => '1'
)
),
(int) 7 => array(
'Yearterm' => array(
'id' => '28',
'year' => '2565',
'term' => '1',
'trm' => '651',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2565',
'postdate' => '2022-07-20',
'level' => '1'
)
),
(int) 8 => array(
'Yearterm' => array(
'id' => '27',
'year' => '2564',
'term' => '3',
'trm' => '643',
'name' => 'ภาคการศึกษาที่ 3 ปีการศึกษา 2564',
'postdate' => '2022-03-28',
'level' => '1'
)
),
(int) 9 => array(
'Yearterm' => array(
'id' => '26',
'year' => '2564',
'term' => '2',
'trm' => '642',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2564',
'postdate' => '2022-03-27',
'level' => '1'
)
),
(int) 10 => array(
'Yearterm' => array(
'id' => '25',
'year' => '2564',
'term' => '1',
'trm' => '641',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2564',
'postdate' => '2021-07-07',
'level' => '1'
)
),
(int) 11 => array(
'Yearterm' => array(
'id' => '24',
'year' => '2563',
'term' => '3',
'trm' => '633',
'name' => 'ภาคการศึกษาที่ 3 ปีการศึกษา 2563',
'postdate' => '2021-05-06',
'level' => '1'
)
)
)
$findStudentInNewTerm = array(
'Studentterm' => array(
'term_year' => '2565',
'term_id' => '2',
'student_id' => '660851005'
)
)
$years = array(
(int) 0 => array(
'Yearterm' => array(
'id' => '29',
'year' => '2565',
'term' => '2',
'trm' => '652',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2565',
'postdate' => '2022-12-09',
'level' => '1'
)
)
)
$countstudentTerm = (int) 1663
$output = '
<tr>
<td style="text-align:left;">เศรษฐศาสตร์เกษตร</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td>'
$totals1 = (int) 0
$totals2 = (int) 0
$totals3 = (int) 0
$totals4 = (int) 0
$totals5 = (int) 0
$totals6 = (int) 0
$totals7 = (int) 0
$totals8 = (int) 0
$totals9 = (int) 0
$totals10 = (int) 0
$output3 = ''
$totals13 = (int) 0
$totals23 = (int) 0
$totals33 = (int) 0
$totals43 = (int) 0
$totals53 = (int) 0
$totals63 = (int) 0
$totals73 = (int) 0
$totals83 = (int) 0
$totals93 = (int) 0
$totals103 = (int) 0
$output5 = ''
$totals15 = (int) 0
$totals25 = (int) 0
$totals35 = (int) 0
$totals45 = (int) 0
$totals55 = (int) 0
$totals65 = (int) 0
$totals75 = (int) 0
$totals85 = (int) 0
$totals95 = (int) 0
$totals105 = (int) 0
$totals115 = (int) 0
$majors = array(
(int) 0 => array(
'Majordegree' => array(
'id' => '1',
'major_name' => 'สาขาวิชาเศรษฐศาสตร์เกษตร',
'major_id' => '1',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '1',
'major_no' => '5',
'major_no_fee' => '8',
'major_code' => 'HA',
'major_name' => 'เศรษฐศาสตร์เกษตร',
'major_eng' => 'AGRICULTURAL ECONOMICS',
'major_eng2' => 'Agricultural Economics',
'major_acronym' => 'เศรษฐศาสตร์เกษตร',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(255, 128, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
),
(int) 1 => array(
'Majordegree' => array(
'id' => '5',
'major_name' => 'สาขาวิชากีฏวิทยา',
'major_id' => '3',
'organize_id' => '2',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '1'
),
'Major' => array(
'id' => '3',
'major_no' => '1',
'major_no_fee' => '2',
'major_code' => 'HE',
'major_name' => 'กีฏวิทยา',
'major_eng' => 'ENTOMOLOGY',
'major_eng2' => 'Entomology',
'major_acronym' => 'กีฏวิทยา',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(75, 190, 115)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '2',
'parent' => '40',
'name' => 'ภาควิชากีฏวิทยาและโรคพืช',
'status' => 'Y',
'old_name' => '',
'sort' => '40',
'name_shot' => 'กีฏโรคพืช',
'phone' => '44021',
'order' => '7',
'group' => '2',
'level_course_fee' => '2',
'level_scholarship' => '0'
)
),
(int) 2 => array(
'Majordegree' => array(
'id' => '9',
'major_name' => 'สาขาวิชาปฐพีศาสตร์และการจัดการทรัพยากรธรรมชาติ',
'major_id' => '5',
'organize_id' => '16',
'degree_id' => '1',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '5',
'major_no' => '6',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ปฐพีศาสตร์และการจัดการทรัพยากรธรรมชาติ',
'major_eng' => 'SOIL SCIENCE AND NATURAL RESOURCE MANAG',
'major_eng2' => 'Soil Science and Natural Resource Management',
'major_acronym' => 'ปฐพีศาสตร์ฯ',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => null,
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '16',
'parent' => '40',
'name' => 'ภาควิชาพืชศาสตร์และปฐพีศาสตร์',
'status' => 'Y',
'old_name' => '',
'sort' => '50',
'name_shot' => 'พืชศาสตร์ฯ',
'phone' => '44040',
'order' => '8',
'group' => '2',
'level_course_fee' => '3',
'level_scholarship' => '0'
)
),
(int) 3 => array(
'Majordegree' => array(
'id' => '12',
'major_name' => 'สาขาวิชาพืชไร่',
'major_id' => '6',
'organize_id' => '16',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '3'
),
'Major' => array(
'id' => '6',
'major_no' => '3',
'major_no_fee' => '5',
'major_code' => 'HC',
'major_name' => 'พืชไร่',
'major_eng' => 'AGRONOMY',
'major_eng2' => 'Agronomy',
'major_acronym' => 'พืชไร่',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(150, 21, 182)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '16',
'parent' => '40',
'name' => 'ภาควิชาพืชศาสตร์และปฐพีศาสตร์',
'status' => 'Y',
'old_name' => '',
'sort' => '50',
'name_shot' => 'พืชศาสตร์ฯ',
'phone' => '44040',
'order' => '8',
'group' => '2',
'level_course_fee' => '3',
'level_scholarship' => '0'
)
),
(int) 4 => array(
'Majordegree' => array(
'id' => '15',
'major_name' => 'สาขาวิชาพืชสวน',
'major_id' => '7',
'organize_id' => '16',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '4'
),
'Major' => array(
'id' => '7',
'major_no' => '4',
'major_no_fee' => '6',
'major_code' => 'HF',
'major_name' => 'พืชสวน',
'major_eng' => 'HORTICULTURE',
'major_eng2' => 'Horticulture',
'major_acronym' => 'พืชสวน',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(46, 39, 145)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '16',
'parent' => '40',
'name' => 'ภาควิชาพืชศาสตร์และปฐพีศาสตร์',
'status' => 'Y',
'old_name' => '',
'sort' => '50',
'name_shot' => 'พืชศาสตร์ฯ',
'phone' => '44040',
'order' => '8',
'group' => '2',
'level_course_fee' => '3',
'level_scholarship' => '0'
)
),
(int) 5 => array(
'Majordegree' => array(
'id' => '18',
'major_name' => 'สาขาวิชาโรคพืช',
'major_id' => '9',
'organize_id' => '2',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '2'
),
'Major' => array(
'id' => '9',
'major_no' => '2',
'major_no_fee' => '3',
'major_code' => 'HG ',
'major_name' => 'โรคพืช',
'major_eng' => 'PLANT PATHOLOGY',
'major_eng2' => 'Plant Pathology',
'major_acronym' => 'โรคพืช',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(245, 158, 216)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '2',
'parent' => '40',
'name' => 'ภาควิชากีฏวิทยาและโรคพืช',
'status' => 'Y',
'old_name' => '',
'sort' => '40',
'name_shot' => 'กีฏโรคพืช',
'phone' => '44021',
'order' => '7',
'group' => '2',
'level_course_fee' => '2',
'level_scholarship' => '0'
)
),
(int) 6 => array(
'Majordegree' => array(
'id' => '25',
'major_name' => 'สาขาวิชาส่งเสริมและเผยแพร่การเกษตร',
'major_id' => '12',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '6'
),
'Major' => array(
'id' => '12',
'major_no' => '10',
'major_no_fee' => '9',
'major_code' => 'HB',
'major_name' => 'ส่งเสริมและเผยแพร่การเกษตร',
'major_eng' => 'Agricultural Extension',
'major_eng2' => 'Agricultural Extension',
'major_acronym' => 'ส่งเสริมและเผยแพร่การเกษตร',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(224, 233, 93)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
),
(int) 7 => array(
'Majordegree' => array(
'id' => '26',
'major_name' => 'สาขาวิชาสัตวศาสตร์และสัตว์น้ำ',
'major_id' => '13',
'organize_id' => '23',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '7'
),
'Major' => array(
'id' => '13',
'major_no' => '8',
'major_no_fee' => '11',
'major_code' => null,
'major_name' => 'สัตวศาสตร์และสัตว์น้ำ',
'major_eng' => 'Animal and Aquatic Science',
'major_eng2' => 'Animal and Aquatic Science',
'major_acronym' => 'สัตวศาสตร์และสัตว์น้ำ',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(137, 185, 40)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '23',
'parent' => '40',
'name' => 'ภาควิชาสัตวศาสตร์และสัตว์น้ำ',
'status' => 'Y',
'old_name' => 'สาขาวิชาสัตวศาสตร์',
'sort' => '70',
'name_shot' => 'สัตวศาสตร์ฯ',
'phone' => '44069',
'order' => '10',
'group' => '2',
'level_course_fee' => '5',
'level_scholarship' => '0'
)
),
(int) 8 => array(
'Majordegree' => array(
'id' => '31',
'major_name' => 'สาขาวิชาปฐพีศาสตร์',
'major_id' => '18',
'organize_id' => '16',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '5'
),
'Major' => array(
'id' => '18',
'major_no' => '11',
'major_no_fee' => '7',
'major_code' => null,
'major_name' => 'ปฐพีศาสตร์',
'major_eng' => 'SOIL SCIENCE',
'major_eng2' => 'SOIL SCIENCE',
'major_acronym' => 'ปฐพีศาสตร์',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(219, 219, 85)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '16',
'parent' => '40',
'name' => 'ภาควิชาพืชศาสตร์และปฐพีศาสตร์',
'status' => 'Y',
'old_name' => '',
'sort' => '50',
'name_shot' => 'พืชศาสตร์ฯ',
'phone' => '44040',
'order' => '8',
'group' => '2',
'level_course_fee' => '3',
'level_scholarship' => '0'
)
),
(int) 9 => array(
'Majordegree' => array(
'id' => '39',
'major_name' => 'สาขาวิชาทรัพยากรป่าไม้และวนเกษตร',
'major_id' => '20',
'organize_id' => '24',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '20',
'major_no' => '14',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ทรัพยากรป่าไม้และวนเกษตร',
'major_eng' => 'Highland Agriculture and Natural Resources',
'major_eng2' => 'Highland Agriculture and Natural Resources',
'major_acronym' => 'เกษตรที่สูงและทรัพยากรธรรมชาติ',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(233, 202, 75)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '24',
'parent' => '40',
'name' => 'ภาควิชาเกษตรที่สูงและทรัพยากรธรรมชาติ',
'status' => 'Y',
'old_name' => '',
'sort' => '80',
'name_shot' => 'เกษตรที่สูงฯ',
'phone' => '44647',
'order' => '11',
'group' => '2',
'level_course_fee' => '6',
'level_scholarship' => '0'
)
),
(int) 10 => array(
'Majordegree' => array(
'id' => '40',
'major_name' => 'สาขาธุรกิจเกษตร',
'major_id' => '4',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '0',
'level' => '0',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '4',
'major_no' => '16',
'major_no_fee' => '10',
'major_code' => null,
'major_name' => 'ธุรกิจเกษตร',
'major_eng' => 'AGRIBUSINESS',
'major_eng2' => 'Agribusiness',
'major_acronym' => 'ธุรกิจเกษตร',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => 'rgb(153, 0, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
),
(int) 11 => array(
'Majordegree' => array(
'id' => '42',
'major_name' => 'สาขาวิชาเกษตรศาสตร์',
'major_id' => '17',
'organize_id' => '5',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '17',
'major_no' => '49',
'major_no_fee' => '1',
'major_code' => null,
'major_name' => 'เกษตรศาสตร์',
'major_eng' => 'Agriculture',
'major_eng2' => 'Agriculture
',
'major_acronym' => 'เกษตรศาสตร์',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(153, 0, 76)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '5',
'parent' => '1',
'name' => 'งานบริการการศึกษาและพัฒนาคุณภาพนักศึกษา',
'status' => 'Y',
'old_name' => 'งานบริการการศึกษา และพัฒนาคุณภาพนักศึกษา',
'sort' => '14',
'name_shot' => 'การศึกษา',
'phone' => '44642',
'order' => '3',
'group' => '1',
'level_course_fee' => '1',
'level_scholarship' => '1'
)
),
(int) 12 => array(
'Majordegree' => array(
'id' => '43',
'major_name' => 'สาขาวิชาเกษตรที่สูงและทรัพยากรธรรมชาติ',
'major_id' => '23',
'organize_id' => '24',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '8'
),
'Major' => array(
'id' => '23',
'major_no' => '17',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'เกษตรที่สูงและทรัพยากรธรรมชาติ',
'major_eng' => 'Highland Agriculture and Natural Resources',
'major_eng2' => 'Highland Agriculture and Natural Resources',
'major_acronym' => 'เกษตรที่สูงและทรัพยากรธรรมชาติ',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '0',
'color' => 'rgb(255, 99, 132)',
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '24',
'parent' => '40',
'name' => 'ภาควิชาเกษตรที่สูงและทรัพยากรธรรมชาติ',
'status' => 'Y',
'old_name' => '',
'sort' => '80',
'name_shot' => 'เกษตรที่สูงฯ',
'phone' => '44647',
'order' => '11',
'group' => '2',
'level_course_fee' => '6',
'level_scholarship' => '0'
)
),
(int) 13 => array(
'Majordegree' => array(
'id' => '44',
'major_name' => 'สาขาวิชาสัตวศาสตร์',
'major_id' => '11',
'organize_id' => '23',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '11',
'major_no' => '7',
'major_no_fee' => null,
'major_code' => 'HD',
'major_name' => 'สัตวศาสตร์',
'major_eng' => 'ANIMAL SCIENCE',
'major_eng2' => 'Animal Science',
'major_acronym' => 'สัตวศาสตร์',
'major_level' => '1',
'major_degree_id' => null,
'major_show_graph_id' => '1',
'color' => 'rgb(26, 139, 45)',
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '23',
'parent' => '40',
'name' => 'ภาควิชาสัตวศาสตร์และสัตว์น้ำ',
'status' => 'Y',
'old_name' => 'สาขาวิชาสัตวศาสตร์',
'sort' => '70',
'name_shot' => 'สัตวศาสตร์ฯ',
'phone' => '44069',
'order' => '10',
'group' => '2',
'level_course_fee' => '5',
'level_scholarship' => '0'
)
),
(int) 14 => array(
'Majordegree' => array(
'id' => '46',
'major_name' => 'สาขาวิชาผู้ประกอบการด้านเกษตรอัจฉริยะและอาหาร',
'major_id' => '25',
'organize_id' => null,
'degree_id' => '1',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => null,
'order' => '15',
'order_select_major' => '9'
),
'Major' => array(
'id' => '25',
'major_no' => '20',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ผู้ประกอบการด้านเกษตรอัจฉริยะและอาหาร',
'major_eng' => 'Smart Agriculture and Food Entrepreneur',
'major_eng2' => 'Smart Agriculture and Food Entrepreneur',
'major_acronym' => null,
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '0',
'color' => null,
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => null,
'parent' => null,
'name' => null,
'status' => null,
'old_name' => null,
'sort' => null,
'name_shot' => null,
'phone' => null,
'order' => null,
'group' => null,
'level_course_fee' => null,
'level_scholarship' => null
)
),
(int) 15 => array(
'Majordegree' => array(
'id' => '47',
'major_name' => 'สาขาวิชาเศรษฐศาสตร์เกษตรและธุรกิจเกษตร',
'major_id' => '26',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '26',
'major_no' => '21',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'เศรษฐศาสตร์เกษตรและธุรกิจเกษตร',
'major_eng' => null,
'major_eng2' => null,
'major_acronym' => null,
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(76, 0, 153)',
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
),
(int) 16 => array(
'Majordegree' => array(
'id' => '50',
'major_name' => 'สาขาวิชาวิทยาศาสตร์การประมง',
'major_id' => '28',
'organize_id' => '23',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '28',
'major_no' => '9',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'วิทยาศาสตร์การประมง',
'major_eng' => null,
'major_eng2' => null,
'major_acronym' => null,
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => null,
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '23',
'parent' => '40',
'name' => 'ภาควิชาสัตวศาสตร์และสัตว์น้ำ',
'status' => 'Y',
'old_name' => 'สาขาวิชาสัตวศาสตร์',
'sort' => '70',
'name_shot' => 'สัตวศาสตร์ฯ',
'phone' => '44069',
'order' => '10',
'group' => '2',
'level_course_fee' => '5',
'level_scholarship' => '0'
)
)
)
$major = array(
'Majordegree' => array(
'id' => '1',
'major_name' => 'สาขาวิชาเศรษฐศาสตร์เกษตร',
'major_id' => '1',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '1',
'major_no' => '5',
'major_no_fee' => '8',
'major_code' => 'HA',
'major_name' => 'เศรษฐศาสตร์เกษตร',
'major_eng' => 'AGRICULTURAL ECONOMICS',
'major_eng2' => 'Agricultural Economics',
'major_acronym' => 'เศรษฐศาสตร์เกษตร',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(255, 128, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
)
$yearId = '66'
$yearIdmin1 = '660000000'
$yearIdmax1 = '669999999'
$yearIdmin2 = '650000000'
$yearIdmax2 = '659999999'
$yearIdmin3 = '640000000'
$yearIdmax3 = '649999999'
$yearIdmin4 = '630000000'
$yearIdmax4 = '639999999'
$yearIdmin5 = '620000000'
$yearIdmax5 = '629999999'
$yearIdmin6 = '610000000'
$yearIdmax6 = '619999999'
$yearIdmin7 = '600000000'
$yearIdmax7 = '609999999'
$yearIdmin8 = '590000000'
$yearIdmax8 = '599999999'
$yearIdmin9 = '580000000'
$yearIdmax9 = '589999999'
$yearIdmin10 = '570000000'
$yearIdmax10 = '579999999'
$total = (int) 0
StudentsController::list_student_by_division_student() - APP\Controller\StudentsController.php, line 15426
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE\Cake\Controller\Controller.php, line 490
Dispatcher::_invoke() - CORE\Cake\Routing\Dispatcher.php, line 191
Dispatcher::dispatch() - CORE\Cake\Routing\Dispatcher.php, line 165
require - APP\webroot\index.php, line 108
[main] - ROOT\index.php, line 41
Notice (8): Undefined variable: output7 [APP\Controller\StudentsController.php, line 15451]Code Context }
if ($output7== null) {
$yearList = '2565'
$term = '2'
$degree_id = '1'
$UserName = null
$admins = null
$lastYearTerms = array(
'Yearterm' => array(
'id' => '35',
'year' => '2567',
'term' => '2',
'trm' => '672',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2567',
'postdate' => '2024-11-11',
'level' => '1'
)
)
$degreedropdowns = array(
(int) 0 => array(
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
)
),
(int) 1 => array(
'Degree' => array(
'id' => '3',
'degree_name' => 'ปริญญาโท',
'degree_name_en' => 'Master's degree'
)
),
(int) 2 => array(
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
)
)
)
$dropdowns = array(
(int) 0 => array(
'Yearterm' => array(
'id' => '35',
'year' => '2567',
'term' => '2',
'trm' => '672',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2567',
'postdate' => '2024-11-11',
'level' => '1'
)
),
(int) 1 => array(
'Yearterm' => array(
'id' => '34',
'year' => '2567',
'term' => '1',
'trm' => '671',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2567',
'postdate' => '2024-07-05',
'level' => '1'
)
),
(int) 2 => array(
'Yearterm' => array(
'id' => '33',
'year' => '2566',
'term' => '3',
'trm' => '663',
'name' => 'ภาคการศึกษาที่ 3 ปีการศึกษา 2566',
'postdate' => '2024-05-15',
'level' => '1'
)
),
(int) 3 => array(
'Yearterm' => array(
'id' => '32',
'year' => '2566',
'term' => '2',
'trm' => '662',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2566',
'postdate' => '2023-12-06',
'level' => '1'
)
),
(int) 4 => array(
'Yearterm' => array(
'id' => '31',
'year' => '2566',
'term' => '1',
'trm' => '661',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2566',
'postdate' => '2023-07-06',
'level' => '1'
)
),
(int) 5 => array(
'Yearterm' => array(
'id' => '30',
'year' => '2565',
'term' => '3',
'trm' => '653',
'name' => 'ภาคการศึกษาที่ 3 ปีการศึกษา 2565',
'postdate' => '2023-05-01',
'level' => '1'
)
),
(int) 6 => array(
'Yearterm' => array(
'id' => '29',
'year' => '2565',
'term' => '2',
'trm' => '652',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2565',
'postdate' => '2022-12-09',
'level' => '1'
)
),
(int) 7 => array(
'Yearterm' => array(
'id' => '28',
'year' => '2565',
'term' => '1',
'trm' => '651',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2565',
'postdate' => '2022-07-20',
'level' => '1'
)
),
(int) 8 => array(
'Yearterm' => array(
'id' => '27',
'year' => '2564',
'term' => '3',
'trm' => '643',
'name' => 'ภาคการศึกษาที่ 3 ปีการศึกษา 2564',
'postdate' => '2022-03-28',
'level' => '1'
)
),
(int) 9 => array(
'Yearterm' => array(
'id' => '26',
'year' => '2564',
'term' => '2',
'trm' => '642',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2564',
'postdate' => '2022-03-27',
'level' => '1'
)
),
(int) 10 => array(
'Yearterm' => array(
'id' => '25',
'year' => '2564',
'term' => '1',
'trm' => '641',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2564',
'postdate' => '2021-07-07',
'level' => '1'
)
),
(int) 11 => array(
'Yearterm' => array(
'id' => '24',
'year' => '2563',
'term' => '3',
'trm' => '633',
'name' => 'ภาคการศึกษาที่ 3 ปีการศึกษา 2563',
'postdate' => '2021-05-06',
'level' => '1'
)
)
)
$findStudentInNewTerm = array(
'Studentterm' => array(
'term_year' => '2565',
'term_id' => '2',
'student_id' => '660851005'
)
)
$years = array(
(int) 0 => array(
'Yearterm' => array(
'id' => '29',
'year' => '2565',
'term' => '2',
'trm' => '652',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2565',
'postdate' => '2022-12-09',
'level' => '1'
)
)
)
$countstudentTerm = (int) 1663
$output = '
<tr>
<td style="text-align:left;">เศรษฐศาสตร์เกษตร</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td>'
$totals1 = (int) 0
$totals2 = (int) 0
$totals3 = (int) 0
$totals4 = (int) 0
$totals5 = (int) 0
$totals6 = (int) 0
$totals7 = (int) 0
$totals8 = (int) 0
$totals9 = (int) 0
$totals10 = (int) 0
$output3 = ''
$totals13 = (int) 0
$totals23 = (int) 0
$totals33 = (int) 0
$totals43 = (int) 0
$totals53 = (int) 0
$totals63 = (int) 0
$totals73 = (int) 0
$totals83 = (int) 0
$totals93 = (int) 0
$totals103 = (int) 0
$output5 = ''
$totals15 = (int) 0
$totals25 = (int) 0
$totals35 = (int) 0
$totals45 = (int) 0
$totals55 = (int) 0
$totals65 = (int) 0
$totals75 = (int) 0
$totals85 = (int) 0
$totals95 = (int) 0
$totals105 = (int) 0
$totals115 = (int) 0
$majors = array(
(int) 0 => array(
'Majordegree' => array(
'id' => '1',
'major_name' => 'สาขาวิชาเศรษฐศาสตร์เกษตร',
'major_id' => '1',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '1',
'major_no' => '5',
'major_no_fee' => '8',
'major_code' => 'HA',
'major_name' => 'เศรษฐศาสตร์เกษตร',
'major_eng' => 'AGRICULTURAL ECONOMICS',
'major_eng2' => 'Agricultural Economics',
'major_acronym' => 'เศรษฐศาสตร์เกษตร',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(255, 128, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
),
(int) 1 => array(
'Majordegree' => array(
'id' => '5',
'major_name' => 'สาขาวิชากีฏวิทยา',
'major_id' => '3',
'organize_id' => '2',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '1'
),
'Major' => array(
'id' => '3',
'major_no' => '1',
'major_no_fee' => '2',
'major_code' => 'HE',
'major_name' => 'กีฏวิทยา',
'major_eng' => 'ENTOMOLOGY',
'major_eng2' => 'Entomology',
'major_acronym' => 'กีฏวิทยา',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(75, 190, 115)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '2',
'parent' => '40',
'name' => 'ภาควิชากีฏวิทยาและโรคพืช',
'status' => 'Y',
'old_name' => '',
'sort' => '40',
'name_shot' => 'กีฏโรคพืช',
'phone' => '44021',
'order' => '7',
'group' => '2',
'level_course_fee' => '2',
'level_scholarship' => '0'
)
),
(int) 2 => array(
'Majordegree' => array(
'id' => '9',
'major_name' => 'สาขาวิชาปฐพีศาสตร์และการจัดการทรัพยากรธรรมชาติ',
'major_id' => '5',
'organize_id' => '16',
'degree_id' => '1',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '5',
'major_no' => '6',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ปฐพีศาสตร์และการจัดการทรัพยากรธรรมชาติ',
'major_eng' => 'SOIL SCIENCE AND NATURAL RESOURCE MANAG',
'major_eng2' => 'Soil Science and Natural Resource Management',
'major_acronym' => 'ปฐพีศาสตร์ฯ',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => null,
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '16',
'parent' => '40',
'name' => 'ภาควิชาพืชศาสตร์และปฐพีศาสตร์',
'status' => 'Y',
'old_name' => '',
'sort' => '50',
'name_shot' => 'พืชศาสตร์ฯ',
'phone' => '44040',
'order' => '8',
'group' => '2',
'level_course_fee' => '3',
'level_scholarship' => '0'
)
),
(int) 3 => array(
'Majordegree' => array(
'id' => '12',
'major_name' => 'สาขาวิชาพืชไร่',
'major_id' => '6',
'organize_id' => '16',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '3'
),
'Major' => array(
'id' => '6',
'major_no' => '3',
'major_no_fee' => '5',
'major_code' => 'HC',
'major_name' => 'พืชไร่',
'major_eng' => 'AGRONOMY',
'major_eng2' => 'Agronomy',
'major_acronym' => 'พืชไร่',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(150, 21, 182)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '16',
'parent' => '40',
'name' => 'ภาควิชาพืชศาสตร์และปฐพีศาสตร์',
'status' => 'Y',
'old_name' => '',
'sort' => '50',
'name_shot' => 'พืชศาสตร์ฯ',
'phone' => '44040',
'order' => '8',
'group' => '2',
'level_course_fee' => '3',
'level_scholarship' => '0'
)
),
(int) 4 => array(
'Majordegree' => array(
'id' => '15',
'major_name' => 'สาขาวิชาพืชสวน',
'major_id' => '7',
'organize_id' => '16',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '4'
),
'Major' => array(
'id' => '7',
'major_no' => '4',
'major_no_fee' => '6',
'major_code' => 'HF',
'major_name' => 'พืชสวน',
'major_eng' => 'HORTICULTURE',
'major_eng2' => 'Horticulture',
'major_acronym' => 'พืชสวน',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(46, 39, 145)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '16',
'parent' => '40',
'name' => 'ภาควิชาพืชศาสตร์และปฐพีศาสตร์',
'status' => 'Y',
'old_name' => '',
'sort' => '50',
'name_shot' => 'พืชศาสตร์ฯ',
'phone' => '44040',
'order' => '8',
'group' => '2',
'level_course_fee' => '3',
'level_scholarship' => '0'
)
),
(int) 5 => array(
'Majordegree' => array(
'id' => '18',
'major_name' => 'สาขาวิชาโรคพืช',
'major_id' => '9',
'organize_id' => '2',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '2'
),
'Major' => array(
'id' => '9',
'major_no' => '2',
'major_no_fee' => '3',
'major_code' => 'HG ',
'major_name' => 'โรคพืช',
'major_eng' => 'PLANT PATHOLOGY',
'major_eng2' => 'Plant Pathology',
'major_acronym' => 'โรคพืช',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(245, 158, 216)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '2',
'parent' => '40',
'name' => 'ภาควิชากีฏวิทยาและโรคพืช',
'status' => 'Y',
'old_name' => '',
'sort' => '40',
'name_shot' => 'กีฏโรคพืช',
'phone' => '44021',
'order' => '7',
'group' => '2',
'level_course_fee' => '2',
'level_scholarship' => '0'
)
),
(int) 6 => array(
'Majordegree' => array(
'id' => '25',
'major_name' => 'สาขาวิชาส่งเสริมและเผยแพร่การเกษตร',
'major_id' => '12',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '6'
),
'Major' => array(
'id' => '12',
'major_no' => '10',
'major_no_fee' => '9',
'major_code' => 'HB',
'major_name' => 'ส่งเสริมและเผยแพร่การเกษตร',
'major_eng' => 'Agricultural Extension',
'major_eng2' => 'Agricultural Extension',
'major_acronym' => 'ส่งเสริมและเผยแพร่การเกษตร',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(224, 233, 93)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
),
(int) 7 => array(
'Majordegree' => array(
'id' => '26',
'major_name' => 'สาขาวิชาสัตวศาสตร์และสัตว์น้ำ',
'major_id' => '13',
'organize_id' => '23',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '7'
),
'Major' => array(
'id' => '13',
'major_no' => '8',
'major_no_fee' => '11',
'major_code' => null,
'major_name' => 'สัตวศาสตร์และสัตว์น้ำ',
'major_eng' => 'Animal and Aquatic Science',
'major_eng2' => 'Animal and Aquatic Science',
'major_acronym' => 'สัตวศาสตร์และสัตว์น้ำ',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(137, 185, 40)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '23',
'parent' => '40',
'name' => 'ภาควิชาสัตวศาสตร์และสัตว์น้ำ',
'status' => 'Y',
'old_name' => 'สาขาวิชาสัตวศาสตร์',
'sort' => '70',
'name_shot' => 'สัตวศาสตร์ฯ',
'phone' => '44069',
'order' => '10',
'group' => '2',
'level_course_fee' => '5',
'level_scholarship' => '0'
)
),
(int) 8 => array(
'Majordegree' => array(
'id' => '31',
'major_name' => 'สาขาวิชาปฐพีศาสตร์',
'major_id' => '18',
'organize_id' => '16',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '5'
),
'Major' => array(
'id' => '18',
'major_no' => '11',
'major_no_fee' => '7',
'major_code' => null,
'major_name' => 'ปฐพีศาสตร์',
'major_eng' => 'SOIL SCIENCE',
'major_eng2' => 'SOIL SCIENCE',
'major_acronym' => 'ปฐพีศาสตร์',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(219, 219, 85)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '16',
'parent' => '40',
'name' => 'ภาควิชาพืชศาสตร์และปฐพีศาสตร์',
'status' => 'Y',
'old_name' => '',
'sort' => '50',
'name_shot' => 'พืชศาสตร์ฯ',
'phone' => '44040',
'order' => '8',
'group' => '2',
'level_course_fee' => '3',
'level_scholarship' => '0'
)
),
(int) 9 => array(
'Majordegree' => array(
'id' => '39',
'major_name' => 'สาขาวิชาทรัพยากรป่าไม้และวนเกษตร',
'major_id' => '20',
'organize_id' => '24',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '20',
'major_no' => '14',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ทรัพยากรป่าไม้และวนเกษตร',
'major_eng' => 'Highland Agriculture and Natural Resources',
'major_eng2' => 'Highland Agriculture and Natural Resources',
'major_acronym' => 'เกษตรที่สูงและทรัพยากรธรรมชาติ',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(233, 202, 75)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '24',
'parent' => '40',
'name' => 'ภาควิชาเกษตรที่สูงและทรัพยากรธรรมชาติ',
'status' => 'Y',
'old_name' => '',
'sort' => '80',
'name_shot' => 'เกษตรที่สูงฯ',
'phone' => '44647',
'order' => '11',
'group' => '2',
'level_course_fee' => '6',
'level_scholarship' => '0'
)
),
(int) 10 => array(
'Majordegree' => array(
'id' => '40',
'major_name' => 'สาขาธุรกิจเกษตร',
'major_id' => '4',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '0',
'level' => '0',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '4',
'major_no' => '16',
'major_no_fee' => '10',
'major_code' => null,
'major_name' => 'ธุรกิจเกษตร',
'major_eng' => 'AGRIBUSINESS',
'major_eng2' => 'Agribusiness',
'major_acronym' => 'ธุรกิจเกษตร',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => 'rgb(153, 0, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
),
(int) 11 => array(
'Majordegree' => array(
'id' => '42',
'major_name' => 'สาขาวิชาเกษตรศาสตร์',
'major_id' => '17',
'organize_id' => '5',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '17',
'major_no' => '49',
'major_no_fee' => '1',
'major_code' => null,
'major_name' => 'เกษตรศาสตร์',
'major_eng' => 'Agriculture',
'major_eng2' => 'Agriculture
',
'major_acronym' => 'เกษตรศาสตร์',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(153, 0, 76)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '5',
'parent' => '1',
'name' => 'งานบริการการศึกษาและพัฒนาคุณภาพนักศึกษา',
'status' => 'Y',
'old_name' => 'งานบริการการศึกษา และพัฒนาคุณภาพนักศึกษา',
'sort' => '14',
'name_shot' => 'การศึกษา',
'phone' => '44642',
'order' => '3',
'group' => '1',
'level_course_fee' => '1',
'level_scholarship' => '1'
)
),
(int) 12 => array(
'Majordegree' => array(
'id' => '43',
'major_name' => 'สาขาวิชาเกษตรที่สูงและทรัพยากรธรรมชาติ',
'major_id' => '23',
'organize_id' => '24',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '8'
),
'Major' => array(
'id' => '23',
'major_no' => '17',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'เกษตรที่สูงและทรัพยากรธรรมชาติ',
'major_eng' => 'Highland Agriculture and Natural Resources',
'major_eng2' => 'Highland Agriculture and Natural Resources',
'major_acronym' => 'เกษตรที่สูงและทรัพยากรธรรมชาติ',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '0',
'color' => 'rgb(255, 99, 132)',
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '24',
'parent' => '40',
'name' => 'ภาควิชาเกษตรที่สูงและทรัพยากรธรรมชาติ',
'status' => 'Y',
'old_name' => '',
'sort' => '80',
'name_shot' => 'เกษตรที่สูงฯ',
'phone' => '44647',
'order' => '11',
'group' => '2',
'level_course_fee' => '6',
'level_scholarship' => '0'
)
),
(int) 13 => array(
'Majordegree' => array(
'id' => '44',
'major_name' => 'สาขาวิชาสัตวศาสตร์',
'major_id' => '11',
'organize_id' => '23',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '11',
'major_no' => '7',
'major_no_fee' => null,
'major_code' => 'HD',
'major_name' => 'สัตวศาสตร์',
'major_eng' => 'ANIMAL SCIENCE',
'major_eng2' => 'Animal Science',
'major_acronym' => 'สัตวศาสตร์',
'major_level' => '1',
'major_degree_id' => null,
'major_show_graph_id' => '1',
'color' => 'rgb(26, 139, 45)',
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '23',
'parent' => '40',
'name' => 'ภาควิชาสัตวศาสตร์และสัตว์น้ำ',
'status' => 'Y',
'old_name' => 'สาขาวิชาสัตวศาสตร์',
'sort' => '70',
'name_shot' => 'สัตวศาสตร์ฯ',
'phone' => '44069',
'order' => '10',
'group' => '2',
'level_course_fee' => '5',
'level_scholarship' => '0'
)
),
(int) 14 => array(
'Majordegree' => array(
'id' => '46',
'major_name' => 'สาขาวิชาผู้ประกอบการด้านเกษตรอัจฉริยะและอาหาร',
'major_id' => '25',
'organize_id' => null,
'degree_id' => '1',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => null,
'order' => '15',
'order_select_major' => '9'
),
'Major' => array(
'id' => '25',
'major_no' => '20',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ผู้ประกอบการด้านเกษตรอัจฉริยะและอาหาร',
'major_eng' => 'Smart Agriculture and Food Entrepreneur',
'major_eng2' => 'Smart Agriculture and Food Entrepreneur',
'major_acronym' => null,
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '0',
'color' => null,
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => null,
'parent' => null,
'name' => null,
'status' => null,
'old_name' => null,
'sort' => null,
'name_shot' => null,
'phone' => null,
'order' => null,
'group' => null,
'level_course_fee' => null,
'level_scholarship' => null
)
),
(int) 15 => array(
'Majordegree' => array(
'id' => '47',
'major_name' => 'สาขาวิชาเศรษฐศาสตร์เกษตรและธุรกิจเกษตร',
'major_id' => '26',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '26',
'major_no' => '21',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'เศรษฐศาสตร์เกษตรและธุรกิจเกษตร',
'major_eng' => null,
'major_eng2' => null,
'major_acronym' => null,
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(76, 0, 153)',
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
),
(int) 16 => array(
'Majordegree' => array(
'id' => '50',
'major_name' => 'สาขาวิชาวิทยาศาสตร์การประมง',
'major_id' => '28',
'organize_id' => '23',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '28',
'major_no' => '9',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'วิทยาศาสตร์การประมง',
'major_eng' => null,
'major_eng2' => null,
'major_acronym' => null,
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => null,
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '23',
'parent' => '40',
'name' => 'ภาควิชาสัตวศาสตร์และสัตว์น้ำ',
'status' => 'Y',
'old_name' => 'สาขาวิชาสัตวศาสตร์',
'sort' => '70',
'name_shot' => 'สัตวศาสตร์ฯ',
'phone' => '44069',
'order' => '10',
'group' => '2',
'level_course_fee' => '5',
'level_scholarship' => '0'
)
)
)
$major = array(
'Majordegree' => array(
'id' => '1',
'major_name' => 'สาขาวิชาเศรษฐศาสตร์เกษตร',
'major_id' => '1',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '1',
'major_no' => '5',
'major_no_fee' => '8',
'major_code' => 'HA',
'major_name' => 'เศรษฐศาสตร์เกษตร',
'major_eng' => 'AGRICULTURAL ECONOMICS',
'major_eng2' => 'Agricultural Economics',
'major_acronym' => 'เศรษฐศาสตร์เกษตร',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(255, 128, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
)
$yearId = '66'
$yearIdmin1 = '660000000'
$yearIdmax1 = '669999999'
$yearIdmin2 = '650000000'
$yearIdmax2 = '659999999'
$yearIdmin3 = '640000000'
$yearIdmax3 = '649999999'
$yearIdmin4 = '630000000'
$yearIdmax4 = '639999999'
$yearIdmin5 = '620000000'
$yearIdmax5 = '629999999'
$yearIdmin6 = '610000000'
$yearIdmax6 = '619999999'
$yearIdmin7 = '600000000'
$yearIdmax7 = '609999999'
$yearIdmin8 = '590000000'
$yearIdmax8 = '599999999'
$yearIdmin9 = '580000000'
$yearIdmax9 = '589999999'
$yearIdmin10 = '570000000'
$yearIdmax10 = '579999999'
$total = (int) 0
StudentsController::list_student_by_division_student() - APP\Controller\StudentsController.php, line 15451
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE\Cake\Controller\Controller.php, line 490
Dispatcher::_invoke() - CORE\Cake\Routing\Dispatcher.php, line 191
Dispatcher::dispatch() - CORE\Cake\Routing\Dispatcher.php, line 165
require - APP\webroot\index.php, line 108
[main] - ROOT\index.php, line 41
Notice (8): Undefined variable: output8 [APP\Controller\StudentsController.php, line 15476]Code Context }
if ($output8== null) {
$yearList = '2565'
$term = '2'
$degree_id = '1'
$UserName = null
$admins = null
$lastYearTerms = array(
'Yearterm' => array(
'id' => '35',
'year' => '2567',
'term' => '2',
'trm' => '672',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2567',
'postdate' => '2024-11-11',
'level' => '1'
)
)
$degreedropdowns = array(
(int) 0 => array(
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
)
),
(int) 1 => array(
'Degree' => array(
'id' => '3',
'degree_name' => 'ปริญญาโท',
'degree_name_en' => 'Master's degree'
)
),
(int) 2 => array(
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
)
)
)
$dropdowns = array(
(int) 0 => array(
'Yearterm' => array(
'id' => '35',
'year' => '2567',
'term' => '2',
'trm' => '672',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2567',
'postdate' => '2024-11-11',
'level' => '1'
)
),
(int) 1 => array(
'Yearterm' => array(
'id' => '34',
'year' => '2567',
'term' => '1',
'trm' => '671',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2567',
'postdate' => '2024-07-05',
'level' => '1'
)
),
(int) 2 => array(
'Yearterm' => array(
'id' => '33',
'year' => '2566',
'term' => '3',
'trm' => '663',
'name' => 'ภาคการศึกษาที่ 3 ปีการศึกษา 2566',
'postdate' => '2024-05-15',
'level' => '1'
)
),
(int) 3 => array(
'Yearterm' => array(
'id' => '32',
'year' => '2566',
'term' => '2',
'trm' => '662',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2566',
'postdate' => '2023-12-06',
'level' => '1'
)
),
(int) 4 => array(
'Yearterm' => array(
'id' => '31',
'year' => '2566',
'term' => '1',
'trm' => '661',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2566',
'postdate' => '2023-07-06',
'level' => '1'
)
),
(int) 5 => array(
'Yearterm' => array(
'id' => '30',
'year' => '2565',
'term' => '3',
'trm' => '653',
'name' => 'ภาคการศึกษาที่ 3 ปีการศึกษา 2565',
'postdate' => '2023-05-01',
'level' => '1'
)
),
(int) 6 => array(
'Yearterm' => array(
'id' => '29',
'year' => '2565',
'term' => '2',
'trm' => '652',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2565',
'postdate' => '2022-12-09',
'level' => '1'
)
),
(int) 7 => array(
'Yearterm' => array(
'id' => '28',
'year' => '2565',
'term' => '1',
'trm' => '651',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2565',
'postdate' => '2022-07-20',
'level' => '1'
)
),
(int) 8 => array(
'Yearterm' => array(
'id' => '27',
'year' => '2564',
'term' => '3',
'trm' => '643',
'name' => 'ภาคการศึกษาที่ 3 ปีการศึกษา 2564',
'postdate' => '2022-03-28',
'level' => '1'
)
),
(int) 9 => array(
'Yearterm' => array(
'id' => '26',
'year' => '2564',
'term' => '2',
'trm' => '642',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2564',
'postdate' => '2022-03-27',
'level' => '1'
)
),
(int) 10 => array(
'Yearterm' => array(
'id' => '25',
'year' => '2564',
'term' => '1',
'trm' => '641',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2564',
'postdate' => '2021-07-07',
'level' => '1'
)
),
(int) 11 => array(
'Yearterm' => array(
'id' => '24',
'year' => '2563',
'term' => '3',
'trm' => '633',
'name' => 'ภาคการศึกษาที่ 3 ปีการศึกษา 2563',
'postdate' => '2021-05-06',
'level' => '1'
)
)
)
$findStudentInNewTerm = array(
'Studentterm' => array(
'term_year' => '2565',
'term_id' => '2',
'student_id' => '660851005'
)
)
$years = array(
(int) 0 => array(
'Yearterm' => array(
'id' => '29',
'year' => '2565',
'term' => '2',
'trm' => '652',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2565',
'postdate' => '2022-12-09',
'level' => '1'
)
)
)
$countstudentTerm = (int) 1663
$output = '
<tr>
<td style="text-align:left;">เศรษฐศาสตร์เกษตร</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td>'
$totals1 = (int) 0
$totals2 = (int) 0
$totals3 = (int) 0
$totals4 = (int) 0
$totals5 = (int) 0
$totals6 = (int) 0
$totals7 = (int) 0
$totals8 = (int) 0
$totals9 = (int) 0
$totals10 = (int) 0
$output3 = ''
$totals13 = (int) 0
$totals23 = (int) 0
$totals33 = (int) 0
$totals43 = (int) 0
$totals53 = (int) 0
$totals63 = (int) 0
$totals73 = (int) 0
$totals83 = (int) 0
$totals93 = (int) 0
$totals103 = (int) 0
$output5 = ''
$totals15 = (int) 0
$totals25 = (int) 0
$totals35 = (int) 0
$totals45 = (int) 0
$totals55 = (int) 0
$totals65 = (int) 0
$totals75 = (int) 0
$totals85 = (int) 0
$totals95 = (int) 0
$totals105 = (int) 0
$totals115 = (int) 0
$majors = array(
(int) 0 => array(
'Majordegree' => array(
'id' => '1',
'major_name' => 'สาขาวิชาเศรษฐศาสตร์เกษตร',
'major_id' => '1',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '1',
'major_no' => '5',
'major_no_fee' => '8',
'major_code' => 'HA',
'major_name' => 'เศรษฐศาสตร์เกษตร',
'major_eng' => 'AGRICULTURAL ECONOMICS',
'major_eng2' => 'Agricultural Economics',
'major_acronym' => 'เศรษฐศาสตร์เกษตร',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(255, 128, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
),
(int) 1 => array(
'Majordegree' => array(
'id' => '5',
'major_name' => 'สาขาวิชากีฏวิทยา',
'major_id' => '3',
'organize_id' => '2',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '1'
),
'Major' => array(
'id' => '3',
'major_no' => '1',
'major_no_fee' => '2',
'major_code' => 'HE',
'major_name' => 'กีฏวิทยา',
'major_eng' => 'ENTOMOLOGY',
'major_eng2' => 'Entomology',
'major_acronym' => 'กีฏวิทยา',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(75, 190, 115)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '2',
'parent' => '40',
'name' => 'ภาควิชากีฏวิทยาและโรคพืช',
'status' => 'Y',
'old_name' => '',
'sort' => '40',
'name_shot' => 'กีฏโรคพืช',
'phone' => '44021',
'order' => '7',
'group' => '2',
'level_course_fee' => '2',
'level_scholarship' => '0'
)
),
(int) 2 => array(
'Majordegree' => array(
'id' => '9',
'major_name' => 'สาขาวิชาปฐพีศาสตร์และการจัดการทรัพยากรธรรมชาติ',
'major_id' => '5',
'organize_id' => '16',
'degree_id' => '1',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '5',
'major_no' => '6',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ปฐพีศาสตร์และการจัดการทรัพยากรธรรมชาติ',
'major_eng' => 'SOIL SCIENCE AND NATURAL RESOURCE MANAG',
'major_eng2' => 'Soil Science and Natural Resource Management',
'major_acronym' => 'ปฐพีศาสตร์ฯ',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => null,
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '16',
'parent' => '40',
'name' => 'ภาควิชาพืชศาสตร์และปฐพีศาสตร์',
'status' => 'Y',
'old_name' => '',
'sort' => '50',
'name_shot' => 'พืชศาสตร์ฯ',
'phone' => '44040',
'order' => '8',
'group' => '2',
'level_course_fee' => '3',
'level_scholarship' => '0'
)
),
(int) 3 => array(
'Majordegree' => array(
'id' => '12',
'major_name' => 'สาขาวิชาพืชไร่',
'major_id' => '6',
'organize_id' => '16',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '3'
),
'Major' => array(
'id' => '6',
'major_no' => '3',
'major_no_fee' => '5',
'major_code' => 'HC',
'major_name' => 'พืชไร่',
'major_eng' => 'AGRONOMY',
'major_eng2' => 'Agronomy',
'major_acronym' => 'พืชไร่',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(150, 21, 182)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '16',
'parent' => '40',
'name' => 'ภาควิชาพืชศาสตร์และปฐพีศาสตร์',
'status' => 'Y',
'old_name' => '',
'sort' => '50',
'name_shot' => 'พืชศาสตร์ฯ',
'phone' => '44040',
'order' => '8',
'group' => '2',
'level_course_fee' => '3',
'level_scholarship' => '0'
)
),
(int) 4 => array(
'Majordegree' => array(
'id' => '15',
'major_name' => 'สาขาวิชาพืชสวน',
'major_id' => '7',
'organize_id' => '16',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '4'
),
'Major' => array(
'id' => '7',
'major_no' => '4',
'major_no_fee' => '6',
'major_code' => 'HF',
'major_name' => 'พืชสวน',
'major_eng' => 'HORTICULTURE',
'major_eng2' => 'Horticulture',
'major_acronym' => 'พืชสวน',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(46, 39, 145)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '16',
'parent' => '40',
'name' => 'ภาควิชาพืชศาสตร์และปฐพีศาสตร์',
'status' => 'Y',
'old_name' => '',
'sort' => '50',
'name_shot' => 'พืชศาสตร์ฯ',
'phone' => '44040',
'order' => '8',
'group' => '2',
'level_course_fee' => '3',
'level_scholarship' => '0'
)
),
(int) 5 => array(
'Majordegree' => array(
'id' => '18',
'major_name' => 'สาขาวิชาโรคพืช',
'major_id' => '9',
'organize_id' => '2',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '2'
),
'Major' => array(
'id' => '9',
'major_no' => '2',
'major_no_fee' => '3',
'major_code' => 'HG ',
'major_name' => 'โรคพืช',
'major_eng' => 'PLANT PATHOLOGY',
'major_eng2' => 'Plant Pathology',
'major_acronym' => 'โรคพืช',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(245, 158, 216)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '2',
'parent' => '40',
'name' => 'ภาควิชากีฏวิทยาและโรคพืช',
'status' => 'Y',
'old_name' => '',
'sort' => '40',
'name_shot' => 'กีฏโรคพืช',
'phone' => '44021',
'order' => '7',
'group' => '2',
'level_course_fee' => '2',
'level_scholarship' => '0'
)
),
(int) 6 => array(
'Majordegree' => array(
'id' => '25',
'major_name' => 'สาขาวิชาส่งเสริมและเผยแพร่การเกษตร',
'major_id' => '12',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '6'
),
'Major' => array(
'id' => '12',
'major_no' => '10',
'major_no_fee' => '9',
'major_code' => 'HB',
'major_name' => 'ส่งเสริมและเผยแพร่การเกษตร',
'major_eng' => 'Agricultural Extension',
'major_eng2' => 'Agricultural Extension',
'major_acronym' => 'ส่งเสริมและเผยแพร่การเกษตร',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(224, 233, 93)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
),
(int) 7 => array(
'Majordegree' => array(
'id' => '26',
'major_name' => 'สาขาวิชาสัตวศาสตร์และสัตว์น้ำ',
'major_id' => '13',
'organize_id' => '23',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '7'
),
'Major' => array(
'id' => '13',
'major_no' => '8',
'major_no_fee' => '11',
'major_code' => null,
'major_name' => 'สัตวศาสตร์และสัตว์น้ำ',
'major_eng' => 'Animal and Aquatic Science',
'major_eng2' => 'Animal and Aquatic Science',
'major_acronym' => 'สัตวศาสตร์และสัตว์น้ำ',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(137, 185, 40)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '23',
'parent' => '40',
'name' => 'ภาควิชาสัตวศาสตร์และสัตว์น้ำ',
'status' => 'Y',
'old_name' => 'สาขาวิชาสัตวศาสตร์',
'sort' => '70',
'name_shot' => 'สัตวศาสตร์ฯ',
'phone' => '44069',
'order' => '10',
'group' => '2',
'level_course_fee' => '5',
'level_scholarship' => '0'
)
),
(int) 8 => array(
'Majordegree' => array(
'id' => '31',
'major_name' => 'สาขาวิชาปฐพีศาสตร์',
'major_id' => '18',
'organize_id' => '16',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '5'
),
'Major' => array(
'id' => '18',
'major_no' => '11',
'major_no_fee' => '7',
'major_code' => null,
'major_name' => 'ปฐพีศาสตร์',
'major_eng' => 'SOIL SCIENCE',
'major_eng2' => 'SOIL SCIENCE',
'major_acronym' => 'ปฐพีศาสตร์',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(219, 219, 85)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '16',
'parent' => '40',
'name' => 'ภาควิชาพืชศาสตร์และปฐพีศาสตร์',
'status' => 'Y',
'old_name' => '',
'sort' => '50',
'name_shot' => 'พืชศาสตร์ฯ',
'phone' => '44040',
'order' => '8',
'group' => '2',
'level_course_fee' => '3',
'level_scholarship' => '0'
)
),
(int) 9 => array(
'Majordegree' => array(
'id' => '39',
'major_name' => 'สาขาวิชาทรัพยากรป่าไม้และวนเกษตร',
'major_id' => '20',
'organize_id' => '24',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '20',
'major_no' => '14',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ทรัพยากรป่าไม้และวนเกษตร',
'major_eng' => 'Highland Agriculture and Natural Resources',
'major_eng2' => 'Highland Agriculture and Natural Resources',
'major_acronym' => 'เกษตรที่สูงและทรัพยากรธรรมชาติ',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(233, 202, 75)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '24',
'parent' => '40',
'name' => 'ภาควิชาเกษตรที่สูงและทรัพยากรธรรมชาติ',
'status' => 'Y',
'old_name' => '',
'sort' => '80',
'name_shot' => 'เกษตรที่สูงฯ',
'phone' => '44647',
'order' => '11',
'group' => '2',
'level_course_fee' => '6',
'level_scholarship' => '0'
)
),
(int) 10 => array(
'Majordegree' => array(
'id' => '40',
'major_name' => 'สาขาธุรกิจเกษตร',
'major_id' => '4',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '0',
'level' => '0',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '4',
'major_no' => '16',
'major_no_fee' => '10',
'major_code' => null,
'major_name' => 'ธุรกิจเกษตร',
'major_eng' => 'AGRIBUSINESS',
'major_eng2' => 'Agribusiness',
'major_acronym' => 'ธุรกิจเกษตร',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => 'rgb(153, 0, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
),
(int) 11 => array(
'Majordegree' => array(
'id' => '42',
'major_name' => 'สาขาวิชาเกษตรศาสตร์',
'major_id' => '17',
'organize_id' => '5',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '17',
'major_no' => '49',
'major_no_fee' => '1',
'major_code' => null,
'major_name' => 'เกษตรศาสตร์',
'major_eng' => 'Agriculture',
'major_eng2' => 'Agriculture
',
'major_acronym' => 'เกษตรศาสตร์',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(153, 0, 76)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '5',
'parent' => '1',
'name' => 'งานบริการการศึกษาและพัฒนาคุณภาพนักศึกษา',
'status' => 'Y',
'old_name' => 'งานบริการการศึกษา และพัฒนาคุณภาพนักศึกษา',
'sort' => '14',
'name_shot' => 'การศึกษา',
'phone' => '44642',
'order' => '3',
'group' => '1',
'level_course_fee' => '1',
'level_scholarship' => '1'
)
),
(int) 12 => array(
'Majordegree' => array(
'id' => '43',
'major_name' => 'สาขาวิชาเกษตรที่สูงและทรัพยากรธรรมชาติ',
'major_id' => '23',
'organize_id' => '24',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '8'
),
'Major' => array(
'id' => '23',
'major_no' => '17',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'เกษตรที่สูงและทรัพยากรธรรมชาติ',
'major_eng' => 'Highland Agriculture and Natural Resources',
'major_eng2' => 'Highland Agriculture and Natural Resources',
'major_acronym' => 'เกษตรที่สูงและทรัพยากรธรรมชาติ',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '0',
'color' => 'rgb(255, 99, 132)',
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '24',
'parent' => '40',
'name' => 'ภาควิชาเกษตรที่สูงและทรัพยากรธรรมชาติ',
'status' => 'Y',
'old_name' => '',
'sort' => '80',
'name_shot' => 'เกษตรที่สูงฯ',
'phone' => '44647',
'order' => '11',
'group' => '2',
'level_course_fee' => '6',
'level_scholarship' => '0'
)
),
(int) 13 => array(
'Majordegree' => array(
'id' => '44',
'major_name' => 'สาขาวิชาสัตวศาสตร์',
'major_id' => '11',
'organize_id' => '23',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '11',
'major_no' => '7',
'major_no_fee' => null,
'major_code' => 'HD',
'major_name' => 'สัตวศาสตร์',
'major_eng' => 'ANIMAL SCIENCE',
'major_eng2' => 'Animal Science',
'major_acronym' => 'สัตวศาสตร์',
'major_level' => '1',
'major_degree_id' => null,
'major_show_graph_id' => '1',
'color' => 'rgb(26, 139, 45)',
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '23',
'parent' => '40',
'name' => 'ภาควิชาสัตวศาสตร์และสัตว์น้ำ',
'status' => 'Y',
'old_name' => 'สาขาวิชาสัตวศาสตร์',
'sort' => '70',
'name_shot' => 'สัตวศาสตร์ฯ',
'phone' => '44069',
'order' => '10',
'group' => '2',
'level_course_fee' => '5',
'level_scholarship' => '0'
)
),
(int) 14 => array(
'Majordegree' => array(
'id' => '46',
'major_name' => 'สาขาวิชาผู้ประกอบการด้านเกษตรอัจฉริยะและอาหาร',
'major_id' => '25',
'organize_id' => null,
'degree_id' => '1',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => null,
'order' => '15',
'order_select_major' => '9'
),
'Major' => array(
'id' => '25',
'major_no' => '20',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ผู้ประกอบการด้านเกษตรอัจฉริยะและอาหาร',
'major_eng' => 'Smart Agriculture and Food Entrepreneur',
'major_eng2' => 'Smart Agriculture and Food Entrepreneur',
'major_acronym' => null,
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '0',
'color' => null,
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => null,
'parent' => null,
'name' => null,
'status' => null,
'old_name' => null,
'sort' => null,
'name_shot' => null,
'phone' => null,
'order' => null,
'group' => null,
'level_course_fee' => null,
'level_scholarship' => null
)
),
(int) 15 => array(
'Majordegree' => array(
'id' => '47',
'major_name' => 'สาขาวิชาเศรษฐศาสตร์เกษตรและธุรกิจเกษตร',
'major_id' => '26',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '26',
'major_no' => '21',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'เศรษฐศาสตร์เกษตรและธุรกิจเกษตร',
'major_eng' => null,
'major_eng2' => null,
'major_acronym' => null,
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(76, 0, 153)',
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
),
(int) 16 => array(
'Majordegree' => array(
'id' => '50',
'major_name' => 'สาขาวิชาวิทยาศาสตร์การประมง',
'major_id' => '28',
'organize_id' => '23',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '28',
'major_no' => '9',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'วิทยาศาสตร์การประมง',
'major_eng' => null,
'major_eng2' => null,
'major_acronym' => null,
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => null,
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '23',
'parent' => '40',
'name' => 'ภาควิชาสัตวศาสตร์และสัตว์น้ำ',
'status' => 'Y',
'old_name' => 'สาขาวิชาสัตวศาสตร์',
'sort' => '70',
'name_shot' => 'สัตวศาสตร์ฯ',
'phone' => '44069',
'order' => '10',
'group' => '2',
'level_course_fee' => '5',
'level_scholarship' => '0'
)
)
)
$major = array(
'Majordegree' => array(
'id' => '1',
'major_name' => 'สาขาวิชาเศรษฐศาสตร์เกษตร',
'major_id' => '1',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '1',
'major_no' => '5',
'major_no_fee' => '8',
'major_code' => 'HA',
'major_name' => 'เศรษฐศาสตร์เกษตร',
'major_eng' => 'AGRICULTURAL ECONOMICS',
'major_eng2' => 'Agricultural Economics',
'major_acronym' => 'เศรษฐศาสตร์เกษตร',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(255, 128, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
)
$yearId = '66'
$yearIdmin1 = '660000000'
$yearIdmax1 = '669999999'
$yearIdmin2 = '650000000'
$yearIdmax2 = '659999999'
$yearIdmin3 = '640000000'
$yearIdmax3 = '649999999'
$yearIdmin4 = '630000000'
$yearIdmax4 = '639999999'
$yearIdmin5 = '620000000'
$yearIdmax5 = '629999999'
$yearIdmin6 = '610000000'
$yearIdmax6 = '619999999'
$yearIdmin7 = '600000000'
$yearIdmax7 = '609999999'
$yearIdmin8 = '590000000'
$yearIdmax8 = '599999999'
$yearIdmin9 = '580000000'
$yearIdmax9 = '589999999'
$yearIdmin10 = '570000000'
$yearIdmax10 = '579999999'
$total = (int) 0
StudentsController::list_student_by_division_student() - APP\Controller\StudentsController.php, line 15476
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE\Cake\Controller\Controller.php, line 490
Dispatcher::_invoke() - CORE\Cake\Routing\Dispatcher.php, line 191
Dispatcher::dispatch() - CORE\Cake\Routing\Dispatcher.php, line 165
require - APP\webroot\index.php, line 108
[main] - ROOT\index.php, line 41
Notice (8): Undefined variable: output9 [APP\Controller\StudentsController.php, line 15501]Code Context }
if ($output9== null) {
$yearList = '2565'
$term = '2'
$degree_id = '1'
$UserName = null
$admins = null
$lastYearTerms = array(
'Yearterm' => array(
'id' => '35',
'year' => '2567',
'term' => '2',
'trm' => '672',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2567',
'postdate' => '2024-11-11',
'level' => '1'
)
)
$degreedropdowns = array(
(int) 0 => array(
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
)
),
(int) 1 => array(
'Degree' => array(
'id' => '3',
'degree_name' => 'ปริญญาโท',
'degree_name_en' => 'Master's degree'
)
),
(int) 2 => array(
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
)
)
)
$dropdowns = array(
(int) 0 => array(
'Yearterm' => array(
'id' => '35',
'year' => '2567',
'term' => '2',
'trm' => '672',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2567',
'postdate' => '2024-11-11',
'level' => '1'
)
),
(int) 1 => array(
'Yearterm' => array(
'id' => '34',
'year' => '2567',
'term' => '1',
'trm' => '671',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2567',
'postdate' => '2024-07-05',
'level' => '1'
)
),
(int) 2 => array(
'Yearterm' => array(
'id' => '33',
'year' => '2566',
'term' => '3',
'trm' => '663',
'name' => 'ภาคการศึกษาที่ 3 ปีการศึกษา 2566',
'postdate' => '2024-05-15',
'level' => '1'
)
),
(int) 3 => array(
'Yearterm' => array(
'id' => '32',
'year' => '2566',
'term' => '2',
'trm' => '662',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2566',
'postdate' => '2023-12-06',
'level' => '1'
)
),
(int) 4 => array(
'Yearterm' => array(
'id' => '31',
'year' => '2566',
'term' => '1',
'trm' => '661',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2566',
'postdate' => '2023-07-06',
'level' => '1'
)
),
(int) 5 => array(
'Yearterm' => array(
'id' => '30',
'year' => '2565',
'term' => '3',
'trm' => '653',
'name' => 'ภาคการศึกษาที่ 3 ปีการศึกษา 2565',
'postdate' => '2023-05-01',
'level' => '1'
)
),
(int) 6 => array(
'Yearterm' => array(
'id' => '29',
'year' => '2565',
'term' => '2',
'trm' => '652',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2565',
'postdate' => '2022-12-09',
'level' => '1'
)
),
(int) 7 => array(
'Yearterm' => array(
'id' => '28',
'year' => '2565',
'term' => '1',
'trm' => '651',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2565',
'postdate' => '2022-07-20',
'level' => '1'
)
),
(int) 8 => array(
'Yearterm' => array(
'id' => '27',
'year' => '2564',
'term' => '3',
'trm' => '643',
'name' => 'ภาคการศึกษาที่ 3 ปีการศึกษา 2564',
'postdate' => '2022-03-28',
'level' => '1'
)
),
(int) 9 => array(
'Yearterm' => array(
'id' => '26',
'year' => '2564',
'term' => '2',
'trm' => '642',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2564',
'postdate' => '2022-03-27',
'level' => '1'
)
),
(int) 10 => array(
'Yearterm' => array(
'id' => '25',
'year' => '2564',
'term' => '1',
'trm' => '641',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2564',
'postdate' => '2021-07-07',
'level' => '1'
)
),
(int) 11 => array(
'Yearterm' => array(
'id' => '24',
'year' => '2563',
'term' => '3',
'trm' => '633',
'name' => 'ภาคการศึกษาที่ 3 ปีการศึกษา 2563',
'postdate' => '2021-05-06',
'level' => '1'
)
)
)
$findStudentInNewTerm = array(
'Studentterm' => array(
'term_year' => '2565',
'term_id' => '2',
'student_id' => '660851005'
)
)
$years = array(
(int) 0 => array(
'Yearterm' => array(
'id' => '29',
'year' => '2565',
'term' => '2',
'trm' => '652',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2565',
'postdate' => '2022-12-09',
'level' => '1'
)
)
)
$countstudentTerm = (int) 1663
$output = '
<tr>
<td style="text-align:left;">เศรษฐศาสตร์เกษตร</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td>'
$totals1 = (int) 0
$totals2 = (int) 0
$totals3 = (int) 0
$totals4 = (int) 0
$totals5 = (int) 0
$totals6 = (int) 0
$totals7 = (int) 0
$totals8 = (int) 0
$totals9 = (int) 0
$totals10 = (int) 0
$output3 = ''
$totals13 = (int) 0
$totals23 = (int) 0
$totals33 = (int) 0
$totals43 = (int) 0
$totals53 = (int) 0
$totals63 = (int) 0
$totals73 = (int) 0
$totals83 = (int) 0
$totals93 = (int) 0
$totals103 = (int) 0
$output5 = ''
$totals15 = (int) 0
$totals25 = (int) 0
$totals35 = (int) 0
$totals45 = (int) 0
$totals55 = (int) 0
$totals65 = (int) 0
$totals75 = (int) 0
$totals85 = (int) 0
$totals95 = (int) 0
$totals105 = (int) 0
$totals115 = (int) 0
$majors = array(
(int) 0 => array(
'Majordegree' => array(
'id' => '1',
'major_name' => 'สาขาวิชาเศรษฐศาสตร์เกษตร',
'major_id' => '1',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '1',
'major_no' => '5',
'major_no_fee' => '8',
'major_code' => 'HA',
'major_name' => 'เศรษฐศาสตร์เกษตร',
'major_eng' => 'AGRICULTURAL ECONOMICS',
'major_eng2' => 'Agricultural Economics',
'major_acronym' => 'เศรษฐศาสตร์เกษตร',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(255, 128, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
),
(int) 1 => array(
'Majordegree' => array(
'id' => '5',
'major_name' => 'สาขาวิชากีฏวิทยา',
'major_id' => '3',
'organize_id' => '2',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '1'
),
'Major' => array(
'id' => '3',
'major_no' => '1',
'major_no_fee' => '2',
'major_code' => 'HE',
'major_name' => 'กีฏวิทยา',
'major_eng' => 'ENTOMOLOGY',
'major_eng2' => 'Entomology',
'major_acronym' => 'กีฏวิทยา',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(75, 190, 115)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '2',
'parent' => '40',
'name' => 'ภาควิชากีฏวิทยาและโรคพืช',
'status' => 'Y',
'old_name' => '',
'sort' => '40',
'name_shot' => 'กีฏโรคพืช',
'phone' => '44021',
'order' => '7',
'group' => '2',
'level_course_fee' => '2',
'level_scholarship' => '0'
)
),
(int) 2 => array(
'Majordegree' => array(
'id' => '9',
'major_name' => 'สาขาวิชาปฐพีศาสตร์และการจัดการทรัพยากรธรรมชาติ',
'major_id' => '5',
'organize_id' => '16',
'degree_id' => '1',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '5',
'major_no' => '6',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ปฐพีศาสตร์และการจัดการทรัพยากรธรรมชาติ',
'major_eng' => 'SOIL SCIENCE AND NATURAL RESOURCE MANAG',
'major_eng2' => 'Soil Science and Natural Resource Management',
'major_acronym' => 'ปฐพีศาสตร์ฯ',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => null,
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '16',
'parent' => '40',
'name' => 'ภาควิชาพืชศาสตร์และปฐพีศาสตร์',
'status' => 'Y',
'old_name' => '',
'sort' => '50',
'name_shot' => 'พืชศาสตร์ฯ',
'phone' => '44040',
'order' => '8',
'group' => '2',
'level_course_fee' => '3',
'level_scholarship' => '0'
)
),
(int) 3 => array(
'Majordegree' => array(
'id' => '12',
'major_name' => 'สาขาวิชาพืชไร่',
'major_id' => '6',
'organize_id' => '16',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '3'
),
'Major' => array(
'id' => '6',
'major_no' => '3',
'major_no_fee' => '5',
'major_code' => 'HC',
'major_name' => 'พืชไร่',
'major_eng' => 'AGRONOMY',
'major_eng2' => 'Agronomy',
'major_acronym' => 'พืชไร่',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(150, 21, 182)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '16',
'parent' => '40',
'name' => 'ภาควิชาพืชศาสตร์และปฐพีศาสตร์',
'status' => 'Y',
'old_name' => '',
'sort' => '50',
'name_shot' => 'พืชศาสตร์ฯ',
'phone' => '44040',
'order' => '8',
'group' => '2',
'level_course_fee' => '3',
'level_scholarship' => '0'
)
),
(int) 4 => array(
'Majordegree' => array(
'id' => '15',
'major_name' => 'สาขาวิชาพืชสวน',
'major_id' => '7',
'organize_id' => '16',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '4'
),
'Major' => array(
'id' => '7',
'major_no' => '4',
'major_no_fee' => '6',
'major_code' => 'HF',
'major_name' => 'พืชสวน',
'major_eng' => 'HORTICULTURE',
'major_eng2' => 'Horticulture',
'major_acronym' => 'พืชสวน',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(46, 39, 145)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '16',
'parent' => '40',
'name' => 'ภาควิชาพืชศาสตร์และปฐพีศาสตร์',
'status' => 'Y',
'old_name' => '',
'sort' => '50',
'name_shot' => 'พืชศาสตร์ฯ',
'phone' => '44040',
'order' => '8',
'group' => '2',
'level_course_fee' => '3',
'level_scholarship' => '0'
)
),
(int) 5 => array(
'Majordegree' => array(
'id' => '18',
'major_name' => 'สาขาวิชาโรคพืช',
'major_id' => '9',
'organize_id' => '2',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '2'
),
'Major' => array(
'id' => '9',
'major_no' => '2',
'major_no_fee' => '3',
'major_code' => 'HG ',
'major_name' => 'โรคพืช',
'major_eng' => 'PLANT PATHOLOGY',
'major_eng2' => 'Plant Pathology',
'major_acronym' => 'โรคพืช',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(245, 158, 216)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '2',
'parent' => '40',
'name' => 'ภาควิชากีฏวิทยาและโรคพืช',
'status' => 'Y',
'old_name' => '',
'sort' => '40',
'name_shot' => 'กีฏโรคพืช',
'phone' => '44021',
'order' => '7',
'group' => '2',
'level_course_fee' => '2',
'level_scholarship' => '0'
)
),
(int) 6 => array(
'Majordegree' => array(
'id' => '25',
'major_name' => 'สาขาวิชาส่งเสริมและเผยแพร่การเกษตร',
'major_id' => '12',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '6'
),
'Major' => array(
'id' => '12',
'major_no' => '10',
'major_no_fee' => '9',
'major_code' => 'HB',
'major_name' => 'ส่งเสริมและเผยแพร่การเกษตร',
'major_eng' => 'Agricultural Extension',
'major_eng2' => 'Agricultural Extension',
'major_acronym' => 'ส่งเสริมและเผยแพร่การเกษตร',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(224, 233, 93)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
),
(int) 7 => array(
'Majordegree' => array(
'id' => '26',
'major_name' => 'สาขาวิชาสัตวศาสตร์และสัตว์น้ำ',
'major_id' => '13',
'organize_id' => '23',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '7'
),
'Major' => array(
'id' => '13',
'major_no' => '8',
'major_no_fee' => '11',
'major_code' => null,
'major_name' => 'สัตวศาสตร์และสัตว์น้ำ',
'major_eng' => 'Animal and Aquatic Science',
'major_eng2' => 'Animal and Aquatic Science',
'major_acronym' => 'สัตวศาสตร์และสัตว์น้ำ',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(137, 185, 40)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '23',
'parent' => '40',
'name' => 'ภาควิชาสัตวศาสตร์และสัตว์น้ำ',
'status' => 'Y',
'old_name' => 'สาขาวิชาสัตวศาสตร์',
'sort' => '70',
'name_shot' => 'สัตวศาสตร์ฯ',
'phone' => '44069',
'order' => '10',
'group' => '2',
'level_course_fee' => '5',
'level_scholarship' => '0'
)
),
(int) 8 => array(
'Majordegree' => array(
'id' => '31',
'major_name' => 'สาขาวิชาปฐพีศาสตร์',
'major_id' => '18',
'organize_id' => '16',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '5'
),
'Major' => array(
'id' => '18',
'major_no' => '11',
'major_no_fee' => '7',
'major_code' => null,
'major_name' => 'ปฐพีศาสตร์',
'major_eng' => 'SOIL SCIENCE',
'major_eng2' => 'SOIL SCIENCE',
'major_acronym' => 'ปฐพีศาสตร์',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(219, 219, 85)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '16',
'parent' => '40',
'name' => 'ภาควิชาพืชศาสตร์และปฐพีศาสตร์',
'status' => 'Y',
'old_name' => '',
'sort' => '50',
'name_shot' => 'พืชศาสตร์ฯ',
'phone' => '44040',
'order' => '8',
'group' => '2',
'level_course_fee' => '3',
'level_scholarship' => '0'
)
),
(int) 9 => array(
'Majordegree' => array(
'id' => '39',
'major_name' => 'สาขาวิชาทรัพยากรป่าไม้และวนเกษตร',
'major_id' => '20',
'organize_id' => '24',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '20',
'major_no' => '14',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ทรัพยากรป่าไม้และวนเกษตร',
'major_eng' => 'Highland Agriculture and Natural Resources',
'major_eng2' => 'Highland Agriculture and Natural Resources',
'major_acronym' => 'เกษตรที่สูงและทรัพยากรธรรมชาติ',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(233, 202, 75)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '24',
'parent' => '40',
'name' => 'ภาควิชาเกษตรที่สูงและทรัพยากรธรรมชาติ',
'status' => 'Y',
'old_name' => '',
'sort' => '80',
'name_shot' => 'เกษตรที่สูงฯ',
'phone' => '44647',
'order' => '11',
'group' => '2',
'level_course_fee' => '6',
'level_scholarship' => '0'
)
),
(int) 10 => array(
'Majordegree' => array(
'id' => '40',
'major_name' => 'สาขาธุรกิจเกษตร',
'major_id' => '4',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '0',
'level' => '0',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '4',
'major_no' => '16',
'major_no_fee' => '10',
'major_code' => null,
'major_name' => 'ธุรกิจเกษตร',
'major_eng' => 'AGRIBUSINESS',
'major_eng2' => 'Agribusiness',
'major_acronym' => 'ธุรกิจเกษตร',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => 'rgb(153, 0, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
),
(int) 11 => array(
'Majordegree' => array(
'id' => '42',
'major_name' => 'สาขาวิชาเกษตรศาสตร์',
'major_id' => '17',
'organize_id' => '5',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '17',
'major_no' => '49',
'major_no_fee' => '1',
'major_code' => null,
'major_name' => 'เกษตรศาสตร์',
'major_eng' => 'Agriculture',
'major_eng2' => 'Agriculture
',
'major_acronym' => 'เกษตรศาสตร์',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(153, 0, 76)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '5',
'parent' => '1',
'name' => 'งานบริการการศึกษาและพัฒนาคุณภาพนักศึกษา',
'status' => 'Y',
'old_name' => 'งานบริการการศึกษา และพัฒนาคุณภาพนักศึกษา',
'sort' => '14',
'name_shot' => 'การศึกษา',
'phone' => '44642',
'order' => '3',
'group' => '1',
'level_course_fee' => '1',
'level_scholarship' => '1'
)
),
(int) 12 => array(
'Majordegree' => array(
'id' => '43',
'major_name' => 'สาขาวิชาเกษตรที่สูงและทรัพยากรธรรมชาติ',
'major_id' => '23',
'organize_id' => '24',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '8'
),
'Major' => array(
'id' => '23',
'major_no' => '17',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'เกษตรที่สูงและทรัพยากรธรรมชาติ',
'major_eng' => 'Highland Agriculture and Natural Resources',
'major_eng2' => 'Highland Agriculture and Natural Resources',
'major_acronym' => 'เกษตรที่สูงและทรัพยากรธรรมชาติ',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '0',
'color' => 'rgb(255, 99, 132)',
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '24',
'parent' => '40',
'name' => 'ภาควิชาเกษตรที่สูงและทรัพยากรธรรมชาติ',
'status' => 'Y',
'old_name' => '',
'sort' => '80',
'name_shot' => 'เกษตรที่สูงฯ',
'phone' => '44647',
'order' => '11',
'group' => '2',
'level_course_fee' => '6',
'level_scholarship' => '0'
)
),
(int) 13 => array(
'Majordegree' => array(
'id' => '44',
'major_name' => 'สาขาวิชาสัตวศาสตร์',
'major_id' => '11',
'organize_id' => '23',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '11',
'major_no' => '7',
'major_no_fee' => null,
'major_code' => 'HD',
'major_name' => 'สัตวศาสตร์',
'major_eng' => 'ANIMAL SCIENCE',
'major_eng2' => 'Animal Science',
'major_acronym' => 'สัตวศาสตร์',
'major_level' => '1',
'major_degree_id' => null,
'major_show_graph_id' => '1',
'color' => 'rgb(26, 139, 45)',
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '23',
'parent' => '40',
'name' => 'ภาควิชาสัตวศาสตร์และสัตว์น้ำ',
'status' => 'Y',
'old_name' => 'สาขาวิชาสัตวศาสตร์',
'sort' => '70',
'name_shot' => 'สัตวศาสตร์ฯ',
'phone' => '44069',
'order' => '10',
'group' => '2',
'level_course_fee' => '5',
'level_scholarship' => '0'
)
),
(int) 14 => array(
'Majordegree' => array(
'id' => '46',
'major_name' => 'สาขาวิชาผู้ประกอบการด้านเกษตรอัจฉริยะและอาหาร',
'major_id' => '25',
'organize_id' => null,
'degree_id' => '1',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => null,
'order' => '15',
'order_select_major' => '9'
),
'Major' => array(
'id' => '25',
'major_no' => '20',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ผู้ประกอบการด้านเกษตรอัจฉริยะและอาหาร',
'major_eng' => 'Smart Agriculture and Food Entrepreneur',
'major_eng2' => 'Smart Agriculture and Food Entrepreneur',
'major_acronym' => null,
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '0',
'color' => null,
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => null,
'parent' => null,
'name' => null,
'status' => null,
'old_name' => null,
'sort' => null,
'name_shot' => null,
'phone' => null,
'order' => null,
'group' => null,
'level_course_fee' => null,
'level_scholarship' => null
)
),
(int) 15 => array(
'Majordegree' => array(
'id' => '47',
'major_name' => 'สาขาวิชาเศรษฐศาสตร์เกษตรและธุรกิจเกษตร',
'major_id' => '26',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '26',
'major_no' => '21',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'เศรษฐศาสตร์เกษตรและธุรกิจเกษตร',
'major_eng' => null,
'major_eng2' => null,
'major_acronym' => null,
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(76, 0, 153)',
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
),
(int) 16 => array(
'Majordegree' => array(
'id' => '50',
'major_name' => 'สาขาวิชาวิทยาศาสตร์การประมง',
'major_id' => '28',
'organize_id' => '23',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '28',
'major_no' => '9',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'วิทยาศาสตร์การประมง',
'major_eng' => null,
'major_eng2' => null,
'major_acronym' => null,
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => null,
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '23',
'parent' => '40',
'name' => 'ภาควิชาสัตวศาสตร์และสัตว์น้ำ',
'status' => 'Y',
'old_name' => 'สาขาวิชาสัตวศาสตร์',
'sort' => '70',
'name_shot' => 'สัตวศาสตร์ฯ',
'phone' => '44069',
'order' => '10',
'group' => '2',
'level_course_fee' => '5',
'level_scholarship' => '0'
)
)
)
$major = array(
'Majordegree' => array(
'id' => '1',
'major_name' => 'สาขาวิชาเศรษฐศาสตร์เกษตร',
'major_id' => '1',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '1',
'major_no' => '5',
'major_no_fee' => '8',
'major_code' => 'HA',
'major_name' => 'เศรษฐศาสตร์เกษตร',
'major_eng' => 'AGRICULTURAL ECONOMICS',
'major_eng2' => 'Agricultural Economics',
'major_acronym' => 'เศรษฐศาสตร์เกษตร',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(255, 128, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
)
$yearId = '66'
$yearIdmin1 = '660000000'
$yearIdmax1 = '669999999'
$yearIdmin2 = '650000000'
$yearIdmax2 = '659999999'
$yearIdmin3 = '640000000'
$yearIdmax3 = '649999999'
$yearIdmin4 = '630000000'
$yearIdmax4 = '639999999'
$yearIdmin5 = '620000000'
$yearIdmax5 = '629999999'
$yearIdmin6 = '610000000'
$yearIdmax6 = '619999999'
$yearIdmin7 = '600000000'
$yearIdmax7 = '609999999'
$yearIdmin8 = '590000000'
$yearIdmax8 = '599999999'
$yearIdmin9 = '580000000'
$yearIdmax9 = '589999999'
$yearIdmin10 = '570000000'
$yearIdmax10 = '579999999'
$total = (int) 0
StudentsController::list_student_by_division_student() - APP\Controller\StudentsController.php, line 15501
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE\Cake\Controller\Controller.php, line 490
Dispatcher::_invoke() - CORE\Cake\Routing\Dispatcher.php, line 191
Dispatcher::dispatch() - CORE\Cake\Routing\Dispatcher.php, line 165
require - APP\webroot\index.php, line 108
[main] - ROOT\index.php, line 41
Notice (8): Undefined variable: output10 [APP\Controller\StudentsController.php, line 15526]Code Context }
if ($output10== null) {
$yearList = '2565'
$term = '2'
$degree_id = '1'
$UserName = null
$admins = null
$lastYearTerms = array(
'Yearterm' => array(
'id' => '35',
'year' => '2567',
'term' => '2',
'trm' => '672',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2567',
'postdate' => '2024-11-11',
'level' => '1'
)
)
$degreedropdowns = array(
(int) 0 => array(
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
)
),
(int) 1 => array(
'Degree' => array(
'id' => '3',
'degree_name' => 'ปริญญาโท',
'degree_name_en' => 'Master's degree'
)
),
(int) 2 => array(
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
)
)
)
$dropdowns = array(
(int) 0 => array(
'Yearterm' => array(
'id' => '35',
'year' => '2567',
'term' => '2',
'trm' => '672',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2567',
'postdate' => '2024-11-11',
'level' => '1'
)
),
(int) 1 => array(
'Yearterm' => array(
'id' => '34',
'year' => '2567',
'term' => '1',
'trm' => '671',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2567',
'postdate' => '2024-07-05',
'level' => '1'
)
),
(int) 2 => array(
'Yearterm' => array(
'id' => '33',
'year' => '2566',
'term' => '3',
'trm' => '663',
'name' => 'ภาคการศึกษาที่ 3 ปีการศึกษา 2566',
'postdate' => '2024-05-15',
'level' => '1'
)
),
(int) 3 => array(
'Yearterm' => array(
'id' => '32',
'year' => '2566',
'term' => '2',
'trm' => '662',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2566',
'postdate' => '2023-12-06',
'level' => '1'
)
),
(int) 4 => array(
'Yearterm' => array(
'id' => '31',
'year' => '2566',
'term' => '1',
'trm' => '661',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2566',
'postdate' => '2023-07-06',
'level' => '1'
)
),
(int) 5 => array(
'Yearterm' => array(
'id' => '30',
'year' => '2565',
'term' => '3',
'trm' => '653',
'name' => 'ภาคการศึกษาที่ 3 ปีการศึกษา 2565',
'postdate' => '2023-05-01',
'level' => '1'
)
),
(int) 6 => array(
'Yearterm' => array(
'id' => '29',
'year' => '2565',
'term' => '2',
'trm' => '652',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2565',
'postdate' => '2022-12-09',
'level' => '1'
)
),
(int) 7 => array(
'Yearterm' => array(
'id' => '28',
'year' => '2565',
'term' => '1',
'trm' => '651',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2565',
'postdate' => '2022-07-20',
'level' => '1'
)
),
(int) 8 => array(
'Yearterm' => array(
'id' => '27',
'year' => '2564',
'term' => '3',
'trm' => '643',
'name' => 'ภาคการศึกษาที่ 3 ปีการศึกษา 2564',
'postdate' => '2022-03-28',
'level' => '1'
)
),
(int) 9 => array(
'Yearterm' => array(
'id' => '26',
'year' => '2564',
'term' => '2',
'trm' => '642',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2564',
'postdate' => '2022-03-27',
'level' => '1'
)
),
(int) 10 => array(
'Yearterm' => array(
'id' => '25',
'year' => '2564',
'term' => '1',
'trm' => '641',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2564',
'postdate' => '2021-07-07',
'level' => '1'
)
),
(int) 11 => array(
'Yearterm' => array(
'id' => '24',
'year' => '2563',
'term' => '3',
'trm' => '633',
'name' => 'ภาคการศึกษาที่ 3 ปีการศึกษา 2563',
'postdate' => '2021-05-06',
'level' => '1'
)
)
)
$findStudentInNewTerm = array(
'Studentterm' => array(
'term_year' => '2565',
'term_id' => '2',
'student_id' => '660851005'
)
)
$years = array(
(int) 0 => array(
'Yearterm' => array(
'id' => '29',
'year' => '2565',
'term' => '2',
'trm' => '652',
'name' => 'ภาคการศึกษาที่ 2 ปีการศึกษา 2565',
'postdate' => '2022-12-09',
'level' => '1'
)
)
)
$countstudentTerm = (int) 1663
$output = '
<tr>
<td style="text-align:left;">เศรษฐศาสตร์เกษตร</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td>'
$totals1 = (int) 0
$totals2 = (int) 0
$totals3 = (int) 0
$totals4 = (int) 0
$totals5 = (int) 0
$totals6 = (int) 0
$totals7 = (int) 0
$totals8 = (int) 0
$totals9 = (int) 0
$totals10 = (int) 0
$output3 = ''
$totals13 = (int) 0
$totals23 = (int) 0
$totals33 = (int) 0
$totals43 = (int) 0
$totals53 = (int) 0
$totals63 = (int) 0
$totals73 = (int) 0
$totals83 = (int) 0
$totals93 = (int) 0
$totals103 = (int) 0
$output5 = ''
$totals15 = (int) 0
$totals25 = (int) 0
$totals35 = (int) 0
$totals45 = (int) 0
$totals55 = (int) 0
$totals65 = (int) 0
$totals75 = (int) 0
$totals85 = (int) 0
$totals95 = (int) 0
$totals105 = (int) 0
$totals115 = (int) 0
$majors = array(
(int) 0 => array(
'Majordegree' => array(
'id' => '1',
'major_name' => 'สาขาวิชาเศรษฐศาสตร์เกษตร',
'major_id' => '1',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '1',
'major_no' => '5',
'major_no_fee' => '8',
'major_code' => 'HA',
'major_name' => 'เศรษฐศาสตร์เกษตร',
'major_eng' => 'AGRICULTURAL ECONOMICS',
'major_eng2' => 'Agricultural Economics',
'major_acronym' => 'เศรษฐศาสตร์เกษตร',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(255, 128, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
),
(int) 1 => array(
'Majordegree' => array(
'id' => '5',
'major_name' => 'สาขาวิชากีฏวิทยา',
'major_id' => '3',
'organize_id' => '2',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '1'
),
'Major' => array(
'id' => '3',
'major_no' => '1',
'major_no_fee' => '2',
'major_code' => 'HE',
'major_name' => 'กีฏวิทยา',
'major_eng' => 'ENTOMOLOGY',
'major_eng2' => 'Entomology',
'major_acronym' => 'กีฏวิทยา',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(75, 190, 115)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '2',
'parent' => '40',
'name' => 'ภาควิชากีฏวิทยาและโรคพืช',
'status' => 'Y',
'old_name' => '',
'sort' => '40',
'name_shot' => 'กีฏโรคพืช',
'phone' => '44021',
'order' => '7',
'group' => '2',
'level_course_fee' => '2',
'level_scholarship' => '0'
)
),
(int) 2 => array(
'Majordegree' => array(
'id' => '9',
'major_name' => 'สาขาวิชาปฐพีศาสตร์และการจัดการทรัพยากรธรรมชาติ',
'major_id' => '5',
'organize_id' => '16',
'degree_id' => '1',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => null,
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '5',
'major_no' => '6',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ปฐพีศาสตร์และการจัดการทรัพยากรธรรมชาติ',
'major_eng' => 'SOIL SCIENCE AND NATURAL RESOURCE MANAG',
'major_eng2' => 'Soil Science and Natural Resource Management',
'major_acronym' => 'ปฐพีศาสตร์ฯ',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => null,
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '16',
'parent' => '40',
'name' => 'ภาควิชาพืชศาสตร์และปฐพีศาสตร์',
'status' => 'Y',
'old_name' => '',
'sort' => '50',
'name_shot' => 'พืชศาสตร์ฯ',
'phone' => '44040',
'order' => '8',
'group' => '2',
'level_course_fee' => '3',
'level_scholarship' => '0'
)
),
(int) 3 => array(
'Majordegree' => array(
'id' => '12',
'major_name' => 'สาขาวิชาพืชไร่',
'major_id' => '6',
'organize_id' => '16',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '3'
),
'Major' => array(
'id' => '6',
'major_no' => '3',
'major_no_fee' => '5',
'major_code' => 'HC',
'major_name' => 'พืชไร่',
'major_eng' => 'AGRONOMY',
'major_eng2' => 'Agronomy',
'major_acronym' => 'พืชไร่',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(150, 21, 182)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '16',
'parent' => '40',
'name' => 'ภาควิชาพืชศาสตร์และปฐพีศาสตร์',
'status' => 'Y',
'old_name' => '',
'sort' => '50',
'name_shot' => 'พืชศาสตร์ฯ',
'phone' => '44040',
'order' => '8',
'group' => '2',
'level_course_fee' => '3',
'level_scholarship' => '0'
)
),
(int) 4 => array(
'Majordegree' => array(
'id' => '15',
'major_name' => 'สาขาวิชาพืชสวน',
'major_id' => '7',
'organize_id' => '16',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '4'
),
'Major' => array(
'id' => '7',
'major_no' => '4',
'major_no_fee' => '6',
'major_code' => 'HF',
'major_name' => 'พืชสวน',
'major_eng' => 'HORTICULTURE',
'major_eng2' => 'Horticulture',
'major_acronym' => 'พืชสวน',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(46, 39, 145)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '16',
'parent' => '40',
'name' => 'ภาควิชาพืชศาสตร์และปฐพีศาสตร์',
'status' => 'Y',
'old_name' => '',
'sort' => '50',
'name_shot' => 'พืชศาสตร์ฯ',
'phone' => '44040',
'order' => '8',
'group' => '2',
'level_course_fee' => '3',
'level_scholarship' => '0'
)
),
(int) 5 => array(
'Majordegree' => array(
'id' => '18',
'major_name' => 'สาขาวิชาโรคพืช',
'major_id' => '9',
'organize_id' => '2',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '2'
),
'Major' => array(
'id' => '9',
'major_no' => '2',
'major_no_fee' => '3',
'major_code' => 'HG ',
'major_name' => 'โรคพืช',
'major_eng' => 'PLANT PATHOLOGY',
'major_eng2' => 'Plant Pathology',
'major_acronym' => 'โรคพืช',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(245, 158, 216)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '2',
'parent' => '40',
'name' => 'ภาควิชากีฏวิทยาและโรคพืช',
'status' => 'Y',
'old_name' => '',
'sort' => '40',
'name_shot' => 'กีฏโรคพืช',
'phone' => '44021',
'order' => '7',
'group' => '2',
'level_course_fee' => '2',
'level_scholarship' => '0'
)
),
(int) 6 => array(
'Majordegree' => array(
'id' => '25',
'major_name' => 'สาขาวิชาส่งเสริมและเผยแพร่การเกษตร',
'major_id' => '12',
'organize_id' => '20',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '6'
),
'Major' => array(
'id' => '12',
'major_no' => '10',
'major_no_fee' => '9',
'major_code' => 'HB',
'major_name' => 'ส่งเสริมและเผยแพร่การเกษตร',
'major_eng' => 'Agricultural Extension',
'major_eng2' => 'Agricultural Extension',
'major_acronym' => 'ส่งเสริมและเผยแพร่การเกษตร',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(224, 233, 93)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '20',
'parent' => '40',
'name' => 'ภาควิชาพัฒนาเศรษฐกิจการเกษตร',
'status' => 'Y',
'old_name' => '',
'sort' => '60',
'name_shot' => 'เศรษฐกิจเกษตร',
'phone' => '44065',
'order' => '9',
'group' => '2',
'level_course_fee' => '4',
'level_scholarship' => '0'
)
),
(int) 7 => array(
'Majordegree' => array(
'id' => '26',
'major_name' => 'สาขาวิชาสัตวศาสตร์และสัตว์น้ำ',
'major_id' => '13',
'organize_id' => '23',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '7'
),
'Major' => array(
'id' => '13',
'major_no' => '8',
'major_no_fee' => '11',
'major_code' => null,
'major_name' => 'สัตวศาสตร์และสัตว์น้ำ',
'major_eng' => 'Animal and Aquatic Science',
'major_eng2' => 'Animal and Aquatic Science',
'major_acronym' => 'สัตวศาสตร์และสัตว์น้ำ',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(137, 185, 40)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '23',
'parent' => '40',
'name' => 'ภาควิชาสัตวศาสตร์และสัตว์น้ำ',
'status' => 'Y',
'old_name' => 'สาขาวิชาสัตวศาสตร์',
'sort' => '70',
'name_shot' => 'สัตวศาสตร์ฯ',
'phone' => '44069',
'order' => '10',
'group' => '2',
'level_course_fee' => '5',
'level_scholarship' => '0'
)
),
(int) 8 => array(
'Majordegree' => array(
'id' => '31',
'major_name' => 'สาขาวิชาปฐพีศาสตร์',
'major_id' => '18',
'organize_id' => '16',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => '5'
),
'Major' => array(
'id' => '18',
'major_no' => '11',
'major_no_fee' => '7',
'major_code' => null,
'major_name' => 'ปฐพีศาสตร์',
'major_eng' => 'SOIL SCIENCE',
'major_eng2' => 'SOIL SCIENCE',
'major_acronym' => 'ปฐพีศาสตร์',
'major_level' => '1',
'major_degree_id' => '1',
'major_show_graph_id' => '1',
'color' => 'rgb(219, 219, 85)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '1',
'degree_name' => 'ปริญญาตรี',
'degree_name_en' => 'Bachelor's degree'
),
'Organize' => array(
'id' => '16',
'parent' => '40',
'name' => 'ภาควิชาพืชศาสตร์และปฐพีศาสตร์',
'status' => 'Y',
'old_name' => '',
'sort' => '50',
'name_shot' => 'พืชศาสตร์ฯ',
'phone' => '44040',
'order' => '8',
'group' => '2',
'level_course_fee' => '3',
'level_scholarship' => '0'
)
),
(int) 9 => array(
'Majordegree' => array(
'id' => '39',
'major_name' => 'สาขาวิชาทรัพยากรป่าไม้และวนเกษตร',
'major_id' => '20',
'organize_id' => '24',
'degree_id' => '1',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => null,
'order' => null,
'order_select_major' => nul