www
/
wwwroot
/
magazinmiorita.be
/
clientarea
/
templates_c
➕ New
📤 Upload
✎ Editing:
b5e5d90ab876634ec6a6f26d278852453fbec369.file.order_details.tpl.php
← Back
<?php /* Smarty version Smarty-3.1.18, created on 2015-04-18 17:29:37 compiled from "/home/zonecoders/public_html/project/agrile/clientarea/templates/default/order_details.tpl" */ ?> <?php /*%%SmartyHeaderCode:195983866755329481aef7c3-01302190%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed'); $_valid = $_smarty_tpl->decodeProperties(array ( 'file_dependency' => array ( 'b5e5d90ab876634ec6a6f26d278852453fbec369' => array ( 0 => '/home/zonecoders/public_html/project/agrile/clientarea/templates/default/order_details.tpl', 1 => 1429043146, 2 => 'file', ), ), 'nocache_hash' => '195983866755329481aef7c3-01302190', 'function' => array ( ), 'variables' => array ( 'clientpath' => 0, 'orders' => 0, 'ord' => 0, 'prd' => 0, 'chsubtotal' => 0, 'tax' => 0, 'chtotal' => 0, ), 'has_nocache_code' => false, 'version' => 'Smarty-3.1.18', 'unifunc' => 'content_55329481b3cf48_06913144', ),false); /*/%%SmartyHeaderCode%%*/?> <?php if ($_valid && !is_callable('content_55329481b3cf48_06913144')) {function content_55329481b3cf48_06913144($_smarty_tpl) {?><?php if (!is_callable('smarty_modifier_data')) include '/home/zonecoders/public_html/project/agrile/lib/smarty/plugins/modifier.data.php'; if (!is_callable('smarty_modifier_price_format')) include '/home/zonecoders/public_html/project/agrile/lib/smarty/plugins/modifier.price_format.php'; if (!is_callable('smarty_modifier_date_format')) include '/home/zonecoders/public_html/project/agrile/lib/smarty/plugins/modifier.date_format.php'; ?><?php echo $_smarty_tpl->getSubTemplate (((string)$_smarty_tpl->tpl_vars['clientpath']->value)."header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?> <div class="main"> <div class="main-inner"> <div class="container"> <div class="row"> <div class="span12"> <div class="widget "> <div class="widget-header"> <i class="icon-list-ul"></i> <h3>Order Details</h3> </div> <!-- /widget-header --> <div class="widget-content"> <div class="tabbable"> <br> <div class="tab-content"> <div class="tab-pane active" id="formcontrols"> <form id="edit-profile" class="form-horizontal"> <?php $_smarty_tpl->tpl_vars['ord'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['ord']->_loop = false; $_from = $_smarty_tpl->tpl_vars['orders']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} foreach ($_from as $_smarty_tpl->tpl_vars['ord']->key => $_smarty_tpl->tpl_vars['ord']->value) { $_smarty_tpl->tpl_vars['ord']->_loop = true; ?> <fieldset> <table class="table table-striped table-bordered"> <thead> <tr> <th width="50"> Quantity </th> <th> Name </th> <th> Weight </th> <th> Price </th> <th> Tax </th> <th> Total</th> </tr> </thead> <tbody> <?php $_smarty_tpl->tpl_vars['prd'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['prd']->_loop = false; $_from = $_smarty_tpl->tpl_vars['ord']->value['history']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} foreach ($_from as $_smarty_tpl->tpl_vars['prd']->key => $_smarty_tpl->tpl_vars['prd']->value) { $_smarty_tpl->tpl_vars['prd']->_loop = true; ?> <tr> <td> <?php echo $_smarty_tpl->tpl_vars['prd']->value['qt'];?> </td> <td> <a href="../product_details.php?id=<?php echo $_smarty_tpl->tpl_vars['prd']->value['item_id'];?> "><?php echo smarty_modifier_data('products','id',$_smarty_tpl->tpl_vars['prd']->value['item_id'],'name');?> </a> </td> <td> <?php echo $_smarty_tpl->tpl_vars['prd']->value['weight'];?> <?php echo $_smarty_tpl->tpl_vars['prd']->value['type'];?> </td> <td> <?php echo smarty_modifier_price_format($_smarty_tpl->tpl_vars['prd']->value['price']);?> </td> <td> <?php echo $_smarty_tpl->tpl_vars['prd']->value['price_tax'];?> </td> <td> <?php echo smarty_modifier_price_format($_smarty_tpl->tpl_vars['prd']->value['amount']);?> </td> </tr> <?php } ?> </tbody> </table> <div class="control-group" style="margin-bottom: 0px;"> <label class="control-label" for="firstname" style="border:1px solid #ccc;padding:5px;background-color:#f9f9f9">Paid via</label> <div class="controls" style="margin-left: 155px;"> <div style="border:1px solid #ccc;padding:3px"><?php echo $_smarty_tpl->tpl_vars['ord']->value['gateway'];?> </div> </div> <!-- /controls --> </div> <!-- /control-group --> <div class="control-group" style="margin-bottom: 0px;"> <label class="control-label" for="firstname" style="border:1px solid #ccc;padding:5px;background-color:#f9f9f9">Order Date</label> <div class="controls" style="margin-left: 155px;"> <div style="border:1px solid #ccc;padding:3px"><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['ord']->value['indate']);?> </div> </div> <!-- /controls --> </div> <!-- /control-group --> <div class="control-group" style="margin-bottom: 0px;"> <label class="control-label" for="firstname" style="border:1px solid #ccc;padding:5px;background-color:#f9f9f9">Instructions to seller</label> <div class="controls" style="margin-left: 155px;"> <div style="border:1px solid #ccc;padding:3px"><?php if ($_smarty_tpl->tpl_vars['ord']->value['notes']=='') {?>No Instructions<?php } else { ?><?php echo $_smarty_tpl->tpl_vars['ord']->value['notes'];?> <?php }?></div> </div> <!-- /controls --> </div> <!-- /control-group --> <div class="control-group" style="margin-bottom: 0px;"> <label class="control-label" for="firstname" style="border:1px solid #ccc;padding:5px;background-color:#f9f9f9">Order Status</label> <div class="controls" style="margin-left: 155px;"> <div style="border:1px solid #ccc;padding:3px"> <?php if ($_smarty_tpl->tpl_vars['ord']->value['status']==0) {?> <span style="color:orange">Pending</span> <?php } elseif ($_smarty_tpl->tpl_vars['ord']->value['status']==1) {?> <span style="color:green">Completed</span> <?php } elseif ($_smarty_tpl->tpl_vars['ord']->value['status']==2) {?> <span style="color:#888">Canceled</span> <?php }?> </div> </div> <!-- /controls --> </div> <!-- /control-group --> <div class="control-group" style="margin-bottom: 0px;"> <label class="control-label" for="firstname" style="border:1px solid #ccc;padding:5px;background-color:#f9f9f9">Payment Status</label> <div class="controls" style="margin-left: 155px;"> <div style="border:1px solid #ccc;padding:3px"> <?php if (smarty_modifier_data('tranzactions','order_id',$_smarty_tpl->tpl_vars['ord']->value['id'],'status')=='0') {?> <span style="color:orange">Unpaid</span> <?php } elseif (smarty_modifier_data('tranzactions','order_id',$_smarty_tpl->tpl_vars['ord']->value['id'],'status')=='1') {?> <span style="color:green">Paid</span> <?php } elseif (smarty_modifier_data('tranzactions','order_id',$_smarty_tpl->tpl_vars['ord']->value['id'],'status')=='2') {?> <span style="color:#888">Canceled</span> <?php } else { ?> <span style="color:#888">No tranzaction found</span> <?php }?> </div> </div> <!-- /controls --> </div> <!-- /control-group --> <br /><br /> <div class="control-group" style="margin-bottom: 0px;"> <label class="control-label" for="firstname" style="border:1px solid #ccc;padding:5px;background-color:#f9f9f9">Order Subtotal</label> <div class="controls" style="margin-left: 155px;"> <div style="border:1px solid #ccc;padding:3px"><?php echo $_smarty_tpl->tpl_vars['chsubtotal']->value;?> </div> </div> <!-- /controls --> </div> <!-- /control-group --> <div class="control-group" style="margin-bottom: 0px;"> <label class="control-label" for="firstname" style="border:1px solid #ccc;padding:5px;background-color:#f9f9f9">Tax (<?php echo smarty_modifier_data('settings','label','tax','value');?> %)</label> <div class="controls" style="margin-left: 155px;"> <div style="border:1px solid #ccc;padding:3px"><?php echo $_smarty_tpl->tpl_vars['tax']->value;?> </div> </div> <!-- /controls --> </div> <!-- /control-group --> <div class="control-group" style="margin-bottom: 0px;"> <label class="control-label" for="firstname" style="border:1px solid #ccc;padding:5px;background-color:#f9f9f9">Total</label> <div class="controls" style="margin-left: 155px;"> <div style="border:1px solid #ccc;padding:3px"><?php echo $_smarty_tpl->tpl_vars['chtotal']->value;?> </div> </div> <!-- /controls --> </div> <!-- /control-group --> <!-- <div class="form-actions"> <button type="submit" class="btn btn-primary">View Invoice</button> </div> <!-- /form-actions --> </fieldset> <?php } ?> </form> </div> </div> </div> </div> <!-- /widget-content --> </div> <!-- /widget --> </div> <!-- /span8 --> </div> <!-- /row --> </div> <!-- /container --> </div> <!-- /main-inner --> </div> <!-- /main --> <?php echo $_smarty_tpl->getSubTemplate (((string)$_smarty_tpl->tpl_vars['clientpath']->value)."footer.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?> <?php }} ?>
💾 Save Changes
Cancel
📤 Upload File
×
Select File
Upload
Cancel
➕ Create New
×
Type
📄 File
📁 Folder
Name
Create
Cancel
✎ Rename Item
×
Current Name
New Name
Rename
Cancel
🔐 Change Permissions
×
Target File
Permission (e.g., 0755, 0644)
0755
0644
0777
Apply
Cancel