function content_55d2f40306aca5_04829265($_smarty_tpl) { ?> <tr> <td colspan="2" class="form-title"><?php echo ($tmp = @$_smarty_tpl->tpl_vars['title']->value) === null || $tmp === '' ? " " : $tmp; ?> <hr size="1" noshade="noshade" /></td> </tr> <?php $_smarty_tpl->tpl_vars['field'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['field']->_loop = false; $_from = $_smarty_tpl->tpl_vars['fields']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars['field']->key => $_smarty_tpl->tpl_vars['field']->value) { $_smarty_tpl->tpl_vars['field']->_loop = true; $_smarty_tpl->tpl_vars["value"] = new Smarty_variable(fn_get_profile_field_value($_smarty_tpl->tpl_vars['user_data']->value, $_smarty_tpl->tpl_vars['field']->value), null, 0); if ($_smarty_tpl->tpl_vars['value']->value) { ?> <tr> <td class="form-field-caption" width="30%" nowrap="nowrap"><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['field']->value['description'], ENT_QUOTES, 'UTF-8'); ?> : </td> <td> <?php echo htmlspecialchars(($tmp = @$_smarty_tpl->tpl_vars['value']->value) === null || $tmp === '' ? "-" : $tmp, ENT_QUOTES, 'UTF-8'); ?> </td> </tr> <?php } } }
function content_55d73f8b738631_87844222($_smarty_tpl) { if (!is_callable('smarty_function_set_id')) { include '/home/coriolan/public_html/lead/app/functions/smarty_plugins/function.set_id.php'; } if ($_smarty_tpl->tpl_vars['runtime']->value['customization_mode']['design'] == "Y" && @constant('AREA') == "C") { $_smarty_tpl->_capture_stack[0][] = array("template_content", null, null); ob_start(); ?> <tr> <td colspan="2" class="form-title"><?php echo htmlspecialchars(($tmp = @$_smarty_tpl->tpl_vars['title']->value) === null || $tmp === '' ? " " : $tmp, ENT_QUOTES, 'UTF-8'); ?> <hr size="1" noshade="noshade" /></td> </tr> <?php $_smarty_tpl->tpl_vars['field'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['field']->_loop = false; $_from = $_smarty_tpl->tpl_vars['fields']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars['field']->key => $_smarty_tpl->tpl_vars['field']->value) { $_smarty_tpl->tpl_vars['field']->_loop = true; $_smarty_tpl->tpl_vars["value"] = new Smarty_variable(fn_get_profile_field_value($_smarty_tpl->tpl_vars['user_data']->value, $_smarty_tpl->tpl_vars['field']->value), null, 0); if ($_smarty_tpl->tpl_vars['value']->value) { ?> <tr> <td class="form-field-caption" width="30%" nowrap="nowrap"><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['field']->value['description'], ENT_QUOTES, 'UTF-8'); ?> : </td> <td> <?php echo htmlspecialchars(($tmp = @$_smarty_tpl->tpl_vars['value']->value) === null || $tmp === '' ? "-" : $tmp, ENT_QUOTES, 'UTF-8'); ?> </td> </tr> <?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(); } if (trim(Smarty::$_smarty_vars['capture']['template_content'])) { if ($_smarty_tpl->tpl_vars['auth']->value['area'] == "A") { ?> <span class="cm-template-box template-box" data-ca-te-template="profiles/profile_fields_info.tpl" id="<?php echo smarty_function_set_id(array('name' => "profiles/profile_fields_info.tpl"), $_smarty_tpl); ?> "><div class="cm-template-icon icon-edit ty-icon-edit hidden"></div><?php echo Smarty::$_smarty_vars['capture']['template_content']; ?> <!--[/tpl_id]--></span><?php } else { echo Smarty::$_smarty_vars['capture']['template_content']; } } } else { ?> <tr> <td colspan="2" class="form-title"><?php echo htmlspecialchars(($tmp = @$_smarty_tpl->tpl_vars['title']->value) === null || $tmp === '' ? " " : $tmp, ENT_QUOTES, 'UTF-8'); ?> <hr size="1" noshade="noshade" /></td> </tr> <?php $_smarty_tpl->tpl_vars['field'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['field']->_loop = false; $_from = $_smarty_tpl->tpl_vars['fields']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars['field']->key => $_smarty_tpl->tpl_vars['field']->value) { $_smarty_tpl->tpl_vars['field']->_loop = true; $_smarty_tpl->tpl_vars["value"] = new Smarty_variable(fn_get_profile_field_value($_smarty_tpl->tpl_vars['user_data']->value, $_smarty_tpl->tpl_vars['field']->value), null, 0); if ($_smarty_tpl->tpl_vars['value']->value) { ?> <tr> <td class="form-field-caption" width="30%" nowrap="nowrap"><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['field']->value['description'], ENT_QUOTES, 'UTF-8'); ?> : </td> <td> <?php echo htmlspecialchars(($tmp = @$_smarty_tpl->tpl_vars['value']->value) === null || $tmp === '' ? "-" : $tmp, ENT_QUOTES, 'UTF-8'); ?> </td> </tr> <?php } } } }
function content_55d5c75939e205_26618730($_smarty_tpl) { $_smarty_tpl->tpl_vars["first_field"] = new Smarty_variable(true, null, 0); ?> <p> <?php $_smarty_tpl->tpl_vars['field'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['field']->_loop = false; $_from = $_smarty_tpl->tpl_vars['fields']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars['field']->key => $_smarty_tpl->tpl_vars['field']->value) { $_smarty_tpl->tpl_vars['field']->_loop = true; ?> <?php if (!$_smarty_tpl->tpl_vars['field']->value['field_name']) { ?> <?php $_smarty_tpl->tpl_vars["value"] = new Smarty_variable(fn_get_profile_field_value($_smarty_tpl->tpl_vars['user_data']->value, $_smarty_tpl->tpl_vars['field']->value), null, 0); ?> <?php if ($_smarty_tpl->tpl_vars['customer_info']->value) { ?> <?php if (!$_smarty_tpl->tpl_vars['first_field']->value) { ?> , <?php } ?> <span class="additional-fields"> <?php } else { ?> <div class="control-group"> <?php } ?> <?php $_smarty_tpl->tpl_vars["first_field"] = new Smarty_variable(false, null, 0); ?> <label><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['field']->value['description'], ENT_QUOTES, 'UTF-8'); ?> :</label> <?php echo htmlspecialchars(($tmp = @$_smarty_tpl->tpl_vars['value']->value) === null || $tmp === '' ? "-" : $tmp, ENT_QUOTES, 'UTF-8'); ?> <?php if ($_smarty_tpl->tpl_vars['customer_info']->value) { ?> </span> <?php } else { ?> </div> <?php } ?> <?php } } ?> </p><?php }
function content_55d2f363d17ad1_09586894($_smarty_tpl) { if (!is_callable('smarty_modifier_replace')) { include '/home/coriolan/public_html/lead/app/lib/other/smarty/plugins/modifier.replace.php'; } if (!is_callable('smarty_function_set_id')) { include '/home/coriolan/public_html/lead/app/functions/smarty_plugins/function.set_id.php'; } fn_preload_lang_vars(array('billing_address', 'shipping_address', 'shipping_method', 'billing_address', 'shipping_address', 'shipping_method')); if ($_smarty_tpl->tpl_vars['runtime']->value['customization_mode']['design'] == "Y" && @constant('AREA') == "C") { $_smarty_tpl->_capture_stack[0][] = array("template_content", null, null); ob_start(); if ($_smarty_tpl->tpl_vars['completed_steps']->value['step_two']) { ?> <div class="ty-order-info"> <?php $_smarty_tpl->tpl_vars["profile_fields"] = new Smarty_variable(fn_get_profile_fields("I"), null, 0); ?> <?php if ($_smarty_tpl->tpl_vars['profile_fields']->value['B']) { ?> <h4 class="ty-order-info__title"><?php echo $_smarty_tpl->__("billing_address"); ?> :</h4> <ul id="tygh_billing_adress" class="ty-order-info__profile-field clearfix"> <?php $_smarty_tpl->tpl_vars["field"] = new Smarty_Variable(); $_smarty_tpl->tpl_vars["field"]->_loop = false; $_from = $_smarty_tpl->tpl_vars['profile_fields']->value['B']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars["field"]->key => $_smarty_tpl->tpl_vars["field"]->value) { $_smarty_tpl->tpl_vars["field"]->_loop = true; ?> <?php $_smarty_tpl->tpl_vars["value"] = new Smarty_variable(fn_get_profile_field_value($_smarty_tpl->tpl_vars['cart']->value['user_data'], $_smarty_tpl->tpl_vars['field']->value), null, 0); ?> <?php if ($_smarty_tpl->tpl_vars['value']->value) { ?> <li class="ty-order-info__profile-field-item <?php echo htmlspecialchars(smarty_modifier_replace($_smarty_tpl->tpl_vars['field']->value['field_name'], "_", "-"), ENT_QUOTES, 'UTF-8'); ?> "><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['value']->value, ENT_QUOTES, 'UTF-8'); ?> </li> <?php } ?> <?php } ?> </ul> <hr class="shipping-adress__delim" /> <?php } ?> <?php if ($_smarty_tpl->tpl_vars['profile_fields']->value['S']) { ?> <h4 class="ty-order-info__title"><?php echo $_smarty_tpl->__("shipping_address"); ?> :</h4> <ul id="tygh_shipping_adress" class="ty-order-info__profile-field clearfix"> <?php $_smarty_tpl->tpl_vars["field"] = new Smarty_Variable(); $_smarty_tpl->tpl_vars["field"]->_loop = false; $_from = $_smarty_tpl->tpl_vars['profile_fields']->value['S']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars["field"]->key => $_smarty_tpl->tpl_vars["field"]->value) { $_smarty_tpl->tpl_vars["field"]->_loop = true; ?> <?php $_smarty_tpl->tpl_vars["value"] = new Smarty_variable(fn_get_profile_field_value($_smarty_tpl->tpl_vars['cart']->value['user_data'], $_smarty_tpl->tpl_vars['field']->value), null, 0); ?> <?php if ($_smarty_tpl->tpl_vars['value']->value) { ?> <li class="ty-order-info__profile-field-item <?php echo htmlspecialchars(smarty_modifier_replace($_smarty_tpl->tpl_vars['field']->value['field_name'], "_", "-"), ENT_QUOTES, 'UTF-8'); ?> "><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['value']->value, ENT_QUOTES, 'UTF-8'); ?> </li> <?php } ?> <?php } ?> </ul> <hr class="shipping-adress__delim" /> <?php } ?> <?php if (!$_smarty_tpl->tpl_vars['cart']->value['shipping_failed'] && !empty($_smarty_tpl->tpl_vars['cart']->value['chosen_shipping']) && $_smarty_tpl->tpl_vars['cart']->value['shipping_required']) { ?> <h4><?php echo $_smarty_tpl->__("shipping_method"); ?> :</h4> <ul id="tygh_shipping_method"> <?php $_smarty_tpl->tpl_vars["shipping_id"] = new Smarty_Variable(); $_smarty_tpl->tpl_vars["shipping_id"]->_loop = false; $_smarty_tpl->tpl_vars["group_key"] = new Smarty_Variable(); $_from = $_smarty_tpl->tpl_vars['cart']->value['chosen_shipping']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars["shipping_id"]->key => $_smarty_tpl->tpl_vars["shipping_id"]->value) { $_smarty_tpl->tpl_vars["shipping_id"]->_loop = true; $_smarty_tpl->tpl_vars["group_key"]->value = $_smarty_tpl->tpl_vars["shipping_id"]->key; ?> <li><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['product_groups']->value[$_smarty_tpl->tpl_vars['group_key']->value]['shippings'][$_smarty_tpl->tpl_vars['shipping_id']->value]['shipping'], ENT_QUOTES, 'UTF-8'); ?> </li> <?php } ?> </ul> <?php } ?> </div> <?php } $_smarty_tpl->tpl_vars["block_wrap"] = new Smarty_variable("checkout_order_info_" . (string) $_smarty_tpl->tpl_vars['block']->value['snapping_id'] . "_wrap", null, 1); if ($_smarty_tpl->parent != null) { $_smarty_tpl->parent->tpl_vars["block_wrap"] = clone $_smarty_tpl->tpl_vars["block_wrap"]; } 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(); } if (trim(Smarty::$_smarty_vars['capture']['template_content'])) { if ($_smarty_tpl->tpl_vars['auth']->value['area'] == "A") { ?> <span class="cm-template-box template-box" data-ca-te-template="blocks/checkout/order_info.tpl" id="<?php echo smarty_function_set_id(array('name' => "blocks/checkout/order_info.tpl"), $_smarty_tpl); ?> "><div class="cm-template-icon icon-edit ty-icon-edit hidden"></div><?php echo Smarty::$_smarty_vars['capture']['template_content']; ?> <!--[/tpl_id]--></span><?php } else { echo Smarty::$_smarty_vars['capture']['template_content']; } } } else { if ($_smarty_tpl->tpl_vars['completed_steps']->value['step_two']) { ?> <div class="ty-order-info"> <?php $_smarty_tpl->tpl_vars["profile_fields"] = new Smarty_variable(fn_get_profile_fields("I"), null, 0); ?> <?php if ($_smarty_tpl->tpl_vars['profile_fields']->value['B']) { ?> <h4 class="ty-order-info__title"><?php echo $_smarty_tpl->__("billing_address"); ?> :</h4> <ul id="tygh_billing_adress" class="ty-order-info__profile-field clearfix"> <?php $_smarty_tpl->tpl_vars["field"] = new Smarty_Variable(); $_smarty_tpl->tpl_vars["field"]->_loop = false; $_from = $_smarty_tpl->tpl_vars['profile_fields']->value['B']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars["field"]->key => $_smarty_tpl->tpl_vars["field"]->value) { $_smarty_tpl->tpl_vars["field"]->_loop = true; ?> <?php $_smarty_tpl->tpl_vars["value"] = new Smarty_variable(fn_get_profile_field_value($_smarty_tpl->tpl_vars['cart']->value['user_data'], $_smarty_tpl->tpl_vars['field']->value), null, 0); ?> <?php if ($_smarty_tpl->tpl_vars['value']->value) { ?> <li class="ty-order-info__profile-field-item <?php echo htmlspecialchars(smarty_modifier_replace($_smarty_tpl->tpl_vars['field']->value['field_name'], "_", "-"), ENT_QUOTES, 'UTF-8'); ?> "><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['value']->value, ENT_QUOTES, 'UTF-8'); ?> </li> <?php } ?> <?php } ?> </ul> <hr class="shipping-adress__delim" /> <?php } ?> <?php if ($_smarty_tpl->tpl_vars['profile_fields']->value['S']) { ?> <h4 class="ty-order-info__title"><?php echo $_smarty_tpl->__("shipping_address"); ?> :</h4> <ul id="tygh_shipping_adress" class="ty-order-info__profile-field clearfix"> <?php $_smarty_tpl->tpl_vars["field"] = new Smarty_Variable(); $_smarty_tpl->tpl_vars["field"]->_loop = false; $_from = $_smarty_tpl->tpl_vars['profile_fields']->value['S']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars["field"]->key => $_smarty_tpl->tpl_vars["field"]->value) { $_smarty_tpl->tpl_vars["field"]->_loop = true; ?> <?php $_smarty_tpl->tpl_vars["value"] = new Smarty_variable(fn_get_profile_field_value($_smarty_tpl->tpl_vars['cart']->value['user_data'], $_smarty_tpl->tpl_vars['field']->value), null, 0); ?> <?php if ($_smarty_tpl->tpl_vars['value']->value) { ?> <li class="ty-order-info__profile-field-item <?php echo htmlspecialchars(smarty_modifier_replace($_smarty_tpl->tpl_vars['field']->value['field_name'], "_", "-"), ENT_QUOTES, 'UTF-8'); ?> "><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['value']->value, ENT_QUOTES, 'UTF-8'); ?> </li> <?php } ?> <?php } ?> </ul> <hr class="shipping-adress__delim" /> <?php } ?> <?php if (!$_smarty_tpl->tpl_vars['cart']->value['shipping_failed'] && !empty($_smarty_tpl->tpl_vars['cart']->value['chosen_shipping']) && $_smarty_tpl->tpl_vars['cart']->value['shipping_required']) { ?> <h4><?php echo $_smarty_tpl->__("shipping_method"); ?> :</h4> <ul id="tygh_shipping_method"> <?php $_smarty_tpl->tpl_vars["shipping_id"] = new Smarty_Variable(); $_smarty_tpl->tpl_vars["shipping_id"]->_loop = false; $_smarty_tpl->tpl_vars["group_key"] = new Smarty_Variable(); $_from = $_smarty_tpl->tpl_vars['cart']->value['chosen_shipping']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars["shipping_id"]->key => $_smarty_tpl->tpl_vars["shipping_id"]->value) { $_smarty_tpl->tpl_vars["shipping_id"]->_loop = true; $_smarty_tpl->tpl_vars["group_key"]->value = $_smarty_tpl->tpl_vars["shipping_id"]->key; ?> <li><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['product_groups']->value[$_smarty_tpl->tpl_vars['group_key']->value]['shippings'][$_smarty_tpl->tpl_vars['shipping_id']->value]['shipping'], ENT_QUOTES, 'UTF-8'); ?> </li> <?php } ?> </ul> <?php } ?> </div> <?php } $_smarty_tpl->tpl_vars["block_wrap"] = new Smarty_variable("checkout_order_info_" . (string) $_smarty_tpl->tpl_vars['block']->value['snapping_id'] . "_wrap", null, 1); if ($_smarty_tpl->parent != null) { $_smarty_tpl->parent->tpl_vars["block_wrap"] = clone $_smarty_tpl->tpl_vars["block_wrap"]; } } }