Linux ns8.secondary29.go.th 2.6.32-754.28.1.el6.x86_64 #1 SMP Wed Mar 11 18:38:45 UTC 2020 x86_64
Apache/2.2.15 (CentOS)
: 122.154.134.11 | : 122.154.134.9
Cant Read [ /etc/named.conf ]
5.6.40
apache
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
var /
www /
html /
amss /
modules /
career_student /
[ HOME SHELL ]
Name
Size
Permission
Action
images
[ DIR ]
drwxr-xr-x
install
[ DIR ]
drwxr-xr-x
manual
[ DIR ]
drwxr-xr-x
picture
[ DIR ]
drwxr-xr-x
default.php
485
B
-rwxr-xr-x
index.php
745
B
-rwxr-xr-x
menu.php
3.91
KB
-rwxr-xr-x
menu_mobile.php
963
B
-rwxr-xr-x
permission.php
8.74
KB
-rwxr-xr-x
permission_sch.php
9.93
KB
-rwxr-xr-x
permission_sch_khet.php
14.62
KB
-rwxr-xr-x
pic_show.php
1.73
KB
-rwxr-xr-x
pic_show2.php
655
B
-rwxr-xr-x
return_permission_sch_khet.php
1.2
KB
-rwxr-xr-x
student_khet_career.php
91.08
KB
-rwxr-xr-x
student_sch_career.php
106.32
KB
-rwxr-xr-x
student_sch_career_report1.php
40.91
KB
-rwxr-xr-x
student_sch_career_report1_mob...
19.73
KB
-rwxr-xr-x
student_sch_career_report2.php
43.59
KB
-rwxr-xr-x
student_sch_career_report3.php
9.83
KB
-rwxr-xr-x
student_sch_career_report3_mob...
4.01
KB
-rwxr-xr-x
time_inc.php
4.99
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : student_sch_career_report1_mobile.php
<?php /** ensure this file is being included by a parent file */ defined( '_VALID_' ) or die( 'Direct Access to this location is not allowed.' ); //sd page $officer=$_SESSION['login_user_id']; require_once "modules/career_student/time_inc.php"; $career_type_ar[1]="นิยมความจริง (Realistic Type)"; $career_type_ar[2]="ชอบค้นหา (Investigtive Type)"; $career_type_ar[3]="ใฝ่ศิลปะ (Artistic Type) "; $career_type_ar[4]="ชอบสังคม (Social Type)"; $career_type_ar[5]="อนุรักษ์นิยม (Conventional Type)"; $career_type_ar[6]="แคล่วคล่องว่องไว (Enterprising Type)"; $career_type_ar[7]="มุ่งเน้นประกอบอาชีพอิสระ (Entrepreneurial Type)"; $career_type_ar[8]="ศิลปินใฝ่สังคม (Artist & Social Type)"; $career_type_ar[9]="ศิลปินเจ้าระเบียบ (Artist & Conventional Type)"; $career_type_ar[10]="ผู้บริหารนอกกรอบ (Artist & Enterprising Type)"; $career_type_ar[11]="ผู้สร้างสรรค์ศิลปะ (Artist & Entrepreneurial Type)"; $career_type_ar[12]="นักจัดระเบียบสังคม (Social & Conventional Type)"; $career_type_ar[13]="นักสังคมผู้คล่องแคล่ว (Social & Enterprising Type)"; $career_type_ar[14]="นักธุรกิจผู้กว้างขวาง (Social& Entrepreneurial Type)"; $career_type_ar[15]="นักบริหารผู้เคร่งครัด (Enterprising & Conventional)"; $career_type_ar[16]="เน้นวินัยใฝ่ประกอบการ ( Entrepreneurial & Conventional Type)"; $career_type_ar[17]="นักธุรกิจยุคใหม่ (Enterprising & Entrepreneurial Type)"; $career_type_ar[18]="นักวิทยาศาสตร์ผู้ลงแรง (Realistic & Investigtive Type)"; $career_type_ar[19]="ศิลปินผู้ขยัน (Realistic & Artist Type)"; $career_type_ar[20]="นักลงมือทำใฝ่สังคม (Realistic & Social Type)"; $career_type_ar[21]="นักลงมือทำผู้เคร่งครัด (Realistic & Conventional Type)"; $career_type_ar[22]="ผู้นำภาคสนาม (Realistic & Enterprising Type)"; $career_type_ar[23]="ศิลปินช่างคิด (Investigtive & Artist Type)"; $career_type_ar[24]="นักวิทยาศาสตร์ใฝ่สังคม (Investigtive & Social)"; $career_type_ar[25]="นักวิทยาศาสตร์เจ้าระเบียบ (Investigtive & Conventional Type)"; $career_type_ar[26]="ผู้นำนักค้นคว้า (Investigtive & Enterprising Type)"; $career_type_ar[27]="นายช่างนักธุรกิจ (Realistic & Entrepreneurial Type)"; $career_type_ar[28]="นักวิทยาศาสตร์รักอิสระ (Investigtive & Entrepreneurial Type)"; if(!isset($_REQUEST['year_index'])){ $_REQUEST['year_index']=""; } if(!isset($_POST['year_index'])){ $_POST['year_index']=""; } if(!isset($_SESSION['user_school'])){ $_SESSION['user_school']=""; } if(!isset($_REQUEST['school_index'])){ $_REQUEST['school_index']=""; } if(!isset($_REQUEST['class_index'])){ $_REQUEST['class_index']=""; } //ปีงบประมาณ $sql = "select * from student_main_edyear where year_active='1' order by ed_year desc limit 1"; $dbquery = mysqli_query($connect,$sql); $year_active_result = mysqli_fetch_array($dbquery); if($year_active_result['ed_year']==""){ echo "<br />"; echo "<div align='center'>ยังไม่ได้กำหนดทำงานในปีการศึกษาใด ๆ กรุณาไปที่เมนูตั้งค่าระบบ เพื่อกำหนดปีการศึกษา</div>"; exit(); } if($_REQUEST['year_index']!=""){ $year_active_result['ed_year']=$_REQUEST['year_index']; } $_REQUEST['school_index']=$_SESSION['user_school']; //อาเรย์ชั้น $school_class_ar[0]="ไม่ระบุชั้น"; $school_class_ar[1]="อ.1(3ปี)"; $school_class_ar[2]="อ.1"; $school_class_ar[3]="อ.2"; $school_class_ar[4]="ป.1"; $school_class_ar[5]="ป.2"; $school_class_ar[6]="ป.3"; $school_class_ar[7]="ป.4"; $school_class_ar[8]="ป.5"; $school_class_ar[9]="ป.6"; $school_class_ar[10]="ม.1"; $school_class_ar[11]="ม.2"; $school_class_ar[12]="ม.3"; $school_class_ar[13]="ม.4"; $school_class_ar[14]="ม.5"; $school_class_ar[15]="ม.6"; echo "<br />"; if(!(($index==5) or ($index==9))){ echo "<table width='100%' border='0' align='center'>"; echo "<tr align='center'><td><font color='#006666'><strong>รายชื่อนักเรียนระบบการศึกษาต่อและเลือกอาชีพ</strong></font></td></tr><tr align='center'><td><font color='#006666'> ปีการศึกษา $year_active_result[ed_year] (ร.ร.ตนเอง)</font></td></tr>"; echo "</table>"; } //ส่วนการแสดงผล if(!(($index==5) or ($index==9))){ if(!isset($_REQUEST['career_type'])){ $_REQUEST['career_type']=""; } //ส่วนของการแยกหน้า $pagelen=15; // 1_กำหนดแถวต่อหน้า $url_link="option=career_student&task=student_sch_career_report1_mobile&career_type=$_REQUEST[career_type]"; // 2_กำหนดลิงค์ฺ if($_REQUEST['career_type']!=""){ $sql = "select * from career_student_main left join student_main_main on career_student_main.person_id=student_main_main.person_id where student_main_main.ed_year='$year_active_result[ed_year]' and career_student_main.career_type='$_REQUEST[career_type]' and student_main_main.school_code='$_SESSION[user_school]' and career_student_main.school_code='$_SESSION[user_school]' "; } else{ $sql = "select * from career_student_main left join student_main_main on career_student_main.person_id=student_main_main.person_id where student_main_main.ed_year='$year_active_result[ed_year]' and student_main_main.school_code='$_SESSION[user_school]' and career_student_main.school_code='$_SESSION[user_school]' "; } $dbquery = mysqli_query($connect,$sql); $num_rows=mysqli_num_rows($dbquery); $totalpages=ceil($num_rows/$pagelen); if(!isset($_REQUEST['page'])){ $_REQUEST['page']=""; } if($_REQUEST['page']==""){ $page=$totalpages; if($page<2){ $page=1; } } else{ if($totalpages<$_REQUEST['page']){ $page=$totalpages; if($page<1){ $page=1; } } else{ $page=$_REQUEST['page']; } } $start=($page-1)*$pagelen; if(($totalpages>1) and ($totalpages<6)){ echo "<div align=center>"; echo "หน้า "; for($i=1; $i<=$totalpages; $i++) { if($i==$page){ echo "[<b><font size=+1 color=#990000>$i</font></b>]"; } else { echo "<a href=$PHP_SELF?$url_link&page=$i>[$i]</a>"; } } echo "</div>"; } if($totalpages>5){ if($page <=3){ $e_page=5; $s_page=1; } if($page>3){ if($totalpages-$page>=2){ $e_page=$page+2; $s_page=$page-2; } else{ $e_page=$totalpages; $s_page=$totalpages-5; } } echo "<div align=center>"; if($page!=1){ $f_page1=$page-1; echo "<<a href=$PHP_SELF?$url_link&page=1>แรก </a>"; echo "<<<a href=$PHP_SELF?$url_link&page=$f_page1>ก่อน </a>"; } else { echo "หน้า "; } for($i=$s_page; $i<=$e_page; $i++){ if($i==$page){ echo "[<b><font size=+1 color=#990000>$i</font></b>]"; } else { echo "<a href=$PHP_SELF?$url_link&page=$i>[$i]</a>"; } } if($page<$totalpages) { $f_page2=$page+1; echo "<a href=$PHP_SELF?$url_link&page=$f_page2> ถัด</a>>>"; echo "<a href=$PHP_SELF?$url_link&page=$totalpages> ท้าย</a>>"; } echo " <select onchange=\"location.href=this.options[this.selectedIndex].value;\" size=\"1\" name=\"select\">"; echo "<option value=\"\">หน้า</option>"; for($p=1;$p<=$totalpages;$p++){ echo "<option value=\"?$url_link&page=$p\">$p</option>"; } echo "</select>"; echo "</div>"; } //จบแยกหน้า echo "<table width=100% border='0' align='center'>"; echo "<Tr>"; echo "<td align='right'>"; echo "<form id='frm1' name='frm1'>"; //เลือกประเภทความพิการ echo "<Select name='career_type' size='1' onchange='goto_index(2)'>"; echo "<option value =''>ทุกประเภท(รวมไม่ระบุ)</option>"; if($_REQUEST['career_type']==1){ echo "<option value ='1' selected>1.นิยมความจริง (Realistic Type)</option>"; }else{ echo "<option value ='1'>1.นิยมความจริง (Realistic Type)</option>"; } if($_REQUEST['career_type']==2){ echo "<option value ='2' selected>2.ชอบค้นหา (Investigtive Type)</option>"; } else{ echo "<option value ='2'>2.ชอบค้นหา (Investigtive Type)</option>"; } if($_REQUEST['career_type']==3){ echo "<option value ='3' selected>3.ใฝ่ศิลปะ (Artistic Type) </option>"; } else{ echo "<option value ='3'>3.ใฝ่ศิลปะ (Artistic Type) </option>"; } if($_REQUEST['career_type']==4){ echo "<option value ='4' selected>ชอบสังคม (Social Type)</option>"; } else{ echo "<option value ='4'>ชอบสังคม (Social Type)</option>"; } if($_REQUEST['career_type']==5){ echo "<option value ='5' selected>5.อนุรักษ์นิยม (Conventional Type)</option>"; } else{ echo "<option value ='5'>5.อนุรักษ์นิยม (Conventional Type)</option>"; } if($_REQUEST['career_type']==6){ echo "<option value ='6' selected>6.แคล่วคล่องว่องไว (Enterprising Type)</option>"; } else{ echo "<option value ='6'>6.แคล่วคล่องว่องไว (Enterprising Type)</option>"; } if($_REQUEST['career_type']==7){ echo "<option value ='7' selected>7.มุ่งเน้นประกอบอาชีพอิสระ (Entrepreneurial Type)</option>"; } else{ echo "<option value ='7'>7.มุ่งเน้นประกอบอาชีพอิสระ (Entrepreneurial Type)</option>"; } if($_REQUEST['career_type']==8){ echo "<option value ='8' selected>8.ศิลปินใฝ่สังคม (Artist & Social Type)</option>"; } else{ echo "<option value ='8'>8.ศิลปินใฝ่สังคม (Artist & Social Type)</option>"; } if($_REQUEST['career_type']==9){ echo "<option value ='9' selected>9.ศิลปินเจ้าระเบียบ (Artist & Conventional Type)</option>"; } else{ echo "<option value ='9'>9.ศิลปินเจ้าระเบียบ (Artist & Conventional Type)</option>"; } if($_REQUEST['career_type']==10){ echo "<option value ='10' selected>10.ผู้บริหารนอกกรอบ (Artist & Enterprising Type)</option>"; } else{ echo "<option value ='10'>10.ผู้บริหารนอกกรอบ (Artist & Enterprising Type)</option>"; } if($_REQUEST['career_type']==11){ echo "<option value ='11' selected>11.ผู้สร้างสรรค์ศิลปะ (Artist & Entrepreneurial Type)</option>"; } else{ echo "<option value ='11'>11.ผู้สร้างสรรค์ศิลปะ (Artist & Entrepreneurial Type)</option>"; } if($_REQUEST['career_type']==12){ echo "<option value ='12' selected>12.นักจัดระเบียบสังคม (Social & Conventional Type)</option>"; } else{ echo "<option value ='12'>12.นักจัดระเบียบสังคม (Social & Conventional Type)</option>"; } if($_REQUEST['career_type']==13){ echo "<option value ='13' selected>13.นักสังคมผู้คล่องแคล่ว (Social & Enterprising Type)</option>"; } else{ echo "<option value ='13'>13.นักสังคมผู้คล่องแคล่ว (Social & Enterprising Type)</option>"; } if($_REQUEST['career_type']==14){ echo "<option value ='14' selected>14.นักธุรกิจผู้กว้างขวาง (Social& Entrepreneurial Type)</option>"; } else{ echo "<option value ='14'>14.นักธุรกิจผู้กว้างขวาง (Social& Entrepreneurial Type)</option>"; } if($_REQUEST['career_type']==15){ echo "<option value ='15' selected>15.นักบริหารผู้เคร่งครัด (Enterprising & Conventional)</option>"; } else{ echo "<option value ='15'>15.นักบริหารผู้เคร่งครัด (Enterprising & Conventional)</option>"; } if($_REQUEST['career_type']==16){ echo "<option value ='16' selected>16.เน้นวินัยใฝ่ประกอบการ ( Entrepreneurial & Conventional Type)</option>"; } else{ echo "<option value ='16'>16.เน้นวินัยใฝ่ประกอบการ ( Entrepreneurial & Conventional Type)</option>"; } if($_REQUEST['career_type']==17){ echo "<option value ='17' selected>17.นักธุรกิจยุคใหม่ (Enterprising & Entrepreneurial Type)</option>"; } else{ echo "<option value ='17'>17.นักธุรกิจยุคใหม่ (Enterprising & Entrepreneurial Type)</option>"; } if($_REQUEST['career_type']==18){ echo "<option value ='18' selected>18.นักวิทยาศาสตร์ผู้ลงแรง (Realistic & Investigtive Type)</option>"; } else{ echo "<option value ='18'>18.นักวิทยาศาสตร์ผู้ลงแรง (Realistic & Investigtive Type)</option>"; } if($_REQUEST['career_type']==19){ echo "<option value ='19' selected>19.ศิลปินผู้ขยัน (Realistic & Artist Type)</option>"; } else{ echo "<option value ='19'>19.ศิลปินผู้ขยัน (Realistic & Artist Type)</option>"; } if($_REQUEST['career_type']==20){ echo "<option value ='20' selected>20.นักลงมือทำใฝ่สังคม (Realistic & Social Type)</option>"; } else{ echo "<option value ='20'>20.นักลงมือทำใฝ่สังคม (Realistic & Social Type)</option>"; } if($_REQUEST['career_type']==21){ echo "<option value ='21' selected>21.นักลงมือทำผู้เคร่งครัด (Realistic & Conventional Type)</option>"; } else{ echo "<option value ='21'>21.นักลงมือทำผู้เคร่งครัด (Realistic & Conventional Type)</option>"; } if($_REQUEST['career_type']==22){ echo "<option value ='22' selected>22.ผู้นำภาคสนาม (Realistic & Enterprising Type)</option>"; } else{ echo "<option value ='22'>22.ผู้นำภาคสนาม (Realistic & Enterprising Type)</option>"; } if($_REQUEST['career_type']==23){ echo "<option value ='23' selected>23.ศิลปินช่างคิด (Investigtive & Artist Type)</option>"; } else{ echo "<option value ='23'>23.ศิลปินช่างคิด (Investigtive & Artist Type)</option>"; } if($_REQUEST['career_type']==24){ echo "<option value ='24' selected>24.นักวิทยาศาสตร์ใฝ่สังคม (Investigtive & Social)</option>"; } else{ echo "<option value ='24'>24.นักวิทยาศาสตร์ใฝ่สังคม (Investigtive & Social)</option>"; } if($_REQUEST['career_type']==25){ echo "<option value ='25' selected>25.นักวิทยาศาสตร์เจ้าระเบียบ (Investigtive & Conventional Type)</option>"; } else{ echo "<option value ='25'>25.นักวิทยาศาสตร์เจ้าระเบียบ (Investigtive & Conventional Type)</option>"; } if($_REQUEST['career_type']==26){ echo "<option value ='26' selected>26.ผู้นำนักค้นคว้า (Investigtive & Enterprising Type)</option>"; } else{ echo "<option value ='26'>26.ผู้นำนักค้นคว้า (Investigtive & Enterprising Type)</option>"; } if($_REQUEST['career_type']==27){ echo "<option value ='27' selected>27.นายช่างนักธุรกิจ (Realistic & Entrepreneurial Type)</option>"; } else{ echo "<option value ='27'>27.นายช่างนักธุรกิจ (Realistic & Entrepreneurial Type)</option>"; } if($_REQUEST['career_type']==28){ echo "<option value ='28' selected>28.นักวิทยาศาสตร์รักอิสระ (Investigtive & Entrepreneurial Type)</option>"; } else{ echo "<option value ='28'>28.นักวิทยาศาสตร์รักอิสระ (Investigtive & Entrepreneurial Type)</option>"; } echo "</select>"; echo "</form>"; echo "</td></Tr></Table>"; //จบ if($_REQUEST['career_type']!=""){ $sql = "select *,career_student_main.id from career_student_main left join student_main_main on career_student_main.person_id=student_main_main.person_id where student_main_main.ed_year='$year_active_result[ed_year]' and career_student_main.career_type='$_REQUEST[career_type]' and student_main_main.school_code='$_SESSION[user_school]' and career_student_main.school_code='$_SESSION[user_school]' order by student_main_main.classlevel ,student_main_main.classroom, student_main_main.student_id limit $start,$pagelen"; } else{ $sql = "select *,career_student_main.id from career_student_main left join student_main_main on career_student_main.person_id=student_main_main.person_id where student_main_main.ed_year='$year_active_result[ed_year]' and student_main_main.school_code='$_SESSION[user_school]' and career_student_main.school_code='$_SESSION[user_school]' order by student_main_main.classlevel ,student_main_main.classroom, student_main_main.student_id limit $start,$pagelen"; } $dbquery = mysqli_query($connect,$sql); echo "<table width=100% border='0' align='center'>"; echo "<Tr bgcolor=#FFCCCC align='center' ><Td>ที่</Td><Td align='center'>ชื่อ</Td><Td>ชั้น</Td><Td>ประเภท</Td></Tr>"; $N=(($page-1)*$pagelen)+1; //*เกี่ยวข้องกับการแยกหน้า $M=1; While ($result = mysqli_fetch_array($dbquery)) { if(($M%2) == 0) $color="#FFFFC"; else $color="#FFFFFF"; $id=$result['id']; $classlevel=$result['classlevel']; $school_code=$result['school_code']; echo "<Tr bgcolor=$color align='center'><Td>$N</Td>"; echo "<Td align='left'>$result[prename]$result[name] $result[surname]</Td>"; echo "<Td align='center'>$school_class_ar[$classlevel]</Td>"; echo "<Td align='left'>"; if($result['career_type']>=1){ echo $career_type_ar[$result['career_type']]; } echo "</Td>"; echo "</Tr>"; $M++; $N++; //*เกี่ยวข้องกับการแยกหน้า } echo "</Table>"; } ?> <script> function goto_index(val){ if(val==1){ callfrm("?option=career_student&task=student_sch_career_report1_mobile&index=1"); // page ย้อนกลับ } if(val==2){ callfrm("?option=career_student&task=student_sch_career_report1_mobile"); // page ย้อนกลับ } } </script>
Close