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 /
asset /
main /
[ HOME SHELL ]
Name
Size
Permission
Action
asset.php
89.73
KB
-rw-r--r--
asset_budget_type.php
6.99
KB
-rw-r--r--
asset_building.php
7.37
KB
-rw-r--r--
asset_code_model.php
7.75
KB
-rw-r--r--
asset_company.php
9.95
KB
-rw-r--r--
asset_form_upload.php
4.74
KB
-rw-r--r--
asset_list.php
12.23
KB
-rw-r--r--
asset_method.php
6.91
KB
-rw-r--r--
asset_notification.php
38.37
KB
-rw-r--r--
asset_permission.php
13.12
KB
-rw-r--r--
asset_print.php
9.88
KB
-rw-r--r--
asset_print1.php
8.43
KB
-rw-r--r--
asset_print_lend.php
3.49
KB
-rw-r--r--
asset_print_lend1.php
9.59
KB
-rw-r--r--
asset_print_lend2.php
8.85
KB
-rw-r--r--
asset_print_lendAll.php
3.27
KB
-rw-r--r--
asset_print_lendAll1.php
9.84
KB
-rw-r--r--
asset_print_qrcode.php
10.28
KB
-rw-r--r--
asset_print_qrcode1.php
1.45
KB
-rw-r--r--
asset_report1.php
20
KB
-rw-r--r--
asset_report23.php
20.09
KB
-rw-r--r--
asset_report4.php
19.76
KB
-rw-r--r--
asset_report_to_excell.php
6.54
KB
-rw-r--r--
asset_set.php
8.43
KB
-rw-r--r--
asset_status3.php
85.25
KB
-rw-r--r--
asset_status40.php
85.27
KB
-rw-r--r--
asset_type.php
9.5
KB
-rw-r--r--
index.php
5.76
KB
-rw-r--r--
livesearch.php
2.11
KB
-rw-r--r--
livesearch_notification.php
954
B
-rw-r--r--
manual.php
1.38
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : asset_print_lend1.php
<?php session_start(); ?> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" href="../../../css/mm_training.css"> <?php require_once "../../../amssplus_connect.php"; include("../time_inc.php"); //$officer=$_SESSION['login_user_id']; echo "<div align=right> | <a href='javascript:window.print();'>พิมพ์</a> | <a href='../../../?option=asset&task=main/asset_print_lend'>ปิด</a> </div>"; $id_array = $_POST['id_array']; $count_array = count($id_array); for($i=0; $i<$count_array; $i++){ $sql = "select * from person_main where person_id='$id_array[$i]' "; $dbquery = mysqli_query($connect,$sql); $result = mysqli_fetch_array($dbquery); $fullname=$result['prename'].$result['name']." ".$result['surname']; $position_code=$result['position_code']; $department=$result['department']; $sql = "select * from person_position where position_code='$position_code' "; $dbquery = mysqli_query($connect,$sql); $result = mysqli_fetch_array($dbquery); $position_name=$result['position_name']; $sql = "select * from system_workgroup where workgroup='$department' "; $dbquery = mysqli_query($connect,$sql); $result = mysqli_fetch_array($dbquery); $workgroup_desc=$result['workgroup_desc']; $sql = "SELECT * FROM asset_main WHERE officer_person='$id_array[$i]' AND status!='4' ORDER BY officer_date"; $dbquery = mysqli_query($connect,$sql); $num_rows=mysqli_num_rows($dbquery); $result = mysqli_fetch_array($dbquery); $start_date = thai_date_2($result['officer_date']); $page='1'; $pagelen='4'; $totalpages=ceil($num_rows/$pagelen); //ส่วนแสดงผล if($totalpages>'1'){ echo "<center><font color='#006666' size='3'><strong>ใบยืมพัสดุ หน้า $page/$totalpages</strong></font></center>"; }else{ echo "<center><font color='#006666' size='3'><strong>ใบยืมพัสดุ</strong></font></center>"; } echo "<br>"; echo "<table border='0' align='center' width=90%><tr><td>"; echo "ข้าพเจ้า ".$fullname."".str_repeat(" ", 10)."ตำแหน่ง ".$position_name."<br>"; echo "กลุ่ม ".$workgroup_desc."".str_repeat(" ", 10)."งาน - ".str_repeat(" ", 10)."<br>"; echo "ที่อยู่ ".$office_name."<br>"; echo "ได้ยืมสิ่งของตามบัญชีข้างล่างนี้จากกลุ่มงานบริหารงานการเงินและสินทรัพย์ ตั้งแต่ ".$start_date."<br>"; echo "จะนำส่ง วันที่ เดือน".str_repeat(" ", 25)."พ.ศ. ".str_repeat(" ", 10)."หากสิ่งของนำมาส่งคืนชำรุด เสียหาย หรือใช้การไม่ได้ หรือสูญหายไป "; echo "ข้าพเจ้ายินดีจัดการแก้ไข ซ่อมแซมให้คงสภาพเดิม โดยเสียค่าใช้จ่ายของตนเอง "; echo "หรือชดใช้เป็นพัสดุประเภท ชนิด ขนาด ลักษณะ และคุณภาพ อย่างเดียวกัน "; echo "หรือชดใช้เป็นเงินตามราคาที่เป็นอยู่ในขณะยืมตามหักเกณฑ์ที่กระทรวงการคลังกำหนด<br>"; echo "</td></tr></table>"; echo "<table class='myTableAcc'>"; echo "<tr> <th nowrap>ที่</th> <th>QR-Code</th> <th nowrap>รายการ/คุณสมบัติ</th> <th>มูลค่า</th> <th>เลขที่รหัส</th> <th>หมายเหตุ</th> </tr>"; $sql = "SELECT * FROM asset_main WHERE officer_person='$id_array[$i]' AND status!='4' ORDER BY code_asset"; $dbquery = mysqli_query($connect,$sql); $num_rows = mysqli_num_rows($dbquery); if ($num_rows == '0'){ $tr_status_no='<tr><td colspan=6>ท่านไม่ข้อมูลการถือครองทรัพย์สินของทางราชการ</td></tr>'; }else{ $tr_status_no=''; } echo $tr_status_no; $N='1'; $R='1'; while($result = mysqli_fetch_array($dbquery)){ $property =$result['property']; $model =$result['model']; $unit =$result['unit']; $price =$result['price']; $code_type =$result['code_type']; $code_list =$result['code_list']; $code_asset =$result['code_asset']; $sql_list = "SELECT * FROM asset_list WHERE code_type='$code_type' AND code='$code_list' "; $dbquery_list = mysqli_query($connect,$sql_list); $result_list = mysqli_fetch_array($dbquery_list); $name_list =$result_list['name']; $sql_type = "SELECT * FROM asset_type WHERE code='$code_type' "; $dbquery_type = mysqli_query($connect,$sql_type); $result_type = mysqli_fetch_array($dbquery_type); $name_type =$result_type['name']; $officer_date = $result['officer_date']; $list=$name_type." : ".$name_list."<br>"; if($result['model']!=''){ $list=$list."<font color=gray>รุ่น/แบบ</font> ".$result['model'] ; } if($result['property']!=''){ $list=$list."<br><font color=gray>คุณสมบัติ</font> ".$result['property']; } echo "<tr>"; echo "<td valign='top' align='center'>".$N."</td>"; echo "<td valign='top' align='center' width='100'> <img src=../../../".$result['photo_qrcode']." border='0' width='100'></td>"; echo "<td width=45% valign='top'>".$list."</td>"; echo "<td valign='top' align='center'>".(number_format(($unit*$price),2))."</td>"; echo "<td valign='top' align='center'>".$code_asset."</td>"; echo "<td valign='top' align='center'>".thai_date_3($officer_date)."</td>"; echo "</tr>"; if( ($R % 4)==0 ){ $page++; echo "</table>"; echo "<DIV style='page-break-after: always'></DIV>"; echo "<br>"; echo "<center><font color='#006666' size='3'><strong>ใบยืมพัสดุ หน้า ".$page."/".$totalpages."</strong></font></center>"; echo "<br>"; echo "<table class='myTableAcc'>"; echo "<tr> <th nowrap>ที่</th> <th>QR-Code</th> <th nowrap>รายการ/คุณสมบัติ</th> <th>มูลค่า</th> <th>เลขที่รหัส</th> <th>หมายเหตุ</th> </tr>"; } $N++; $R++; } echo "</table>"; $sql="SELECT * FROM asset_permission a, person_main b WHERE a.person_id=b.person_id "; $dbquery=mysqli_query($connect, $sql); while($result=mysqli_fetch_array($dbquery)){ if( $result['p1']=='1' ){ $fullname_p1=$result['prename'].$result['name']." ".$result['surname']; } if( $result['p2']=='1' ){ $fullname_p2=$result['prename'].$result['name']." ".$result['surname']; } if( $result['p3']=='1' ){ $fullname_p3=$result['prename'].$result['name']." ".$result['surname']; } if( $result['p4']=='1' ){ $fullname_p4=$result['prename'].$result['name']." ".$result['surname']; } } echo "<table align=center border=0 width=98%><tr>"; //คอลัมภ์ซ้าย echo "<td width=50% valign='top'>"; echo " ความเห็นของเจ้าหน้าที่พัสดุ<br>"; echo str_repeat(" ", 10)."- ควรอนุม้ติให้ยืมได้<br>"; echo " (ลงชื่อ) ...................................................................เจ้าหน้าที่พัสดุ<br>"; echo str_repeat(" ", 10)."(".$fullname_p1.")<br>"; echo str_repeat(" ", 10)."- อนุมัติ<br>"; echo " (ลงชื่อ) ...................................................................หัวหน้าพัสดุ<br>"; echo str_repeat(" ", 10)."- ได้รับของตามรายการข้างต้นแล้ว<br>"; echo str_repeat(" ", 10)."(".$fullname_p3.")<br>"; echo " (ลงชื่อ) ...................................................................ผู้รับ<br>"; echo str_repeat(" ", 10)."(".$fullname.")<br>"; echo str_repeat(" ", 10)."".$start_date."<br>"; echo "</td>"; //คอลัมภ์ขวา // echo "<td width=5> </td>"; echo "<td valign='top'>"; echo "<br>"; echo " (ลงชื่อ) ...................................................................ผู้ยืม<br>"; echo str_repeat(" ", 10)."(".$fullname.")<br>"; echo "<hr size='1'>"; echo str_repeat(" ", 10)."- ได้รับคืนสิ่งของตามรายการข้างต้นในสภาพที่ใช้การได้เรียบร้อยและครบถ้วน<br>"; echo " (ลงชื่อ) ...................................................................ผู้รับคืน<br>"; echo str_repeat(" ", 10)."(".$fullname_p1.")<br>"; echo str_repeat(" ", 10)."วันที่ ..............................................................<br>"; echo " (ลงชื่อ) ...................................................................ผู้ส่งคืน<br>"; echo str_repeat(" ", 10)."(".$fullname.")<br>"; echo str_repeat(" ", 10)."วันที่ ..............................................................<br>"; echo "</td>"; echo "</tr></table>"; //หมดหน้านี้ - ขึ้นหน้าใหม่ echo "<DIV style=\"page-break-after:always\"></DIV>"; } ?>
Close