| Server IP : 103.234.187.230 / Your IP : 216.73.216.216 Web Server : Apache System : Linux lserver42043-ind.megavelocity.net 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64 User : apache ( 48) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/html/adeetieadmin/application/modules/pages/views/ |
Upload File : |
<div class="container grid-page">
<div class="row">
<?php if($this->session->flashdata('message')){ ?>
<div class="alert alert-success"><?php echo $this->session->flashdata('message');?></div>
<?php }?>
<div class="col-sm-24">
<div class="zed-page-actions">
<a href="<?php echo base_url();?>pages/addedit" class="btn btn-primary">+ Add Page</a>
<a href="javascript:void(0)" class="btn btn-danger" id="delete">Delete Pages</a>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-24">
<div class="zed-page-table">
<?php
echo form_open(base_url().'pages/bulk_actions',array('id'=>'bulk_actions_form'));
?>
<table class="table table-hover zed-data-table">
<thead>
<tr>
<th>#</th>
<th>Page Name</th>
<th>Page Slug</th>
<th>Page Type</th>
<th>Status</th>
<th></th>
</tr>
</thead>
<tbody>
<?php foreach($details as $value) { ?>
<tr title="Created by: <?php // echo $this->ion_auth->user($value->created_by)->row()->first_name;?> | Modified by: <?php if($value->modified_by!=0){ echo $this->ion_auth->user($value->modified_by)->row()->first_name; } ?>">
<td><label class="zed-checkbox"><input type="checkbox" name="ids[]" value="<?php echo $value->id;?>"><span></span></td>
<td><?php echo $value->page_name;?></td>
<td><?php echo $value->page_slug;?></td>
<td>
<?php
if($value->page_type==1)
{
echo "Individual Page";
}
elseif($value->page_type==2)
{
echo "Tabbed Page";
}
elseif($value->page_type==3)
{
echo "Home Page";
}
?>
</td>
<td><?php echo ($value->status==1 ? 'Active': 'Inactive');?></td>
<td class="zed-table-settings-td">
<div class="zed-table-settings">
<ul class="list-inline">
<li><a href="<?php echo base_url();?>pages/addedit/<?php echo base64_encode($value->id);?>" class="btn btn-default">Edit</a></li>
</ul>
</div>
</td>
</tr>
<?php } ?>
</tbody>
</table>
<?php echo form_close();?>
</div>
</div>
</div>
</div>