%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 class="main-wapper-inner"> <div class="top-menus"> <div class="container-fluid"> <div class="row"> <div class="col-lg-12"> <h3><i class="fa fa-bell"></i> <?=$title?></h3> <?php $logged_in=$this->session->userdata('logged_in'); $assignedModule = assignModuleList($logged_in['role_id']); if($this->session->userdata['logged_in']['su']>=1 || array_key_exists('notifications',$assignedModule)){ ?> <a href="<?php echo site_url('notifications/addnotification');?>" class="btn btn-default button3">Add Notification</a> <?php } ?> </div><!-- /input-group --> </div> </div><!-- /.col-lg-6 --> </div><!-- /.row --> <div class="home-inners"> <div class=" container-fluid"> <div class="row"> <div class="col-md-12"> <?php if($this->session->flashdata('message')){ echo $this->session->flashdata('message'); } ?> <div class="form-search"> <div class="row"> <div class="col-sm-6"> </div> <div class="col-sm-6"> <form method="post" class="form-search-right" action="<?php echo site_url('econtent/index/');?>"> <input type="text" class="form-control" value="<?=$_POST['search']?>" name="search" placeholder="<?php echo $this->lang->line('search');?>..."> <button class="btn btn-default button2" type="submit"><?php echo $this->lang->line('search');?></button> </form> </div><!-- /.col-lg-6 --> </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>Sr. No.</th> <th>Title</th> <th>Description</th> <?php if($this->session->userdata['logged_in']['su']>=1){ ?> <th>Status</th> <?php } ?> <th>Date/Time</th> <th>Action</th> </tr> </thead> <tbody> <?php if(count($recorddetails)) : $cnt=1; foreach ($recorddetails as $row) : ?> <tr> <td><?php echo htmlentities($cnt);?></td> <td><?php echo html_entity_decode($row['title']);?></td> <td><?php echo substr(strip_tags($row['description']),0,100);?> <a href="<?= site_url('notifications/viewnotifications/'.base64_encode($row['id'])) ?>">read more...</a></td> <?php if($this->session->userdata['logged_in']['su']>=1){ ?> <td><?php echo $row['status']=='3' ? '<span style="color:red">Archive</span>' : ($row['status']=='1' ? '<span style="color:blue">Save</span>': '<span style="color:green">Publish</span>'); ?></td> <?php } ?> <td><?php echo date('d M Y H:i:s',(strtotime($row['createdon'])));?></td> <td class="text-center"> <a class="butts-all" href="<?= site_url('notifications/viewnotifications/'.base64_encode($row['id'])) ?>" title="View Details" ><span class="glyphicon glyphicon-eye-open"></span></a> <?php if($this->session->userdata['logged_in']['su']>=1){ ?> <?php if($su=='2' || $this->session->userdata['logged_in']['uid']==$row['admin_id']) {?><a class="butts-all" href="?delete=<?= $row['id'] ?>" onclick="return confirm('Are you sure you want to delete this record?');" class="confirm-delete"><span class="glyphicon glyphicon-trash"></span></a><?php } ?> <a class="butts-all" href="<?= site_url('notifications/addnotification') ?>?edit=<?=base64_encode($row['id']) ?>"><span class="glyphicon glyphicon-edit"></span></a> <?php } ?> </td> </tr> <?php $cnt++; endforeach; else : ?> <tr> <td>No notification found</td> <td> </td> <td> </td> <td> </td> <td> </td> </tr> <?php endif; ?> </tbody> </table> </div> </div> </div> </div> </div> <!-- /.container-fluid --> </div> </div> <script>document.addEventListener('contextmenu', event => event.preventDefault());</script>