0byt3m1n1 - D7net
0byt3m1n1 - D7net
Path:
/
home
/
s13cf5ef
/
www
/
pshoptuscamisetaspersonalizadas
/
cache
/
smarty
/
compile
/
c1
/
52
/
91
/
[
Home
]
Name File: c15291a9ec732db1fff67a91d39c7c65edb33c12.file.order-opc-carrier.tpl.php
< back
<?php /* Smarty version Smarty-3.1.13, created on 2013-07-23 13:17:56 compiled from "/home/s13cf5ef/public_html/pshoptuscamisetaspersonalizadas/themes/default/mobile/order-opc-carrier.tpl" */ ?> <?php /*%%SmartyHeaderCode:191775356651ee66645afcf6-13656552%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed'); $_valid = $_smarty_tpl->decodeProperties(array ( 'file_dependency' => array ( 'c15291a9ec732db1fff67a91d39c7c65edb33c12' => array ( 0 => '/home/s13cf5ef/public_html/pshoptuscamisetaspersonalizadas/themes/default/mobile/order-opc-carrier.tpl', 1 => 1369705053, 2 => 'file', ), ), 'nocache_hash' => '191775356651ee66645afcf6-13656552', 'function' => array ( ), 'variables' => array ( 'currencySign' => 0, 'currencyRate' => 0, 'currencyFormat' => 0, 'currencyBlank' => 0, 'link' => 0, 'delivery_option_list' => 0, 'option_list' => 0, 'id_address' => 0, 'opc' => 0, 'key' => 0, 'delivery_option' => 0, 'option' => 0, 'carrier' => 0, 'free_shipping' => 0, 'use_taxes' => 0, 'cookie' => 0, 'product' => 0, 'recyclable' => 0, 'giftAllowed' => 0, 'cart' => 0, 'gift_wrapping_price' => 0, 'priceDisplay' => 0, 'total_wrapping_tax_exc_cost' => 0, 'total_wrapping_cost' => 0, 'checkedTOS' => 0, 'link_conditions' => 0, ), 'has_nocache_code' => false, 'version' => 'Smarty-3.1.13', 'unifunc' => 'content_51ee66648733f9_85697998', ),false); /*/%%SmartyHeaderCode%%*/?> <?php if ($_valid && !is_callable('content_51ee66648733f9_85697998')) {function content_51ee66648733f9_85697998($_smarty_tpl) {?><?php if (!is_callable('smarty_modifier_escape')) include '/home/s13cf5ef/public_html/pshoptuscamisetaspersonalizadas/tools/smarty/plugins/modifier.escape.php'; ?> <?php $_smarty_tpl->_capture_stack[0][] = array('default', 'page_title', null); ob_start(); ?><?php echo smartyTranslate(array('s'=>'Shipping:'),$_smarty_tpl);?> <?php list($_capture_buffer, $_capture_assign, $_capture_append) = array_pop($_smarty_tpl->_capture_stack[0]); if (!empty($_capture_buffer)) { if (isset($_capture_assign)) $_smarty_tpl->assign($_capture_assign, ob_get_contents()); if (isset( $_capture_append)) $_smarty_tpl->append( $_capture_append, ob_get_contents()); Smarty::$_smarty_vars['capture'][$_capture_buffer]=ob_get_clean(); } else $_smarty_tpl->capture_error();?> <?php echo $_smarty_tpl->getSubTemplate ('./page-title.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?> <script type="text/javascript"> // <![CDATA[ var orderProcess = 'order'; var currencySign = '<?php echo html_entity_decode($_smarty_tpl->tpl_vars['currencySign']->value,2,"UTF-8");?> '; var currencyRate = '<?php echo floatval($_smarty_tpl->tpl_vars['currencyRate']->value);?> '; var currencyFormat = '<?php echo intval($_smarty_tpl->tpl_vars['currencyFormat']->value);?> '; var currencyBlank = '<?php echo intval($_smarty_tpl->tpl_vars['currencyBlank']->value);?> '; var txtProduct = "<?php echo smartyTranslate(array('s'=>'product','js'=>1),$_smarty_tpl);?> "; var txtProducts = "<?php echo smartyTranslate(array('s'=>'products','js'=>1),$_smarty_tpl);?> "; var orderUrl = '<?php echo $_smarty_tpl->tpl_vars['link']->value->getPageLink("order",true);?> '; var msg = "<?php echo smartyTranslate(array('s'=>'You must agree to the terms of service before continuing.','js'=>1),$_smarty_tpl);?> "; function acceptCGV() { if ($('#cgv').length && !$('input#cgv:checked').length) { alert(msg); return false; } else return true; } //]]> </script> <div data-role="content" id="delivery_choose"> <h3 class="bg"><?php echo smartyTranslate(array('s'=>'Choose your delivery method'),$_smarty_tpl);?> </h3> <fieldset data-role="controlgroup"> <?php if (isset($_smarty_tpl->tpl_vars['delivery_option_list']->value)){?> <?php $_smarty_tpl->tpl_vars['option_list'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['option_list']->_loop = false; $_smarty_tpl->tpl_vars['id_address'] = new Smarty_Variable; $_from = $_smarty_tpl->tpl_vars['delivery_option_list']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} foreach ($_from as $_smarty_tpl->tpl_vars['option_list']->key => $_smarty_tpl->tpl_vars['option_list']->value){ $_smarty_tpl->tpl_vars['option_list']->_loop = true; $_smarty_tpl->tpl_vars['id_address']->value = $_smarty_tpl->tpl_vars['option_list']->key; ?> <?php $_smarty_tpl->tpl_vars['option'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['option']->_loop = false; $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable; $_from = $_smarty_tpl->tpl_vars['option_list']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} $_smarty_tpl->tpl_vars['option']->index=-1; foreach ($_from as $_smarty_tpl->tpl_vars['option']->key => $_smarty_tpl->tpl_vars['option']->value){ $_smarty_tpl->tpl_vars['option']->_loop = true; $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['option']->key; $_smarty_tpl->tpl_vars['option']->index++; ?> <div class="delivery_option <?php if (($_smarty_tpl->tpl_vars['option']->index%2)){?>alternate_<?php }?>item"> <input class="delivery_option_radio" type="radio" name="delivery_option[<?php echo $_smarty_tpl->tpl_vars['id_address']->value;?> ]" onchange="<?php if ($_smarty_tpl->tpl_vars['opc']->value){?>updateCarrierSelectionAndGift();<?php }else{ ?>updateExtraCarrier('<?php echo $_smarty_tpl->tpl_vars['key']->value;?> ', <?php echo $_smarty_tpl->tpl_vars['id_address']->value;?> );<?php }?>" id="delivery_option_<?php echo $_smarty_tpl->tpl_vars['id_address']->value;?> _<?php echo $_smarty_tpl->tpl_vars['option']->index;?> " value="<?php echo $_smarty_tpl->tpl_vars['key']->value;?> " <?php if (isset($_smarty_tpl->tpl_vars['delivery_option']->value[$_smarty_tpl->tpl_vars['id_address']->value])&&$_smarty_tpl->tpl_vars['delivery_option']->value[$_smarty_tpl->tpl_vars['id_address']->value]==$_smarty_tpl->tpl_vars['key']->value){?>checked="checked"<?php }?> /> <label for="delivery_option_<?php echo $_smarty_tpl->tpl_vars['id_address']->value;?> _<?php echo $_smarty_tpl->tpl_vars['option']->index;?> "> <div class="ui-grid-a"> <span class="resume ui-block-a"> <div class="ui-grid-b"> <p class="delivery_option_logo ui-block-a"> <?php $_smarty_tpl->tpl_vars['carrier'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['carrier']->_loop = false; $_from = $_smarty_tpl->tpl_vars['option']->value['carrier_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} $_smarty_tpl->tpl_vars['carrier']->total= $_smarty_tpl->_count($_from); $_smarty_tpl->tpl_vars['carrier']->iteration=0; foreach ($_from as $_smarty_tpl->tpl_vars['carrier']->key => $_smarty_tpl->tpl_vars['carrier']->value){ $_smarty_tpl->tpl_vars['carrier']->_loop = true; $_smarty_tpl->tpl_vars['carrier']->iteration++; $_smarty_tpl->tpl_vars['carrier']->last = $_smarty_tpl->tpl_vars['carrier']->iteration === $_smarty_tpl->tpl_vars['carrier']->total; ?> <?php if ($_smarty_tpl->tpl_vars['carrier']->value['logo']){?> <img src="<?php echo $_smarty_tpl->tpl_vars['carrier']->value['logo'];?> " alt="<?php echo $_smarty_tpl->tpl_vars['carrier']->value['instance']->name;?> "/> <?php }elseif(!$_smarty_tpl->tpl_vars['option']->value['unique_carrier']){?> <?php echo $_smarty_tpl->tpl_vars['carrier']->value['instance']->name;?> <?php if (!$_smarty_tpl->tpl_vars['carrier']->last){?> - <?php }?> <?php }?> <?php } ?> </p> <div class="ui-block-b" style="padding-left:4px;"> <?php if ($_smarty_tpl->tpl_vars['option']->value['unique_carrier']){?> <?php $_smarty_tpl->tpl_vars['carrier'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['carrier']->_loop = false; $_from = $_smarty_tpl->tpl_vars['option']->value['carrier_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} $_smarty_tpl->tpl_vars['carrier']->total= $_smarty_tpl->_count($_from); $_smarty_tpl->tpl_vars['carrier']->iteration=0; foreach ($_from as $_smarty_tpl->tpl_vars['carrier']->key => $_smarty_tpl->tpl_vars['carrier']->value){ $_smarty_tpl->tpl_vars['carrier']->_loop = true; $_smarty_tpl->tpl_vars['carrier']->iteration++; $_smarty_tpl->tpl_vars['carrier']->last = $_smarty_tpl->tpl_vars['carrier']->iteration === $_smarty_tpl->tpl_vars['carrier']->total; ?> <div class="delivery_option_title"><?php echo $_smarty_tpl->tpl_vars['carrier']->value['instance']->name;?> </div> <?php } ?> <?php }?> </div> <div class="ui-block-c"> <div class="delivery_option_price"> <?php if ($_smarty_tpl->tpl_vars['option']->value['total_price_with_tax']&&!$_smarty_tpl->tpl_vars['free_shipping']->value){?> <?php if ($_smarty_tpl->tpl_vars['use_taxes']->value==1){?> <?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['convertPrice'][0][0]->convertPrice(array('price'=>$_smarty_tpl->tpl_vars['option']->value['total_price_with_tax']),$_smarty_tpl);?> <?php echo smartyTranslate(array('s'=>'(tax incl.)'),$_smarty_tpl);?> <?php }else{ ?> <?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['convertPrice'][0][0]->convertPrice(array('price'=>$_smarty_tpl->tpl_vars['option']->value['total_price_without_tax']),$_smarty_tpl);?> <?php echo smartyTranslate(array('s'=>'(tax excl.)'),$_smarty_tpl);?> <?php }?> <?php }else{ ?> <?php echo smartyTranslate(array('s'=>'Free'),$_smarty_tpl);?> <?php }?> </div> </div> </div> </span> <span class="delivery_option_carrier_desc ui-block-b <?php if (isset($_smarty_tpl->tpl_vars['delivery_option']->value[$_smarty_tpl->tpl_vars['id_address']->value])&&$_smarty_tpl->tpl_vars['delivery_option']->value[$_smarty_tpl->tpl_vars['id_address']->value]==$_smarty_tpl->tpl_vars['key']->value){?>selected<?php }?> <?php if ($_smarty_tpl->tpl_vars['option']->value['unique_carrier']){?>not-displayable<?php }?>"> <?php $_smarty_tpl->tpl_vars['carrier'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['carrier']->_loop = false; $_from = $_smarty_tpl->tpl_vars['option']->value['carrier_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} $_smarty_tpl->tpl_vars['carrier']->total= $_smarty_tpl->_count($_from); $_smarty_tpl->tpl_vars['carrier']->iteration=0; foreach ($_from as $_smarty_tpl->tpl_vars['carrier']->key => $_smarty_tpl->tpl_vars['carrier']->value){ $_smarty_tpl->tpl_vars['carrier']->_loop = true; $_smarty_tpl->tpl_vars['carrier']->iteration++; $_smarty_tpl->tpl_vars['carrier']->last = $_smarty_tpl->tpl_vars['carrier']->iteration === $_smarty_tpl->tpl_vars['carrier']->total; ?> <tr> <?php if (!$_smarty_tpl->tpl_vars['option']->value['unique_carrier']){?> <td class="first_item"> <input type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['carrier']->value['instance']->id;?> " name="id_carrier" /> <?php if ($_smarty_tpl->tpl_vars['carrier']->value['logo']){?> <img src="<?php echo $_smarty_tpl->tpl_vars['carrier']->value['logo'];?> " alt="<?php echo $_smarty_tpl->tpl_vars['carrier']->value['instance']->name;?> "/> <?php }?> </td> <td> <?php echo $_smarty_tpl->tpl_vars['carrier']->value['instance']->name;?> </td> <?php }?> <td <?php if ($_smarty_tpl->tpl_vars['option']->value['unique_carrier']){?>class="first_item" colspan="2"<?php }?>> <input type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['carrier']->value['instance']->id;?> " name="id_carrier" /> <?php if (isset($_smarty_tpl->tpl_vars['carrier']->value['instance']->delay[$_smarty_tpl->tpl_vars['cookie']->value->id_lang])){?> <?php echo $_smarty_tpl->tpl_vars['carrier']->value['instance']->delay[$_smarty_tpl->tpl_vars['cookie']->value->id_lang];?> <br /> <?php if (count($_smarty_tpl->tpl_vars['carrier']->value['product_list'])<=1){?> (<?php echo smartyTranslate(array('s'=>'Product concerned:'),$_smarty_tpl);?> <?php }else{ ?> (<?php echo smartyTranslate(array('s'=>'Products concerned:'),$_smarty_tpl);?> <?php }?> <?php $_smarty_tpl->tpl_vars['product'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['product']->_loop = false; $_from = $_smarty_tpl->tpl_vars['carrier']->value['product_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} $_smarty_tpl->tpl_vars['product']->total= $_smarty_tpl->_count($_from); $_smarty_tpl->tpl_vars['product']->iteration=0; $_smarty_tpl->tpl_vars['product']->index=-1; foreach ($_from as $_smarty_tpl->tpl_vars['product']->key => $_smarty_tpl->tpl_vars['product']->value){ $_smarty_tpl->tpl_vars['product']->_loop = true; $_smarty_tpl->tpl_vars['product']->iteration++; $_smarty_tpl->tpl_vars['product']->index++; $_smarty_tpl->tpl_vars['product']->last = $_smarty_tpl->tpl_vars['product']->iteration === $_smarty_tpl->tpl_vars['product']->total; ?> <?php if ($_smarty_tpl->tpl_vars['product']->index==4){?><acronym title="<?php }?><?php if ($_smarty_tpl->tpl_vars['product']->index>=4){?><?php echo $_smarty_tpl->tpl_vars['product']->value['name'];?> <?php if (!$_smarty_tpl->tpl_vars['product']->last){?>, <?php }else{ ?>">...</acronym>)<?php }?><?php }else{ ?><?php echo $_smarty_tpl->tpl_vars['product']->value['name'];?> <?php if (!$_smarty_tpl->tpl_vars['product']->last){?>, <?php }else{ ?>)<?php }?><?php }?><?php } ?> <?php }?> </td> </tr> <?php } ?> </span> </div> </label> </div> <?php } ?> <?php } ?> <?php }?> </fieldset> <fieldset data-role="fieldcontain"> <input type="checkbox" name="same" id="recyclable" value="1" class="delivery_option_radio" <?php if ($_smarty_tpl->tpl_vars['recyclable']->value==1){?>checked="checked"<?php }?> /> <label for="recyclable"><?php echo smartyTranslate(array('s'=>'I agree to receive my order in recycled packaging'),$_smarty_tpl);?> .</label> </fieldset> <?php if ($_smarty_tpl->tpl_vars['giftAllowed']->value){?> <h3 class="gift_title"><?php echo smartyTranslate(array('s'=>'Gift'),$_smarty_tpl);?> </h3> <p class="checkbox"> <input type="checkbox" name="gift" id="gift" value="1" <?php if ($_smarty_tpl->tpl_vars['cart']->value->gift==1){?>checked="checked"<?php }?> /> <label for="gift"><?php echo smartyTranslate(array('s'=>'I would like my order to be gift wrapped.'),$_smarty_tpl);?> </label> <br /> <?php if ($_smarty_tpl->tpl_vars['gift_wrapping_price']->value>0){?> (<?php echo smartyTranslate(array('s'=>'Additional cost of'),$_smarty_tpl);?> <span class="price" id="gift-price"> <?php if ($_smarty_tpl->tpl_vars['priceDisplay']->value==1){?><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['convertPrice'][0][0]->convertPrice(array('price'=>$_smarty_tpl->tpl_vars['total_wrapping_tax_exc_cost']->value),$_smarty_tpl);?> <?php }else{ ?><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['convertPrice'][0][0]->convertPrice(array('price'=>$_smarty_tpl->tpl_vars['total_wrapping_cost']->value),$_smarty_tpl);?> <?php }?> </span> <?php if ($_smarty_tpl->tpl_vars['use_taxes']->value){?><?php if ($_smarty_tpl->tpl_vars['priceDisplay']->value==1){?> <?php echo smartyTranslate(array('s'=>'(tax excl.)'),$_smarty_tpl);?> <?php }else{ ?> <?php echo smartyTranslate(array('s'=>'(tax incl.)'),$_smarty_tpl);?> <?php }?><?php }?>) <?php }?> </p> <p id="gift_div" class="textarea"> <label for="gift_message"><?php echo smartyTranslate(array('s'=>'If you\'d like, you can add a note to the gift:'),$_smarty_tpl);?> </label> <textarea rows="5" cols="35" id="gift_message" name="gift_message"><?php echo smarty_modifier_escape($_smarty_tpl->tpl_vars['cart']->value->gift_message, 'htmlall', 'UTF-8');?> </textarea> </p> <?php }?> <h3 class="bg"><?php echo smartyTranslate(array('s'=>'Terms of service'),$_smarty_tpl);?> </h3> <fieldset data-role="fieldcontain" id="cgv_checkbox"> <input type="checkbox" value="1" id="cgv" name="cgv" <?php if ($_smarty_tpl->tpl_vars['checkedTOS']->value){?>checked="checked"<?php }?> /> <label for="cgv"><?php echo smartyTranslate(array('s'=>'I agree to the terms of service and will adhere to them unconditionally.'),$_smarty_tpl);?> </label> </fieldset> <p class="lnk_CGV"><a href="<?php echo $_smarty_tpl->tpl_vars['link_conditions']->value;?> " data-ajax="false"><?php echo smartyTranslate(array('s'=>'(Read Terms of Service)'),$_smarty_tpl);?> </a></p> </div> <?php }} ?>
©
2018. | Recode by D7net