Notice (8): Undefined variable: output1 [APP\Controller\StudentsController.php, line 15286]Code Context
$total = 0;
$totals1 = $totals1 + $output1;
$yearList = '2564'
$term = '1'
$degree_id = '5'
$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' => '2564',
'term_id' => '1',
'student_id' => '640852003'
)
)
$years = array(
(int) 0 => array(
'Yearterm' => array(
'id' => '25',
'year' => '2564',
'term' => '1',
'trm' => '641',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2564',
'postdate' => '2021-07-07',
'level' => '1'
)
)
)
$countstudentTerm = (int) 1659
$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' => '4',
'major_name' => 'สาขาวิชาการจัดการระบบเกษตร',
'major_id' => '2',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '2',
'major_no' => '14',
'major_no_fee' => '13',
'major_code' => null,
'major_name' => 'การจัดการระบบเกษตร',
'major_eng' => 'AGRICULTURAL SYSTEMS MANAGEMENT',
'major_eng2' => 'Agricultural Systems Management',
'major_acronym' => 'การจัดการระบบเกษตร',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => 'rgb(153, 153, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
),
(int) 1 => array(
'Majordegree' => array(
'id' => '7',
'major_name' => 'สาขาวิชากีฏวิทยา',
'major_id' => '3',
'organize_id' => '2',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '11',
'major_name' => 'สาขาวิชาปฐพีศาสตร์และการจัดการทรัพยากรธรรมชาติ',
'major_id' => '5',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => '0',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '14',
'major_name' => 'สาขาวิชาพืชไร่',
'major_id' => '6',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '17',
'major_name' => 'สาขาวิชาพืชสวน',
'major_id' => '7',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '20',
'major_name' => 'สาขาวิชาโรคพืช',
'major_id' => '9',
'organize_id' => '2',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '22',
'major_name' => 'สาขาวิชาส่งเสริมการเกษตรและพัฒนาชนบท',
'major_id' => '10',
'organize_id' => '20',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '10',
'major_no' => '12',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ส่งเสริมการเกษตรและพัฒนาชนบท',
'major_eng' => 'AGRICULTURAL EXTENSION AND RURAL DEVELOP',
'major_eng2' => 'Agricultural Extension and Rural Develop',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '24',
'major_name' => 'สาขาวิชาสัตวศาสตร์',
'major_id' => '11',
'organize_id' => '23',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '30',
'major_name' => 'เกษตรศาสตร์เชิงระบบ',
'major_id' => '16',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => '0',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '16',
'major_no' => '17',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'เกษตรศาสตร์เชิงระบบ',
'major_eng' => 'AGRICULTURAL SYSTEMS',
'major_eng2' => 'AGRICULTURAL SYSTEMS',
'major_acronym' => 'เกษตรศาสตร์เชิงระบบ',
'major_level' => '0',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => null,
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
),
(int) 9 => array(
'Majordegree' => array(
'id' => '33',
'major_name' => 'สาขาวิชาปฐพีศาสตร์',
'major_id' => '18',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => '0',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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) 10 => array(
'Majordegree' => array(
'id' => '37',
'major_name' => 'สาขาวิชาเทคโนโลยีหลังการเก็บเกี่ยว',
'major_id' => '21',
'organize_id' => '43',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '21',
'major_no' => '15',
'major_no_fee' => '14',
'major_code' => null,
'major_name' => 'เทคโนโลยีหลังการเก็บเกี่ยว',
'major_eng' => 'Postharvest Technology',
'major_eng2' => 'Postharvest Technology',
'major_acronym' => 'เทคโนโลยีหลังการเก็บเกี่ยว',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => 'rgb(255, 204, 153)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '43',
'parent' => '40',
'name' => 'ศูนย์วิจัยเทคโนโลยีหลังการเก็บเกี่ยว ',
'status' => 'Y',
'old_name' => null,
'sort' => '130',
'name_shot' => 'หลังการเก็บเกี่ยว',
'phone' => '44031',
'order' => '15',
'group' => '3',
'level_course_fee' => '8',
'level_scholarship' => '0'
)
),
(int) 11 => array(
'Majordegree' => array(
'id' => '41',
'major_name' => 'สาขาวิชาปฐพีศาสตร์สิ่งแวดล้อม',
'major_id' => '22',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '22',
'major_no' => '16',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ปฐพีศาสตร์สิ่งแวดล้อม',
'major_eng' => 'Environmental Soil Science',
'major_eng2' => 'Environmental Soil Science',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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) 12 => array(
'Majordegree' => array(
'id' => '49',
'major_name' => 'สาขาวิชาระบบเกษตรบูรณาการอัจฉริยะเพื่อการพัฒนาอย่างยั่งยืน',
'major_id' => '27',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '27',
'major_no' => '22',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ระบบเกษตรบูรณาการอัจฉริยะเพื่อการพัฒนาอย่างยั่งยืน',
'major_eng' => 'Integrated Smart Agricultural System for Sustainable Development',
'major_eng2' => 'Integrated Smart Agricultural System for Sustainable Development',
'major_acronym' => null,
'major_level' => '1',
'major_degree_id' => null,
'major_show_graph_id' => '1',
'color' => null,
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
)
)
$major = array(
'Majordegree' => array(
'id' => '4',
'major_name' => 'สาขาวิชาการจัดการระบบเกษตร',
'major_id' => '2',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '2',
'major_no' => '14',
'major_no_fee' => '13',
'major_code' => null,
'major_name' => 'การจัดการระบบเกษตร',
'major_eng' => 'AGRICULTURAL SYSTEMS MANAGEMENT',
'major_eng2' => 'Agricultural Systems Management',
'major_acronym' => 'การจัดการระบบเกษตร',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => 'rgb(153, 153, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
)
$yearId = '64'
$yearIdmin1 = '640000000'
$yearIdmax1 = '649999999'
$yearIdmin2 = '630000000'
$yearIdmax2 = '639999999'
$yearIdmin3 = '620000000'
$yearIdmax3 = '629999999'
$yearIdmin4 = '610000000'
$yearIdmax4 = '619999999'
$yearIdmin5 = '600000000'
$yearIdmax5 = '609999999'
$yearIdmin6 = '590000000'
$yearIdmax6 = '599999999'
$yearIdmin7 = '580000000'
$yearIdmax7 = '589999999'
$yearIdmin8 = '570000000'
$yearIdmax8 = '579999999'
$yearIdmin9 = '560000000'
$yearIdmax9 = '569999999'
$yearIdmin10 = '550000000'
$yearIdmax10 = '559999999'
$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 = '2564'
$term = '1'
$degree_id = '5'
$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' => '2564',
'term_id' => '1',
'student_id' => '640852003'
)
)
$years = array(
(int) 0 => array(
'Yearterm' => array(
'id' => '25',
'year' => '2564',
'term' => '1',
'trm' => '641',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2564',
'postdate' => '2021-07-07',
'level' => '1'
)
)
)
$countstudentTerm = (int) 1659
$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' => '4',
'major_name' => 'สาขาวิชาการจัดการระบบเกษตร',
'major_id' => '2',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '2',
'major_no' => '14',
'major_no_fee' => '13',
'major_code' => null,
'major_name' => 'การจัดการระบบเกษตร',
'major_eng' => 'AGRICULTURAL SYSTEMS MANAGEMENT',
'major_eng2' => 'Agricultural Systems Management',
'major_acronym' => 'การจัดการระบบเกษตร',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => 'rgb(153, 153, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
),
(int) 1 => array(
'Majordegree' => array(
'id' => '7',
'major_name' => 'สาขาวิชากีฏวิทยา',
'major_id' => '3',
'organize_id' => '2',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '11',
'major_name' => 'สาขาวิชาปฐพีศาสตร์และการจัดการทรัพยากรธรรมชาติ',
'major_id' => '5',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => '0',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '14',
'major_name' => 'สาขาวิชาพืชไร่',
'major_id' => '6',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '17',
'major_name' => 'สาขาวิชาพืชสวน',
'major_id' => '7',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '20',
'major_name' => 'สาขาวิชาโรคพืช',
'major_id' => '9',
'organize_id' => '2',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '22',
'major_name' => 'สาขาวิชาส่งเสริมการเกษตรและพัฒนาชนบท',
'major_id' => '10',
'organize_id' => '20',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '10',
'major_no' => '12',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ส่งเสริมการเกษตรและพัฒนาชนบท',
'major_eng' => 'AGRICULTURAL EXTENSION AND RURAL DEVELOP',
'major_eng2' => 'Agricultural Extension and Rural Develop',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '24',
'major_name' => 'สาขาวิชาสัตวศาสตร์',
'major_id' => '11',
'organize_id' => '23',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '30',
'major_name' => 'เกษตรศาสตร์เชิงระบบ',
'major_id' => '16',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => '0',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '16',
'major_no' => '17',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'เกษตรศาสตร์เชิงระบบ',
'major_eng' => 'AGRICULTURAL SYSTEMS',
'major_eng2' => 'AGRICULTURAL SYSTEMS',
'major_acronym' => 'เกษตรศาสตร์เชิงระบบ',
'major_level' => '0',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => null,
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
),
(int) 9 => array(
'Majordegree' => array(
'id' => '33',
'major_name' => 'สาขาวิชาปฐพีศาสตร์',
'major_id' => '18',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => '0',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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) 10 => array(
'Majordegree' => array(
'id' => '37',
'major_name' => 'สาขาวิชาเทคโนโลยีหลังการเก็บเกี่ยว',
'major_id' => '21',
'organize_id' => '43',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '21',
'major_no' => '15',
'major_no_fee' => '14',
'major_code' => null,
'major_name' => 'เทคโนโลยีหลังการเก็บเกี่ยว',
'major_eng' => 'Postharvest Technology',
'major_eng2' => 'Postharvest Technology',
'major_acronym' => 'เทคโนโลยีหลังการเก็บเกี่ยว',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => 'rgb(255, 204, 153)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '43',
'parent' => '40',
'name' => 'ศูนย์วิจัยเทคโนโลยีหลังการเก็บเกี่ยว ',
'status' => 'Y',
'old_name' => null,
'sort' => '130',
'name_shot' => 'หลังการเก็บเกี่ยว',
'phone' => '44031',
'order' => '15',
'group' => '3',
'level_course_fee' => '8',
'level_scholarship' => '0'
)
),
(int) 11 => array(
'Majordegree' => array(
'id' => '41',
'major_name' => 'สาขาวิชาปฐพีศาสตร์สิ่งแวดล้อม',
'major_id' => '22',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '22',
'major_no' => '16',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ปฐพีศาสตร์สิ่งแวดล้อม',
'major_eng' => 'Environmental Soil Science',
'major_eng2' => 'Environmental Soil Science',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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) 12 => array(
'Majordegree' => array(
'id' => '49',
'major_name' => 'สาขาวิชาระบบเกษตรบูรณาการอัจฉริยะเพื่อการพัฒนาอย่างยั่งยืน',
'major_id' => '27',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '27',
'major_no' => '22',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ระบบเกษตรบูรณาการอัจฉริยะเพื่อการพัฒนาอย่างยั่งยืน',
'major_eng' => 'Integrated Smart Agricultural System for Sustainable Development',
'major_eng2' => 'Integrated Smart Agricultural System for Sustainable Development',
'major_acronym' => null,
'major_level' => '1',
'major_degree_id' => null,
'major_show_graph_id' => '1',
'color' => null,
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
)
)
$major = array(
'Majordegree' => array(
'id' => '4',
'major_name' => 'สาขาวิชาการจัดการระบบเกษตร',
'major_id' => '2',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '2',
'major_no' => '14',
'major_no_fee' => '13',
'major_code' => null,
'major_name' => 'การจัดการระบบเกษตร',
'major_eng' => 'AGRICULTURAL SYSTEMS MANAGEMENT',
'major_eng2' => 'Agricultural Systems Management',
'major_acronym' => 'การจัดการระบบเกษตร',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => 'rgb(153, 153, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
)
$yearId = '64'
$yearIdmin1 = '640000000'
$yearIdmax1 = '649999999'
$yearIdmin2 = '630000000'
$yearIdmax2 = '639999999'
$yearIdmin3 = '620000000'
$yearIdmax3 = '629999999'
$yearIdmin4 = '610000000'
$yearIdmax4 = '619999999'
$yearIdmin5 = '600000000'
$yearIdmax5 = '609999999'
$yearIdmin6 = '590000000'
$yearIdmax6 = '599999999'
$yearIdmin7 = '580000000'
$yearIdmax7 = '589999999'
$yearIdmin8 = '570000000'
$yearIdmax8 = '579999999'
$yearIdmin9 = '560000000'
$yearIdmax9 = '569999999'
$yearIdmin10 = '550000000'
$yearIdmax10 = '559999999'
$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 = '2564'
$term = '1'
$degree_id = '5'
$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' => '2564',
'term_id' => '1',
'student_id' => '640852003'
)
)
$years = array(
(int) 0 => array(
'Yearterm' => array(
'id' => '25',
'year' => '2564',
'term' => '1',
'trm' => '641',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2564',
'postdate' => '2021-07-07',
'level' => '1'
)
)
)
$countstudentTerm = (int) 1659
$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' => '4',
'major_name' => 'สาขาวิชาการจัดการระบบเกษตร',
'major_id' => '2',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '2',
'major_no' => '14',
'major_no_fee' => '13',
'major_code' => null,
'major_name' => 'การจัดการระบบเกษตร',
'major_eng' => 'AGRICULTURAL SYSTEMS MANAGEMENT',
'major_eng2' => 'Agricultural Systems Management',
'major_acronym' => 'การจัดการระบบเกษตร',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => 'rgb(153, 153, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
),
(int) 1 => array(
'Majordegree' => array(
'id' => '7',
'major_name' => 'สาขาวิชากีฏวิทยา',
'major_id' => '3',
'organize_id' => '2',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '11',
'major_name' => 'สาขาวิชาปฐพีศาสตร์และการจัดการทรัพยากรธรรมชาติ',
'major_id' => '5',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => '0',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '14',
'major_name' => 'สาขาวิชาพืชไร่',
'major_id' => '6',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '17',
'major_name' => 'สาขาวิชาพืชสวน',
'major_id' => '7',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '20',
'major_name' => 'สาขาวิชาโรคพืช',
'major_id' => '9',
'organize_id' => '2',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '22',
'major_name' => 'สาขาวิชาส่งเสริมการเกษตรและพัฒนาชนบท',
'major_id' => '10',
'organize_id' => '20',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '10',
'major_no' => '12',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ส่งเสริมการเกษตรและพัฒนาชนบท',
'major_eng' => 'AGRICULTURAL EXTENSION AND RURAL DEVELOP',
'major_eng2' => 'Agricultural Extension and Rural Develop',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '24',
'major_name' => 'สาขาวิชาสัตวศาสตร์',
'major_id' => '11',
'organize_id' => '23',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '30',
'major_name' => 'เกษตรศาสตร์เชิงระบบ',
'major_id' => '16',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => '0',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '16',
'major_no' => '17',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'เกษตรศาสตร์เชิงระบบ',
'major_eng' => 'AGRICULTURAL SYSTEMS',
'major_eng2' => 'AGRICULTURAL SYSTEMS',
'major_acronym' => 'เกษตรศาสตร์เชิงระบบ',
'major_level' => '0',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => null,
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
),
(int) 9 => array(
'Majordegree' => array(
'id' => '33',
'major_name' => 'สาขาวิชาปฐพีศาสตร์',
'major_id' => '18',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => '0',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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) 10 => array(
'Majordegree' => array(
'id' => '37',
'major_name' => 'สาขาวิชาเทคโนโลยีหลังการเก็บเกี่ยว',
'major_id' => '21',
'organize_id' => '43',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '21',
'major_no' => '15',
'major_no_fee' => '14',
'major_code' => null,
'major_name' => 'เทคโนโลยีหลังการเก็บเกี่ยว',
'major_eng' => 'Postharvest Technology',
'major_eng2' => 'Postharvest Technology',
'major_acronym' => 'เทคโนโลยีหลังการเก็บเกี่ยว',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => 'rgb(255, 204, 153)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '43',
'parent' => '40',
'name' => 'ศูนย์วิจัยเทคโนโลยีหลังการเก็บเกี่ยว ',
'status' => 'Y',
'old_name' => null,
'sort' => '130',
'name_shot' => 'หลังการเก็บเกี่ยว',
'phone' => '44031',
'order' => '15',
'group' => '3',
'level_course_fee' => '8',
'level_scholarship' => '0'
)
),
(int) 11 => array(
'Majordegree' => array(
'id' => '41',
'major_name' => 'สาขาวิชาปฐพีศาสตร์สิ่งแวดล้อม',
'major_id' => '22',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '22',
'major_no' => '16',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ปฐพีศาสตร์สิ่งแวดล้อม',
'major_eng' => 'Environmental Soil Science',
'major_eng2' => 'Environmental Soil Science',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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) 12 => array(
'Majordegree' => array(
'id' => '49',
'major_name' => 'สาขาวิชาระบบเกษตรบูรณาการอัจฉริยะเพื่อการพัฒนาอย่างยั่งยืน',
'major_id' => '27',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '27',
'major_no' => '22',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ระบบเกษตรบูรณาการอัจฉริยะเพื่อการพัฒนาอย่างยั่งยืน',
'major_eng' => 'Integrated Smart Agricultural System for Sustainable Development',
'major_eng2' => 'Integrated Smart Agricultural System for Sustainable Development',
'major_acronym' => null,
'major_level' => '1',
'major_degree_id' => null,
'major_show_graph_id' => '1',
'color' => null,
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
)
)
$major = array(
'Majordegree' => array(
'id' => '4',
'major_name' => 'สาขาวิชาการจัดการระบบเกษตร',
'major_id' => '2',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '2',
'major_no' => '14',
'major_no_fee' => '13',
'major_code' => null,
'major_name' => 'การจัดการระบบเกษตร',
'major_eng' => 'AGRICULTURAL SYSTEMS MANAGEMENT',
'major_eng2' => 'Agricultural Systems Management',
'major_acronym' => 'การจัดการระบบเกษตร',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => 'rgb(153, 153, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
)
$yearId = '64'
$yearIdmin1 = '640000000'
$yearIdmax1 = '649999999'
$yearIdmin2 = '630000000'
$yearIdmax2 = '639999999'
$yearIdmin3 = '620000000'
$yearIdmax3 = '629999999'
$yearIdmin4 = '610000000'
$yearIdmax4 = '619999999'
$yearIdmin5 = '600000000'
$yearIdmax5 = '609999999'
$yearIdmin6 = '590000000'
$yearIdmax6 = '599999999'
$yearIdmin7 = '580000000'
$yearIdmax7 = '589999999'
$yearIdmin8 = '570000000'
$yearIdmax8 = '579999999'
$yearIdmin9 = '560000000'
$yearIdmax9 = '569999999'
$yearIdmin10 = '550000000'
$yearIdmax10 = '559999999'
$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 = '2564'
$term = '1'
$degree_id = '5'
$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' => '2564',
'term_id' => '1',
'student_id' => '640852003'
)
)
$years = array(
(int) 0 => array(
'Yearterm' => array(
'id' => '25',
'year' => '2564',
'term' => '1',
'trm' => '641',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2564',
'postdate' => '2021-07-07',
'level' => '1'
)
)
)
$countstudentTerm = (int) 1659
$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' => '4',
'major_name' => 'สาขาวิชาการจัดการระบบเกษตร',
'major_id' => '2',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '2',
'major_no' => '14',
'major_no_fee' => '13',
'major_code' => null,
'major_name' => 'การจัดการระบบเกษตร',
'major_eng' => 'AGRICULTURAL SYSTEMS MANAGEMENT',
'major_eng2' => 'Agricultural Systems Management',
'major_acronym' => 'การจัดการระบบเกษตร',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => 'rgb(153, 153, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
),
(int) 1 => array(
'Majordegree' => array(
'id' => '7',
'major_name' => 'สาขาวิชากีฏวิทยา',
'major_id' => '3',
'organize_id' => '2',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '11',
'major_name' => 'สาขาวิชาปฐพีศาสตร์และการจัดการทรัพยากรธรรมชาติ',
'major_id' => '5',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => '0',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '14',
'major_name' => 'สาขาวิชาพืชไร่',
'major_id' => '6',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '17',
'major_name' => 'สาขาวิชาพืชสวน',
'major_id' => '7',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '20',
'major_name' => 'สาขาวิชาโรคพืช',
'major_id' => '9',
'organize_id' => '2',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '22',
'major_name' => 'สาขาวิชาส่งเสริมการเกษตรและพัฒนาชนบท',
'major_id' => '10',
'organize_id' => '20',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '10',
'major_no' => '12',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ส่งเสริมการเกษตรและพัฒนาชนบท',
'major_eng' => 'AGRICULTURAL EXTENSION AND RURAL DEVELOP',
'major_eng2' => 'Agricultural Extension and Rural Develop',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '24',
'major_name' => 'สาขาวิชาสัตวศาสตร์',
'major_id' => '11',
'organize_id' => '23',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '30',
'major_name' => 'เกษตรศาสตร์เชิงระบบ',
'major_id' => '16',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => '0',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '16',
'major_no' => '17',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'เกษตรศาสตร์เชิงระบบ',
'major_eng' => 'AGRICULTURAL SYSTEMS',
'major_eng2' => 'AGRICULTURAL SYSTEMS',
'major_acronym' => 'เกษตรศาสตร์เชิงระบบ',
'major_level' => '0',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => null,
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
),
(int) 9 => array(
'Majordegree' => array(
'id' => '33',
'major_name' => 'สาขาวิชาปฐพีศาสตร์',
'major_id' => '18',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => '0',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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) 10 => array(
'Majordegree' => array(
'id' => '37',
'major_name' => 'สาขาวิชาเทคโนโลยีหลังการเก็บเกี่ยว',
'major_id' => '21',
'organize_id' => '43',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '21',
'major_no' => '15',
'major_no_fee' => '14',
'major_code' => null,
'major_name' => 'เทคโนโลยีหลังการเก็บเกี่ยว',
'major_eng' => 'Postharvest Technology',
'major_eng2' => 'Postharvest Technology',
'major_acronym' => 'เทคโนโลยีหลังการเก็บเกี่ยว',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => 'rgb(255, 204, 153)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '43',
'parent' => '40',
'name' => 'ศูนย์วิจัยเทคโนโลยีหลังการเก็บเกี่ยว ',
'status' => 'Y',
'old_name' => null,
'sort' => '130',
'name_shot' => 'หลังการเก็บเกี่ยว',
'phone' => '44031',
'order' => '15',
'group' => '3',
'level_course_fee' => '8',
'level_scholarship' => '0'
)
),
(int) 11 => array(
'Majordegree' => array(
'id' => '41',
'major_name' => 'สาขาวิชาปฐพีศาสตร์สิ่งแวดล้อม',
'major_id' => '22',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '22',
'major_no' => '16',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ปฐพีศาสตร์สิ่งแวดล้อม',
'major_eng' => 'Environmental Soil Science',
'major_eng2' => 'Environmental Soil Science',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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) 12 => array(
'Majordegree' => array(
'id' => '49',
'major_name' => 'สาขาวิชาระบบเกษตรบูรณาการอัจฉริยะเพื่อการพัฒนาอย่างยั่งยืน',
'major_id' => '27',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '27',
'major_no' => '22',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ระบบเกษตรบูรณาการอัจฉริยะเพื่อการพัฒนาอย่างยั่งยืน',
'major_eng' => 'Integrated Smart Agricultural System for Sustainable Development',
'major_eng2' => 'Integrated Smart Agricultural System for Sustainable Development',
'major_acronym' => null,
'major_level' => '1',
'major_degree_id' => null,
'major_show_graph_id' => '1',
'color' => null,
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
)
)
$major = array(
'Majordegree' => array(
'id' => '4',
'major_name' => 'สาขาวิชาการจัดการระบบเกษตร',
'major_id' => '2',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '2',
'major_no' => '14',
'major_no_fee' => '13',
'major_code' => null,
'major_name' => 'การจัดการระบบเกษตร',
'major_eng' => 'AGRICULTURAL SYSTEMS MANAGEMENT',
'major_eng2' => 'Agricultural Systems Management',
'major_acronym' => 'การจัดการระบบเกษตร',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => 'rgb(153, 153, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
)
$yearId = '64'
$yearIdmin1 = '640000000'
$yearIdmax1 = '649999999'
$yearIdmin2 = '630000000'
$yearIdmax2 = '639999999'
$yearIdmin3 = '620000000'
$yearIdmax3 = '629999999'
$yearIdmin4 = '610000000'
$yearIdmax4 = '619999999'
$yearIdmin5 = '600000000'
$yearIdmax5 = '609999999'
$yearIdmin6 = '590000000'
$yearIdmax6 = '599999999'
$yearIdmin7 = '580000000'
$yearIdmax7 = '589999999'
$yearIdmin8 = '570000000'
$yearIdmax8 = '579999999'
$yearIdmin9 = '560000000'
$yearIdmax9 = '569999999'
$yearIdmin10 = '550000000'
$yearIdmax10 = '559999999'
$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 = '2564'
$term = '1'
$degree_id = '5'
$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' => '2564',
'term_id' => '1',
'student_id' => '640852003'
)
)
$years = array(
(int) 0 => array(
'Yearterm' => array(
'id' => '25',
'year' => '2564',
'term' => '1',
'trm' => '641',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2564',
'postdate' => '2021-07-07',
'level' => '1'
)
)
)
$countstudentTerm = (int) 1659
$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' => '4',
'major_name' => 'สาขาวิชาการจัดการระบบเกษตร',
'major_id' => '2',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '2',
'major_no' => '14',
'major_no_fee' => '13',
'major_code' => null,
'major_name' => 'การจัดการระบบเกษตร',
'major_eng' => 'AGRICULTURAL SYSTEMS MANAGEMENT',
'major_eng2' => 'Agricultural Systems Management',
'major_acronym' => 'การจัดการระบบเกษตร',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => 'rgb(153, 153, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
),
(int) 1 => array(
'Majordegree' => array(
'id' => '7',
'major_name' => 'สาขาวิชากีฏวิทยา',
'major_id' => '3',
'organize_id' => '2',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '11',
'major_name' => 'สาขาวิชาปฐพีศาสตร์และการจัดการทรัพยากรธรรมชาติ',
'major_id' => '5',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => '0',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '14',
'major_name' => 'สาขาวิชาพืชไร่',
'major_id' => '6',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '17',
'major_name' => 'สาขาวิชาพืชสวน',
'major_id' => '7',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '20',
'major_name' => 'สาขาวิชาโรคพืช',
'major_id' => '9',
'organize_id' => '2',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '22',
'major_name' => 'สาขาวิชาส่งเสริมการเกษตรและพัฒนาชนบท',
'major_id' => '10',
'organize_id' => '20',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '10',
'major_no' => '12',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ส่งเสริมการเกษตรและพัฒนาชนบท',
'major_eng' => 'AGRICULTURAL EXTENSION AND RURAL DEVELOP',
'major_eng2' => 'Agricultural Extension and Rural Develop',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '24',
'major_name' => 'สาขาวิชาสัตวศาสตร์',
'major_id' => '11',
'organize_id' => '23',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '30',
'major_name' => 'เกษตรศาสตร์เชิงระบบ',
'major_id' => '16',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => '0',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '16',
'major_no' => '17',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'เกษตรศาสตร์เชิงระบบ',
'major_eng' => 'AGRICULTURAL SYSTEMS',
'major_eng2' => 'AGRICULTURAL SYSTEMS',
'major_acronym' => 'เกษตรศาสตร์เชิงระบบ',
'major_level' => '0',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => null,
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
),
(int) 9 => array(
'Majordegree' => array(
'id' => '33',
'major_name' => 'สาขาวิชาปฐพีศาสตร์',
'major_id' => '18',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => '0',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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) 10 => array(
'Majordegree' => array(
'id' => '37',
'major_name' => 'สาขาวิชาเทคโนโลยีหลังการเก็บเกี่ยว',
'major_id' => '21',
'organize_id' => '43',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '21',
'major_no' => '15',
'major_no_fee' => '14',
'major_code' => null,
'major_name' => 'เทคโนโลยีหลังการเก็บเกี่ยว',
'major_eng' => 'Postharvest Technology',
'major_eng2' => 'Postharvest Technology',
'major_acronym' => 'เทคโนโลยีหลังการเก็บเกี่ยว',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => 'rgb(255, 204, 153)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '43',
'parent' => '40',
'name' => 'ศูนย์วิจัยเทคโนโลยีหลังการเก็บเกี่ยว ',
'status' => 'Y',
'old_name' => null,
'sort' => '130',
'name_shot' => 'หลังการเก็บเกี่ยว',
'phone' => '44031',
'order' => '15',
'group' => '3',
'level_course_fee' => '8',
'level_scholarship' => '0'
)
),
(int) 11 => array(
'Majordegree' => array(
'id' => '41',
'major_name' => 'สาขาวิชาปฐพีศาสตร์สิ่งแวดล้อม',
'major_id' => '22',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '22',
'major_no' => '16',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ปฐพีศาสตร์สิ่งแวดล้อม',
'major_eng' => 'Environmental Soil Science',
'major_eng2' => 'Environmental Soil Science',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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) 12 => array(
'Majordegree' => array(
'id' => '49',
'major_name' => 'สาขาวิชาระบบเกษตรบูรณาการอัจฉริยะเพื่อการพัฒนาอย่างยั่งยืน',
'major_id' => '27',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '27',
'major_no' => '22',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ระบบเกษตรบูรณาการอัจฉริยะเพื่อการพัฒนาอย่างยั่งยืน',
'major_eng' => 'Integrated Smart Agricultural System for Sustainable Development',
'major_eng2' => 'Integrated Smart Agricultural System for Sustainable Development',
'major_acronym' => null,
'major_level' => '1',
'major_degree_id' => null,
'major_show_graph_id' => '1',
'color' => null,
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
)
)
$major = array(
'Majordegree' => array(
'id' => '4',
'major_name' => 'สาขาวิชาการจัดการระบบเกษตร',
'major_id' => '2',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '2',
'major_no' => '14',
'major_no_fee' => '13',
'major_code' => null,
'major_name' => 'การจัดการระบบเกษตร',
'major_eng' => 'AGRICULTURAL SYSTEMS MANAGEMENT',
'major_eng2' => 'Agricultural Systems Management',
'major_acronym' => 'การจัดการระบบเกษตร',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => 'rgb(153, 153, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
)
$yearId = '64'
$yearIdmin1 = '640000000'
$yearIdmax1 = '649999999'
$yearIdmin2 = '630000000'
$yearIdmax2 = '639999999'
$yearIdmin3 = '620000000'
$yearIdmax3 = '629999999'
$yearIdmin4 = '610000000'
$yearIdmax4 = '619999999'
$yearIdmin5 = '600000000'
$yearIdmax5 = '609999999'
$yearIdmin6 = '590000000'
$yearIdmax6 = '599999999'
$yearIdmin7 = '580000000'
$yearIdmax7 = '589999999'
$yearIdmin8 = '570000000'
$yearIdmax8 = '579999999'
$yearIdmin9 = '560000000'
$yearIdmax9 = '569999999'
$yearIdmin10 = '550000000'
$yearIdmax10 = '559999999'
$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 = '2564'
$term = '1'
$degree_id = '5'
$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' => '2564',
'term_id' => '1',
'student_id' => '640852003'
)
)
$years = array(
(int) 0 => array(
'Yearterm' => array(
'id' => '25',
'year' => '2564',
'term' => '1',
'trm' => '641',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2564',
'postdate' => '2021-07-07',
'level' => '1'
)
)
)
$countstudentTerm = (int) 1659
$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' => '4',
'major_name' => 'สาขาวิชาการจัดการระบบเกษตร',
'major_id' => '2',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '2',
'major_no' => '14',
'major_no_fee' => '13',
'major_code' => null,
'major_name' => 'การจัดการระบบเกษตร',
'major_eng' => 'AGRICULTURAL SYSTEMS MANAGEMENT',
'major_eng2' => 'Agricultural Systems Management',
'major_acronym' => 'การจัดการระบบเกษตร',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => 'rgb(153, 153, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
),
(int) 1 => array(
'Majordegree' => array(
'id' => '7',
'major_name' => 'สาขาวิชากีฏวิทยา',
'major_id' => '3',
'organize_id' => '2',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '11',
'major_name' => 'สาขาวิชาปฐพีศาสตร์และการจัดการทรัพยากรธรรมชาติ',
'major_id' => '5',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => '0',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '14',
'major_name' => 'สาขาวิชาพืชไร่',
'major_id' => '6',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '17',
'major_name' => 'สาขาวิชาพืชสวน',
'major_id' => '7',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '20',
'major_name' => 'สาขาวิชาโรคพืช',
'major_id' => '9',
'organize_id' => '2',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '22',
'major_name' => 'สาขาวิชาส่งเสริมการเกษตรและพัฒนาชนบท',
'major_id' => '10',
'organize_id' => '20',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '10',
'major_no' => '12',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ส่งเสริมการเกษตรและพัฒนาชนบท',
'major_eng' => 'AGRICULTURAL EXTENSION AND RURAL DEVELOP',
'major_eng2' => 'Agricultural Extension and Rural Develop',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '24',
'major_name' => 'สาขาวิชาสัตวศาสตร์',
'major_id' => '11',
'organize_id' => '23',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '30',
'major_name' => 'เกษตรศาสตร์เชิงระบบ',
'major_id' => '16',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => '0',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '16',
'major_no' => '17',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'เกษตรศาสตร์เชิงระบบ',
'major_eng' => 'AGRICULTURAL SYSTEMS',
'major_eng2' => 'AGRICULTURAL SYSTEMS',
'major_acronym' => 'เกษตรศาสตร์เชิงระบบ',
'major_level' => '0',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => null,
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
),
(int) 9 => array(
'Majordegree' => array(
'id' => '33',
'major_name' => 'สาขาวิชาปฐพีศาสตร์',
'major_id' => '18',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => '0',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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) 10 => array(
'Majordegree' => array(
'id' => '37',
'major_name' => 'สาขาวิชาเทคโนโลยีหลังการเก็บเกี่ยว',
'major_id' => '21',
'organize_id' => '43',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '21',
'major_no' => '15',
'major_no_fee' => '14',
'major_code' => null,
'major_name' => 'เทคโนโลยีหลังการเก็บเกี่ยว',
'major_eng' => 'Postharvest Technology',
'major_eng2' => 'Postharvest Technology',
'major_acronym' => 'เทคโนโลยีหลังการเก็บเกี่ยว',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => 'rgb(255, 204, 153)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '43',
'parent' => '40',
'name' => 'ศูนย์วิจัยเทคโนโลยีหลังการเก็บเกี่ยว ',
'status' => 'Y',
'old_name' => null,
'sort' => '130',
'name_shot' => 'หลังการเก็บเกี่ยว',
'phone' => '44031',
'order' => '15',
'group' => '3',
'level_course_fee' => '8',
'level_scholarship' => '0'
)
),
(int) 11 => array(
'Majordegree' => array(
'id' => '41',
'major_name' => 'สาขาวิชาปฐพีศาสตร์สิ่งแวดล้อม',
'major_id' => '22',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '22',
'major_no' => '16',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ปฐพีศาสตร์สิ่งแวดล้อม',
'major_eng' => 'Environmental Soil Science',
'major_eng2' => 'Environmental Soil Science',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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) 12 => array(
'Majordegree' => array(
'id' => '49',
'major_name' => 'สาขาวิชาระบบเกษตรบูรณาการอัจฉริยะเพื่อการพัฒนาอย่างยั่งยืน',
'major_id' => '27',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '27',
'major_no' => '22',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ระบบเกษตรบูรณาการอัจฉริยะเพื่อการพัฒนาอย่างยั่งยืน',
'major_eng' => 'Integrated Smart Agricultural System for Sustainable Development',
'major_eng2' => 'Integrated Smart Agricultural System for Sustainable Development',
'major_acronym' => null,
'major_level' => '1',
'major_degree_id' => null,
'major_show_graph_id' => '1',
'color' => null,
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
)
)
$major = array(
'Majordegree' => array(
'id' => '4',
'major_name' => 'สาขาวิชาการจัดการระบบเกษตร',
'major_id' => '2',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '2',
'major_no' => '14',
'major_no_fee' => '13',
'major_code' => null,
'major_name' => 'การจัดการระบบเกษตร',
'major_eng' => 'AGRICULTURAL SYSTEMS MANAGEMENT',
'major_eng2' => 'Agricultural Systems Management',
'major_acronym' => 'การจัดการระบบเกษตร',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => 'rgb(153, 153, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
)
$yearId = '64'
$yearIdmin1 = '640000000'
$yearIdmax1 = '649999999'
$yearIdmin2 = '630000000'
$yearIdmax2 = '639999999'
$yearIdmin3 = '620000000'
$yearIdmax3 = '629999999'
$yearIdmin4 = '610000000'
$yearIdmax4 = '619999999'
$yearIdmin5 = '600000000'
$yearIdmax5 = '609999999'
$yearIdmin6 = '590000000'
$yearIdmax6 = '599999999'
$yearIdmin7 = '580000000'
$yearIdmax7 = '589999999'
$yearIdmin8 = '570000000'
$yearIdmax8 = '579999999'
$yearIdmin9 = '560000000'
$yearIdmax9 = '569999999'
$yearIdmin10 = '550000000'
$yearIdmax10 = '559999999'
$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 = '2564'
$term = '1'
$degree_id = '5'
$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' => '2564',
'term_id' => '1',
'student_id' => '640852003'
)
)
$years = array(
(int) 0 => array(
'Yearterm' => array(
'id' => '25',
'year' => '2564',
'term' => '1',
'trm' => '641',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2564',
'postdate' => '2021-07-07',
'level' => '1'
)
)
)
$countstudentTerm = (int) 1659
$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' => '4',
'major_name' => 'สาขาวิชาการจัดการระบบเกษตร',
'major_id' => '2',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '2',
'major_no' => '14',
'major_no_fee' => '13',
'major_code' => null,
'major_name' => 'การจัดการระบบเกษตร',
'major_eng' => 'AGRICULTURAL SYSTEMS MANAGEMENT',
'major_eng2' => 'Agricultural Systems Management',
'major_acronym' => 'การจัดการระบบเกษตร',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => 'rgb(153, 153, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
),
(int) 1 => array(
'Majordegree' => array(
'id' => '7',
'major_name' => 'สาขาวิชากีฏวิทยา',
'major_id' => '3',
'organize_id' => '2',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '11',
'major_name' => 'สาขาวิชาปฐพีศาสตร์และการจัดการทรัพยากรธรรมชาติ',
'major_id' => '5',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => '0',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '14',
'major_name' => 'สาขาวิชาพืชไร่',
'major_id' => '6',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '17',
'major_name' => 'สาขาวิชาพืชสวน',
'major_id' => '7',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '20',
'major_name' => 'สาขาวิชาโรคพืช',
'major_id' => '9',
'organize_id' => '2',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '22',
'major_name' => 'สาขาวิชาส่งเสริมการเกษตรและพัฒนาชนบท',
'major_id' => '10',
'organize_id' => '20',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '10',
'major_no' => '12',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ส่งเสริมการเกษตรและพัฒนาชนบท',
'major_eng' => 'AGRICULTURAL EXTENSION AND RURAL DEVELOP',
'major_eng2' => 'Agricultural Extension and Rural Develop',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '24',
'major_name' => 'สาขาวิชาสัตวศาสตร์',
'major_id' => '11',
'organize_id' => '23',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '30',
'major_name' => 'เกษตรศาสตร์เชิงระบบ',
'major_id' => '16',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => '0',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '16',
'major_no' => '17',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'เกษตรศาสตร์เชิงระบบ',
'major_eng' => 'AGRICULTURAL SYSTEMS',
'major_eng2' => 'AGRICULTURAL SYSTEMS',
'major_acronym' => 'เกษตรศาสตร์เชิงระบบ',
'major_level' => '0',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => null,
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
),
(int) 9 => array(
'Majordegree' => array(
'id' => '33',
'major_name' => 'สาขาวิชาปฐพีศาสตร์',
'major_id' => '18',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => '0',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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) 10 => array(
'Majordegree' => array(
'id' => '37',
'major_name' => 'สาขาวิชาเทคโนโลยีหลังการเก็บเกี่ยว',
'major_id' => '21',
'organize_id' => '43',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '21',
'major_no' => '15',
'major_no_fee' => '14',
'major_code' => null,
'major_name' => 'เทคโนโลยีหลังการเก็บเกี่ยว',
'major_eng' => 'Postharvest Technology',
'major_eng2' => 'Postharvest Technology',
'major_acronym' => 'เทคโนโลยีหลังการเก็บเกี่ยว',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => 'rgb(255, 204, 153)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '43',
'parent' => '40',
'name' => 'ศูนย์วิจัยเทคโนโลยีหลังการเก็บเกี่ยว ',
'status' => 'Y',
'old_name' => null,
'sort' => '130',
'name_shot' => 'หลังการเก็บเกี่ยว',
'phone' => '44031',
'order' => '15',
'group' => '3',
'level_course_fee' => '8',
'level_scholarship' => '0'
)
),
(int) 11 => array(
'Majordegree' => array(
'id' => '41',
'major_name' => 'สาขาวิชาปฐพีศาสตร์สิ่งแวดล้อม',
'major_id' => '22',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '22',
'major_no' => '16',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ปฐพีศาสตร์สิ่งแวดล้อม',
'major_eng' => 'Environmental Soil Science',
'major_eng2' => 'Environmental Soil Science',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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) 12 => array(
'Majordegree' => array(
'id' => '49',
'major_name' => 'สาขาวิชาระบบเกษตรบูรณาการอัจฉริยะเพื่อการพัฒนาอย่างยั่งยืน',
'major_id' => '27',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '27',
'major_no' => '22',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ระบบเกษตรบูรณาการอัจฉริยะเพื่อการพัฒนาอย่างยั่งยืน',
'major_eng' => 'Integrated Smart Agricultural System for Sustainable Development',
'major_eng2' => 'Integrated Smart Agricultural System for Sustainable Development',
'major_acronym' => null,
'major_level' => '1',
'major_degree_id' => null,
'major_show_graph_id' => '1',
'color' => null,
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
)
)
$major = array(
'Majordegree' => array(
'id' => '4',
'major_name' => 'สาขาวิชาการจัดการระบบเกษตร',
'major_id' => '2',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '2',
'major_no' => '14',
'major_no_fee' => '13',
'major_code' => null,
'major_name' => 'การจัดการระบบเกษตร',
'major_eng' => 'AGRICULTURAL SYSTEMS MANAGEMENT',
'major_eng2' => 'Agricultural Systems Management',
'major_acronym' => 'การจัดการระบบเกษตร',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => 'rgb(153, 153, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
)
$yearId = '64'
$yearIdmin1 = '640000000'
$yearIdmax1 = '649999999'
$yearIdmin2 = '630000000'
$yearIdmax2 = '639999999'
$yearIdmin3 = '620000000'
$yearIdmax3 = '629999999'
$yearIdmin4 = '610000000'
$yearIdmax4 = '619999999'
$yearIdmin5 = '600000000'
$yearIdmax5 = '609999999'
$yearIdmin6 = '590000000'
$yearIdmax6 = '599999999'
$yearIdmin7 = '580000000'
$yearIdmax7 = '589999999'
$yearIdmin8 = '570000000'
$yearIdmax8 = '579999999'
$yearIdmin9 = '560000000'
$yearIdmax9 = '569999999'
$yearIdmin10 = '550000000'
$yearIdmax10 = '559999999'
$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 = '2564'
$term = '1'
$degree_id = '5'
$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' => '2564',
'term_id' => '1',
'student_id' => '640852003'
)
)
$years = array(
(int) 0 => array(
'Yearterm' => array(
'id' => '25',
'year' => '2564',
'term' => '1',
'trm' => '641',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2564',
'postdate' => '2021-07-07',
'level' => '1'
)
)
)
$countstudentTerm = (int) 1659
$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' => '4',
'major_name' => 'สาขาวิชาการจัดการระบบเกษตร',
'major_id' => '2',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '2',
'major_no' => '14',
'major_no_fee' => '13',
'major_code' => null,
'major_name' => 'การจัดการระบบเกษตร',
'major_eng' => 'AGRICULTURAL SYSTEMS MANAGEMENT',
'major_eng2' => 'Agricultural Systems Management',
'major_acronym' => 'การจัดการระบบเกษตร',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => 'rgb(153, 153, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
),
(int) 1 => array(
'Majordegree' => array(
'id' => '7',
'major_name' => 'สาขาวิชากีฏวิทยา',
'major_id' => '3',
'organize_id' => '2',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '11',
'major_name' => 'สาขาวิชาปฐพีศาสตร์และการจัดการทรัพยากรธรรมชาติ',
'major_id' => '5',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => '0',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '14',
'major_name' => 'สาขาวิชาพืชไร่',
'major_id' => '6',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '17',
'major_name' => 'สาขาวิชาพืชสวน',
'major_id' => '7',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '20',
'major_name' => 'สาขาวิชาโรคพืช',
'major_id' => '9',
'organize_id' => '2',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '22',
'major_name' => 'สาขาวิชาส่งเสริมการเกษตรและพัฒนาชนบท',
'major_id' => '10',
'organize_id' => '20',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '10',
'major_no' => '12',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ส่งเสริมการเกษตรและพัฒนาชนบท',
'major_eng' => 'AGRICULTURAL EXTENSION AND RURAL DEVELOP',
'major_eng2' => 'Agricultural Extension and Rural Develop',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '24',
'major_name' => 'สาขาวิชาสัตวศาสตร์',
'major_id' => '11',
'organize_id' => '23',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '30',
'major_name' => 'เกษตรศาสตร์เชิงระบบ',
'major_id' => '16',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => '0',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '16',
'major_no' => '17',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'เกษตรศาสตร์เชิงระบบ',
'major_eng' => 'AGRICULTURAL SYSTEMS',
'major_eng2' => 'AGRICULTURAL SYSTEMS',
'major_acronym' => 'เกษตรศาสตร์เชิงระบบ',
'major_level' => '0',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => null,
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
),
(int) 9 => array(
'Majordegree' => array(
'id' => '33',
'major_name' => 'สาขาวิชาปฐพีศาสตร์',
'major_id' => '18',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => '0',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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) 10 => array(
'Majordegree' => array(
'id' => '37',
'major_name' => 'สาขาวิชาเทคโนโลยีหลังการเก็บเกี่ยว',
'major_id' => '21',
'organize_id' => '43',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '21',
'major_no' => '15',
'major_no_fee' => '14',
'major_code' => null,
'major_name' => 'เทคโนโลยีหลังการเก็บเกี่ยว',
'major_eng' => 'Postharvest Technology',
'major_eng2' => 'Postharvest Technology',
'major_acronym' => 'เทคโนโลยีหลังการเก็บเกี่ยว',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => 'rgb(255, 204, 153)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '43',
'parent' => '40',
'name' => 'ศูนย์วิจัยเทคโนโลยีหลังการเก็บเกี่ยว ',
'status' => 'Y',
'old_name' => null,
'sort' => '130',
'name_shot' => 'หลังการเก็บเกี่ยว',
'phone' => '44031',
'order' => '15',
'group' => '3',
'level_course_fee' => '8',
'level_scholarship' => '0'
)
),
(int) 11 => array(
'Majordegree' => array(
'id' => '41',
'major_name' => 'สาขาวิชาปฐพีศาสตร์สิ่งแวดล้อม',
'major_id' => '22',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '22',
'major_no' => '16',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ปฐพีศาสตร์สิ่งแวดล้อม',
'major_eng' => 'Environmental Soil Science',
'major_eng2' => 'Environmental Soil Science',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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) 12 => array(
'Majordegree' => array(
'id' => '49',
'major_name' => 'สาขาวิชาระบบเกษตรบูรณาการอัจฉริยะเพื่อการพัฒนาอย่างยั่งยืน',
'major_id' => '27',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '27',
'major_no' => '22',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ระบบเกษตรบูรณาการอัจฉริยะเพื่อการพัฒนาอย่างยั่งยืน',
'major_eng' => 'Integrated Smart Agricultural System for Sustainable Development',
'major_eng2' => 'Integrated Smart Agricultural System for Sustainable Development',
'major_acronym' => null,
'major_level' => '1',
'major_degree_id' => null,
'major_show_graph_id' => '1',
'color' => null,
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
)
)
$major = array(
'Majordegree' => array(
'id' => '4',
'major_name' => 'สาขาวิชาการจัดการระบบเกษตร',
'major_id' => '2',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '2',
'major_no' => '14',
'major_no_fee' => '13',
'major_code' => null,
'major_name' => 'การจัดการระบบเกษตร',
'major_eng' => 'AGRICULTURAL SYSTEMS MANAGEMENT',
'major_eng2' => 'Agricultural Systems Management',
'major_acronym' => 'การจัดการระบบเกษตร',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => 'rgb(153, 153, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
)
$yearId = '64'
$yearIdmin1 = '640000000'
$yearIdmax1 = '649999999'
$yearIdmin2 = '630000000'
$yearIdmax2 = '639999999'
$yearIdmin3 = '620000000'
$yearIdmax3 = '629999999'
$yearIdmin4 = '610000000'
$yearIdmax4 = '619999999'
$yearIdmin5 = '600000000'
$yearIdmax5 = '609999999'
$yearIdmin6 = '590000000'
$yearIdmax6 = '599999999'
$yearIdmin7 = '580000000'
$yearIdmax7 = '589999999'
$yearIdmin8 = '570000000'
$yearIdmax8 = '579999999'
$yearIdmin9 = '560000000'
$yearIdmax9 = '569999999'
$yearIdmin10 = '550000000'
$yearIdmax10 = '559999999'
$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 = '2564'
$term = '1'
$degree_id = '5'
$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' => '2564',
'term_id' => '1',
'student_id' => '640852003'
)
)
$years = array(
(int) 0 => array(
'Yearterm' => array(
'id' => '25',
'year' => '2564',
'term' => '1',
'trm' => '641',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2564',
'postdate' => '2021-07-07',
'level' => '1'
)
)
)
$countstudentTerm = (int) 1659
$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' => '4',
'major_name' => 'สาขาวิชาการจัดการระบบเกษตร',
'major_id' => '2',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '2',
'major_no' => '14',
'major_no_fee' => '13',
'major_code' => null,
'major_name' => 'การจัดการระบบเกษตร',
'major_eng' => 'AGRICULTURAL SYSTEMS MANAGEMENT',
'major_eng2' => 'Agricultural Systems Management',
'major_acronym' => 'การจัดการระบบเกษตร',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => 'rgb(153, 153, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
),
(int) 1 => array(
'Majordegree' => array(
'id' => '7',
'major_name' => 'สาขาวิชากีฏวิทยา',
'major_id' => '3',
'organize_id' => '2',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '11',
'major_name' => 'สาขาวิชาปฐพีศาสตร์และการจัดการทรัพยากรธรรมชาติ',
'major_id' => '5',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => '0',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '14',
'major_name' => 'สาขาวิชาพืชไร่',
'major_id' => '6',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '17',
'major_name' => 'สาขาวิชาพืชสวน',
'major_id' => '7',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '20',
'major_name' => 'สาขาวิชาโรคพืช',
'major_id' => '9',
'organize_id' => '2',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '22',
'major_name' => 'สาขาวิชาส่งเสริมการเกษตรและพัฒนาชนบท',
'major_id' => '10',
'organize_id' => '20',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '10',
'major_no' => '12',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ส่งเสริมการเกษตรและพัฒนาชนบท',
'major_eng' => 'AGRICULTURAL EXTENSION AND RURAL DEVELOP',
'major_eng2' => 'Agricultural Extension and Rural Develop',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '24',
'major_name' => 'สาขาวิชาสัตวศาสตร์',
'major_id' => '11',
'organize_id' => '23',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '30',
'major_name' => 'เกษตรศาสตร์เชิงระบบ',
'major_id' => '16',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => '0',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '16',
'major_no' => '17',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'เกษตรศาสตร์เชิงระบบ',
'major_eng' => 'AGRICULTURAL SYSTEMS',
'major_eng2' => 'AGRICULTURAL SYSTEMS',
'major_acronym' => 'เกษตรศาสตร์เชิงระบบ',
'major_level' => '0',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => null,
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
),
(int) 9 => array(
'Majordegree' => array(
'id' => '33',
'major_name' => 'สาขาวิชาปฐพีศาสตร์',
'major_id' => '18',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => '0',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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) 10 => array(
'Majordegree' => array(
'id' => '37',
'major_name' => 'สาขาวิชาเทคโนโลยีหลังการเก็บเกี่ยว',
'major_id' => '21',
'organize_id' => '43',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '21',
'major_no' => '15',
'major_no_fee' => '14',
'major_code' => null,
'major_name' => 'เทคโนโลยีหลังการเก็บเกี่ยว',
'major_eng' => 'Postharvest Technology',
'major_eng2' => 'Postharvest Technology',
'major_acronym' => 'เทคโนโลยีหลังการเก็บเกี่ยว',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => 'rgb(255, 204, 153)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '43',
'parent' => '40',
'name' => 'ศูนย์วิจัยเทคโนโลยีหลังการเก็บเกี่ยว ',
'status' => 'Y',
'old_name' => null,
'sort' => '130',
'name_shot' => 'หลังการเก็บเกี่ยว',
'phone' => '44031',
'order' => '15',
'group' => '3',
'level_course_fee' => '8',
'level_scholarship' => '0'
)
),
(int) 11 => array(
'Majordegree' => array(
'id' => '41',
'major_name' => 'สาขาวิชาปฐพีศาสตร์สิ่งแวดล้อม',
'major_id' => '22',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '22',
'major_no' => '16',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ปฐพีศาสตร์สิ่งแวดล้อม',
'major_eng' => 'Environmental Soil Science',
'major_eng2' => 'Environmental Soil Science',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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) 12 => array(
'Majordegree' => array(
'id' => '49',
'major_name' => 'สาขาวิชาระบบเกษตรบูรณาการอัจฉริยะเพื่อการพัฒนาอย่างยั่งยืน',
'major_id' => '27',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '27',
'major_no' => '22',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ระบบเกษตรบูรณาการอัจฉริยะเพื่อการพัฒนาอย่างยั่งยืน',
'major_eng' => 'Integrated Smart Agricultural System for Sustainable Development',
'major_eng2' => 'Integrated Smart Agricultural System for Sustainable Development',
'major_acronym' => null,
'major_level' => '1',
'major_degree_id' => null,
'major_show_graph_id' => '1',
'color' => null,
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
)
)
$major = array(
'Majordegree' => array(
'id' => '4',
'major_name' => 'สาขาวิชาการจัดการระบบเกษตร',
'major_id' => '2',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '2',
'major_no' => '14',
'major_no_fee' => '13',
'major_code' => null,
'major_name' => 'การจัดการระบบเกษตร',
'major_eng' => 'AGRICULTURAL SYSTEMS MANAGEMENT',
'major_eng2' => 'Agricultural Systems Management',
'major_acronym' => 'การจัดการระบบเกษตร',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => 'rgb(153, 153, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
)
$yearId = '64'
$yearIdmin1 = '640000000'
$yearIdmax1 = '649999999'
$yearIdmin2 = '630000000'
$yearIdmax2 = '639999999'
$yearIdmin3 = '620000000'
$yearIdmax3 = '629999999'
$yearIdmin4 = '610000000'
$yearIdmax4 = '619999999'
$yearIdmin5 = '600000000'
$yearIdmax5 = '609999999'
$yearIdmin6 = '590000000'
$yearIdmax6 = '599999999'
$yearIdmin7 = '580000000'
$yearIdmax7 = '589999999'
$yearIdmin8 = '570000000'
$yearIdmax8 = '579999999'
$yearIdmin9 = '560000000'
$yearIdmax9 = '569999999'
$yearIdmin10 = '550000000'
$yearIdmax10 = '559999999'
$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 = '2564'
$term = '1'
$degree_id = '5'
$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' => '2564',
'term_id' => '1',
'student_id' => '640852003'
)
)
$years = array(
(int) 0 => array(
'Yearterm' => array(
'id' => '25',
'year' => '2564',
'term' => '1',
'trm' => '641',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2564',
'postdate' => '2021-07-07',
'level' => '1'
)
)
)
$countstudentTerm = (int) 1659
$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' => '4',
'major_name' => 'สาขาวิชาการจัดการระบบเกษตร',
'major_id' => '2',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '2',
'major_no' => '14',
'major_no_fee' => '13',
'major_code' => null,
'major_name' => 'การจัดการระบบเกษตร',
'major_eng' => 'AGRICULTURAL SYSTEMS MANAGEMENT',
'major_eng2' => 'Agricultural Systems Management',
'major_acronym' => 'การจัดการระบบเกษตร',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => 'rgb(153, 153, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
),
(int) 1 => array(
'Majordegree' => array(
'id' => '7',
'major_name' => 'สาขาวิชากีฏวิทยา',
'major_id' => '3',
'organize_id' => '2',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '11',
'major_name' => 'สาขาวิชาปฐพีศาสตร์และการจัดการทรัพยากรธรรมชาติ',
'major_id' => '5',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => '0',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '14',
'major_name' => 'สาขาวิชาพืชไร่',
'major_id' => '6',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '17',
'major_name' => 'สาขาวิชาพืชสวน',
'major_id' => '7',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '20',
'major_name' => 'สาขาวิชาโรคพืช',
'major_id' => '9',
'organize_id' => '2',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '22',
'major_name' => 'สาขาวิชาส่งเสริมการเกษตรและพัฒนาชนบท',
'major_id' => '10',
'organize_id' => '20',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '10',
'major_no' => '12',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ส่งเสริมการเกษตรและพัฒนาชนบท',
'major_eng' => 'AGRICULTURAL EXTENSION AND RURAL DEVELOP',
'major_eng2' => 'Agricultural Extension and Rural Develop',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '24',
'major_name' => 'สาขาวิชาสัตวศาสตร์',
'major_id' => '11',
'organize_id' => '23',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '30',
'major_name' => 'เกษตรศาสตร์เชิงระบบ',
'major_id' => '16',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => '0',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '16',
'major_no' => '17',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'เกษตรศาสตร์เชิงระบบ',
'major_eng' => 'AGRICULTURAL SYSTEMS',
'major_eng2' => 'AGRICULTURAL SYSTEMS',
'major_acronym' => 'เกษตรศาสตร์เชิงระบบ',
'major_level' => '0',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => null,
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
),
(int) 9 => array(
'Majordegree' => array(
'id' => '33',
'major_name' => 'สาขาวิชาปฐพีศาสตร์',
'major_id' => '18',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => '0',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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) 10 => array(
'Majordegree' => array(
'id' => '37',
'major_name' => 'สาขาวิชาเทคโนโลยีหลังการเก็บเกี่ยว',
'major_id' => '21',
'organize_id' => '43',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '21',
'major_no' => '15',
'major_no_fee' => '14',
'major_code' => null,
'major_name' => 'เทคโนโลยีหลังการเก็บเกี่ยว',
'major_eng' => 'Postharvest Technology',
'major_eng2' => 'Postharvest Technology',
'major_acronym' => 'เทคโนโลยีหลังการเก็บเกี่ยว',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => 'rgb(255, 204, 153)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '43',
'parent' => '40',
'name' => 'ศูนย์วิจัยเทคโนโลยีหลังการเก็บเกี่ยว ',
'status' => 'Y',
'old_name' => null,
'sort' => '130',
'name_shot' => 'หลังการเก็บเกี่ยว',
'phone' => '44031',
'order' => '15',
'group' => '3',
'level_course_fee' => '8',
'level_scholarship' => '0'
)
),
(int) 11 => array(
'Majordegree' => array(
'id' => '41',
'major_name' => 'สาขาวิชาปฐพีศาสตร์สิ่งแวดล้อม',
'major_id' => '22',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '22',
'major_no' => '16',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ปฐพีศาสตร์สิ่งแวดล้อม',
'major_eng' => 'Environmental Soil Science',
'major_eng2' => 'Environmental Soil Science',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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) 12 => array(
'Majordegree' => array(
'id' => '49',
'major_name' => 'สาขาวิชาระบบเกษตรบูรณาการอัจฉริยะเพื่อการพัฒนาอย่างยั่งยืน',
'major_id' => '27',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '27',
'major_no' => '22',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ระบบเกษตรบูรณาการอัจฉริยะเพื่อการพัฒนาอย่างยั่งยืน',
'major_eng' => 'Integrated Smart Agricultural System for Sustainable Development',
'major_eng2' => 'Integrated Smart Agricultural System for Sustainable Development',
'major_acronym' => null,
'major_level' => '1',
'major_degree_id' => null,
'major_show_graph_id' => '1',
'color' => null,
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
)
)
$major = array(
'Majordegree' => array(
'id' => '4',
'major_name' => 'สาขาวิชาการจัดการระบบเกษตร',
'major_id' => '2',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '2',
'major_no' => '14',
'major_no_fee' => '13',
'major_code' => null,
'major_name' => 'การจัดการระบบเกษตร',
'major_eng' => 'AGRICULTURAL SYSTEMS MANAGEMENT',
'major_eng2' => 'Agricultural Systems Management',
'major_acronym' => 'การจัดการระบบเกษตร',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => 'rgb(153, 153, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
)
$yearId = '64'
$yearIdmin1 = '640000000'
$yearIdmax1 = '649999999'
$yearIdmin2 = '630000000'
$yearIdmax2 = '639999999'
$yearIdmin3 = '620000000'
$yearIdmax3 = '629999999'
$yearIdmin4 = '610000000'
$yearIdmax4 = '619999999'
$yearIdmin5 = '600000000'
$yearIdmax5 = '609999999'
$yearIdmin6 = '590000000'
$yearIdmax6 = '599999999'
$yearIdmin7 = '580000000'
$yearIdmax7 = '589999999'
$yearIdmin8 = '570000000'
$yearIdmax8 = '579999999'
$yearIdmin9 = '560000000'
$yearIdmax9 = '569999999'
$yearIdmin10 = '550000000'
$yearIdmax10 = '559999999'
$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 = '2564'
$term = '1'
$degree_id = '5'
$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' => '2564',
'term_id' => '1',
'student_id' => '640852003'
)
)
$years = array(
(int) 0 => array(
'Yearterm' => array(
'id' => '25',
'year' => '2564',
'term' => '1',
'trm' => '641',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2564',
'postdate' => '2021-07-07',
'level' => '1'
)
)
)
$countstudentTerm = (int) 1659
$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' => '4',
'major_name' => 'สาขาวิชาการจัดการระบบเกษตร',
'major_id' => '2',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '2',
'major_no' => '14',
'major_no_fee' => '13',
'major_code' => null,
'major_name' => 'การจัดการระบบเกษตร',
'major_eng' => 'AGRICULTURAL SYSTEMS MANAGEMENT',
'major_eng2' => 'Agricultural Systems Management',
'major_acronym' => 'การจัดการระบบเกษตร',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => 'rgb(153, 153, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
),
(int) 1 => array(
'Majordegree' => array(
'id' => '7',
'major_name' => 'สาขาวิชากีฏวิทยา',
'major_id' => '3',
'organize_id' => '2',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '11',
'major_name' => 'สาขาวิชาปฐพีศาสตร์และการจัดการทรัพยากรธรรมชาติ',
'major_id' => '5',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => '0',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '14',
'major_name' => 'สาขาวิชาพืชไร่',
'major_id' => '6',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '17',
'major_name' => 'สาขาวิชาพืชสวน',
'major_id' => '7',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '20',
'major_name' => 'สาขาวิชาโรคพืช',
'major_id' => '9',
'organize_id' => '2',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '22',
'major_name' => 'สาขาวิชาส่งเสริมการเกษตรและพัฒนาชนบท',
'major_id' => '10',
'organize_id' => '20',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '10',
'major_no' => '12',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ส่งเสริมการเกษตรและพัฒนาชนบท',
'major_eng' => 'AGRICULTURAL EXTENSION AND RURAL DEVELOP',
'major_eng2' => 'Agricultural Extension and Rural Develop',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '24',
'major_name' => 'สาขาวิชาสัตวศาสตร์',
'major_id' => '11',
'organize_id' => '23',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '30',
'major_name' => 'เกษตรศาสตร์เชิงระบบ',
'major_id' => '16',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => '0',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '16',
'major_no' => '17',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'เกษตรศาสตร์เชิงระบบ',
'major_eng' => 'AGRICULTURAL SYSTEMS',
'major_eng2' => 'AGRICULTURAL SYSTEMS',
'major_acronym' => 'เกษตรศาสตร์เชิงระบบ',
'major_level' => '0',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => null,
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
),
(int) 9 => array(
'Majordegree' => array(
'id' => '33',
'major_name' => 'สาขาวิชาปฐพีศาสตร์',
'major_id' => '18',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => '0',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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) 10 => array(
'Majordegree' => array(
'id' => '37',
'major_name' => 'สาขาวิชาเทคโนโลยีหลังการเก็บเกี่ยว',
'major_id' => '21',
'organize_id' => '43',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '21',
'major_no' => '15',
'major_no_fee' => '14',
'major_code' => null,
'major_name' => 'เทคโนโลยีหลังการเก็บเกี่ยว',
'major_eng' => 'Postharvest Technology',
'major_eng2' => 'Postharvest Technology',
'major_acronym' => 'เทคโนโลยีหลังการเก็บเกี่ยว',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => 'rgb(255, 204, 153)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '43',
'parent' => '40',
'name' => 'ศูนย์วิจัยเทคโนโลยีหลังการเก็บเกี่ยว ',
'status' => 'Y',
'old_name' => null,
'sort' => '130',
'name_shot' => 'หลังการเก็บเกี่ยว',
'phone' => '44031',
'order' => '15',
'group' => '3',
'level_course_fee' => '8',
'level_scholarship' => '0'
)
),
(int) 11 => array(
'Majordegree' => array(
'id' => '41',
'major_name' => 'สาขาวิชาปฐพีศาสตร์สิ่งแวดล้อม',
'major_id' => '22',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '22',
'major_no' => '16',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ปฐพีศาสตร์สิ่งแวดล้อม',
'major_eng' => 'Environmental Soil Science',
'major_eng2' => 'Environmental Soil Science',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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) 12 => array(
'Majordegree' => array(
'id' => '49',
'major_name' => 'สาขาวิชาระบบเกษตรบูรณาการอัจฉริยะเพื่อการพัฒนาอย่างยั่งยืน',
'major_id' => '27',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '27',
'major_no' => '22',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ระบบเกษตรบูรณาการอัจฉริยะเพื่อการพัฒนาอย่างยั่งยืน',
'major_eng' => 'Integrated Smart Agricultural System for Sustainable Development',
'major_eng2' => 'Integrated Smart Agricultural System for Sustainable Development',
'major_acronym' => null,
'major_level' => '1',
'major_degree_id' => null,
'major_show_graph_id' => '1',
'color' => null,
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
)
)
$major = array(
'Majordegree' => array(
'id' => '4',
'major_name' => 'สาขาวิชาการจัดการระบบเกษตร',
'major_id' => '2',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '2',
'major_no' => '14',
'major_no_fee' => '13',
'major_code' => null,
'major_name' => 'การจัดการระบบเกษตร',
'major_eng' => 'AGRICULTURAL SYSTEMS MANAGEMENT',
'major_eng2' => 'Agricultural Systems Management',
'major_acronym' => 'การจัดการระบบเกษตร',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => 'rgb(153, 153, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
)
$yearId = '64'
$yearIdmin1 = '640000000'
$yearIdmax1 = '649999999'
$yearIdmin2 = '630000000'
$yearIdmax2 = '639999999'
$yearIdmin3 = '620000000'
$yearIdmax3 = '629999999'
$yearIdmin4 = '610000000'
$yearIdmax4 = '619999999'
$yearIdmin5 = '600000000'
$yearIdmax5 = '609999999'
$yearIdmin6 = '590000000'
$yearIdmax6 = '599999999'
$yearIdmin7 = '580000000'
$yearIdmax7 = '589999999'
$yearIdmin8 = '570000000'
$yearIdmax8 = '579999999'
$yearIdmin9 = '560000000'
$yearIdmax9 = '569999999'
$yearIdmin10 = '550000000'
$yearIdmax10 = '559999999'
$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 = '2564'
$term = '1'
$degree_id = '5'
$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' => '2564',
'term_id' => '1',
'student_id' => '640852003'
)
)
$years = array(
(int) 0 => array(
'Yearterm' => array(
'id' => '25',
'year' => '2564',
'term' => '1',
'trm' => '641',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2564',
'postdate' => '2021-07-07',
'level' => '1'
)
)
)
$countstudentTerm = (int) 1659
$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' => '4',
'major_name' => 'สาขาวิชาการจัดการระบบเกษตร',
'major_id' => '2',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '2',
'major_no' => '14',
'major_no_fee' => '13',
'major_code' => null,
'major_name' => 'การจัดการระบบเกษตร',
'major_eng' => 'AGRICULTURAL SYSTEMS MANAGEMENT',
'major_eng2' => 'Agricultural Systems Management',
'major_acronym' => 'การจัดการระบบเกษตร',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => 'rgb(153, 153, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
),
(int) 1 => array(
'Majordegree' => array(
'id' => '7',
'major_name' => 'สาขาวิชากีฏวิทยา',
'major_id' => '3',
'organize_id' => '2',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '11',
'major_name' => 'สาขาวิชาปฐพีศาสตร์และการจัดการทรัพยากรธรรมชาติ',
'major_id' => '5',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => '0',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '14',
'major_name' => 'สาขาวิชาพืชไร่',
'major_id' => '6',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '17',
'major_name' => 'สาขาวิชาพืชสวน',
'major_id' => '7',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '20',
'major_name' => 'สาขาวิชาโรคพืช',
'major_id' => '9',
'organize_id' => '2',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '22',
'major_name' => 'สาขาวิชาส่งเสริมการเกษตรและพัฒนาชนบท',
'major_id' => '10',
'organize_id' => '20',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '10',
'major_no' => '12',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ส่งเสริมการเกษตรและพัฒนาชนบท',
'major_eng' => 'AGRICULTURAL EXTENSION AND RURAL DEVELOP',
'major_eng2' => 'Agricultural Extension and Rural Develop',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '24',
'major_name' => 'สาขาวิชาสัตวศาสตร์',
'major_id' => '11',
'organize_id' => '23',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '30',
'major_name' => 'เกษตรศาสตร์เชิงระบบ',
'major_id' => '16',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => '0',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '16',
'major_no' => '17',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'เกษตรศาสตร์เชิงระบบ',
'major_eng' => 'AGRICULTURAL SYSTEMS',
'major_eng2' => 'AGRICULTURAL SYSTEMS',
'major_acronym' => 'เกษตรศาสตร์เชิงระบบ',
'major_level' => '0',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => null,
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
),
(int) 9 => array(
'Majordegree' => array(
'id' => '33',
'major_name' => 'สาขาวิชาปฐพีศาสตร์',
'major_id' => '18',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => '0',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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) 10 => array(
'Majordegree' => array(
'id' => '37',
'major_name' => 'สาขาวิชาเทคโนโลยีหลังการเก็บเกี่ยว',
'major_id' => '21',
'organize_id' => '43',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '21',
'major_no' => '15',
'major_no_fee' => '14',
'major_code' => null,
'major_name' => 'เทคโนโลยีหลังการเก็บเกี่ยว',
'major_eng' => 'Postharvest Technology',
'major_eng2' => 'Postharvest Technology',
'major_acronym' => 'เทคโนโลยีหลังการเก็บเกี่ยว',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => 'rgb(255, 204, 153)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '43',
'parent' => '40',
'name' => 'ศูนย์วิจัยเทคโนโลยีหลังการเก็บเกี่ยว ',
'status' => 'Y',
'old_name' => null,
'sort' => '130',
'name_shot' => 'หลังการเก็บเกี่ยว',
'phone' => '44031',
'order' => '15',
'group' => '3',
'level_course_fee' => '8',
'level_scholarship' => '0'
)
),
(int) 11 => array(
'Majordegree' => array(
'id' => '41',
'major_name' => 'สาขาวิชาปฐพีศาสตร์สิ่งแวดล้อม',
'major_id' => '22',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '22',
'major_no' => '16',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ปฐพีศาสตร์สิ่งแวดล้อม',
'major_eng' => 'Environmental Soil Science',
'major_eng2' => 'Environmental Soil Science',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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) 12 => array(
'Majordegree' => array(
'id' => '49',
'major_name' => 'สาขาวิชาระบบเกษตรบูรณาการอัจฉริยะเพื่อการพัฒนาอย่างยั่งยืน',
'major_id' => '27',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '27',
'major_no' => '22',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ระบบเกษตรบูรณาการอัจฉริยะเพื่อการพัฒนาอย่างยั่งยืน',
'major_eng' => 'Integrated Smart Agricultural System for Sustainable Development',
'major_eng2' => 'Integrated Smart Agricultural System for Sustainable Development',
'major_acronym' => null,
'major_level' => '1',
'major_degree_id' => null,
'major_show_graph_id' => '1',
'color' => null,
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
)
)
$major = array(
'Majordegree' => array(
'id' => '4',
'major_name' => 'สาขาวิชาการจัดการระบบเกษตร',
'major_id' => '2',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '2',
'major_no' => '14',
'major_no_fee' => '13',
'major_code' => null,
'major_name' => 'การจัดการระบบเกษตร',
'major_eng' => 'AGRICULTURAL SYSTEMS MANAGEMENT',
'major_eng2' => 'Agricultural Systems Management',
'major_acronym' => 'การจัดการระบบเกษตร',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => 'rgb(153, 153, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
)
$yearId = '64'
$yearIdmin1 = '640000000'
$yearIdmax1 = '649999999'
$yearIdmin2 = '630000000'
$yearIdmax2 = '639999999'
$yearIdmin3 = '620000000'
$yearIdmax3 = '629999999'
$yearIdmin4 = '610000000'
$yearIdmax4 = '619999999'
$yearIdmin5 = '600000000'
$yearIdmax5 = '609999999'
$yearIdmin6 = '590000000'
$yearIdmax6 = '599999999'
$yearIdmin7 = '580000000'
$yearIdmax7 = '589999999'
$yearIdmin8 = '570000000'
$yearIdmax8 = '579999999'
$yearIdmin9 = '560000000'
$yearIdmax9 = '569999999'
$yearIdmin10 = '550000000'
$yearIdmax10 = '559999999'
$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 = '2564'
$term = '1'
$degree_id = '5'
$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' => '2564',
'term_id' => '1',
'student_id' => '640852003'
)
)
$years = array(
(int) 0 => array(
'Yearterm' => array(
'id' => '25',
'year' => '2564',
'term' => '1',
'trm' => '641',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2564',
'postdate' => '2021-07-07',
'level' => '1'
)
)
)
$countstudentTerm = (int) 1659
$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' => '4',
'major_name' => 'สาขาวิชาการจัดการระบบเกษตร',
'major_id' => '2',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '2',
'major_no' => '14',
'major_no_fee' => '13',
'major_code' => null,
'major_name' => 'การจัดการระบบเกษตร',
'major_eng' => 'AGRICULTURAL SYSTEMS MANAGEMENT',
'major_eng2' => 'Agricultural Systems Management',
'major_acronym' => 'การจัดการระบบเกษตร',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => 'rgb(153, 153, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
),
(int) 1 => array(
'Majordegree' => array(
'id' => '7',
'major_name' => 'สาขาวิชากีฏวิทยา',
'major_id' => '3',
'organize_id' => '2',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '11',
'major_name' => 'สาขาวิชาปฐพีศาสตร์และการจัดการทรัพยากรธรรมชาติ',
'major_id' => '5',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => '0',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '14',
'major_name' => 'สาขาวิชาพืชไร่',
'major_id' => '6',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '17',
'major_name' => 'สาขาวิชาพืชสวน',
'major_id' => '7',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '20',
'major_name' => 'สาขาวิชาโรคพืช',
'major_id' => '9',
'organize_id' => '2',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '22',
'major_name' => 'สาขาวิชาส่งเสริมการเกษตรและพัฒนาชนบท',
'major_id' => '10',
'organize_id' => '20',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '10',
'major_no' => '12',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ส่งเสริมการเกษตรและพัฒนาชนบท',
'major_eng' => 'AGRICULTURAL EXTENSION AND RURAL DEVELOP',
'major_eng2' => 'Agricultural Extension and Rural Develop',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '24',
'major_name' => 'สาขาวิชาสัตวศาสตร์',
'major_id' => '11',
'organize_id' => '23',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '30',
'major_name' => 'เกษตรศาสตร์เชิงระบบ',
'major_id' => '16',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => '0',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '16',
'major_no' => '17',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'เกษตรศาสตร์เชิงระบบ',
'major_eng' => 'AGRICULTURAL SYSTEMS',
'major_eng2' => 'AGRICULTURAL SYSTEMS',
'major_acronym' => 'เกษตรศาสตร์เชิงระบบ',
'major_level' => '0',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => null,
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
),
(int) 9 => array(
'Majordegree' => array(
'id' => '33',
'major_name' => 'สาขาวิชาปฐพีศาสตร์',
'major_id' => '18',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => '0',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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) 10 => array(
'Majordegree' => array(
'id' => '37',
'major_name' => 'สาขาวิชาเทคโนโลยีหลังการเก็บเกี่ยว',
'major_id' => '21',
'organize_id' => '43',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '21',
'major_no' => '15',
'major_no_fee' => '14',
'major_code' => null,
'major_name' => 'เทคโนโลยีหลังการเก็บเกี่ยว',
'major_eng' => 'Postharvest Technology',
'major_eng2' => 'Postharvest Technology',
'major_acronym' => 'เทคโนโลยีหลังการเก็บเกี่ยว',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => 'rgb(255, 204, 153)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '43',
'parent' => '40',
'name' => 'ศูนย์วิจัยเทคโนโลยีหลังการเก็บเกี่ยว ',
'status' => 'Y',
'old_name' => null,
'sort' => '130',
'name_shot' => 'หลังการเก็บเกี่ยว',
'phone' => '44031',
'order' => '15',
'group' => '3',
'level_course_fee' => '8',
'level_scholarship' => '0'
)
),
(int) 11 => array(
'Majordegree' => array(
'id' => '41',
'major_name' => 'สาขาวิชาปฐพีศาสตร์สิ่งแวดล้อม',
'major_id' => '22',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '22',
'major_no' => '16',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ปฐพีศาสตร์สิ่งแวดล้อม',
'major_eng' => 'Environmental Soil Science',
'major_eng2' => 'Environmental Soil Science',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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) 12 => array(
'Majordegree' => array(
'id' => '49',
'major_name' => 'สาขาวิชาระบบเกษตรบูรณาการอัจฉริยะเพื่อการพัฒนาอย่างยั่งยืน',
'major_id' => '27',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '27',
'major_no' => '22',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ระบบเกษตรบูรณาการอัจฉริยะเพื่อการพัฒนาอย่างยั่งยืน',
'major_eng' => 'Integrated Smart Agricultural System for Sustainable Development',
'major_eng2' => 'Integrated Smart Agricultural System for Sustainable Development',
'major_acronym' => null,
'major_level' => '1',
'major_degree_id' => null,
'major_show_graph_id' => '1',
'color' => null,
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
)
)
$major = array(
'Majordegree' => array(
'id' => '4',
'major_name' => 'สาขาวิชาการจัดการระบบเกษตร',
'major_id' => '2',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '2',
'major_no' => '14',
'major_no_fee' => '13',
'major_code' => null,
'major_name' => 'การจัดการระบบเกษตร',
'major_eng' => 'AGRICULTURAL SYSTEMS MANAGEMENT',
'major_eng2' => 'Agricultural Systems Management',
'major_acronym' => 'การจัดการระบบเกษตร',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => 'rgb(153, 153, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
)
$yearId = '64'
$yearIdmin1 = '640000000'
$yearIdmax1 = '649999999'
$yearIdmin2 = '630000000'
$yearIdmax2 = '639999999'
$yearIdmin3 = '620000000'
$yearIdmax3 = '629999999'
$yearIdmin4 = '610000000'
$yearIdmax4 = '619999999'
$yearIdmin5 = '600000000'
$yearIdmax5 = '609999999'
$yearIdmin6 = '590000000'
$yearIdmax6 = '599999999'
$yearIdmin7 = '580000000'
$yearIdmax7 = '589999999'
$yearIdmin8 = '570000000'
$yearIdmax8 = '579999999'
$yearIdmin9 = '560000000'
$yearIdmax9 = '569999999'
$yearIdmin10 = '550000000'
$yearIdmax10 = '559999999'
$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 = '2564'
$term = '1'
$degree_id = '5'
$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' => '2564',
'term_id' => '1',
'student_id' => '640852003'
)
)
$years = array(
(int) 0 => array(
'Yearterm' => array(
'id' => '25',
'year' => '2564',
'term' => '1',
'trm' => '641',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2564',
'postdate' => '2021-07-07',
'level' => '1'
)
)
)
$countstudentTerm = (int) 1659
$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' => '4',
'major_name' => 'สาขาวิชาการจัดการระบบเกษตร',
'major_id' => '2',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '2',
'major_no' => '14',
'major_no_fee' => '13',
'major_code' => null,
'major_name' => 'การจัดการระบบเกษตร',
'major_eng' => 'AGRICULTURAL SYSTEMS MANAGEMENT',
'major_eng2' => 'Agricultural Systems Management',
'major_acronym' => 'การจัดการระบบเกษตร',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => 'rgb(153, 153, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
),
(int) 1 => array(
'Majordegree' => array(
'id' => '7',
'major_name' => 'สาขาวิชากีฏวิทยา',
'major_id' => '3',
'organize_id' => '2',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '11',
'major_name' => 'สาขาวิชาปฐพีศาสตร์และการจัดการทรัพยากรธรรมชาติ',
'major_id' => '5',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => '0',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '14',
'major_name' => 'สาขาวิชาพืชไร่',
'major_id' => '6',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '17',
'major_name' => 'สาขาวิชาพืชสวน',
'major_id' => '7',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '20',
'major_name' => 'สาขาวิชาโรคพืช',
'major_id' => '9',
'organize_id' => '2',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '22',
'major_name' => 'สาขาวิชาส่งเสริมการเกษตรและพัฒนาชนบท',
'major_id' => '10',
'organize_id' => '20',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '10',
'major_no' => '12',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ส่งเสริมการเกษตรและพัฒนาชนบท',
'major_eng' => 'AGRICULTURAL EXTENSION AND RURAL DEVELOP',
'major_eng2' => 'Agricultural Extension and Rural Develop',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '24',
'major_name' => 'สาขาวิชาสัตวศาสตร์',
'major_id' => '11',
'organize_id' => '23',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '30',
'major_name' => 'เกษตรศาสตร์เชิงระบบ',
'major_id' => '16',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => '0',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '16',
'major_no' => '17',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'เกษตรศาสตร์เชิงระบบ',
'major_eng' => 'AGRICULTURAL SYSTEMS',
'major_eng2' => 'AGRICULTURAL SYSTEMS',
'major_acronym' => 'เกษตรศาสตร์เชิงระบบ',
'major_level' => '0',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => null,
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
),
(int) 9 => array(
'Majordegree' => array(
'id' => '33',
'major_name' => 'สาขาวิชาปฐพีศาสตร์',
'major_id' => '18',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => '0',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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) 10 => array(
'Majordegree' => array(
'id' => '37',
'major_name' => 'สาขาวิชาเทคโนโลยีหลังการเก็บเกี่ยว',
'major_id' => '21',
'organize_id' => '43',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '21',
'major_no' => '15',
'major_no_fee' => '14',
'major_code' => null,
'major_name' => 'เทคโนโลยีหลังการเก็บเกี่ยว',
'major_eng' => 'Postharvest Technology',
'major_eng2' => 'Postharvest Technology',
'major_acronym' => 'เทคโนโลยีหลังการเก็บเกี่ยว',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => 'rgb(255, 204, 153)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '43',
'parent' => '40',
'name' => 'ศูนย์วิจัยเทคโนโลยีหลังการเก็บเกี่ยว ',
'status' => 'Y',
'old_name' => null,
'sort' => '130',
'name_shot' => 'หลังการเก็บเกี่ยว',
'phone' => '44031',
'order' => '15',
'group' => '3',
'level_course_fee' => '8',
'level_scholarship' => '0'
)
),
(int) 11 => array(
'Majordegree' => array(
'id' => '41',
'major_name' => 'สาขาวิชาปฐพีศาสตร์สิ่งแวดล้อม',
'major_id' => '22',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '22',
'major_no' => '16',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ปฐพีศาสตร์สิ่งแวดล้อม',
'major_eng' => 'Environmental Soil Science',
'major_eng2' => 'Environmental Soil Science',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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) 12 => array(
'Majordegree' => array(
'id' => '49',
'major_name' => 'สาขาวิชาระบบเกษตรบูรณาการอัจฉริยะเพื่อการพัฒนาอย่างยั่งยืน',
'major_id' => '27',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '27',
'major_no' => '22',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ระบบเกษตรบูรณาการอัจฉริยะเพื่อการพัฒนาอย่างยั่งยืน',
'major_eng' => 'Integrated Smart Agricultural System for Sustainable Development',
'major_eng2' => 'Integrated Smart Agricultural System for Sustainable Development',
'major_acronym' => null,
'major_level' => '1',
'major_degree_id' => null,
'major_show_graph_id' => '1',
'color' => null,
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
)
)
$major = array(
'Majordegree' => array(
'id' => '4',
'major_name' => 'สาขาวิชาการจัดการระบบเกษตร',
'major_id' => '2',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '2',
'major_no' => '14',
'major_no_fee' => '13',
'major_code' => null,
'major_name' => 'การจัดการระบบเกษตร',
'major_eng' => 'AGRICULTURAL SYSTEMS MANAGEMENT',
'major_eng2' => 'Agricultural Systems Management',
'major_acronym' => 'การจัดการระบบเกษตร',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => 'rgb(153, 153, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
)
$yearId = '64'
$yearIdmin1 = '640000000'
$yearIdmax1 = '649999999'
$yearIdmin2 = '630000000'
$yearIdmax2 = '639999999'
$yearIdmin3 = '620000000'
$yearIdmax3 = '629999999'
$yearIdmin4 = '610000000'
$yearIdmax4 = '619999999'
$yearIdmin5 = '600000000'
$yearIdmax5 = '609999999'
$yearIdmin6 = '590000000'
$yearIdmax6 = '599999999'
$yearIdmin7 = '580000000'
$yearIdmax7 = '589999999'
$yearIdmin8 = '570000000'
$yearIdmax8 = '579999999'
$yearIdmin9 = '560000000'
$yearIdmax9 = '569999999'
$yearIdmin10 = '550000000'
$yearIdmax10 = '559999999'
$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 = '2564'
$term = '1'
$degree_id = '5'
$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' => '2564',
'term_id' => '1',
'student_id' => '640852003'
)
)
$years = array(
(int) 0 => array(
'Yearterm' => array(
'id' => '25',
'year' => '2564',
'term' => '1',
'trm' => '641',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2564',
'postdate' => '2021-07-07',
'level' => '1'
)
)
)
$countstudentTerm = (int) 1659
$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' => '4',
'major_name' => 'สาขาวิชาการจัดการระบบเกษตร',
'major_id' => '2',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '2',
'major_no' => '14',
'major_no_fee' => '13',
'major_code' => null,
'major_name' => 'การจัดการระบบเกษตร',
'major_eng' => 'AGRICULTURAL SYSTEMS MANAGEMENT',
'major_eng2' => 'Agricultural Systems Management',
'major_acronym' => 'การจัดการระบบเกษตร',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => 'rgb(153, 153, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
),
(int) 1 => array(
'Majordegree' => array(
'id' => '7',
'major_name' => 'สาขาวิชากีฏวิทยา',
'major_id' => '3',
'organize_id' => '2',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '11',
'major_name' => 'สาขาวิชาปฐพีศาสตร์และการจัดการทรัพยากรธรรมชาติ',
'major_id' => '5',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => '0',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '14',
'major_name' => 'สาขาวิชาพืชไร่',
'major_id' => '6',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '17',
'major_name' => 'สาขาวิชาพืชสวน',
'major_id' => '7',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '20',
'major_name' => 'สาขาวิชาโรคพืช',
'major_id' => '9',
'organize_id' => '2',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '22',
'major_name' => 'สาขาวิชาส่งเสริมการเกษตรและพัฒนาชนบท',
'major_id' => '10',
'organize_id' => '20',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '10',
'major_no' => '12',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ส่งเสริมการเกษตรและพัฒนาชนบท',
'major_eng' => 'AGRICULTURAL EXTENSION AND RURAL DEVELOP',
'major_eng2' => 'Agricultural Extension and Rural Develop',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '24',
'major_name' => 'สาขาวิชาสัตวศาสตร์',
'major_id' => '11',
'organize_id' => '23',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '30',
'major_name' => 'เกษตรศาสตร์เชิงระบบ',
'major_id' => '16',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => '0',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '16',
'major_no' => '17',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'เกษตรศาสตร์เชิงระบบ',
'major_eng' => 'AGRICULTURAL SYSTEMS',
'major_eng2' => 'AGRICULTURAL SYSTEMS',
'major_acronym' => 'เกษตรศาสตร์เชิงระบบ',
'major_level' => '0',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => null,
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
),
(int) 9 => array(
'Majordegree' => array(
'id' => '33',
'major_name' => 'สาขาวิชาปฐพีศาสตร์',
'major_id' => '18',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => '0',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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) 10 => array(
'Majordegree' => array(
'id' => '37',
'major_name' => 'สาขาวิชาเทคโนโลยีหลังการเก็บเกี่ยว',
'major_id' => '21',
'organize_id' => '43',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '21',
'major_no' => '15',
'major_no_fee' => '14',
'major_code' => null,
'major_name' => 'เทคโนโลยีหลังการเก็บเกี่ยว',
'major_eng' => 'Postharvest Technology',
'major_eng2' => 'Postharvest Technology',
'major_acronym' => 'เทคโนโลยีหลังการเก็บเกี่ยว',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => 'rgb(255, 204, 153)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '43',
'parent' => '40',
'name' => 'ศูนย์วิจัยเทคโนโลยีหลังการเก็บเกี่ยว ',
'status' => 'Y',
'old_name' => null,
'sort' => '130',
'name_shot' => 'หลังการเก็บเกี่ยว',
'phone' => '44031',
'order' => '15',
'group' => '3',
'level_course_fee' => '8',
'level_scholarship' => '0'
)
),
(int) 11 => array(
'Majordegree' => array(
'id' => '41',
'major_name' => 'สาขาวิชาปฐพีศาสตร์สิ่งแวดล้อม',
'major_id' => '22',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '22',
'major_no' => '16',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ปฐพีศาสตร์สิ่งแวดล้อม',
'major_eng' => 'Environmental Soil Science',
'major_eng2' => 'Environmental Soil Science',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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) 12 => array(
'Majordegree' => array(
'id' => '49',
'major_name' => 'สาขาวิชาระบบเกษตรบูรณาการอัจฉริยะเพื่อการพัฒนาอย่างยั่งยืน',
'major_id' => '27',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '27',
'major_no' => '22',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ระบบเกษตรบูรณาการอัจฉริยะเพื่อการพัฒนาอย่างยั่งยืน',
'major_eng' => 'Integrated Smart Agricultural System for Sustainable Development',
'major_eng2' => 'Integrated Smart Agricultural System for Sustainable Development',
'major_acronym' => null,
'major_level' => '1',
'major_degree_id' => null,
'major_show_graph_id' => '1',
'color' => null,
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
)
)
$major = array(
'Majordegree' => array(
'id' => '4',
'major_name' => 'สาขาวิชาการจัดการระบบเกษตร',
'major_id' => '2',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '2',
'major_no' => '14',
'major_no_fee' => '13',
'major_code' => null,
'major_name' => 'การจัดการระบบเกษตร',
'major_eng' => 'AGRICULTURAL SYSTEMS MANAGEMENT',
'major_eng2' => 'Agricultural Systems Management',
'major_acronym' => 'การจัดการระบบเกษตร',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => 'rgb(153, 153, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
)
$yearId = '64'
$yearIdmin1 = '640000000'
$yearIdmax1 = '649999999'
$yearIdmin2 = '630000000'
$yearIdmax2 = '639999999'
$yearIdmin3 = '620000000'
$yearIdmax3 = '629999999'
$yearIdmin4 = '610000000'
$yearIdmax4 = '619999999'
$yearIdmin5 = '600000000'
$yearIdmax5 = '609999999'
$yearIdmin6 = '590000000'
$yearIdmax6 = '599999999'
$yearIdmin7 = '580000000'
$yearIdmax7 = '589999999'
$yearIdmin8 = '570000000'
$yearIdmax8 = '579999999'
$yearIdmin9 = '560000000'
$yearIdmax9 = '569999999'
$yearIdmin10 = '550000000'
$yearIdmax10 = '559999999'
$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 = '2564'
$term = '1'
$degree_id = '5'
$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' => '2564',
'term_id' => '1',
'student_id' => '640852003'
)
)
$years = array(
(int) 0 => array(
'Yearterm' => array(
'id' => '25',
'year' => '2564',
'term' => '1',
'trm' => '641',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2564',
'postdate' => '2021-07-07',
'level' => '1'
)
)
)
$countstudentTerm = (int) 1659
$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' => '4',
'major_name' => 'สาขาวิชาการจัดการระบบเกษตร',
'major_id' => '2',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '2',
'major_no' => '14',
'major_no_fee' => '13',
'major_code' => null,
'major_name' => 'การจัดการระบบเกษตร',
'major_eng' => 'AGRICULTURAL SYSTEMS MANAGEMENT',
'major_eng2' => 'Agricultural Systems Management',
'major_acronym' => 'การจัดการระบบเกษตร',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => 'rgb(153, 153, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
),
(int) 1 => array(
'Majordegree' => array(
'id' => '7',
'major_name' => 'สาขาวิชากีฏวิทยา',
'major_id' => '3',
'organize_id' => '2',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '11',
'major_name' => 'สาขาวิชาปฐพีศาสตร์และการจัดการทรัพยากรธรรมชาติ',
'major_id' => '5',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => '0',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '14',
'major_name' => 'สาขาวิชาพืชไร่',
'major_id' => '6',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '17',
'major_name' => 'สาขาวิชาพืชสวน',
'major_id' => '7',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '20',
'major_name' => 'สาขาวิชาโรคพืช',
'major_id' => '9',
'organize_id' => '2',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '22',
'major_name' => 'สาขาวิชาส่งเสริมการเกษตรและพัฒนาชนบท',
'major_id' => '10',
'organize_id' => '20',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '10',
'major_no' => '12',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ส่งเสริมการเกษตรและพัฒนาชนบท',
'major_eng' => 'AGRICULTURAL EXTENSION AND RURAL DEVELOP',
'major_eng2' => 'Agricultural Extension and Rural Develop',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '24',
'major_name' => 'สาขาวิชาสัตวศาสตร์',
'major_id' => '11',
'organize_id' => '23',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '30',
'major_name' => 'เกษตรศาสตร์เชิงระบบ',
'major_id' => '16',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => '0',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '16',
'major_no' => '17',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'เกษตรศาสตร์เชิงระบบ',
'major_eng' => 'AGRICULTURAL SYSTEMS',
'major_eng2' => 'AGRICULTURAL SYSTEMS',
'major_acronym' => 'เกษตรศาสตร์เชิงระบบ',
'major_level' => '0',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => null,
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
),
(int) 9 => array(
'Majordegree' => array(
'id' => '33',
'major_name' => 'สาขาวิชาปฐพีศาสตร์',
'major_id' => '18',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => '0',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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) 10 => array(
'Majordegree' => array(
'id' => '37',
'major_name' => 'สาขาวิชาเทคโนโลยีหลังการเก็บเกี่ยว',
'major_id' => '21',
'organize_id' => '43',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '21',
'major_no' => '15',
'major_no_fee' => '14',
'major_code' => null,
'major_name' => 'เทคโนโลยีหลังการเก็บเกี่ยว',
'major_eng' => 'Postharvest Technology',
'major_eng2' => 'Postharvest Technology',
'major_acronym' => 'เทคโนโลยีหลังการเก็บเกี่ยว',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => 'rgb(255, 204, 153)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '43',
'parent' => '40',
'name' => 'ศูนย์วิจัยเทคโนโลยีหลังการเก็บเกี่ยว ',
'status' => 'Y',
'old_name' => null,
'sort' => '130',
'name_shot' => 'หลังการเก็บเกี่ยว',
'phone' => '44031',
'order' => '15',
'group' => '3',
'level_course_fee' => '8',
'level_scholarship' => '0'
)
),
(int) 11 => array(
'Majordegree' => array(
'id' => '41',
'major_name' => 'สาขาวิชาปฐพีศาสตร์สิ่งแวดล้อม',
'major_id' => '22',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '22',
'major_no' => '16',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ปฐพีศาสตร์สิ่งแวดล้อม',
'major_eng' => 'Environmental Soil Science',
'major_eng2' => 'Environmental Soil Science',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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) 12 => array(
'Majordegree' => array(
'id' => '49',
'major_name' => 'สาขาวิชาระบบเกษตรบูรณาการอัจฉริยะเพื่อการพัฒนาอย่างยั่งยืน',
'major_id' => '27',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '27',
'major_no' => '22',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ระบบเกษตรบูรณาการอัจฉริยะเพื่อการพัฒนาอย่างยั่งยืน',
'major_eng' => 'Integrated Smart Agricultural System for Sustainable Development',
'major_eng2' => 'Integrated Smart Agricultural System for Sustainable Development',
'major_acronym' => null,
'major_level' => '1',
'major_degree_id' => null,
'major_show_graph_id' => '1',
'color' => null,
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
)
)
$major = array(
'Majordegree' => array(
'id' => '4',
'major_name' => 'สาขาวิชาการจัดการระบบเกษตร',
'major_id' => '2',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '2',
'major_no' => '14',
'major_no_fee' => '13',
'major_code' => null,
'major_name' => 'การจัดการระบบเกษตร',
'major_eng' => 'AGRICULTURAL SYSTEMS MANAGEMENT',
'major_eng2' => 'Agricultural Systems Management',
'major_acronym' => 'การจัดการระบบเกษตร',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => 'rgb(153, 153, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
)
$yearId = '64'
$yearIdmin1 = '640000000'
$yearIdmax1 = '649999999'
$yearIdmin2 = '630000000'
$yearIdmax2 = '639999999'
$yearIdmin3 = '620000000'
$yearIdmax3 = '629999999'
$yearIdmin4 = '610000000'
$yearIdmax4 = '619999999'
$yearIdmin5 = '600000000'
$yearIdmax5 = '609999999'
$yearIdmin6 = '590000000'
$yearIdmax6 = '599999999'
$yearIdmin7 = '580000000'
$yearIdmax7 = '589999999'
$yearIdmin8 = '570000000'
$yearIdmax8 = '579999999'
$yearIdmin9 = '560000000'
$yearIdmax9 = '569999999'
$yearIdmin10 = '550000000'
$yearIdmax10 = '559999999'
$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 = '2564'
$term = '1'
$degree_id = '5'
$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' => '2564',
'term_id' => '1',
'student_id' => '640852003'
)
)
$years = array(
(int) 0 => array(
'Yearterm' => array(
'id' => '25',
'year' => '2564',
'term' => '1',
'trm' => '641',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2564',
'postdate' => '2021-07-07',
'level' => '1'
)
)
)
$countstudentTerm = (int) 1659
$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' => '4',
'major_name' => 'สาขาวิชาการจัดการระบบเกษตร',
'major_id' => '2',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '2',
'major_no' => '14',
'major_no_fee' => '13',
'major_code' => null,
'major_name' => 'การจัดการระบบเกษตร',
'major_eng' => 'AGRICULTURAL SYSTEMS MANAGEMENT',
'major_eng2' => 'Agricultural Systems Management',
'major_acronym' => 'การจัดการระบบเกษตร',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => 'rgb(153, 153, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
),
(int) 1 => array(
'Majordegree' => array(
'id' => '7',
'major_name' => 'สาขาวิชากีฏวิทยา',
'major_id' => '3',
'organize_id' => '2',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '11',
'major_name' => 'สาขาวิชาปฐพีศาสตร์และการจัดการทรัพยากรธรรมชาติ',
'major_id' => '5',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => '0',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '14',
'major_name' => 'สาขาวิชาพืชไร่',
'major_id' => '6',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '17',
'major_name' => 'สาขาวิชาพืชสวน',
'major_id' => '7',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '20',
'major_name' => 'สาขาวิชาโรคพืช',
'major_id' => '9',
'organize_id' => '2',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '22',
'major_name' => 'สาขาวิชาส่งเสริมการเกษตรและพัฒนาชนบท',
'major_id' => '10',
'organize_id' => '20',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '10',
'major_no' => '12',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ส่งเสริมการเกษตรและพัฒนาชนบท',
'major_eng' => 'AGRICULTURAL EXTENSION AND RURAL DEVELOP',
'major_eng2' => 'Agricultural Extension and Rural Develop',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '24',
'major_name' => 'สาขาวิชาสัตวศาสตร์',
'major_id' => '11',
'organize_id' => '23',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '30',
'major_name' => 'เกษตรศาสตร์เชิงระบบ',
'major_id' => '16',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => '0',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '16',
'major_no' => '17',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'เกษตรศาสตร์เชิงระบบ',
'major_eng' => 'AGRICULTURAL SYSTEMS',
'major_eng2' => 'AGRICULTURAL SYSTEMS',
'major_acronym' => 'เกษตรศาสตร์เชิงระบบ',
'major_level' => '0',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => null,
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
),
(int) 9 => array(
'Majordegree' => array(
'id' => '33',
'major_name' => 'สาขาวิชาปฐพีศาสตร์',
'major_id' => '18',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => '0',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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) 10 => array(
'Majordegree' => array(
'id' => '37',
'major_name' => 'สาขาวิชาเทคโนโลยีหลังการเก็บเกี่ยว',
'major_id' => '21',
'organize_id' => '43',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '21',
'major_no' => '15',
'major_no_fee' => '14',
'major_code' => null,
'major_name' => 'เทคโนโลยีหลังการเก็บเกี่ยว',
'major_eng' => 'Postharvest Technology',
'major_eng2' => 'Postharvest Technology',
'major_acronym' => 'เทคโนโลยีหลังการเก็บเกี่ยว',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => 'rgb(255, 204, 153)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '43',
'parent' => '40',
'name' => 'ศูนย์วิจัยเทคโนโลยีหลังการเก็บเกี่ยว ',
'status' => 'Y',
'old_name' => null,
'sort' => '130',
'name_shot' => 'หลังการเก็บเกี่ยว',
'phone' => '44031',
'order' => '15',
'group' => '3',
'level_course_fee' => '8',
'level_scholarship' => '0'
)
),
(int) 11 => array(
'Majordegree' => array(
'id' => '41',
'major_name' => 'สาขาวิชาปฐพีศาสตร์สิ่งแวดล้อม',
'major_id' => '22',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '22',
'major_no' => '16',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ปฐพีศาสตร์สิ่งแวดล้อม',
'major_eng' => 'Environmental Soil Science',
'major_eng2' => 'Environmental Soil Science',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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) 12 => array(
'Majordegree' => array(
'id' => '49',
'major_name' => 'สาขาวิชาระบบเกษตรบูรณาการอัจฉริยะเพื่อการพัฒนาอย่างยั่งยืน',
'major_id' => '27',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '27',
'major_no' => '22',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ระบบเกษตรบูรณาการอัจฉริยะเพื่อการพัฒนาอย่างยั่งยืน',
'major_eng' => 'Integrated Smart Agricultural System for Sustainable Development',
'major_eng2' => 'Integrated Smart Agricultural System for Sustainable Development',
'major_acronym' => null,
'major_level' => '1',
'major_degree_id' => null,
'major_show_graph_id' => '1',
'color' => null,
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
)
)
$major = array(
'Majordegree' => array(
'id' => '4',
'major_name' => 'สาขาวิชาการจัดการระบบเกษตร',
'major_id' => '2',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '2',
'major_no' => '14',
'major_no_fee' => '13',
'major_code' => null,
'major_name' => 'การจัดการระบบเกษตร',
'major_eng' => 'AGRICULTURAL SYSTEMS MANAGEMENT',
'major_eng2' => 'Agricultural Systems Management',
'major_acronym' => 'การจัดการระบบเกษตร',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => 'rgb(153, 153, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
)
$yearId = '64'
$yearIdmin1 = '640000000'
$yearIdmax1 = '649999999'
$yearIdmin2 = '630000000'
$yearIdmax2 = '639999999'
$yearIdmin3 = '620000000'
$yearIdmax3 = '629999999'
$yearIdmin4 = '610000000'
$yearIdmax4 = '619999999'
$yearIdmin5 = '600000000'
$yearIdmax5 = '609999999'
$yearIdmin6 = '590000000'
$yearIdmax6 = '599999999'
$yearIdmin7 = '580000000'
$yearIdmax7 = '589999999'
$yearIdmin8 = '570000000'
$yearIdmax8 = '579999999'
$yearIdmin9 = '560000000'
$yearIdmax9 = '569999999'
$yearIdmin10 = '550000000'
$yearIdmax10 = '559999999'
$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 = '2564'
$term = '1'
$degree_id = '5'
$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' => '2564',
'term_id' => '1',
'student_id' => '640852003'
)
)
$years = array(
(int) 0 => array(
'Yearterm' => array(
'id' => '25',
'year' => '2564',
'term' => '1',
'trm' => '641',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2564',
'postdate' => '2021-07-07',
'level' => '1'
)
)
)
$countstudentTerm = (int) 1659
$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' => '4',
'major_name' => 'สาขาวิชาการจัดการระบบเกษตร',
'major_id' => '2',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '2',
'major_no' => '14',
'major_no_fee' => '13',
'major_code' => null,
'major_name' => 'การจัดการระบบเกษตร',
'major_eng' => 'AGRICULTURAL SYSTEMS MANAGEMENT',
'major_eng2' => 'Agricultural Systems Management',
'major_acronym' => 'การจัดการระบบเกษตร',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => 'rgb(153, 153, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
),
(int) 1 => array(
'Majordegree' => array(
'id' => '7',
'major_name' => 'สาขาวิชากีฏวิทยา',
'major_id' => '3',
'organize_id' => '2',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '11',
'major_name' => 'สาขาวิชาปฐพีศาสตร์และการจัดการทรัพยากรธรรมชาติ',
'major_id' => '5',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => '0',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '14',
'major_name' => 'สาขาวิชาพืชไร่',
'major_id' => '6',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '17',
'major_name' => 'สาขาวิชาพืชสวน',
'major_id' => '7',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '20',
'major_name' => 'สาขาวิชาโรคพืช',
'major_id' => '9',
'organize_id' => '2',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '22',
'major_name' => 'สาขาวิชาส่งเสริมการเกษตรและพัฒนาชนบท',
'major_id' => '10',
'organize_id' => '20',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '10',
'major_no' => '12',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ส่งเสริมการเกษตรและพัฒนาชนบท',
'major_eng' => 'AGRICULTURAL EXTENSION AND RURAL DEVELOP',
'major_eng2' => 'Agricultural Extension and Rural Develop',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '24',
'major_name' => 'สาขาวิชาสัตวศาสตร์',
'major_id' => '11',
'organize_id' => '23',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '30',
'major_name' => 'เกษตรศาสตร์เชิงระบบ',
'major_id' => '16',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => '0',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '16',
'major_no' => '17',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'เกษตรศาสตร์เชิงระบบ',
'major_eng' => 'AGRICULTURAL SYSTEMS',
'major_eng2' => 'AGRICULTURAL SYSTEMS',
'major_acronym' => 'เกษตรศาสตร์เชิงระบบ',
'major_level' => '0',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => null,
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
),
(int) 9 => array(
'Majordegree' => array(
'id' => '33',
'major_name' => 'สาขาวิชาปฐพีศาสตร์',
'major_id' => '18',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => '0',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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) 10 => array(
'Majordegree' => array(
'id' => '37',
'major_name' => 'สาขาวิชาเทคโนโลยีหลังการเก็บเกี่ยว',
'major_id' => '21',
'organize_id' => '43',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '21',
'major_no' => '15',
'major_no_fee' => '14',
'major_code' => null,
'major_name' => 'เทคโนโลยีหลังการเก็บเกี่ยว',
'major_eng' => 'Postharvest Technology',
'major_eng2' => 'Postharvest Technology',
'major_acronym' => 'เทคโนโลยีหลังการเก็บเกี่ยว',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => 'rgb(255, 204, 153)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '43',
'parent' => '40',
'name' => 'ศูนย์วิจัยเทคโนโลยีหลังการเก็บเกี่ยว ',
'status' => 'Y',
'old_name' => null,
'sort' => '130',
'name_shot' => 'หลังการเก็บเกี่ยว',
'phone' => '44031',
'order' => '15',
'group' => '3',
'level_course_fee' => '8',
'level_scholarship' => '0'
)
),
(int) 11 => array(
'Majordegree' => array(
'id' => '41',
'major_name' => 'สาขาวิชาปฐพีศาสตร์สิ่งแวดล้อม',
'major_id' => '22',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '22',
'major_no' => '16',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ปฐพีศาสตร์สิ่งแวดล้อม',
'major_eng' => 'Environmental Soil Science',
'major_eng2' => 'Environmental Soil Science',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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) 12 => array(
'Majordegree' => array(
'id' => '49',
'major_name' => 'สาขาวิชาระบบเกษตรบูรณาการอัจฉริยะเพื่อการพัฒนาอย่างยั่งยืน',
'major_id' => '27',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '27',
'major_no' => '22',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ระบบเกษตรบูรณาการอัจฉริยะเพื่อการพัฒนาอย่างยั่งยืน',
'major_eng' => 'Integrated Smart Agricultural System for Sustainable Development',
'major_eng2' => 'Integrated Smart Agricultural System for Sustainable Development',
'major_acronym' => null,
'major_level' => '1',
'major_degree_id' => null,
'major_show_graph_id' => '1',
'color' => null,
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
)
)
$major = array(
'Majordegree' => array(
'id' => '4',
'major_name' => 'สาขาวิชาการจัดการระบบเกษตร',
'major_id' => '2',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '2',
'major_no' => '14',
'major_no_fee' => '13',
'major_code' => null,
'major_name' => 'การจัดการระบบเกษตร',
'major_eng' => 'AGRICULTURAL SYSTEMS MANAGEMENT',
'major_eng2' => 'Agricultural Systems Management',
'major_acronym' => 'การจัดการระบบเกษตร',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => 'rgb(153, 153, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
)
$yearId = '64'
$yearIdmin1 = '640000000'
$yearIdmax1 = '649999999'
$yearIdmin2 = '630000000'
$yearIdmax2 = '639999999'
$yearIdmin3 = '620000000'
$yearIdmax3 = '629999999'
$yearIdmin4 = '610000000'
$yearIdmax4 = '619999999'
$yearIdmin5 = '600000000'
$yearIdmax5 = '609999999'
$yearIdmin6 = '590000000'
$yearIdmax6 = '599999999'
$yearIdmin7 = '580000000'
$yearIdmax7 = '589999999'
$yearIdmin8 = '570000000'
$yearIdmax8 = '579999999'
$yearIdmin9 = '560000000'
$yearIdmax9 = '569999999'
$yearIdmin10 = '550000000'
$yearIdmax10 = '559999999'
$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 = '2564'
$term = '1'
$degree_id = '5'
$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' => '2564',
'term_id' => '1',
'student_id' => '640852003'
)
)
$years = array(
(int) 0 => array(
'Yearterm' => array(
'id' => '25',
'year' => '2564',
'term' => '1',
'trm' => '641',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2564',
'postdate' => '2021-07-07',
'level' => '1'
)
)
)
$countstudentTerm = (int) 1659
$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' => '4',
'major_name' => 'สาขาวิชาการจัดการระบบเกษตร',
'major_id' => '2',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '2',
'major_no' => '14',
'major_no_fee' => '13',
'major_code' => null,
'major_name' => 'การจัดการระบบเกษตร',
'major_eng' => 'AGRICULTURAL SYSTEMS MANAGEMENT',
'major_eng2' => 'Agricultural Systems Management',
'major_acronym' => 'การจัดการระบบเกษตร',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => 'rgb(153, 153, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
),
(int) 1 => array(
'Majordegree' => array(
'id' => '7',
'major_name' => 'สาขาวิชากีฏวิทยา',
'major_id' => '3',
'organize_id' => '2',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '11',
'major_name' => 'สาขาวิชาปฐพีศาสตร์และการจัดการทรัพยากรธรรมชาติ',
'major_id' => '5',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => '0',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '14',
'major_name' => 'สาขาวิชาพืชไร่',
'major_id' => '6',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '17',
'major_name' => 'สาขาวิชาพืชสวน',
'major_id' => '7',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '20',
'major_name' => 'สาขาวิชาโรคพืช',
'major_id' => '9',
'organize_id' => '2',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '22',
'major_name' => 'สาขาวิชาส่งเสริมการเกษตรและพัฒนาชนบท',
'major_id' => '10',
'organize_id' => '20',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '10',
'major_no' => '12',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ส่งเสริมการเกษตรและพัฒนาชนบท',
'major_eng' => 'AGRICULTURAL EXTENSION AND RURAL DEVELOP',
'major_eng2' => 'Agricultural Extension and Rural Develop',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '24',
'major_name' => 'สาขาวิชาสัตวศาสตร์',
'major_id' => '11',
'organize_id' => '23',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '30',
'major_name' => 'เกษตรศาสตร์เชิงระบบ',
'major_id' => '16',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => '0',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '16',
'major_no' => '17',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'เกษตรศาสตร์เชิงระบบ',
'major_eng' => 'AGRICULTURAL SYSTEMS',
'major_eng2' => 'AGRICULTURAL SYSTEMS',
'major_acronym' => 'เกษตรศาสตร์เชิงระบบ',
'major_level' => '0',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => null,
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
),
(int) 9 => array(
'Majordegree' => array(
'id' => '33',
'major_name' => 'สาขาวิชาปฐพีศาสตร์',
'major_id' => '18',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => '0',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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) 10 => array(
'Majordegree' => array(
'id' => '37',
'major_name' => 'สาขาวิชาเทคโนโลยีหลังการเก็บเกี่ยว',
'major_id' => '21',
'organize_id' => '43',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '21',
'major_no' => '15',
'major_no_fee' => '14',
'major_code' => null,
'major_name' => 'เทคโนโลยีหลังการเก็บเกี่ยว',
'major_eng' => 'Postharvest Technology',
'major_eng2' => 'Postharvest Technology',
'major_acronym' => 'เทคโนโลยีหลังการเก็บเกี่ยว',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => 'rgb(255, 204, 153)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '43',
'parent' => '40',
'name' => 'ศูนย์วิจัยเทคโนโลยีหลังการเก็บเกี่ยว ',
'status' => 'Y',
'old_name' => null,
'sort' => '130',
'name_shot' => 'หลังการเก็บเกี่ยว',
'phone' => '44031',
'order' => '15',
'group' => '3',
'level_course_fee' => '8',
'level_scholarship' => '0'
)
),
(int) 11 => array(
'Majordegree' => array(
'id' => '41',
'major_name' => 'สาขาวิชาปฐพีศาสตร์สิ่งแวดล้อม',
'major_id' => '22',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '22',
'major_no' => '16',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ปฐพีศาสตร์สิ่งแวดล้อม',
'major_eng' => 'Environmental Soil Science',
'major_eng2' => 'Environmental Soil Science',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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) 12 => array(
'Majordegree' => array(
'id' => '49',
'major_name' => 'สาขาวิชาระบบเกษตรบูรณาการอัจฉริยะเพื่อการพัฒนาอย่างยั่งยืน',
'major_id' => '27',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '27',
'major_no' => '22',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ระบบเกษตรบูรณาการอัจฉริยะเพื่อการพัฒนาอย่างยั่งยืน',
'major_eng' => 'Integrated Smart Agricultural System for Sustainable Development',
'major_eng2' => 'Integrated Smart Agricultural System for Sustainable Development',
'major_acronym' => null,
'major_level' => '1',
'major_degree_id' => null,
'major_show_graph_id' => '1',
'color' => null,
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
)
)
$major = array(
'Majordegree' => array(
'id' => '4',
'major_name' => 'สาขาวิชาการจัดการระบบเกษตร',
'major_id' => '2',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '2',
'major_no' => '14',
'major_no_fee' => '13',
'major_code' => null,
'major_name' => 'การจัดการระบบเกษตร',
'major_eng' => 'AGRICULTURAL SYSTEMS MANAGEMENT',
'major_eng2' => 'Agricultural Systems Management',
'major_acronym' => 'การจัดการระบบเกษตร',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => 'rgb(153, 153, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
)
$yearId = '64'
$yearIdmin1 = '640000000'
$yearIdmax1 = '649999999'
$yearIdmin2 = '630000000'
$yearIdmax2 = '639999999'
$yearIdmin3 = '620000000'
$yearIdmax3 = '629999999'
$yearIdmin4 = '610000000'
$yearIdmax4 = '619999999'
$yearIdmin5 = '600000000'
$yearIdmax5 = '609999999'
$yearIdmin6 = '590000000'
$yearIdmax6 = '599999999'
$yearIdmin7 = '580000000'
$yearIdmax7 = '589999999'
$yearIdmin8 = '570000000'
$yearIdmax8 = '579999999'
$yearIdmin9 = '560000000'
$yearIdmax9 = '569999999'
$yearIdmin10 = '550000000'
$yearIdmax10 = '559999999'
$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 = '2564'
$term = '1'
$degree_id = '5'
$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' => '2564',
'term_id' => '1',
'student_id' => '640852003'
)
)
$years = array(
(int) 0 => array(
'Yearterm' => array(
'id' => '25',
'year' => '2564',
'term' => '1',
'trm' => '641',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2564',
'postdate' => '2021-07-07',
'level' => '1'
)
)
)
$countstudentTerm = (int) 1659
$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' => '4',
'major_name' => 'สาขาวิชาการจัดการระบบเกษตร',
'major_id' => '2',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '2',
'major_no' => '14',
'major_no_fee' => '13',
'major_code' => null,
'major_name' => 'การจัดการระบบเกษตร',
'major_eng' => 'AGRICULTURAL SYSTEMS MANAGEMENT',
'major_eng2' => 'Agricultural Systems Management',
'major_acronym' => 'การจัดการระบบเกษตร',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => 'rgb(153, 153, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
),
(int) 1 => array(
'Majordegree' => array(
'id' => '7',
'major_name' => 'สาขาวิชากีฏวิทยา',
'major_id' => '3',
'organize_id' => '2',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '11',
'major_name' => 'สาขาวิชาปฐพีศาสตร์และการจัดการทรัพยากรธรรมชาติ',
'major_id' => '5',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => '0',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '14',
'major_name' => 'สาขาวิชาพืชไร่',
'major_id' => '6',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '17',
'major_name' => 'สาขาวิชาพืชสวน',
'major_id' => '7',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '20',
'major_name' => 'สาขาวิชาโรคพืช',
'major_id' => '9',
'organize_id' => '2',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '22',
'major_name' => 'สาขาวิชาส่งเสริมการเกษตรและพัฒนาชนบท',
'major_id' => '10',
'organize_id' => '20',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '10',
'major_no' => '12',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ส่งเสริมการเกษตรและพัฒนาชนบท',
'major_eng' => 'AGRICULTURAL EXTENSION AND RURAL DEVELOP',
'major_eng2' => 'Agricultural Extension and Rural Develop',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '24',
'major_name' => 'สาขาวิชาสัตวศาสตร์',
'major_id' => '11',
'organize_id' => '23',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '30',
'major_name' => 'เกษตรศาสตร์เชิงระบบ',
'major_id' => '16',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => '0',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '16',
'major_no' => '17',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'เกษตรศาสตร์เชิงระบบ',
'major_eng' => 'AGRICULTURAL SYSTEMS',
'major_eng2' => 'AGRICULTURAL SYSTEMS',
'major_acronym' => 'เกษตรศาสตร์เชิงระบบ',
'major_level' => '0',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => null,
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
),
(int) 9 => array(
'Majordegree' => array(
'id' => '33',
'major_name' => 'สาขาวิชาปฐพีศาสตร์',
'major_id' => '18',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => '0',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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) 10 => array(
'Majordegree' => array(
'id' => '37',
'major_name' => 'สาขาวิชาเทคโนโลยีหลังการเก็บเกี่ยว',
'major_id' => '21',
'organize_id' => '43',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '21',
'major_no' => '15',
'major_no_fee' => '14',
'major_code' => null,
'major_name' => 'เทคโนโลยีหลังการเก็บเกี่ยว',
'major_eng' => 'Postharvest Technology',
'major_eng2' => 'Postharvest Technology',
'major_acronym' => 'เทคโนโลยีหลังการเก็บเกี่ยว',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => 'rgb(255, 204, 153)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '43',
'parent' => '40',
'name' => 'ศูนย์วิจัยเทคโนโลยีหลังการเก็บเกี่ยว ',
'status' => 'Y',
'old_name' => null,
'sort' => '130',
'name_shot' => 'หลังการเก็บเกี่ยว',
'phone' => '44031',
'order' => '15',
'group' => '3',
'level_course_fee' => '8',
'level_scholarship' => '0'
)
),
(int) 11 => array(
'Majordegree' => array(
'id' => '41',
'major_name' => 'สาขาวิชาปฐพีศาสตร์สิ่งแวดล้อม',
'major_id' => '22',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '22',
'major_no' => '16',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ปฐพีศาสตร์สิ่งแวดล้อม',
'major_eng' => 'Environmental Soil Science',
'major_eng2' => 'Environmental Soil Science',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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) 12 => array(
'Majordegree' => array(
'id' => '49',
'major_name' => 'สาขาวิชาระบบเกษตรบูรณาการอัจฉริยะเพื่อการพัฒนาอย่างยั่งยืน',
'major_id' => '27',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '27',
'major_no' => '22',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ระบบเกษตรบูรณาการอัจฉริยะเพื่อการพัฒนาอย่างยั่งยืน',
'major_eng' => 'Integrated Smart Agricultural System for Sustainable Development',
'major_eng2' => 'Integrated Smart Agricultural System for Sustainable Development',
'major_acronym' => null,
'major_level' => '1',
'major_degree_id' => null,
'major_show_graph_id' => '1',
'color' => null,
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
)
)
$major = array(
'Majordegree' => array(
'id' => '4',
'major_name' => 'สาขาวิชาการจัดการระบบเกษตร',
'major_id' => '2',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '2',
'major_no' => '14',
'major_no_fee' => '13',
'major_code' => null,
'major_name' => 'การจัดการระบบเกษตร',
'major_eng' => 'AGRICULTURAL SYSTEMS MANAGEMENT',
'major_eng2' => 'Agricultural Systems Management',
'major_acronym' => 'การจัดการระบบเกษตร',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => 'rgb(153, 153, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
)
$yearId = '64'
$yearIdmin1 = '640000000'
$yearIdmax1 = '649999999'
$yearIdmin2 = '630000000'
$yearIdmax2 = '639999999'
$yearIdmin3 = '620000000'
$yearIdmax3 = '629999999'
$yearIdmin4 = '610000000'
$yearIdmax4 = '619999999'
$yearIdmin5 = '600000000'
$yearIdmax5 = '609999999'
$yearIdmin6 = '590000000'
$yearIdmax6 = '599999999'
$yearIdmin7 = '580000000'
$yearIdmax7 = '589999999'
$yearIdmin8 = '570000000'
$yearIdmax8 = '579999999'
$yearIdmin9 = '560000000'
$yearIdmax9 = '569999999'
$yearIdmin10 = '550000000'
$yearIdmax10 = '559999999'
$total = (int) 0
StudentsController::list_student_by_division_student() - APP\Controller\StudentsController.php, line 15526
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 15286]Code Context
$total = 0;
$totals1 = $totals1 + $output1;
$yearList = '2564'
$term = '1'
$degree_id = '5'
$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' => '2564',
'term_id' => '1',
'student_id' => '640852003'
)
)
$years = array(
(int) 0 => array(
'Yearterm' => array(
'id' => '25',
'year' => '2564',
'term' => '1',
'trm' => '641',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2564',
'postdate' => '2021-07-07',
'level' => '1'
)
)
)
$countstudentTerm = (int) 1659
$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><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' => '4',
'major_name' => 'สาขาวิชาการจัดการระบบเกษตร',
'major_id' => '2',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '2',
'major_no' => '14',
'major_no_fee' => '13',
'major_code' => null,
'major_name' => 'การจัดการระบบเกษตร',
'major_eng' => 'AGRICULTURAL SYSTEMS MANAGEMENT',
'major_eng2' => 'Agricultural Systems Management',
'major_acronym' => 'การจัดการระบบเกษตร',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => 'rgb(153, 153, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
),
(int) 1 => array(
'Majordegree' => array(
'id' => '7',
'major_name' => 'สาขาวิชากีฏวิทยา',
'major_id' => '3',
'organize_id' => '2',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '11',
'major_name' => 'สาขาวิชาปฐพีศาสตร์และการจัดการทรัพยากรธรรมชาติ',
'major_id' => '5',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => '0',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '14',
'major_name' => 'สาขาวิชาพืชไร่',
'major_id' => '6',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '17',
'major_name' => 'สาขาวิชาพืชสวน',
'major_id' => '7',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '20',
'major_name' => 'สาขาวิชาโรคพืช',
'major_id' => '9',
'organize_id' => '2',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '22',
'major_name' => 'สาขาวิชาส่งเสริมการเกษตรและพัฒนาชนบท',
'major_id' => '10',
'organize_id' => '20',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '10',
'major_no' => '12',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ส่งเสริมการเกษตรและพัฒนาชนบท',
'major_eng' => 'AGRICULTURAL EXTENSION AND RURAL DEVELOP',
'major_eng2' => 'Agricultural Extension and Rural Develop',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '24',
'major_name' => 'สาขาวิชาสัตวศาสตร์',
'major_id' => '11',
'organize_id' => '23',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '30',
'major_name' => 'เกษตรศาสตร์เชิงระบบ',
'major_id' => '16',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => '0',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '16',
'major_no' => '17',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'เกษตรศาสตร์เชิงระบบ',
'major_eng' => 'AGRICULTURAL SYSTEMS',
'major_eng2' => 'AGRICULTURAL SYSTEMS',
'major_acronym' => 'เกษตรศาสตร์เชิงระบบ',
'major_level' => '0',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => null,
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
),
(int) 9 => array(
'Majordegree' => array(
'id' => '33',
'major_name' => 'สาขาวิชาปฐพีศาสตร์',
'major_id' => '18',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => '0',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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) 10 => array(
'Majordegree' => array(
'id' => '37',
'major_name' => 'สาขาวิชาเทคโนโลยีหลังการเก็บเกี่ยว',
'major_id' => '21',
'organize_id' => '43',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '21',
'major_no' => '15',
'major_no_fee' => '14',
'major_code' => null,
'major_name' => 'เทคโนโลยีหลังการเก็บเกี่ยว',
'major_eng' => 'Postharvest Technology',
'major_eng2' => 'Postharvest Technology',
'major_acronym' => 'เทคโนโลยีหลังการเก็บเกี่ยว',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => 'rgb(255, 204, 153)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '43',
'parent' => '40',
'name' => 'ศูนย์วิจัยเทคโนโลยีหลังการเก็บเกี่ยว ',
'status' => 'Y',
'old_name' => null,
'sort' => '130',
'name_shot' => 'หลังการเก็บเกี่ยว',
'phone' => '44031',
'order' => '15',
'group' => '3',
'level_course_fee' => '8',
'level_scholarship' => '0'
)
),
(int) 11 => array(
'Majordegree' => array(
'id' => '41',
'major_name' => 'สาขาวิชาปฐพีศาสตร์สิ่งแวดล้อม',
'major_id' => '22',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '22',
'major_no' => '16',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ปฐพีศาสตร์สิ่งแวดล้อม',
'major_eng' => 'Environmental Soil Science',
'major_eng2' => 'Environmental Soil Science',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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) 12 => array(
'Majordegree' => array(
'id' => '49',
'major_name' => 'สาขาวิชาระบบเกษตรบูรณาการอัจฉริยะเพื่อการพัฒนาอย่างยั่งยืน',
'major_id' => '27',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '27',
'major_no' => '22',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ระบบเกษตรบูรณาการอัจฉริยะเพื่อการพัฒนาอย่างยั่งยืน',
'major_eng' => 'Integrated Smart Agricultural System for Sustainable Development',
'major_eng2' => 'Integrated Smart Agricultural System for Sustainable Development',
'major_acronym' => null,
'major_level' => '1',
'major_degree_id' => null,
'major_show_graph_id' => '1',
'color' => null,
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
)
)
$major = array(
'Majordegree' => array(
'id' => '7',
'major_name' => 'สาขาวิชากีฏวิทยา',
'major_id' => '3',
'organize_id' => '2',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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'
)
)
$yearId = '64'
$yearIdmin1 = '640000000'
$yearIdmax1 = '649999999'
$yearIdmin2 = '630000000'
$yearIdmax2 = '639999999'
$yearIdmin3 = '620000000'
$yearIdmax3 = '629999999'
$yearIdmin4 = '610000000'
$yearIdmax4 = '619999999'
$yearIdmin5 = '600000000'
$yearIdmax5 = '609999999'
$yearIdmin6 = '590000000'
$yearIdmax6 = '599999999'
$yearIdmin7 = '580000000'
$yearIdmax7 = '589999999'
$yearIdmin8 = '570000000'
$yearIdmax8 = '579999999'
$yearIdmin9 = '560000000'
$yearIdmax9 = '569999999'
$yearIdmin10 = '550000000'
$yearIdmax10 = '559999999'
$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 = '2564'
$term = '1'
$degree_id = '5'
$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' => '2564',
'term_id' => '1',
'student_id' => '640852003'
)
)
$years = array(
(int) 0 => array(
'Yearterm' => array(
'id' => '25',
'year' => '2564',
'term' => '1',
'trm' => '641',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2564',
'postdate' => '2021-07-07',
'level' => '1'
)
)
)
$countstudentTerm = (int) 1659
$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><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' => '4',
'major_name' => 'สาขาวิชาการจัดการระบบเกษตร',
'major_id' => '2',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '2',
'major_no' => '14',
'major_no_fee' => '13',
'major_code' => null,
'major_name' => 'การจัดการระบบเกษตร',
'major_eng' => 'AGRICULTURAL SYSTEMS MANAGEMENT',
'major_eng2' => 'Agricultural Systems Management',
'major_acronym' => 'การจัดการระบบเกษตร',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => 'rgb(153, 153, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
),
(int) 1 => array(
'Majordegree' => array(
'id' => '7',
'major_name' => 'สาขาวิชากีฏวิทยา',
'major_id' => '3',
'organize_id' => '2',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '11',
'major_name' => 'สาขาวิชาปฐพีศาสตร์และการจัดการทรัพยากรธรรมชาติ',
'major_id' => '5',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => '0',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '14',
'major_name' => 'สาขาวิชาพืชไร่',
'major_id' => '6',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '17',
'major_name' => 'สาขาวิชาพืชสวน',
'major_id' => '7',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '20',
'major_name' => 'สาขาวิชาโรคพืช',
'major_id' => '9',
'organize_id' => '2',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '22',
'major_name' => 'สาขาวิชาส่งเสริมการเกษตรและพัฒนาชนบท',
'major_id' => '10',
'organize_id' => '20',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '10',
'major_no' => '12',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ส่งเสริมการเกษตรและพัฒนาชนบท',
'major_eng' => 'AGRICULTURAL EXTENSION AND RURAL DEVELOP',
'major_eng2' => 'Agricultural Extension and Rural Develop',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '24',
'major_name' => 'สาขาวิชาสัตวศาสตร์',
'major_id' => '11',
'organize_id' => '23',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '30',
'major_name' => 'เกษตรศาสตร์เชิงระบบ',
'major_id' => '16',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => '0',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '16',
'major_no' => '17',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'เกษตรศาสตร์เชิงระบบ',
'major_eng' => 'AGRICULTURAL SYSTEMS',
'major_eng2' => 'AGRICULTURAL SYSTEMS',
'major_acronym' => 'เกษตรศาสตร์เชิงระบบ',
'major_level' => '0',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => null,
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
),
(int) 9 => array(
'Majordegree' => array(
'id' => '33',
'major_name' => 'สาขาวิชาปฐพีศาสตร์',
'major_id' => '18',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => '0',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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) 10 => array(
'Majordegree' => array(
'id' => '37',
'major_name' => 'สาขาวิชาเทคโนโลยีหลังการเก็บเกี่ยว',
'major_id' => '21',
'organize_id' => '43',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '21',
'major_no' => '15',
'major_no_fee' => '14',
'major_code' => null,
'major_name' => 'เทคโนโลยีหลังการเก็บเกี่ยว',
'major_eng' => 'Postharvest Technology',
'major_eng2' => 'Postharvest Technology',
'major_acronym' => 'เทคโนโลยีหลังการเก็บเกี่ยว',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => 'rgb(255, 204, 153)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '43',
'parent' => '40',
'name' => 'ศูนย์วิจัยเทคโนโลยีหลังการเก็บเกี่ยว ',
'status' => 'Y',
'old_name' => null,
'sort' => '130',
'name_shot' => 'หลังการเก็บเกี่ยว',
'phone' => '44031',
'order' => '15',
'group' => '3',
'level_course_fee' => '8',
'level_scholarship' => '0'
)
),
(int) 11 => array(
'Majordegree' => array(
'id' => '41',
'major_name' => 'สาขาวิชาปฐพีศาสตร์สิ่งแวดล้อม',
'major_id' => '22',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '22',
'major_no' => '16',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ปฐพีศาสตร์สิ่งแวดล้อม',
'major_eng' => 'Environmental Soil Science',
'major_eng2' => 'Environmental Soil Science',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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) 12 => array(
'Majordegree' => array(
'id' => '49',
'major_name' => 'สาขาวิชาระบบเกษตรบูรณาการอัจฉริยะเพื่อการพัฒนาอย่างยั่งยืน',
'major_id' => '27',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '27',
'major_no' => '22',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ระบบเกษตรบูรณาการอัจฉริยะเพื่อการพัฒนาอย่างยั่งยืน',
'major_eng' => 'Integrated Smart Agricultural System for Sustainable Development',
'major_eng2' => 'Integrated Smart Agricultural System for Sustainable Development',
'major_acronym' => null,
'major_level' => '1',
'major_degree_id' => null,
'major_show_graph_id' => '1',
'color' => null,
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
)
)
$major = array(
'Majordegree' => array(
'id' => '7',
'major_name' => 'สาขาวิชากีฏวิทยา',
'major_id' => '3',
'organize_id' => '2',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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'
)
)
$yearId = '64'
$yearIdmin1 = '640000000'
$yearIdmax1 = '649999999'
$yearIdmin2 = '630000000'
$yearIdmax2 = '639999999'
$yearIdmin3 = '620000000'
$yearIdmax3 = '629999999'
$yearIdmin4 = '610000000'
$yearIdmax4 = '619999999'
$yearIdmin5 = '600000000'
$yearIdmax5 = '609999999'
$yearIdmin6 = '590000000'
$yearIdmax6 = '599999999'
$yearIdmin7 = '580000000'
$yearIdmax7 = '589999999'
$yearIdmin8 = '570000000'
$yearIdmax8 = '579999999'
$yearIdmin9 = '560000000'
$yearIdmax9 = '569999999'
$yearIdmin10 = '550000000'
$yearIdmax10 = '559999999'
$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 = '2564'
$term = '1'
$degree_id = '5'
$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' => '2564',
'term_id' => '1',
'student_id' => '640852003'
)
)
$years = array(
(int) 0 => array(
'Yearterm' => array(
'id' => '25',
'year' => '2564',
'term' => '1',
'trm' => '641',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2564',
'postdate' => '2021-07-07',
'level' => '1'
)
)
)
$countstudentTerm = (int) 1659
$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><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' => '4',
'major_name' => 'สาขาวิชาการจัดการระบบเกษตร',
'major_id' => '2',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '2',
'major_no' => '14',
'major_no_fee' => '13',
'major_code' => null,
'major_name' => 'การจัดการระบบเกษตร',
'major_eng' => 'AGRICULTURAL SYSTEMS MANAGEMENT',
'major_eng2' => 'Agricultural Systems Management',
'major_acronym' => 'การจัดการระบบเกษตร',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => 'rgb(153, 153, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
),
(int) 1 => array(
'Majordegree' => array(
'id' => '7',
'major_name' => 'สาขาวิชากีฏวิทยา',
'major_id' => '3',
'organize_id' => '2',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '11',
'major_name' => 'สาขาวิชาปฐพีศาสตร์และการจัดการทรัพยากรธรรมชาติ',
'major_id' => '5',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => '0',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '14',
'major_name' => 'สาขาวิชาพืชไร่',
'major_id' => '6',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '17',
'major_name' => 'สาขาวิชาพืชสวน',
'major_id' => '7',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '20',
'major_name' => 'สาขาวิชาโรคพืช',
'major_id' => '9',
'organize_id' => '2',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '22',
'major_name' => 'สาขาวิชาส่งเสริมการเกษตรและพัฒนาชนบท',
'major_id' => '10',
'organize_id' => '20',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '10',
'major_no' => '12',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ส่งเสริมการเกษตรและพัฒนาชนบท',
'major_eng' => 'AGRICULTURAL EXTENSION AND RURAL DEVELOP',
'major_eng2' => 'Agricultural Extension and Rural Develop',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '24',
'major_name' => 'สาขาวิชาสัตวศาสตร์',
'major_id' => '11',
'organize_id' => '23',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '30',
'major_name' => 'เกษตรศาสตร์เชิงระบบ',
'major_id' => '16',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => '0',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '16',
'major_no' => '17',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'เกษตรศาสตร์เชิงระบบ',
'major_eng' => 'AGRICULTURAL SYSTEMS',
'major_eng2' => 'AGRICULTURAL SYSTEMS',
'major_acronym' => 'เกษตรศาสตร์เชิงระบบ',
'major_level' => '0',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => null,
'level_course_fee' => null,
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
),
(int) 9 => array(
'Majordegree' => array(
'id' => '33',
'major_name' => 'สาขาวิชาปฐพีศาสตร์',
'major_id' => '18',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => '0',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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) 10 => array(
'Majordegree' => array(
'id' => '37',
'major_name' => 'สาขาวิชาเทคโนโลยีหลังการเก็บเกี่ยว',
'major_id' => '21',
'organize_id' => '43',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '21',
'major_no' => '15',
'major_no_fee' => '14',
'major_code' => null,
'major_name' => 'เทคโนโลยีหลังการเก็บเกี่ยว',
'major_eng' => 'Postharvest Technology',
'major_eng2' => 'Postharvest Technology',
'major_acronym' => 'เทคโนโลยีหลังการเก็บเกี่ยว',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => 'rgb(255, 204, 153)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '43',
'parent' => '40',
'name' => 'ศูนย์วิจัยเทคโนโลยีหลังการเก็บเกี่ยว ',
'status' => 'Y',
'old_name' => null,
'sort' => '130',
'name_shot' => 'หลังการเก็บเกี่ยว',
'phone' => '44031',
'order' => '15',
'group' => '3',
'level_course_fee' => '8',
'level_scholarship' => '0'
)
),
(int) 11 => array(
'Majordegree' => array(
'id' => '41',
'major_name' => 'สาขาวิชาปฐพีศาสตร์สิ่งแวดล้อม',
'major_id' => '22',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '22',
'major_no' => '16',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ปฐพีศาสตร์สิ่งแวดล้อม',
'major_eng' => 'Environmental Soil Science',
'major_eng2' => 'Environmental Soil Science',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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) 12 => array(
'Majordegree' => array(
'id' => '49',
'major_name' => 'สาขาวิชาระบบเกษตรบูรณาการอัจฉริยะเพื่อการพัฒนาอย่างยั่งยืน',
'major_id' => '27',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => '1',
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '27',
'major_no' => '22',
'major_no_fee' => null,
'major_code' => null,
'major_name' => 'ระบบเกษตรบูรณาการอัจฉริยะเพื่อการพัฒนาอย่างยั่งยืน',
'major_eng' => 'Integrated Smart Agricultural System for Sustainable Development',
'major_eng2' => 'Integrated Smart Agricultural System for Sustainable Development',
'major_acronym' => null,
'major_level' => '1',
'major_degree_id' => null,
'major_show_graph_id' => '1',
'color' => null,
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
)
)
$major = array(
'Majordegree' => array(
'id' => '7',
'major_name' => 'สาขาวิชากีฏวิทยา',
'major_id' => '3',
'organize_id' => '2',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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'
)
)
$yearId = '64'
$yearIdmin1 = '640000000'
$yearIdmax1 = '649999999'
$yearIdmin2 = '630000000'
$yearIdmax2 = '639999999'
$yearIdmin3 = '620000000'
$yearIdmax3 = '629999999'
$yearIdmin4 = '610000000'
$yearIdmax4 = '619999999'
$yearIdmin5 = '600000000'
$yearIdmax5 = '609999999'
$yearIdmin6 = '590000000'
$yearIdmax6 = '599999999'
$yearIdmin7 = '580000000'
$yearIdmax7 = '589999999'
$yearIdmin8 = '570000000'
$yearIdmax8 = '579999999'
$yearIdmin9 = '560000000'
$yearIdmax9 = '569999999'
$yearIdmin10 = '550000000'
$yearIdmax10 = '559999999'
$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 = '2564'
$term = '1'
$degree_id = '5'
$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' => '2564',
'term_id' => '1',
'student_id' => '640852003'
)
)
$years = array(
(int) 0 => array(
'Yearterm' => array(
'id' => '25',
'year' => '2564',
'term' => '1',
'trm' => '641',
'name' => 'ภาคการศึกษาที่ 1 ปีการศึกษา 2564',
'postdate' => '2021-07-07',
'level' => '1'
)
)
)
$countstudentTerm = (int) 1659
$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><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' => '4',
'major_name' => 'สาขาวิชาการจัดการระบบเกษตร',
'major_id' => '2',
'organize_id' => '25',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'Major' => array(
'id' => '2',
'major_no' => '14',
'major_no_fee' => '13',
'major_code' => null,
'major_name' => 'การจัดการระบบเกษตร',
'major_eng' => 'AGRICULTURAL SYSTEMS MANAGEMENT',
'major_eng2' => 'Agricultural Systems Management',
'major_acronym' => 'การจัดการระบบเกษตร',
'major_level' => '1',
'major_degree_id' => '0',
'major_show_graph_id' => '0',
'color' => 'rgb(153, 153, 0)',
'level_course_fee' => '1',
'order' => null
),
'Degree' => array(
'id' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor's degree'
),
'Organize' => array(
'id' => '25',
'parent' => '40',
'name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'status' => 'Y',
'old_name' => 'ศูนย์วิจัยระบบทรัพยากรเกษตร',
'sort' => '90',
'name_shot' => 'ทรัพยากรเกษตรฯ',
'phone' => '44621',
'order' => '13',
'group' => '3',
'level_course_fee' => '7',
'level_scholarship' => '0'
)
),
(int) 1 => array(
'Majordegree' => array(
'id' => '7',
'major_name' => 'สาขาวิชากีฏวิทยา',
'major_id' => '3',
'organize_id' => '2',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '11',
'major_name' => 'สาขาวิชาปฐพีศาสตร์และการจัดการทรัพยากรธรรมชาติ',
'major_id' => '5',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '0',
'level_master' => '0',
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '14',
'major_name' => 'สาขาวิชาพืชไร่',
'major_id' => '6',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '17',
'major_name' => 'สาขาวิชาพืชสวน',
'major_id' => '7',
'organize_id' => '16',
'degree_id' => '5',
'major_show_graph_id' => null,
'level' => '1',
'level_master' => '1',
'order' => null,
'order_select_major' => null
),
'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' => '5',
'degree_name' => 'ปริญญาเอก',
'degree_name_en' => 'Doctor'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' => '20',
'major_name' => 'สาขาวิชาโรคพืช',
'major_id' => '9',
'organize_id' => '2',
'degree_id