| 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 : |
<table class="table no-margin table-hover">
<thead>
<tr class="label-info labelinfo1">
<th class="text-center"><?php echo $this->lang->line('Sl_No');?></th>
<th class="text-center">
<?php echo $this->lang->line('Item_Title');?>
<span class="shorting-action">
<i onclick="getData('0','6',$('#per_page').val())" class="fa fa-sort-asc" aria-hidden="true"></i>
<i onclick="getData('0','7',$('#per_page').val())" class="fa fa-sort-desc" aria-hidden="true"></i>
</span>
</th>
<th class="text-center">
<?php echo $this->lang->line('Category_Name');?>
<span class="shorting-action">
<i onclick="getData('0','8',$('#per_page').val())" class="fa fa-sort-asc" aria-hidden="true"></i>
<i onclick="getData('0','9',$('#per_page').val())" class="fa fa-sort-desc" aria-hidden="true"></i>
</span>
</th>
<th class="text-center">
<?php echo $this->lang->line('Menu_Item_Price');?>
<span class="shorting-action">
<i onclick="getData('0','10',$('#per_page').val())" class="fa fa-sort-asc" aria-hidden="true"></i>
<i onclick="getData('0','11',$('#per_page').val())" class="fa fa-sort-desc" aria-hidden="true"></i>
</span>
</th>
<th class="text-center"><?php echo $this->lang->line('AddedDate');?></th>
<th class="text-center">
<?php echo $this->lang->line('Status');?>
</th>
<th style="text-align: left; padding-left:24px;"><?php echo $this->lang->line('AddedDate');?></th>
<th class="text-center"><?php echo $this->lang->line('Manage');?></th>
</tr>
</thead>
<tbody id="custom-table">
<?php if(is_array($MenuList) && sizeof($MenuList)>0){
$key =0;
foreach ($MenuList as $key => $value) {
//$key = $key+1;
?>
<tr id="<?=$value->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 paddingtop16"><?=$value->menu_name?></td>
<td class="text-center paddingtop16">
<?php
if ($value->maincatename == '') {
echo('<span style="color: blue; font-style: italic;">No Category</span>');
}
else {
echo $value->maincatename;
}
?>
</td>
<td class="text-center paddingtop16"><?=SITENAME_CURRENCY?><?=$value->menu_price?></td>
<td class="text-center paddingtop16"><?=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_menu','1','<?=$value->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_menu','0','<?=$value->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">
<div class="btn-group btn-group-circle">
<button onclick="ChangePopuler('rt_restaurant_menu','Yes','<?=$value->id?>', this);" type="button" class="newsolidbtn1 btn btn-outline green btn-sm <?=$value->menu_popular_dish == "Yes"?'active':''?>"><?php echo $this->lang->line('Yes');?></button>
<button onclick="ChangePopuler('rt_restaurant_menu','No','<?=$value->id?>', this);" type="button" class="newsolidbtn1 btn btn-outline red btn-sm <?=$value->menu_popular_dish == "No"?'active':''?>"><?php echo $this->lang->line('No');?></button>
</div>
</td>
<td class="text-center paddingtop10">
<span onclick="editMenu('<?=$value->id?>','restaurant')" class="newsolidbtn1 btn btn-outline green btn-sm opo addressEdit opened btn-circle view"><i class="fa fa-pencil" aria-hidden="true"></i> <?php echo $this->lang->line('Edit');?></span>
<span onclick="DeleteNow('rt_restaurant_menu','<?=$value->id?>','restaurant');" 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 colspan="8" class="text-center"><?php echo $this->lang->line('No_found');?></td>
</tr>
<?php } ?>
</tbody>
</table>
<div class="margintop20 col-md-6">
</div>
<div class="col-md-6 margintop20 margintop14">
<?php echo $this->ajax_pagination->create_links(); ?>
</div>