www
/
wwwroot
/
magazinmiorita.be
/
templates_c
➕ New
📤 Upload
✎ Editing:
76265f910256eb763f05ef2f90a0be538f5bfe05_0.file.order_recived.tpl.php
← Back
<?php /* Smarty version 4.3.2, created on 2023-12-09 07:55:25 from '/home/miorita/public_html/templates/default/order_recived.tpl' */ /* @var Smarty_Internal_Template $_smarty_tpl */ if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array ( 'version' => '4.3.2', 'unifunc' => 'content_65741d6d09a9f7_56714501', 'has_nocache_code' => false, 'file_dependency' => array ( '76265f910256eb763f05ef2f90a0be538f5bfe05' => array ( 0 => '/home/miorita/public_html/templates/default/order_recived.tpl', 1 => 1505424328, 2 => 'file', ), ), 'includes' => array ( 'file:header.tpl' => 1, 'file:footer.tpl' => 1, ), ),false)) { function content_65741d6d09a9f7_56714501 (Smarty_Internal_Template $_smarty_tpl) { $_smarty_tpl->_checkPlugins(array(0=>array('file'=>'/home/miorita/public_html/lib/smarty/plugins/modifier.date_format.php','function'=>'smarty_modifier_date_format',),1=>array('file'=>'/home/miorita/public_html/lib/smarty/plugins/modifier.data.php','function'=>'smarty_modifier_data',),2=>array('file'=>'/home/miorita/public_html/lib/smarty/plugins/modifier.price_format.php','function'=>'smarty_modifier_price_format',),)); $_smarty_tpl->_subTemplateRender("file:header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false); ?> <div class="breadcrumbs no-margin"> <div class="container"> <div class="row"> <div class="col-xs-12"> <nav> <ol class="breadcrumb"> <li><a href="<?php echo $_smarty_tpl->tpl_vars['virtualurl']->value;?> ">Pagina de start</a></li> <li><a href="<?php echo $_smarty_tpl->tpl_vars['virtualurl']->value;?> produse-romanesti">Produse</a></li> <li><a href="<?php echo $_smarty_tpl->tpl_vars['virtualurl']->value;?> procesare-plata">Procesare Plata</a></li> <li class="active">Plata Receptionata</li> </ol> </nav> </div> </div> </div> </div> <div class="woocommerce push-down-30"> <div class="container" style="min-height:500px"> <?php if ($_smarty_tpl->tpl_vars['message']->value) {?> <div class="woocommerce" style="margin:15px"> <div class="col-xs-12"> <p class="woocommerce-info"><?php echo $_smarty_tpl->tpl_vars['message']->value;?> </p> </div> </div> <?php }?> <?php if ($_smarty_tpl->tpl_vars['ok']->value == 'yes') {?> <h3><span class="light">Comanda</span> Efectuata</h3> <hr> <p>Multumim! Comanda dvs. a fost efectuata cu success.</p> <?php $_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['order']->value, 'ord'); $_smarty_tpl->tpl_vars['ord']->do_else = true; if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['ord']->value) { $_smarty_tpl->tpl_vars['ord']->do_else = false; ?> <ul class="order_details"> <li class="order"> Comanda nr.: <strong>#<?php echo $_smarty_tpl->tpl_vars['ord']->value['id'];?> </strong> </li> <li class="date"> Data: <strong><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['ord']->value['indate']);?> </strong> </li> <li class="total"> Total: <strong><span class="amount"><?php echo $_smarty_tpl->tpl_vars['ord']->value['amount'];?> </span></strong> </li> <li class="method"> Metoda de plata: <strong><?php echo $_smarty_tpl->tpl_vars['ord']->value['gateway'];?> </strong> </li> </ul> <br> <?php if ($_smarty_tpl->tpl_vars['ord']->value['gateway'] == 'PayPal') {?> <p><?php echo smarty_modifier_data('settings','label','paypal_instructions','value');?> </p> <?php } else { ?> <h2><span class="light">Informatii</span> livrare</h2> <p><?php echo smarty_modifier_data('settings','label','bank_instructions','value');?> </p> <?php }?> <h2><span class="light">Detalii</span> despre plata</h2> <table class="shop_table push-down-30"> <thead> <tr> <th class="product-name">Produs</th> <th class="product-total">Total</th> </tr> </thead> <tfoot> <tr class="cart-subtotal"> <th>Subtotal</th> <td><span class="amount"><?php echo $_smarty_tpl->tpl_vars['chsubtotal']->value;?> </span></td> </tr> <tr class="shipping"> <th>Taxe (<?php echo smarty_modifier_data('settings','label','tax','value');?> %)</th> <td><?php echo $_smarty_tpl->tpl_vars['tax']->value;?> </td> </tr> <tr class="total"> <th><strong>Livrare</strong></th> <td> <strong><span class="amount"><?php echo $_smarty_tpl->tpl_vars['shipp']->value;?> </span></strong> </td> </tr> <tr class="total"> <th><strong>Total</strong></th> <td> <strong><span class="amount"><?php echo $_smarty_tpl->tpl_vars['ord_chtotal']->value;?> </span></strong> </td> </tr> </tfoot> <tbody> <?php $_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['ord']->value['history'], 'prod'); $_smarty_tpl->tpl_vars['prod']->do_else = true; if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['prod']->value) { $_smarty_tpl->tpl_vars['prod']->do_else = false; ?> <tr class="checkout_table_item"> <td class="product-name"><?php echo smarty_modifier_data('products','id',$_smarty_tpl->tpl_vars['prod']->value['item_id'],'name');?> <strong class="product-quantity">x <?php echo $_smarty_tpl->tpl_vars['prod']->value['qt'];?> </strong><br> <strong>Weight:</strong> <?php echo $_smarty_tpl->tpl_vars['prod']->value['weight']; echo $_smarty_tpl->tpl_vars['prod']->value['type'];?> </td> <td class="product-total"><span class="amount"><?php echo smarty_modifier_price_format($_smarty_tpl->tpl_vars['prod']->value['amount']);?> </span></td> </tr> <?php } $_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?> </tbody> </table> <header class="title"> <h3><span class="light">Customer</span> details</h3> </header> <dl class="customer_details"> <dt>First Name:</dt> <dd><?php echo smarty_modifier_data('customers','id',$_smarty_tpl->tpl_vars['ord']->value['user_id'],'fname');?> </dd> <dt>Last Name:</dt> <dd><?php echo smarty_modifier_data('customers','id',$_smarty_tpl->tpl_vars['ord']->value['user_id'],'lname');?> </dd> <dt>Email:</dt> <dd><?php echo smarty_modifier_data('customers','id',$_smarty_tpl->tpl_vars['ord']->value['user_id'],'email');?> </dd> <dt>Phone:</dt> <dd><?php echo smarty_modifier_data('customers','id',$_smarty_tpl->tpl_vars['ord']->value['user_id'],'phone');?> </dd> </dl> <div class="row"> <div class="col-xs-12 col-sm-6"> <header class="title"> <h3><span class="light">Adresa</span> de resedinta</h3> </header> <address> <p> <?php echo smarty_modifier_data('customers','id',$_smarty_tpl->tpl_vars['ord']->value['user_id'],'address');?> , <?php echo smarty_modifier_data('customers','id',$_smarty_tpl->tpl_vars['ord']->value['user_id'],'zip');?> <?php echo smarty_modifier_data('customers','id',$_smarty_tpl->tpl_vars['ord']->value['user_id'],'city');?> </p> </address> </div> <div class="col-xs-12 col-sm-6"> <header class="title"> <h3><span class="light">Adresa</span> de livrare</h3> </header> <address> <p> <?php if (smarty_modifier_data('customers','id',$_smarty_tpl->tpl_vars['ord']->value['user_id'],'ship_address') == '') {?> <?php echo smarty_modifier_data('customers','id',$_smarty_tpl->tpl_vars['ord']->value['user_id'],'address');?> <?php } else { ?> <?php echo smarty_modifier_data('customers','id',$_smarty_tpl->tpl_vars['ord']->value['user_id'],'ship_address'); }?>, <?php if (smarty_modifier_data('customers','id',$_smarty_tpl->tpl_vars['ord']->value['user_id'],'ship_zip') == '') {?> <?php echo smarty_modifier_data('customers','id',$_smarty_tpl->tpl_vars['ord']->value['user_id'],'zip');?> <?php } else { ?> <?php echo smarty_modifier_data('customers','id',$_smarty_tpl->tpl_vars['ord']->value['user_id'],'ship_zip'); }?> <?php if (smarty_modifier_data('customers','id',$_smarty_tpl->tpl_vars['ord']->value['user_id'],'ship_city') == '') {?> <?php echo smarty_modifier_data('customers','id',$_smarty_tpl->tpl_vars['ord']->value['user_id'],'city');?> <?php } else { ?> <?php echo smarty_modifier_data('customers','id',$_smarty_tpl->tpl_vars['ord']->value['user_id'],'ship_city'); }?> </p> </address> </div> </div> <?php } $_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?> <hr class="divider"> <?php }?> </div> </div> <?php $_smarty_tpl->_subTemplateRender("file:footer.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false); } }
💾 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