Revonzy Mini Shell
<?php
include('../../config.php');
require_once(PATH_LIBRARIES.'/classes/DBConn.php');
require_once(PATH_ADMIN_INCLUDE.'/header.php');
$db = new DBConn();
$getImages=$db->ExecuteQuery("SELECT * FROM aboutus");
?>
<script type="text/javascript" src="aboutus.js"></script>
<div>
<div class="page-title">
<div class="title_left">
<h3>About Us Slider Images List</h3>
</div>
</div>
<div class="clearfix"></div>
<div class="col-md-12 col-sm-12 col-xs-12">
<div class="x_panel">
<div class="x_title">
<h2>View List </h2>
<ul class="nav navbar-right panel_toolbox">
<li><button class="btn btn-round btn-success" onclick="location.href='index.php';">Add New</button></li>
</ul>
<div class="clearfix"></div>
</div>
<div class="x_content">
<table id="datatable-responsive" class="table table-striped table-bordered dt-responsive nowrap" cellspacing="0" width="100%">
<thead>
<tr>
<th>#</th>
<th>Image</th>
<th>URL</th>
<th>Action</th>
</tr>
</thead>
<tbody>
<?php
$i=1;
foreach ($getImages as $key => $value) { ?>
<tr>
<td><?php echo $i;?></td>
<td><img width="50" src="<?php echo PATH_UPLOAD_IMAGE."/aboutus/thumb/".$value['Image'];?>"></td>
<td><?php echo $value['URL']; ?></td>
<td><a href="edit.php?id=<?php echo $value['Id'];?>">Edit</a> | <a class="delete" href="#" id="<?php echo $value['Id'];?>"> Delete</a></td>
</tr>
<?php $i++;} ?>
</tbody>
</table>
</div>
</div>
</div>
</div>
<?php
require_once(PATH_ADMIN_INCLUDE.'/footer.php');
?>
EliteHackz.ORG
Revonzy Mini Shell
root@revonzy.com