<?php
include("../../header.php");
?>
<!-- page content -->
<div class="right_col" role="main">
<div class="">
<div class="page-title">
<div class="">
<div class="col-md-12 col-sm-12 col-xs-12">
<div class="x_panel">
<div class="x_title">
<h2>View Patents and Awards</h2>
<div class="clearfix"></div>
</div>
<div class="x_content">
<a href="<?php echo $home_path; ?>/pages/master/addpatentaward.php"><button class="btn btn-primary" type="button">Add Patents and Awards</button></a>
<table id="datatable-responsive" class="table table-striped table-bordered dt-responsive nowrap" cellspacing="0" width="100%">
<thead>
<tr>
<th style="width:25%;">Name</th>
<th style="width:25%;">Title</th>
<th style="width:25%;">Action</th>
</tr>
</thead>
<tbody>
<?php
$sql=mysqli_query($conn,"select * from pataward");
while($rw=mysqli_fetch_array($sql)){
?>
<tr>
<td><?php echo $rw['name']; ?></td>
<td><?php echo $rw['title']; ?></td>
<td>
<a href="<?php echo $home_path; ?>/pages/master/editpa.php?id=<?php echo $rw['id']; ?>" class="btn btn-info btn-xs"><i class="fa fa-pencil"></i> Edit </a>
<a href="<?php echo $home_path; ?>/pages/master/action/delpa.php?id=<?php echo $rw['id']; ?>" class="btn btn-danger btn-xs"><i class="fa fa-trash-o"></i> Delete </a>
</td>
</tr>
<?php } ?>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- /page content -->
<?php
include("../../footer.php");
?> |