shell bypass 403
<?php $this->load->view('home/header');?>
<section class="myaccount-block">
<div class="container">
<div class="myaccount-header">
<h5><span>Special Offers</span></h5>
<h6 class="my-menu"><i class="si si-options-vertical"></i> Menu </h6>
</div>
<div class="clearfix"></div>
<div class="row">
<div class="col-md-12">
<div class="table-responsive">
<table class="table table-bordered" id="example">
<thead>
<tr>
<th>SNo </th>
<th>Coupon Type</th>
<th>Discount Type</th>
<th>discount</th>
<th>Promo Code</th>
<th>Min Value</th>
<th>Start</th>
<th>Expire</th>
</tr>
</thead>
<?php
$this->db->where('status','1');
$this->db->where_not_in('coupon_type','One');
// $this->db->limit('5');
$this->db->order_by('id', 'RANDOM');
$query = $this->db->get('tb_coupon');
// echo $this->db->last_query();
if($query ->num_rows() >0)
{
$sno=1;
foreach($query -> result() as $row)
{
if (date('Y-m-d') >= $row->expire) {
} else {
?>
<tr>
<td><?=$sno++?></td>
<td><?=$row->coupon_type?></td>
<td><?php
if($row->discount_type==1){
echo "Flat Discount (Rs)";
}else if($row->discount_type==2){
echo "Flat (%)";
}else if($row->discount_type==3){
echo "Buy One Get One Offer (50%)";
}?></td>
<td><?=$row->discount?></td>
<td><?=$row->promo_code?></td>
<td><?=$row->min_value?></td>
<td><?=date("d-m-Y", strtotime($row->start));?></td>
<td><?=date("d-m-Y", strtotime($row->expire));?></td>
</tr>
<?php } }} ?>
</table>
</div>
</div>
</div>
</section>
<?php $this->load->view('home/footer');?>