%PDF- <> %âãÏÓ endobj 2 0 obj <> endobj 3 0 obj <>/ExtGState<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI] >>/Annots[ 28 0 R 29 0 R] /MediaBox[ 0 0 595.5 842.25] /Contents 4 0 R/Group<>/Tabs/S>> endobj ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<> endobj 2 0 obj<>endobj 2 0 obj<>es 3 0 R>> endobj 2 0 obj<> ox[ 0.000000 0.000000 609.600000 935.600000]/Fi endobj 3 0 obj<> endobj 7 1 obj<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI]>>/Subtype/Form>> stream
<div id="content-wrapper"> <div class="container-fluid"> <!-- Breadcrumbs--> <ol class="breadcrumb"> <li class="breadcrumb-item"> <a href="<?php echo site_url('admin/Dashboard'); ?>">Dashboard</a> </li> <li class="breadcrumb-item active">Manage Banners</li> </ol> <!-- DataTables Example --> <div class="card mb-3 fomr-news"> <div class="card-header card-header-new"><h3> <i class="fas fa-table"></i> Manage Banners </h3> <a href="<?=base_url('admin/banners/addrecord')?>"> <input type="button" name="button" id="button" value="Add New Records"></a> </div> </div> <div class="card-body"> <div class="table-responsive"> <!---- Success Message ----> <?php if ($this->session->flashdata('success')) { ?> <p style="color:green; font-size:18px;"><?php echo $this->session->flashdata('success'); ?></p> </div> <?php } ?> <table class="table table-bordered" id="dataTable" width="100%" cellspacing="0"> <thead> <tr> <th>S.no.</th> <th>Banner Title</th> <th>Banner Image</th> <th>Location</th> <th>status</th> <th>Date</th> <th>Action</th> </tr> </thead> <tbody> <?php if(count($recordsArray)) : $cnt=1; $locArray = array('1'=>'LHS','2'=>'RHS','3'=>'TOP','4'=>'BOTTOM'); foreach ($recordsArray as $row) : ?> <tr> <td><?php echo htmlentities($cnt);?></td> <td><?php echo $row['banner_title']?></td> <td><a href="<?=base_url('attachments/banner_image/'.$row['banner_image'])?>" target="_blank"><img src="<?=base_url('attachments/banner_image/'.$row['banner_image'])?>" width="100px" /></a></td> <td><?php echo $row['banner_location']=='0' ? 'All' : $locArray[$row['banner_location']];?></td> <td><?php echo $row['status']=='1' ? 'Active' : 'Inactive';?></td> <td><?php echo $row['createdon']; ?></td> <td> <?php if($adid->role_id==$row['notification_from'] || $adid->role_id<='2') {?> <?php echo anchor("admin/banners/addrecord/{$row['id']}",' ','class="fa fa-edit"')?> <a href="<?=base_url('admin/banners/deleterecords/'.$row['id'])?>" class="fa fa-trash confirm-delete"> </a> <?php } ?> </td> </tr> <?php $cnt++; endforeach; else : ?> <tr> <td>No Record found</td> <td> </td> <td> </td> <td> </td> <td> </td> <td> </td> <td> </td> </tr> <?php endif; ?> </tbody> </table> </div> </div> </div> <!-- /.container-fluid --> <!-- Sticky Footer -->