%PDF-1.7 GIF89;
Server IP : 5.161.254.237 / Your IP : 216.73.216.162 Web Server : Apache System : Linux diamond.sialwebvps.com 4.18.0-553.8.1.el8_10.x86_64 #1 SMP Tue Jul 2 07:26:33 EDT 2024 x86_64 User : stellasp ( 1131) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/stellasp/www/application/views/admin/ |
Upload File : |
<?php //include('header.php'); ?> <?php defined('BASEPATH') OR exit('No direct script access allowed');?> <?php $this->load->view('backend/Common/Head'); ?> <?php $this->load->view('backend/Common/Header'); ?> <?php $this->load->view('backend/Common/Sidebar'); ?> <?php $this->load->view('backend/Common/Menu'); ?> <!-- page content --> <div class="right_col" role="main"> <div class=""> <div class="page-title"> <div class="title_left"> <h3>Orders <small>List </small></h3> </div> <div class="title_right"> <?php echo form_open($this->config->item('admin_folder').'/products/index' );?> <div class="col-md-6 col-sm-6 col-xs-12 form-group pull-right top_search"> <div class="input-group"> <input type="text" class="form-control" name="term" placeholder="<?php echo lang('search_term');?>" /> <span class="input-group-btn"> <button class="btn btn-default" name="submit" value="search"><?php echo lang('search')?></button> </span> </div> </div> </form> </div> </div> <div class="clearfix"></div> <?php echo form_open($this->config->item('admin_folder').'/orders/view/'.$order->id);?> <table class="table" cellspacing="0" cellpadding="0"> <thead> <tr> <th class="gc_cell_left"><?php echo lang('account_info');?></th> <th><?php echo lang('billing_address');?></th> <th class="gc_cell_right"><?php echo lang('shipping_address');?></th> </tr> </thead> <tbody> <tr> <td> <?php echo (!empty($order->company))?$order->company.'<br>':'';?> <?php echo $order->firstname;?> <?php echo $order->lastname;?> <br/> <?php echo $order->email;?> <br/> <?php echo $order->phone;?> </td> <td> <?php echo (!empty($order->bill_company))?$order->bill_company.'<br/>':'';?> <?php echo $order->bill_firstname.' '.$order->bill_lastname;?> <br/> <?php echo $order->bill_address1;?><br> <?php echo (!empty($order->bill_address2))?$order->bill_address2.'<br/>':'';?> <?php echo $order->bill_city.', '.$order->bill_zone.' '.$order->bill_zip;?><br/> <?php echo $order->bill_country;?><br/> <?php echo $order->bill_email;?><br/> <?php echo $order->bill_phone;?> </td> <td> <?php echo (!empty($order->ship_company))?$order->ship_company.'<br/>':'';?> <?php echo $order->ship_firstname.' '.$order->ship_lastname;?> <br/> <?php echo $order->ship_address1;?><br> <?php echo (!empty($order->ship_address2))?$order->ship_address2.'<br/>':'';?> <?php echo $order->ship_city.', '.$order->ship_zone.' '.$order->ship_zip;?><br/> <?php echo $order->ship_country;?><br/> <?php echo $order->ship_email;?><br/> <?php echo $order->ship_phone;?> </td> </tr> <tr> <td class="title"><?php echo lang('admin_notes');?></td> <td class="title"></td> <td class="title"><?php echo lang('status');?></td> </tr> <tr> <td colspan="2"> <textarea name="notes" style="width:100%;"><?php echo $order->notes;?></textarea> </td> <td> <?php echo form_dropdown('status', $this->config->item('order_statuses'), $order->status, 'class="form-control"'); ?><br/> <input type="submit" class="btn btn-default" value="<?php echo lang('update_order');?>"/> </td> </tr> </tbody> </table> </form> <table class="table" cellspacing="0" cellpadding="0" style="margin-top:10px;"> <thead> <tr> <th class="gc_cell_left"><?php echo lang('name');?></th> <th><?php echo "Picture";?></th> <th><?php echo lang('description');?></th> <th style="width:70px;"><?php echo lang('quantity');?></th> </tr> </thead> <tbody> <?php foreach($order->contents as $orderkey=>$product):?> <tr> <td> <?php echo $product['name'];?> <?php echo (trim($product['sku']) != '')?'<br/><small>'.lang('sku').': '.$product['sku'].'</small>':'';?> </td> <td> <?php $file_color = $product['product_color'];?> <img class="gc_thumbnail" src="<?php echo base_url('uploads/images/thumbnails/'.$file_color);?>"/> </td> <td> <?php //echo $product['excerpt'];?> <?php // Print options if(isset($product['options'])) { foreach($product['options'] as $name=>$value) { $name = explode('-', $name); $name = trim($name[0]); if(is_array($value)) { echo '<div>'.$name.':<br/>'; foreach($value as $item) { echo '- '.$item.'<br/>'; } echo "</div>"; } else { echo '<div>'.$name.': '.$value.'</div>'; } } } if(isset($product['gc_status'])) echo $product['gc_status']; ?> </td> <td style="text-align:center;"><?php echo $product['quantity'];?></td> </tr> <?php endforeach;?> </tbody> </table> <script> $('#notify').colorbox({ width: '550px', height: '600px', iframe: true }); </script> <!-- /page content --> <?php $this->load->view('backend/Common/Footer'); ?> </div> </div> <?php $this->load->view('backend/Common/Script'); ?>