| 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 : |
<table class="table no-margin table-hover">
<thead>
<tr class="label-info labelinfo1">
<!-- <th class="text-center"><input type="checkbox" name="delivery_radio" class="minimal" id="zip_click"></th> -->
<th class="text-center">Sl No</th>
<th class="text-center">
State Code
<span class="shorting-action">
<i class="fa fa-sort-asc" aria-hidden="true" onclick="getData('0','12')"></i>
<i class="fa fa-sort-desc" aria-hidden="true" onclick="getData('0','21')"></i>
</span>
</th>
<th class="text-center">
State Name
<span class="shorting-action">
<i class="fa fa-sort-asc" aria-hidden="true" onclick="getData('0','19')"></i>
<i class="fa fa-sort-desc" aria-hidden="true" onclick="getData('0','91')"></i>
</span>
</th>
<th class="text-center">Added Date</th>
<th class="text-center">
Status
<span class="shorting-action">
<i class="fa fa-sort-asc" aria-hidden="true" onclick="getData('0','14')"></i>
<i class="fa fa-sort-desc" aria-hidden="true" onclick="getData('0','41')"></i>
</span>
</th>
<th class="text-center">Action</th>
</tr>
</thead>
<tbody id="custom-table">
<?php
if (is_array($StateList) && count($StateList)) {
foreach ($StateList as $key => $value) {
?>
<tr id="<?=$value['state_id'];?>_row">
<!-- <td class="text-center paddingtop16"><input type="checkbox" name="delivery_radio" class="minimal" id="zip_click"></td> -->
<?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['statecode'];?></td>
<td class="text-center paddingtop16"><?=$value['statename'];?></td>
<td class="text-center paddingtop16"><?=date("M j, Y", strtotime($value['addeddate']));?></td>
<td class="listCont" id="chgstatus53" align="center">
<div class="btn-group btn-group-circle mrtc">
<button onclick="ChangeActiveInactive('rt_state','1','<?=$value['state_id']?>', this);" type="button" class="newsolidbtn1 btn btn-outline green btn-sm <?=$value['state_status']=='1'?'active':''?>">Active</button>
<button onclick="ChangeActiveInactive('rt_state','0','<?=$value['state_id']?>', this);" type="button" class="newsolidbtn1 btn btn-outline red btn-sm <?=$value['state_status']=='0'?'active':''?>">Inactive</button>
</div>
</td>
<td class="text-center paddingtop10">
<span class="newsolidbtn1 btn btn-outline green btn-sm opo addressEdit opened btn-circle" onclick="editState('<?=$value['state_id'];?>', '<?=$value['statecode'];?>', '<?=$value['statename'];?>')"><i class="fa fa-pencil" aria-hidden="true"></i> Edit</span>
<span onclick="DeleteNow('rt_state','<?=$value['state_id']?>');" class="newsolidbtn1 btn btn-outline red btn-sm opo btn-circle"><i class="fa fa-trash-o" aria-hidden="true"></i> Delete</span>
</td>
</tr>
<?php
}
}
else {
?>
<tr>
<td class="paddtop13 text-center" colspan='9'>
No Record Found!
</td>
</tr>
<?php
}
?>
</tbody>
</table>
<div class="margintop20 col-md-6">
<!-- <button data-toggle="control-sidebar" class="btn btn-outline green btn-sm opo addressEdit opened active newsolidbtn mcfr" style="">Update</button> -->
</div>
<div class="col-md-6 margintop20 margintop14">
<?php echo $this->ajax_pagination->create_links(); ?>
</div>
<script type="text/javascript">
$(function() {
$('.counter').counterUp({
delay: 10,
separator: ',',
decimal: '.',
prefix: '',
suffix: '',
time: 1000
});
$('input[type="checkbox"].minimal, input[type="radio"].minimal').iCheck({
checkboxClass: 'icheckbox_minimal-blue',
radioClass: 'iradio_minimal-blue'
});
$('.select2').select2();
});
</script>