| Server IP : 210.245.233.93 / Your IP : 216.73.216.226 Web Server : Apache/2.2.15 (CentOS) System : Linux webserver2.onesolution.com.hk 2.6.32-754.35.1.el6.x86_64 #1 SMP Sat Nov 7 12:42:14 UTC 2020 x86_64 User : apache ( 48) PHP Version : 5.3.3 Disable Function : exec, shell_exec, system, passthru, popen, proc_open, pcntl_exec MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/(Del)pathways.org.hk/MIS20140127/old20140407/System/ |
Upload File : |
<!DOCTYPE html>
<html>
<head>
<?php require_once '../include/head.php'; ?>
<?php require_once '../include/checkuser.php'; ?>
<?php require_once '../include/Nav_bar.php'; ?>
<?php include_once '../include/DBConnect.php'; ?>
</head>
<body>
<?php
?>
<!-- line between nav bar and content -->
<div class="text-right">
<ul class="breadcrumb">
<li class="active">Grade</li>
</ul>
</div>
<div class="container-fluid pathways-container">
<div>
<table border="0" width="100%">
<tr>
<td><h2>Grade</h2></td>
<td><a href="addGrade.php" class="btn pull-right"><i class="icon-plus"></i> Add</a></td>
</tr>
</table>
</div>
<form id="search_form" class="form-inline" action="" method="POST">
<table class="table table-striped table-bordered table-hover table-condensed" id="tablehead">
<thead>
<tr>
<!--th style="min-width:20px; width:5%"> </th-->
<th style="min-width:50px; width:5%">Edit</th>
<th style="min-width:50px; ">Grade</th>
</tr>
</thead>
<tbody>
<?php
$query = "select grade_id, grade from grade where deleted = 0";
$result = $dbh->query($query);
$result->setFetchMode(PDO::FETCH_OBJ);
while ($row = $result->fetch()) {
?>
<tr>
<!--td>
<button class="btn" name="program_se" value="<?= $row->program_id ?>" type="submit"><i class="icon-remove"></i></button>
</td-->
<td>
<a href="editGrade.php?id=<?= $row->grade_id ?>" class="btn">Edit</a>
</td>
<td>
<?= $row->grade ?>
</td>
</tr>
<?php
}
?>
</tbody>
</table>
</form>
</div> <!-- /container -->
</body>
</html>