| 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/ |
Upload File : |
<?php include('header.php'); ?>
<?php include('session.php'); ?>
<?php $get_id = $_GET['id']; ?>
<body>
<?php include('navbar_prog.php'); ?>
<div class="container-fluid">
<div class="row-fluid">
<div class="span12" id="">
<div class="row-fluid">
<!-- block -->
<div id="block_bg" class="block">
<div class="navbar navbar-inner block-header">
<div class="muted pull-right">
<a href="coordinator.php"><i class="icon-arrow-left icon-large"></i> Back</a>
</div>
</div>
<div class="block-content collapse in">
<?php
$query = $conn->query("select * from members where member_id = '$get_id'")or die(mysql_error());
$row = $query->fetch();
?>
<div class="alert alert-success">Name: <strong><?php echo $row['surname']." ".$row['given_name']." ".$row['middlename']; ?></strong></div>
<div class="span6">
Card Number: <strong><?php echo $row['card_number']; ?></strong><hr>
Permanent Address: <strong><?php echo $row['address']; ?></strong><hr>
Sex: <strong><?php echo $row['sex']; ?></strong><hr>
Tel/Mobile Number: <strong><?php echo $row['contact_no']; ?></strong><hr>
Age: <strong><?php echo $row['age']; ?></strong><hr>
Date of Birth: <strong><?php echo $row['place_of_birth']; ?></strong><hr>
Place of Birth: <strong><?php echo $row['date_of_birth']; ?></strong><hr>
Voters ID: <strong><?php echo $row['voters_id']; ?></strong><hr>
Postal Code: <strong><?php echo $row['postal_code']; ?></strong><hr>
Philhealth Membership: <strong><?php echo $row['philhealth_membership']; ?></strong><hr>
Philhealth Number: <strong><?php echo $row['philhealth_number']; ?></strong><hr>
Philhealth Enrollment Sponsor: <strong><?php echo $row['philhealth_enrollment_sponsor']; ?></strong><hr>
</div>
<div class="span5">
Civil Status: <strong><?php echo $row['civil_status']; ?></strong><hr>
If Married: Name of Spouse:<hr>
Spouse Surname: <strong><?php echo $row['spouse_surname']; ?></strong><hr>
Spouse Given Name: <strong><?php echo $row['spouse_given_name']; ?></strong><hr>
Spouse Middlename: <strong><?php echo $row['spouse_middlename']; ?></strong><hr>
Name of Employer: <strong><?php echo $row['name_of_employer']; ?></strong><hr>
Employment Status: <strong><?php echo $row['employment_status']; ?></strong><hr>
Average Monthly Income: <strong><?php echo $row['ave_income']; ?></strong><hr>
</div>
<div class="span12">
<hr>
<div class="alert alert-success">Dependents</div>
<table cellpadding="0" cellspacing="0" border="0" class="table" id="">
<thead>
<tr>
<th>Surname</th>
<th>Given Name</th>
<th>Middlename</th>
<th>Birthdate</th>
<th>Relationship to Member</th>
<th class="empty"></th>
</tr>
</thead>
<tbody>
<?php
$query = $conn->query("select * from dependents where member_id = '$get_id'") or die(mysql_error());
while ($row = $query->fetch()) {
$id = $row['dependent_id'];
?>
<tr>
<td><?php echo $row['dependent_surname']; ?></td>
<td><?php echo $row['dependent_givenname']; ?></td>
<td><?php echo $row['dependent_middlename']; ?></td>
<td><?php echo $row['birthdate']; ?></td>
<td><?php echo $row['relationship']; ?></td>
</tr>
<?php } ?>
</tbody>
</table>
</div>
</div>
</div>
<!-- /block -->
</div>
</div>
</div>
<?php include('footer.php'); ?>
</div>
<?php include('script.php'); ?>
</body>
</html>