shell bypass 403

GrazzMean Shell

: /home/gutlooks/www/application/views/home/ [ drwxr-xr-x ]
Uname: Linux server.thebazaar99.com 5.14.0-687.17.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Jun 22 07:21:26 EDT 2026 x86_64
Software: Apache
PHP version: 8.3.32 [ PHP INFO ] PHP os: Linux
Server Ip: 163.227.92.254
Your Ip: 216.73.217.24
User: gutlooks (1003) | Group: gutlooks (1005)
Safe Mode: OFF
Disable Function:
exec,passthru,shell_exec,system

name : cart.php
<?php $this->load->view('home/header');
   if($cart_res==true){
?>
<section class="section-b-space card-page">
    <div class="container-lg">
        <div class="row g-3 g-md-4 cart">
            <?php
$cod_charge=$shipping_charge=0;
$this->db->order_by('id','desc');
$query = $this->db->get('settings'); 
if($query->num_rows()>0){
    foreach($query->result() as $rw){
       // $cod_charge=$rw->cod_amt;
        $shipping_charge=$rw->shipping_amt;
    }
}
            ?>
            <!--==========================-->
            <div class="col-md-7 col-lg-8">
              <div class="cart-wrap">
                <div class="items-list">
                  <table class="table cart-table m-md-0">
                    <thead>
                      <tr>
                        <th class="d-none d-sm-table-cell">PRODUCT</th>
                        <th class="d-none d-sm-table-cell">PRICE</th>
                        <th class="d-none d-lg-table-cell">QUANTITY</th>
                        <th class="d-none d-xl-table-cell">TOTAL</th>
                      </tr>
                    </thead>

                    <tbody>
                        <?php 
//                        echo "<pre>";
//                        print_r($cart_res);
//                          echo "</pre>";
                        if(isset($_SESSION['user_token'])){ 
                            if($cart_res==true){
                                foreach($cart_res as $row){
                                    //print_r($row);
                                    $total_price[] = ($row->price*$row->qty);
                          $total_sale_price[] = ($row->sale_price*$row->qty);
                          $total_discount = array_sum($total_price)-array_sum($total_sale_price);
                                    ?>
                         <tr>
                        <td>
                          <div class="product-detail">
                            <img class="pr-img" src="<?=$row->image?>" alt="image" />
                            <div class="details">
                              <h4 class="title-color font-default2"><?=$row->title?></h4>
                              <span class="sold-by">SKU: <span><?=$row->sku?></span> </span>
                              <span class="size gap-2 d-flex">Size : <span><?=$row->weight?></span> </span>
                              <?php if($row->product_color!='None'){?>
                              <span class="size gap-2 d-flex">Color : <span><?=$row->product_color?></span> </span>
                              <?php } ?>
                              <span class="size gap-2 d-flex d-sm-none">Price : <span>&#8377;<?=$row->sale_price?></span> </span>
                             <div class="plus-minus  mt-2 d-inline-flex d-lg-none">
                                  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-minus sub btn_minus" id="<?=($row->qty-1)?>&<?= $row->id?>"><line x1="5" y1="12" x2="19" y2="12"></line></svg>
                                <input type="number" value="<?=$row->qty?>" min="1" max="10" />
                                   <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-plus add btn_plus" id="<?=($row->qty+1)?>&<?= $row->id?>"><line x1="12" y1="5" x2="12" y2="19"></line><line x1="5" y1="12" x2="19" y2="12"></line></svg>
                                    <button class="btn-remove-cart romove_cart" id="<?=$row->id?>"><i class="fe fe-trash-2"></i> Remove</button>
                         
                              </div>
                            </div>
                          </div>
                        </td>

                        <td class="price d-none d-sm-table-cell">&#8377;<?=$row->sale_price?></td>
                        <td class="d-none d-lg-table-cell">
                            <div class="plus-minus">
                            <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-minus sub btn_minus" id="<?=($row->qty-1)?>&<?= $row->id?>"><line x1="5" y1="12" x2="19" y2="12"></line></svg>
                            <input type="number" value="<?=$row->qty?>" min="1" max="10" />
                            <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-plus add btn_plus" id="<?=($row->qty+1)?>&<?= $row->id?>"><line x1="12" y1="5" x2="12" y2="19"></line><line x1="5" y1="12" x2="19" y2="12"></line></svg>
                          </div>
                           <button class="btn-remove-cart romove_cart" id="<?=$row->id?>"><i class="fe fe-trash-2"></i> Remove</button>
                        </td>
                        <td class="total d-none d-xl-table-cell">&#8377;<?=$row->sale_price?></td>
                      </tr>
                                    <?php
                                }
                            }
                        }else{
                           if($cart_res==true){
                                foreach($cart_res as $row){
                                    $row = (object)$row;
//                                    print_r($row);
                                    $total_price[] = ($row->price*$row->qty);
                          $total_sale_price[] = ($row->sale_price*$row->qty);
                          $total_discount = array_sum($total_price)-array_sum($total_sale_price);
//                          $prices='<span>&#8377;'.$price_res[0]->reg_sale_price.'</span> <del>&#8377;'.$price_res[0]->price.'</del>';
                            ?>
  <tr>
                        <td>
                          <div class="product-detail">
                            <img class="pr-img" src="<?=$row->image?>" alt="image" />
                            <div class="details">
                              <h4 class="title-color font-default2"><?=$row->name?></h4>
                              <span class="sold-by">SKU: <span><?=$row->sku?></span> </span>
                              <span class="size gap-2 d-flex">Size : <span><?=$row->weight?></span> </span>
                              <?php if($row->product_color!='None'){?>
                              <span class="size gap-2 d-flex">Color : <span><?=$row->product_color?></span> </span>
                              <?php } ?>
                              <span class="size gap-2 d-flex d-sm-none">Price : <span>&#8377;<?=$row->sale_price?></span> </span>
                              <div class="plus-minus  mt-2 d-inline-flex d-lg-none">
                                  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-minus sub btn_minus" id="<?=($row->qty-1)?>&<?= $row->rowid?>"><line x1="5" y1="12" x2="19" y2="12"></line></svg>
                                <input type="number" value="<?=$row->qty?>" min="1" max="10" />
                                   <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-plus add btn_plus" id="<?=($row->qty+1)?>&<?= $row->rowid?>"><line x1="12" y1="5" x2="12" y2="19"></line><line x1="5" y1="12" x2="19" y2="12"></line></svg>
                          <button class="btn-remove-cart romove_cart" id="<?=$row->rowid?>"><i class="fe fe-trash-2"></i> Remove</button>
                              </div>
                            </div>
                          </div>
                        </td>

                        <td class="price d-none d-sm-table-cell">&#8377;<?=$row->sale_price?></td>
                        <td class="d-none d-lg-table-cell">
                          <div class="plus-minus">
                            <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-minus sub btn_minus" id="<?=($row->qty-1)?>&<?= $row->rowid?>"><line x1="5" y1="12" x2="19" y2="12"></line></svg>
                            <input type="number" value="<?=$row->qty?>" min="1" max="10" />
                            <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-plus add btn_plus" id="<?=($row->qty+1)?>&<?= $row->rowid?>"><line x1="12" y1="5" x2="12" y2="19"></line><line x1="5" y1="12" x2="19" y2="12"></line></svg>
                          </div>
                           <button class="btn-remove-cart romove_cart" id="<?=$row->rowid?>"><i class="fe fe-trash-2"></i> Remove</button>
                        </td>
                        <td class="total d-none d-xl-table-cell">&#8377;<?=$row->sale_price*$row->qty?></td>
                      </tr>
                            <?php
                                }
                            } 
                            
                        }
                        ?>
                     
                       </tbody>
                  </table>
                </div>
              </div>
            </div>

            <div class="col-md-5 col-lg-4">
              <div class="summery-wrap">
                  <?php  if(isset($_SESSION['user_token'])){ }else{ ?>
                <div class="coupon-box">
                  <h5 class="cart-title">Coupon</h5>
                  <div class="text-wrap">
                    <h4><i data-feather="tag"></i> Apply Coupon</h4>
                    <a href="javascript:void(0)" class="btn btn-outline btn-sm">Apply</a>
                  </div>

                  <p class="content-color font-md mb-0"><a href="<?=base_url('home/login');?>" class="theme-color">Login</a> to see best coupon for you</p>
                </div>
                  <?php } ?>
                <div class="cart-wrap grand-total-wrap">
                  <div>
                    <div class="order-summery-box">
                      <h5 class="cart-title">Price Details (<?php 
                    if(isset($_SESSION['user_token'])){
                      $cart_count = $this->Curd->fetch_where_row_count("tb_cart",array("user_id"=>$_SESSION['user_id']));
                      echo $cart_count;
                    }else{
                      echo count($this->cart->contents());
                    }
                    ?>  Items)</h5>
                      <ul class="order-summery">
                        <li>
                          <span>Bag total</span>
                          <span>&#8377;<?=array_sum($total_price)?></span>
                        </li>

                        <li>
                          <span>Bag savings</span>
                          <span class="theme-color">-&#8377;<?=$total_discount?></span>
                        </li>

<!--                        <li>
                          <span>Coupon Discount</span>
                          <a href="javascript:void(0)" class="font-danger">Apply Coupon</a>
                        </li>-->

                        <li>
                          <span>Delivery</span>
                          <span>&#8377;<?=$shipping_charge?></span>
                        </li>

                        <li class="pb-0">
                          <span>Total Amount</span>
                          <span>&#8377;<?=array_sum($total_sale_price)+$shipping_charge +$cod_charge?></span>
                        </li>
                      </ul>
                      <div class="row g-3 mt-2">
                        <div class="col-6 col-md-12">
                             <?php if(isset($_SESSION['user_token'])){ $lk=base_url('home/checkout'); }else{ $lk=base_url('home/login'); }?>
                          <a href="<?=$lk;?>" class="btn-solid checkout-btn">Checkout <i class="arrow"></i></a>
                        </div> 
                            <?php if(isset($_SESSION['user_token'])){ }else{
                            ?>
<div class="col-6 col-md-12">
                            <a href="<?=base_url('home/guest_checkout');?>" class="btn-outline w-100 justify-content-center checkout-btn">Guest Checkout <i class="arrow"></i></a>        
                             </div> 
                                 <?php  
                          } ?>
                      
                        <div class="col-6 col-md-12">
                          <a href="<?php echo base_url();?>" class="btn-solid checkout-btn"> Back To Shop </a>
                        </div>
                      </div>
                    </div>
            <!--==========================-->
        </div>
    </div>

                    </div>
            </div>
        </div>
    </div>
</section>
 
   <?php } $this->load->view('home/footer');?>
 
<!--<script type="text/javascript" src="<?=base_url('assets/js/custom.js')?>"></script>-->
 
<script type="text/javascript">
$('.wallet').click(function(){
var  paid_amt = "<?=array_sum($total_sale_price)+$shipping_charge?>";
    $(".final_amt").html('<strong><i class="fa fa-rupee-sign"></i>'+parseInt(paid_amt)+'</strong>');
    $(".pay_amt").html(paid_amt);
    $(".pay_amt").val(paid_amt);
    $("#cod_input").val('0');
    $(".gateway_amt").val(paid_amt);
    $('.walletBlock').show();
    $('.cash-deliver').hide();
    $('.paytmBlock').hide();
     $('#cod_ch').hide();
    $('.wallet').addClass('active');
    $('.cod').removeClass('active');
    $('.paytm').removeClass('active');
});
$('.cod').click(function(){
    var  paid_amt =  "<?=array_sum($total_sale_price)+$shipping_charge+$cod_charge?>";
     $(".final_amt").html('<strong><i class="fa fa-rupee-sign"></i>'+parseInt(paid_amt)+'</strong>');
    $(".pay_amt").html(paid_amt);
     $("#cod_input").val(<?php echo $cod_charge;?>);
    $(".pay_amt").val(paid_amt);
    $(".gateway_amt").val(paid_amt);
    $('.walletBlock').hide();
    $('.cash-deliver').show();
    $('#cod_ch').show();
    $('.paytmBlock').hide();
    $('.wallet').removeClass('active');
    $('.cod').addClass('active');
    $('.paytm').removeClass('active');
    
});
$('.paytm').click(function(){
    var  paid_amt =   "<?=array_sum($total_sale_price)+$shipping_charge?>";
     $(".final_amt").html('<strong><i class="fa fa-rupee-sign"></i>'+parseInt(paid_amt)+'</strong>');
    $(".pay_amt").html(paid_amt);
    $(".pay_amt").val(paid_amt);
     $("#cod_input").val('0');
    $(".gateway_amt").val(paid_amt);
    $('.walletBlock').hide();
    $('.cash-deliver').hide();
    $('.paytmBlock').show();
     $('#cod_ch').hide();
    $('.wallet').removeClass('active');
    $('.cod').removeClass('active');
    $('.paytm').addClass('active');
});
</script>
<script type="text/javascript">
  $(".btn_plus").click(function(){
        var data=$(this).attr('id');
        var arr=data.split("&");
        var qty=arr[0];
        var row_id=arr[1];
        if(qty>=60){
          alert("You have only "+"60"+" Quantity for this Product"); 
          return false;
        }else{
          $.ajax({
            method:"POST",
            data:{"qty":qty,"rowid":row_id},
            url:"<?=base_url('home/cart_update')?>",
            success:function(res){
               location.reload();
              //$(".shopping-block").html(res);
            }
          }); 
        } 
      })

      $(".btn_minus").click(function(){
        var data=$(this).attr('id');
        var arr=data.split("&");
        var qty=arr[0];
        var row_id=arr[1];
        if(qty<1){
          alert("Minimum 1 Quantity"); 
          return false;
        }else{
          $.ajax({
            method:"POST",
            data:{"qty":qty,"rowid":row_id},
            url:"<?=base_url('home/cart_update')?>",
            success:function(res){
               location.reload();
              //$(".shopping-block").html(res);
            }
          }); 
        } 
      })

      $(document).on('click','.romove_cart',function(){
            var row_id=$(this).attr("id");
            $.ajax({
                url : "<?php echo base_url('home/delete_cart');?>",
                method : "POST",
                data : {row_id : row_id},
                success :function(data){
                  if(data==1){
                    location.reload();
                  }
                }
            });
      });

</script>
 
<script>
                          $(function(){
                                    $('.guest-modal').click(function(){
                                      $('#guest-modal-box').fadeIn();
                                    });
                                  });
                          </script>
</body>
</html>
© 2026 GrazzMean