| Server IP : 172.67.187.206 / Your IP : 172.71.28.155 Web Server : Apache/2.4.25 (Win32) OpenSSL/1.0.2j PHP/5.6.30 System : Windows NT WIN-ECQAAA40806 6.2 build 9200 (Windows Server 2012 Standard Edition) i586 User : SYSTEM ( 0) PHP Version : 5.6.30 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /Inetpub/www/news/elearning/admin/ |
Upload File : |
<?php
require '../configs/app_top.php';
$title = "Student listing";
include './includes/header.php';
?>
<div class="clearfix"></div>
<div class="row">
<div class="col-12">
<div class="panel panel-default">
<div class="panel-heading"><span class="glyphicon glyphicon-cog"></span> <?php echo $title; ?></div>
<div class="panel-body">
<div class="margin10">
<div class="row">
<div class="col-9">
<form class="form-horizontal" name="form1" id="form1" action="<?php echo generate_site_link($PAGE_NAME); ?>" method="get">
<div class="form-group" style="padding-left: 15px;">
<div class="col-10">
<div class="input-group">
<span class="input-group-addon">GDC-</span>
<input type="text" autocomplete="off" class="form-control" id="inv_no" name="inv_no" value="<?php echo (safe_input($_GET["inv_no"]) <> "") ? safe_input($_GET["inv_no"]) : ""; ?>">
<span class="input-group-addon">Name:</span>
<input type="text" autocomplete="off" class="form-control" id="n" name="n" value="<?php echo (safe_input($_GET["n"]) <> "") ? safe_input($_GET["n"]) : ""; ?>">
<span class="input-group-btn">
<button type="submit" class="btn btn-default"><span class="glyphicon glyphicon-search"></span></button>
</span>
<?php
if ((safe_input($_GET["inv_no"]) <> "") || (safe_input($_GET["n"]) <> "")) {
?>
<span class="input-group-btn">
<a href="<?php echo generate_site_link($PAGE_NAME); ?>" title="Remove filter">
<button type="button" class="btn btn-warning"><span class="fa fa-times"></span></button>
</a>
</span>
<?php
}
?>
</div>
</div>
</div>
</form>
</div>
</div>
<div class="padding5 clearfix"></div>
<table class="table table-hover table-datatable table-striped table-bordered">
<thead>
<tr>
<th style="text-align: center;">#Bill</th>
<th style="text-align: center;">Date</th>
<th>Patient Name</th>
<th style="text-align: center;">Age</th>
<th style="text-align: center;">Sex</th>
<th style="text-align: center;">Total</th>
<th style="text-align: center;">Paid</th>
<th style="text-align: center;">Due</th>
<th style="text-align: center;">Action</th>
</tr>
</thead>
<tfoot>
<tr>
<th style="text-align: center;">Bill</th>
<th style="text-align: center;">Date</th>
<th>Patient Name</th>
<th style="text-align: center;">Age</th>
<th style="text-align: center;">Sex</th>
<th style="text-align: center;">Total</th>
<th style="text-align: center;">Paid</th>
<th style="text-align: center;">Due</th>
<th style="text-align: center;">Action</th>
</tr>
</tfoot>
<tbody>
<tr>
<td style="text-align: center;">12</td>
<td style="text-align: center;">dasda</td>
<td>dasdasdasd</td>
<td style="text-align: center;">
dasdasd
</td>
<td style="text-align: center;">Male</td>
<td style="text-align: center;">1010</td>
<td style="text-align: center;">1020</td>
<td style="text-align: center;">1030</td>
<td style="text-align: center;">
<a href="<?php echo generate_site_link("patients", "mode=edit&id=" . ($r["ptnts_id"]) . "&" . get_all_get_params(array("id"))); ?>">
<button class="btn btn-sm btn-warning" type="button"><span class="glyphicon glyphicon-edit"></span> Edit</button>
</a>
<a href="<?php echo generate_site_link("test_results", "id=" . ($r["ptnts_id"]) . "&" . get_all_get_params(array("id"))); ?>">
<button class="btn btn-sm btn-info" type="button"><span class="glyphicon glyphicon-cog"></span> Test Results</button>
</a>
<a data-href="<?php echo generate_site_link($PAGE_NAME, "mode=delete&id=" . ($r["ptnts_id"]) . "&" . get_all_get_params(array("id"))); ?>" data-toggle="modal" data-target="#confirm-delete" href="javascript:void(0);">
<button class="btn btn-sm btn-danger" type="button"><span class="glyphicon glyphicon-trash"></span> Delete</button>
</a>
</td>
</tr>
</tbody>
</table>
<div class="col-12 center">
<ul class="pagination">
<?php #$pagination->display_links($PAGE_NAME); ?>
<li><a href="#">1</a></li>
<li><a href="#">2</a></li>
<li><a href="#">3</a></li>
</ul>
</div>
<div class="modal fade" id="confirm-delete" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h4>Delete</h4>
</div>
<div class="modal-body">
Are you sure you want to delete?
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
<a href="#" class="btn btn-danger danger">Delete</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<?php
include './includes/footer.php';
require '../configs/app_bottom.php';
?>