<div class="col-md-12  full min_ht">
<div class="col-md-12  text-center">


<p class="inter">
<?php echo anchor(base_url('Admin_home/'),'Home') ; ?> >> <a href="<?php echo site_url('/Reguser_admin');?>"><?=$heading?></a>
</p><br>

<h1 style="text-align:left;"><i class="fa fa-bars" aria-hidden="true"></i> <?=$heading?></h1>
<div class="clr2"></div>

<table class="listing" >
		<thead>
		<tr>
			<th class="lasto">No.</th>
            <th class="lasto">Name</th>
			<th class="lasto">Email</th>
			<th class="lasto">Postid</th>
            <th class="lasto">date</th>
			<th class="lasto">Mobile</th>
			<!--<th class="lasto">Status</th>-->
            <th class="lasto">Delete</th>
		</tr>
		</thead>
        
<style>
@media only screen and (max-width: 760px),(min-device-width: 768px) and (max-device-width: 1024px)  
{
.listing td:nth-of-type(1):before { content: "No."; }
.listing td:nth-of-type(2):before { content: "Name"; }
.listing  td:nth-of-type(3):before { content: "Email"; }
.listing  td:nth-of-type(4):before { content: "Address"; }
.listing  td:nth-of-type(5):before { content: "Tel"; }
.listing  td:nth-of-type(6):before { content: "Mobile"; }
.listing  td:nth-of-type(7):before { content: "Status"; }
.listing  td:nth-of-type(8):before { content: "Delete"; }

}
</style>
<tbody>        

<?php $i=1;
foreach($result_array as $row):?>

<tr>
<td class="lasto3"><?=$i?></td>
<td class="lasto3"><?php echo $row['name']; ?></td>
<td class="lasto3"><?=$row['email']?></td>
<td class="lasto3"><?=$row['postid']?></td>
<td class="lasto3"><?=$row['dates']?></td>
<td class="lasto3"><?=$row['phone']?></td>
<!--<td class="lasto3">
<?php if($row['active']==0): ?>

<img src="<?php echo base_url('assets/web_images/incorrect.png'); ?>" width="20" height="20" />
<br />
<a href="<?php echo site_url('Basic_functions/change_status/shop_checkoutusers/active/1/id/'.$row['id'].'/Reguser_admin/view' ); ?>">Activate?</a>

<?php elseif($row['active']==1) : ?>

<img src="<?php echo base_url('assets/web_images/ok.png'); ?>" width="20" height="20" />
<br />
<a href="<?php echo site_url('Basic_functions/change_status/shop_checkoutusers/active/0/id/'.$row['id'].'/Reguser_admin/view' ); ?>">Suspend?</a>

<?php endif; ?>
</td>-->
<td class="lasto3">
<a href="<?php echo site_url('Enquiry/delete/'.$row['id'].'/1/') ; ?>" onClick="return confirm('Delete content ?')">
<img src="<?php echo base_url('assets/web_images/delete.gif'); ?>" width="20" height="20" />
</a> 
</td>
</tr>

<?php $i++; endforeach ; ?>
</tbody>
</table>

</div>

</div>