function content_55e01fce207b96_97135972($_smarty_tpl) { if (!is_callable('smarty_modifier_format_price')) { include '/home/coriolan/public_html/lead/app/functions/smarty_plugins/modifier.format_price.php'; } if ($_smarty_tpl->tpl_vars['settings']->value['General']['alternative_currency'] == "use_selected_and_alternative") { echo smarty_modifier_format_price($_smarty_tpl->tpl_vars['value']->value, $_smarty_tpl->tpl_vars['currencies']->value[$_smarty_tpl->tpl_vars['primary_currency']->value], $_smarty_tpl->tpl_vars['span_id']->value, $_smarty_tpl->tpl_vars['class']->value); if ($_smarty_tpl->tpl_vars['secondary_currency']->value != $_smarty_tpl->tpl_vars['primary_currency']->value) { ?> (<?php echo smarty_modifier_format_price($_smarty_tpl->tpl_vars['value']->value, $_smarty_tpl->tpl_vars['currencies']->value[$_smarty_tpl->tpl_vars['secondary_currency']->value], $_smarty_tpl->tpl_vars['span_id']->value, $_smarty_tpl->tpl_vars['class']->value, true); ?> )<?php } } else { echo smarty_modifier_format_price($_smarty_tpl->tpl_vars['value']->value, $_smarty_tpl->tpl_vars['currencies']->value[$_smarty_tpl->tpl_vars['secondary_currency']->value], $_smarty_tpl->tpl_vars['span_id']->value, $_smarty_tpl->tpl_vars['class']->value, true); } }
function content_55ccec9d9bbb63_13589494($_smarty_tpl) { if (!is_callable('smarty_modifier_format_price')) { include '/home/coriolan/public_html/lead/app/functions/smarty_plugins/modifier.format_price.php'; } 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(); if (!$_smarty_tpl->tpl_vars['no_display_currency']->value) { $_smarty_tpl->tpl_vars["no_display_currency"] = new Smarty_variable(false, null, 0); } if ($_smarty_tpl->tpl_vars['settings']->value['General']['alternative_currency'] == "use_selected_and_alternative") { echo smarty_modifier_format_price($_smarty_tpl->tpl_vars['value']->value, $_smarty_tpl->tpl_vars['currencies']->value[$_smarty_tpl->tpl_vars['primary_currency']->value], $_smarty_tpl->tpl_vars['span_id']->value, $_smarty_tpl->tpl_vars['class']->value, false, $_smarty_tpl->tpl_vars['no_display_currency']->value); if ($_smarty_tpl->tpl_vars['secondary_currency']->value != $_smarty_tpl->tpl_vars['primary_currency']->value) { ?> <?php if ($_smarty_tpl->tpl_vars['class']->value) { ?> <span class="ls_primary_currency <?php echo htmlspecialchars($_smarty_tpl->tpl_vars['class']->value, ENT_QUOTES, 'UTF-8'); ?> "><?php } ?> (<?php if ($_smarty_tpl->tpl_vars['class']->value) { ?> </span><?php } echo smarty_modifier_format_price($_smarty_tpl->tpl_vars['value']->value, $_smarty_tpl->tpl_vars['currencies']->value[$_smarty_tpl->tpl_vars['secondary_currency']->value], $_smarty_tpl->tpl_vars['span_id']->value, $_smarty_tpl->tpl_vars['class']->value, true, $_smarty_tpl->tpl_vars['no_display_currency']->value); if ($_smarty_tpl->tpl_vars['class']->value) { ?> <span class="ls_secondary_currency <?php echo htmlspecialchars($_smarty_tpl->tpl_vars['class']->value, ENT_QUOTES, 'UTF-8'); ?> "><?php } ?> )<?php if ($_smarty_tpl->tpl_vars['class']->value) { ?> </span><?php } } } else { echo smarty_modifier_format_price($_smarty_tpl->tpl_vars['value']->value, $_smarty_tpl->tpl_vars['currencies']->value[$_smarty_tpl->tpl_vars['secondary_currency']->value], $_smarty_tpl->tpl_vars['span_id']->value, $_smarty_tpl->tpl_vars['class']->value, true, $_smarty_tpl->tpl_vars['no_display_currency']->value); } 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="common/price.tpl" id="<?php echo smarty_function_set_id(array('name' => "common/price.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['no_display_currency']->value) { $_smarty_tpl->tpl_vars["no_display_currency"] = new Smarty_variable(false, null, 0); } if ($_smarty_tpl->tpl_vars['settings']->value['General']['alternative_currency'] == "use_selected_and_alternative") { echo smarty_modifier_format_price($_smarty_tpl->tpl_vars['value']->value, $_smarty_tpl->tpl_vars['currencies']->value[$_smarty_tpl->tpl_vars['primary_currency']->value], $_smarty_tpl->tpl_vars['span_id']->value, $_smarty_tpl->tpl_vars['class']->value, false, $_smarty_tpl->tpl_vars['no_display_currency']->value); if ($_smarty_tpl->tpl_vars['secondary_currency']->value != $_smarty_tpl->tpl_vars['primary_currency']->value) { ?> <?php if ($_smarty_tpl->tpl_vars['class']->value) { ?> <span class="ls_primary_currency <?php echo htmlspecialchars($_smarty_tpl->tpl_vars['class']->value, ENT_QUOTES, 'UTF-8'); ?> "><?php } ?> (<?php if ($_smarty_tpl->tpl_vars['class']->value) { ?> </span><?php } echo smarty_modifier_format_price($_smarty_tpl->tpl_vars['value']->value, $_smarty_tpl->tpl_vars['currencies']->value[$_smarty_tpl->tpl_vars['secondary_currency']->value], $_smarty_tpl->tpl_vars['span_id']->value, $_smarty_tpl->tpl_vars['class']->value, true, $_smarty_tpl->tpl_vars['no_display_currency']->value); if ($_smarty_tpl->tpl_vars['class']->value) { ?> <span class="ls_secondary_currency <?php echo htmlspecialchars($_smarty_tpl->tpl_vars['class']->value, ENT_QUOTES, 'UTF-8'); ?> "><?php } ?> )<?php if ($_smarty_tpl->tpl_vars['class']->value) { ?> </span><?php } } } else { echo smarty_modifier_format_price($_smarty_tpl->tpl_vars['value']->value, $_smarty_tpl->tpl_vars['currencies']->value[$_smarty_tpl->tpl_vars['secondary_currency']->value], $_smarty_tpl->tpl_vars['span_id']->value, $_smarty_tpl->tpl_vars['class']->value, true, $_smarty_tpl->tpl_vars['no_display_currency']->value); } } }
function content_55db8bdaef28d4_57450015($_smarty_tpl) { if (!is_callable('smarty_modifier_format_price')) { include '/var/www/html/market/app/functions/smarty_plugins/modifier.format_price.php'; } $_smarty_tpl->_capture_stack[0][] = array("currencies", null, null); ob_start(); if ($_smarty_tpl->tpl_vars['settings']->value['General']['alternative_currency'] == "use_selected_and_alternative") { echo smarty_modifier_format_price($_smarty_tpl->tpl_vars['value']->value, $_smarty_tpl->tpl_vars['currencies']->value[$_smarty_tpl->tpl_vars['primary_currency']->value], $_smarty_tpl->tpl_vars['span_id']->value, $_smarty_tpl->tpl_vars['class']->value, false); if ($_smarty_tpl->tpl_vars['secondary_currency']->value != $_smarty_tpl->tpl_vars['primary_currency']->value) { ?> (<?php if ($_smarty_tpl->tpl_vars['class']->value) { ?> <span class="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['class']->value, ENT_QUOTES, 'UTF-8'); ?> "></span><?php } echo smarty_modifier_format_price($_smarty_tpl->tpl_vars['value']->value, $_smarty_tpl->tpl_vars['currencies']->value[$_smarty_tpl->tpl_vars['secondary_currency']->value], $_smarty_tpl->tpl_vars['span_id']->value, $_smarty_tpl->tpl_vars['class']->value, true, $_smarty_tpl->tpl_vars['is_integer']->value); if ($_smarty_tpl->tpl_vars['class']->value) { ?> <span class="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['class']->value, ENT_QUOTES, 'UTF-8'); ?> "></span><?php } ?> )<?php } } else { echo smarty_modifier_format_price($_smarty_tpl->tpl_vars['value']->value, $_smarty_tpl->tpl_vars['currencies']->value[$_smarty_tpl->tpl_vars['secondary_currency']->value], $_smarty_tpl->tpl_vars['span_id']->value, $_smarty_tpl->tpl_vars['class']->value, true); } 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 if ($_smarty_tpl->tpl_vars['view']->value == "input") { ?> <input type="text" name="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['input_name']->value, ENT_QUOTES, 'UTF-8'); ?> " value="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['value']->value, ENT_QUOTES, 'UTF-8'); ?> " class="cm-numeric <?php echo htmlspecialchars($_smarty_tpl->tpl_vars['class']->value, ENT_QUOTES, 'UTF-8'); ?> " data-a-sign="<?php echo preg_replace('!<[^>]*?>!', ' ', $_smarty_tpl->tpl_vars['currencies']->value[$_smarty_tpl->tpl_vars['primary_currency']->value]['symbol']); ?> " <?php if ($_smarty_tpl->tpl_vars['currencies']->value[$_smarty_tpl->tpl_vars['primary_currency']->value]['after'] == "Y") { ?> data-p-sign="s"<?php } ?> data-a-dec="." data-a-sep="," <?php if ($_smarty_tpl->tpl_vars['product_id']->value) { ?> data-ct-product="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['product_id']->value, ENT_QUOTES, 'UTF-8'); ?> "<?php } ?> > <?php } else { ?> <?php echo Smarty::$_smarty_vars['capture']['currencies']; ?> <?php } }