| Server IP : 104.21.73.108 / 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/admin/ |
Upload File : |
<?php include('dbcon.php'); ?>
<form action="delete_member.php" method="post">
<table cellpadding="0" cellspacing="0" border="0" class="table" id="example">
<div class="pull-right">
<a href="#" onclick="window.print()" class="btn btn-info"><i class="icon-print icon-large"></i> พิมพ์รายการข้อมูล</a>
<a href="add_member.php" class="btn btn-inverse"><i class="icon-plus-sign icon-large"></i> เพิ่มข้อมูลทั่วไปของมารดา</a>
</div>
<a data-toggle="modal" href="#student_delete" id="delete" class="btn btn-danger" name=""><i class="icon-trash icon-large"></i> Delete</a>
<?php include('modal_delete.php'); ?>
<thead>
<tr>
<th>รหัส</th>
<th>HN</th>
<th>ชื่อ-สกุล</th>
<th>วันคลอด</th>
<th>วันนัดตรวจ</th>
<th>โทรศัพท์</th>
<th>ผู้รับผิดชอบ</th>
<th class="empty"></th>
<th class="empty"></th>
</tr>
</thead>
<tbody>
<?php
$query = $conn->query("select * from members ");
while ($row = $query->fetch()) {
$id = $row['member_id'];
?>
<tr>
<td><?php echo $row['HC_3']; ?></td>
<td><?php echo $row['HN']; ?></td>
<td><?php echo $row['surname']; ?></td>
<td><?php echo $row['date_of_birth']; ?></td>
<td><?php
$str_date = $row['voters_id'];
$str_date = date("d/m/Y",strtotime($str_date));
echo $str_date; //แสดงผลจะได้ 10/10/2012 ?></td>
<td><?php echo $row['contact_no']; ?></td>
<td><?php echo $row['hos']; ?></td>
<td class="empty" width="30"><input id="optionsCheckbox" class="uniform_on" name="selector[]" type="checkbox" value="<?php echo $id; ?>"></td>
<td class="empty" width="160">
<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 } ?>
</tbody>
</table>
</form>