| 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 : |
<?php include('header.php'); ?>
<?php include('session.php'); ?>
<body>
<?php include('navbar.php'); ?>
<div class="container-fluid">
<div class="row-fluid">
<?php include('department_sidebar.php'); ?>
<div class="span3" id="adduser">
<?php include('add_department.php'); ?>
</div>
<div class="span6" id="">
<div class="row-fluid">
<!-- block -->
<div id="block_bg" class="block">
<div class="navbar navbar-inner block-header">
<div class="muted pull-left">Department List</div>
</div>
<div class="block-content collapse in">
<div class="span12">
<form action="delete_department.php" method="post">
<table cellpadding="0" cellspacing="0" border="0" class="table" id="example">
<a data-toggle="modal" href="#department_delete" id="delete" class="btn btn-danger" name=""><i class="icon-trash icon-large"></i></a>
<?php include('modal_delete.php'); ?>
<thead>
<tr>
<th></th>
<th>Department</th>
<th>Person In-charge</th>
<th></th>
</tr>
</thead>
<tbody>
<?php
$user_query = mysql_query("select * from department")or die(mysql_error());
while($row = mysql_fetch_array($user_query)){
$id = $row['department_id'];
?>
<tr>
<td width="30">
<input id="optionsCheckbox" class="uniform_on" name="selector[]" type="checkbox" value="<?php echo $id; ?>">
</td>
<td><?php echo $row['department_name']; ?></td>
<td><?php echo $row['dean']; ?></td>
<td width="30"><a href="edit_department.php<?php echo '?id='.$id; ?>" class="btn btn-success"><i class="icon-pencil icon-large"></i></a></td>
</tr>
<?php } ?>
</tbody>
</table>
</form>
</div>
</div>
</div>
<!-- /block -->
</div>
</div>
</div>
<?php include('footer.php'); ?>
</div>
<?php include('script.php'); ?>
</body>
</html>