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_20441.php
<?php session_start(); if(!(isset($_SESSION['login_user_id']))){ exit(); } if($_SESSION['user_os'] =="mobile"){ $width_1="97%"; } else{ $width_1="80%"; } require_once("../../../amssplus_connect.php"); require_once("../../../mainfile.php"); $level=$_GET["x"]; $ed_year=$_GET["ed_year"]; $subject=""; if($_GET["y"]=='1'){ $subject="kindergarten"; $thai_subject="การศึกษาปฐมวัย"; } //ปีการศึกษาปัจจุบัน $sql = "select ed_year from student_main_edyear where year_active='1'"; $dbquery = mysqli_query($connect,$sql); $result = mysqli_fetch_array($dbquery); $active_year=$result['ed_year']; $level_ar[-1]="อนุบาล 3 ภาคเรียนที่ 2"; $level_ar[-2]="อนุบาล 3 ภาคเรียนที่ 1"; $level_ar[-3]="อนุบาล 3 ภาคเรียนที่ 2"; $level_ar[-4]="อนุบาล 3 ภาคเรียนที่ 1"; $level_ar[-5]="อนุบาล 1 ภาคเรียนที่ 2"; $level_ar[-6]="อนุบาล 1 ภาคเรียนที่ 1"; // เชื่อมdatabase ชื่อ amssplus_bets ///////// $user_db=$user; if(isset($amssplus_bets)){ $amssplus_bets=$amssplus_bets; } else{ $amssplus_bets="amssplus_bets"; } $connect_bets=@mysqli_connect($hostname,$user_db,$password,$amssplus_bets); if($connect_bets){ mysqli_query($connect_bets,"SET NAMES utf8"); } ///////// //end $table_main=$subject; $table_expand=$table_main."_expand_".$level; $sql = "select group_code from $subject where ed_year='$ed_year' and level='$level' order by id desc limit 1"; $query = mysqli_query($connect_bets,$sql); $result=mysqli_fetch_array($query); $group_code=$result['group_code']; $class_room=21; //หาจำนวนผู้สอบ $sql = "select id from $table_main where level='$level' and ed_year='$ed_year'"; $dbquery = mysqli_query($connect_bets,$sql); $row_num = mysqli_num_rows($dbquery); //หาผลสอบรวม $sql = "select avg(score) as avg_score from $table_main where level='$level' and ed_year='$ed_year'"; $dbquery = mysqli_query($connect_bets,$sql); $result = mysqli_fetch_array($dbquery); $avg_score=$result ['avg_score']; $total_percent=number_format($avg_score,2); echo "<br>"; echo "<div align='center'><font color='#006666' size='2'><strong>วิเคราะห์การจัดการเรียนการสอนภาครวมเขตพื้นที่การศึกษา</strong></font></div>"; ///////////////////////////////////// //กลุ่มสาระ $sql_2 = "select * from bets_substance where group_code='$group_code' order by id "; $dbquery_2 = mysqli_query($connect,$sql_2); while($result_2 = mysqli_fetch_array($dbquery_2)){ //สาระ $sql_2 = "select * from bets_substance where group_code='$group_code' order by id "; $dbquery_2 = mysqli_query($connect,$sql_2); while($result_2 = mysqli_fetch_array($dbquery_2)){ $substance_code=$result_2['substance_code']; $substance_sum[$substance_code]=""; //ตัวแปรอาเรย์สาระ $substance_x[$substance_code]=0; //ตัวแปรอาเรย์สาระ //มาตรฐาน $sql_3 = "select * from bets_standard where substance_code='$result_2[substance_code]' order by id "; $dbquery_3 = mysqli_query($connect,$sql_3); while($result_3 = mysqli_fetch_array($dbquery_3)){ $standard_code=$result_3['standard_code']; $standard_sum[$standard_code]=""; //ตัวแปรอาเรย์มาตรฐาน $standard_x[$standard_code]=0; //ตัวแปรอาเรย์มาตรฐาน //ตัวชี้วัด $sql_4 = "select * from bets_indicator where standard_code='$result_3[standard_code]' and class_code='$class_room' order by id "; $dbquery_4 = mysqli_query($connect,$sql_4); $M=1; while($result_4 = mysqli_fetch_array($dbquery_4)){ $indicator_code=$result_4['indicator_code']; $indicator_sum[$indicator_code]=""; $indicator_x[$indicator_code]=0; //ตัวแปรอาเรย์ตัวชี้วัด //คะแนนตัวชี้วัด $sql_4_1 = "select avg(`$table_expand`.score) as score from `$table_expand`,$table_main where `$table_expand`.person_id=$table_main.person_id and indicator='$result_4[indicator_code]' and $table_main.level='$level' and $table_main.ed_year='$ed_year' "; $dbquery_4_1 = mysqli_query($connect_bets,$sql_4_1); $result_4_1 = mysqli_fetch_array($dbquery_4_1); if($result_4_1['score']!=""){ @$substance_sum[$substance_code]=$substance_sum[$substance_code]+$result_4_1['score']; $substance_x[$substance_code]=$substance_x[$substance_code]+1; @$standard_sum[$standard_code]=$standard_sum[$standard_code]+$result_4_1['score']; $standard_x[$standard_code]=$standard_x[$standard_code]+1; @$indicator_sum[$indicator_code]=$indicator_sum[$indicator_code]+$result_4_1['score']; $indicator_x[$indicator_code]=$indicator_x[$indicator_code]+1; } } // ตัวชี้วัด } //มาตรฐาน } //สาระ } //กลุ่มสาระ ////////////////////////////// echo "<table border='1' style='border-collapse: collapse' width='$width_1' align='center'>"; echo "<tr align='center' bgcolor='#FBD562'><td width='150'><b>หลักสูตร</b></td><td width='150'><b>ด้าน</b></td><td width='70'><b>มาตรฐาน</b></td><td width='350'><b>ตัวบ่งชี้</b></td><td width='80'><b>ร้อยละ</b></td><td width='80'><b>ประเมินผล</b></td></tr>"; echo "<tr bgcolor='#CCFF66'><td colspan='4'><b>วิชา$thai_subject $level_ar[$level] </b> (ผู้รับการประเมิน $row_num คน)</td><td width='100' align='center'>$total_percent</td><td width='100' align='center'>"; $g1=65; if($total_percent<$g1){ $bgcolor="#FF0000"; } else { $bgcolor="#66FF00"; } echo "<table border='0' cellspacing='0' cellpadding='0' width='25' height='15'>"; echo "<tr><td bgcolor='$bgcolor'></td></tr>"; echo "</table>"; echo "</td></tr>"; //คะแนนสาระ $sql_2 = "select * from bets_substance where group_code='$group_code' order by id "; $dbquery_2 = mysqli_query($connect,$sql_2); while($result_2 = mysqli_fetch_array($dbquery_2)){ $substance_percent=""; $substance_code=$result_2['substance_code']; if($substance_x[$substance_code]!=0){ $substance_percent=$substance_sum[$substance_code]/$substance_x[$substance_code]; $substance_percent=number_format($substance_percent,2); } echo "<tr bgcolor='#66FFFF'><td></td><td colspan='3'><b>$result_2[substance_name]</b></td><td align='center'>$substance_percent "; echo "</td><td align='center'>"; if($substance_percent<$g1){ $bgcolor="#FF0000"; } else { $bgcolor="#66FF00"; } if($substance_percent!=""){ echo "<table border='0' cellspacing='0' cellpadding='0' width='20' height='15'>"; echo "<tr><td bgcolor='$bgcolor'></td></tr>"; echo "</table>"; } echo "</td></tr>"; //คะแนนมาตรฐาน $sql_3 = "select * from bets_standard where substance_code='$result_2[substance_code]' order by id "; $dbquery_3 = mysqli_query($connect,$sql_3); while($result_3 = mysqli_fetch_array($dbquery_3)){ $standard_percent=""; $standard_code=$result_3['standard_code']; if($standard_x[$standard_code]!=0){ $standard_percent=$standard_sum[$standard_code]/$standard_x[$standard_code]; $standard_percent=number_format($standard_percent,2); } echo "<tr bgcolor='#FFCCCC'><td></td><td colspan='3'><b>$result_3[short_name]</b>$result_3[standard_text]</td><td align='center'>$standard_percent "; echo "</td><td align='center'>"; if($standard_percent<$g1){ $bgcolor="#FF0000"; } else{ $bgcolor="#66FF00"; } if($standard_percent!=""){ echo "<table border='0' cellspacing='0' cellpadding='0' width='13' height='13'>"; echo "<tr><td bgcolor='$bgcolor'></td></tr>"; echo "</table>"; } echo "</td></tr>"; //หาคะแนนตัวชี้วัด $sql_4 = "select * from bets_indicator where standard_code='$result_3[standard_code]' and class_code='$class_room' order by id "; $dbquery_4 = mysqli_query($connect,$sql_4); $M=1; while($result_4 = mysqli_fetch_array($dbquery_4)){ $indicator_percent=""; $indicator_code=$result_4['indicator_code']; $indicator_percent=$indicator_sum[$indicator_code]; if($indicator_x[$indicator_code]!=0){ $indicator_percent=number_format($indicator_percent,2); } if(($M%2) == 0) $color="#FFFFC"; else $color="#FFFFFF"; $indicator_text=substr($result_4['indicator_text'],0,150); echo "<tr><td colspan='2'></td><td bgcolor=$color colspan='2'><b>ตัวชี้วัด</b>$result_4[indicator_text]</td><td bgcolor='$color' align='center'>$indicator_percent "; echo "</td><td bgcolor=$color align='center'>"; if($indicator_percent<$g1){ $bgcolor="#FF0000"; } else{ $bgcolor="#66FF00"; } if($indicator_percent!=""){ echo "<table border='0' cellspacing='0' cellpadding='0' width='13' height='13'>"; echo "<tr><td bgcolor='$bgcolor'></td></tr>"; echo "</table>"; } echo "</td></tr>"; $M++; } } } echo "</table>"; echo "<b>หมายเหตุ</b> เกณฑ์ประเมิน(สีเขียว) ร้อยละ 65 ขึ้นไป"; ?>
Close