function content_55ccec9f973167_27985101($_smarty_tpl) { if (!is_callable('smarty_function_render_block')) { include '/home/coriolan/public_html/lead/app/functions/smarty_plugins/function.render_block.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(); $_smarty_tpl->_capture_stack[0][] = array("tabsbox", null, null); ob_start(); ?> <?php $_smarty_tpl->tpl_vars["tab"] = new Smarty_Variable(); $_smarty_tpl->tpl_vars["tab"]->_loop = false; $_smarty_tpl->tpl_vars["tab_id"] = new Smarty_Variable(); $_from = $_smarty_tpl->tpl_vars['tabs']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars["tab"]->key => $_smarty_tpl->tpl_vars["tab"]->value) { $_smarty_tpl->tpl_vars["tab"]->_loop = true; $_smarty_tpl->tpl_vars["tab_id"]->value = $_smarty_tpl->tpl_vars["tab"]->key; ?> <?php if ($_smarty_tpl->tpl_vars['tab']->value['show_in_popup'] != "Y" && $_smarty_tpl->tpl_vars['tab']->value['status'] == "A") { ?> <?php $_smarty_tpl->tpl_vars["tab_content_capture"] = new Smarty_variable("tab_content_capture_" . (string) $_smarty_tpl->tpl_vars['tab_id']->value, null, 0); ?> <?php $_smarty_tpl->_capture_stack[0][] = array($_smarty_tpl->tpl_vars['tab_content_capture']->value, null, null); ob_start(); ?> <?php if ($_smarty_tpl->tpl_vars['tab']->value['tab_type'] == 'B') { ?> <?php echo smarty_function_render_block(array('block_id' => $_smarty_tpl->tpl_vars['tab']->value['block_id'], 'dispatch' => "products.view"), $_smarty_tpl); ?> <?php } elseif ($_smarty_tpl->tpl_vars['tab']->value['tab_type'] == 'T') { ?> <?php echo $_smarty_tpl->getSubTemplate($_smarty_tpl->tpl_vars['tab']->value['template'], $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('product_tab_id' => $_smarty_tpl->tpl_vars['tab']->value['html_id']), 0); ?> <?php } ?> <?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 if (trim(Smarty::$_smarty_vars['capture'][$_smarty_tpl->tpl_vars['tab_content_capture']->value])) { ?> <?php if ($_smarty_tpl->tpl_vars['settings']->value['Appearance']['product_details_in_tab'] == "N") { ?> <h3 class="tab-list-title"><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['tab']->value['name'], ENT_QUOTES, 'UTF-8'); ?> </h3> <?php } ?> <?php } ?> <div id="content_<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['tab']->value['html_id'], ENT_QUOTES, 'UTF-8'); ?> " class="ty-wysiwyg-content content-<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['tab']->value['html_id'], ENT_QUOTES, 'UTF-8'); ?> "> <?php echo Smarty::$_smarty_vars['capture'][$_smarty_tpl->tpl_vars['tab_content_capture']->value]; ?> </div> <?php } ?> <?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 $_smarty_tpl->_capture_stack[0][] = array("tabsbox_content", null, null); ob_start(); if ($_smarty_tpl->tpl_vars['settings']->value['Appearance']['product_details_in_tab'] == "Y") { ?> <?php echo $_smarty_tpl->getSubTemplate("common/tabsbox.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('content' => Smarty::$_smarty_vars['capture']['tabsbox']), 0); ?> <?php } else { ?> <?php echo $_smarty_tpl->getSubTemplate("blocks/ls_product_features_dropdown_2.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('content' => $_smarty_tpl->tpl_vars['ls_product_dropdown_content']->value, 'title' => $_smarty_tpl->tpl_vars['blocks']->value[$_smarty_tpl->tpl_vars['tabs_block_id']->value]['description']), 0); ?> <?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(); } 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="views/tabs/components/product_tabs.tpl" id="<?php echo smarty_function_set_id(array('name' => "views/tabs/components/product_tabs.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 { $_smarty_tpl->_capture_stack[0][] = array("tabsbox", null, null); ob_start(); ?> <?php $_smarty_tpl->tpl_vars["tab"] = new Smarty_Variable(); $_smarty_tpl->tpl_vars["tab"]->_loop = false; $_smarty_tpl->tpl_vars["tab_id"] = new Smarty_Variable(); $_from = $_smarty_tpl->tpl_vars['tabs']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars["tab"]->key => $_smarty_tpl->tpl_vars["tab"]->value) { $_smarty_tpl->tpl_vars["tab"]->_loop = true; $_smarty_tpl->tpl_vars["tab_id"]->value = $_smarty_tpl->tpl_vars["tab"]->key; ?> <?php if ($_smarty_tpl->tpl_vars['tab']->value['show_in_popup'] != "Y" && $_smarty_tpl->tpl_vars['tab']->value['status'] == "A") { ?> <?php $_smarty_tpl->tpl_vars["tab_content_capture"] = new Smarty_variable("tab_content_capture_" . (string) $_smarty_tpl->tpl_vars['tab_id']->value, null, 0); ?> <?php $_smarty_tpl->_capture_stack[0][] = array($_smarty_tpl->tpl_vars['tab_content_capture']->value, null, null); ob_start(); ?> <?php if ($_smarty_tpl->tpl_vars['tab']->value['tab_type'] == 'B') { ?> <?php echo smarty_function_render_block(array('block_id' => $_smarty_tpl->tpl_vars['tab']->value['block_id'], 'dispatch' => "products.view"), $_smarty_tpl); ?> <?php } elseif ($_smarty_tpl->tpl_vars['tab']->value['tab_type'] == 'T') { ?> <?php echo $_smarty_tpl->getSubTemplate($_smarty_tpl->tpl_vars['tab']->value['template'], $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('product_tab_id' => $_smarty_tpl->tpl_vars['tab']->value['html_id']), 0); ?> <?php } ?> <?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 if (trim(Smarty::$_smarty_vars['capture'][$_smarty_tpl->tpl_vars['tab_content_capture']->value])) { ?> <?php if ($_smarty_tpl->tpl_vars['settings']->value['Appearance']['product_details_in_tab'] == "N") { ?> <h3 class="tab-list-title"><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['tab']->value['name'], ENT_QUOTES, 'UTF-8'); ?> </h3> <?php } ?> <?php } ?> <div id="content_<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['tab']->value['html_id'], ENT_QUOTES, 'UTF-8'); ?> " class="ty-wysiwyg-content content-<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['tab']->value['html_id'], ENT_QUOTES, 'UTF-8'); ?> "> <?php echo Smarty::$_smarty_vars['capture'][$_smarty_tpl->tpl_vars['tab_content_capture']->value]; ?> </div> <?php } ?> <?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 $_smarty_tpl->_capture_stack[0][] = array("tabsbox_content", null, null); ob_start(); if ($_smarty_tpl->tpl_vars['settings']->value['Appearance']['product_details_in_tab'] == "Y") { ?> <?php echo $_smarty_tpl->getSubTemplate("common/tabsbox.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('content' => Smarty::$_smarty_vars['capture']['tabsbox']), 0); ?> <?php } else { ?> <?php echo $_smarty_tpl->getSubTemplate("blocks/ls_product_features_dropdown_2.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('content' => $_smarty_tpl->tpl_vars['ls_product_dropdown_content']->value, 'title' => $_smarty_tpl->tpl_vars['blocks']->value[$_smarty_tpl->tpl_vars['tabs_block_id']->value]['description']), 0); ?> <?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(); } } }
function content_55ccec9f8f4b14_82931109($_smarty_tpl) { if (!is_callable('smarty_function_render_block')) { include '/home/coriolan/public_html/lead/app/functions/smarty_plugins/function.render_block.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(); $_smarty_tpl->_capture_stack[0][] = array("popupsbox", null, null); ob_start(); ?> <?php $_smarty_tpl->tpl_vars["tab"] = new Smarty_Variable(); $_smarty_tpl->tpl_vars["tab"]->_loop = false; $_smarty_tpl->tpl_vars["tab_id"] = new Smarty_Variable(); $_from = $_smarty_tpl->tpl_vars['tabs']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars["tab"]->key => $_smarty_tpl->tpl_vars["tab"]->value) { $_smarty_tpl->tpl_vars["tab"]->_loop = true; $_smarty_tpl->tpl_vars["tab_id"]->value = $_smarty_tpl->tpl_vars["tab"]->key; ?> <?php if ($_smarty_tpl->tpl_vars['tab']->value['show_in_popup'] == "Y" && $_smarty_tpl->tpl_vars['tab']->value['status'] == "A") { ?> <?php $_smarty_tpl->tpl_vars["product_tab_id"] = new Smarty_variable("product_tab_" . (string) $_smarty_tpl->tpl_vars['tab']->value['tab_id'], null, 0); ?> <?php $_smarty_tpl->tpl_vars["tab_content_capture"] = new Smarty_variable("tab_content_capture_" . (string) $_smarty_tpl->tpl_vars['tab_id']->value, null, 0); ?> <?php $_smarty_tpl->_capture_stack[0][] = array($_smarty_tpl->tpl_vars['tab_content_capture']->value, null, null); ob_start(); ?> <?php if ($_smarty_tpl->tpl_vars['tab']->value['tab_type'] == 'B') { ?> <?php echo smarty_function_render_block(array('block_id' => $_smarty_tpl->tpl_vars['tab']->value['block_id'], 'dispatch' => "products.view"), $_smarty_tpl); ?> <?php } elseif ($_smarty_tpl->tpl_vars['tab']->value['tab_type'] == 'T') { ?> <?php echo $_smarty_tpl->getSubTemplate($_smarty_tpl->tpl_vars['tab']->value['template'], $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('product_tab_id' => $_smarty_tpl->tpl_vars['product_tab_id']->value, 'force_ajax' => true), 0); ?> <?php } ?> <?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 if (trim(Smarty::$_smarty_vars['capture'][$_smarty_tpl->tpl_vars['tab_content_capture']->value])) { ?> <li class="ty-popup-tabs__item"><i class="ty-popup-tabs__icon ty-icon-popup"></i><a id="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['tab']->value['html_id'], ENT_QUOTES, 'UTF-8'); ?> " class="cm-dialog-opener" data-ca-target-id="content_block_popup_<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['tab_id']->value, ENT_QUOTES, 'UTF-8'); ?> " rel="nofollow"><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['tab']->value['name'], ENT_QUOTES, 'UTF-8'); ?> </a></li> <div id="content_block_popup_<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['tab_id']->value, ENT_QUOTES, 'UTF-8'); ?> " class="hidden" title="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['tab']->value['name'], ENT_QUOTES, 'UTF-8'); ?> " data-ca-keep-in-place="true"> <?php echo Smarty::$_smarty_vars['capture'][$_smarty_tpl->tpl_vars['tab_content_capture']->value]; ?> </div> <?php } ?> <?php } ?> <?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 $_smarty_tpl->_capture_stack[0][] = array("popupsbox_content", null, null); ob_start(); ?> <?php if (trim(Smarty::$_smarty_vars['capture']['popupsbox'])) { ?> <ul class="ty-popup-tabs"> <?php echo Smarty::$_smarty_vars['capture']['popupsbox']; ?> </ul> <?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(); } 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="views/tabs/components/product_popup_tabs.tpl" id="<?php echo smarty_function_set_id(array('name' => "views/tabs/components/product_popup_tabs.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 { $_smarty_tpl->_capture_stack[0][] = array("popupsbox", null, null); ob_start(); ?> <?php $_smarty_tpl->tpl_vars["tab"] = new Smarty_Variable(); $_smarty_tpl->tpl_vars["tab"]->_loop = false; $_smarty_tpl->tpl_vars["tab_id"] = new Smarty_Variable(); $_from = $_smarty_tpl->tpl_vars['tabs']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars["tab"]->key => $_smarty_tpl->tpl_vars["tab"]->value) { $_smarty_tpl->tpl_vars["tab"]->_loop = true; $_smarty_tpl->tpl_vars["tab_id"]->value = $_smarty_tpl->tpl_vars["tab"]->key; ?> <?php if ($_smarty_tpl->tpl_vars['tab']->value['show_in_popup'] == "Y" && $_smarty_tpl->tpl_vars['tab']->value['status'] == "A") { ?> <?php $_smarty_tpl->tpl_vars["product_tab_id"] = new Smarty_variable("product_tab_" . (string) $_smarty_tpl->tpl_vars['tab']->value['tab_id'], null, 0); ?> <?php $_smarty_tpl->tpl_vars["tab_content_capture"] = new Smarty_variable("tab_content_capture_" . (string) $_smarty_tpl->tpl_vars['tab_id']->value, null, 0); ?> <?php $_smarty_tpl->_capture_stack[0][] = array($_smarty_tpl->tpl_vars['tab_content_capture']->value, null, null); ob_start(); ?> <?php if ($_smarty_tpl->tpl_vars['tab']->value['tab_type'] == 'B') { ?> <?php echo smarty_function_render_block(array('block_id' => $_smarty_tpl->tpl_vars['tab']->value['block_id'], 'dispatch' => "products.view"), $_smarty_tpl); ?> <?php } elseif ($_smarty_tpl->tpl_vars['tab']->value['tab_type'] == 'T') { ?> <?php echo $_smarty_tpl->getSubTemplate($_smarty_tpl->tpl_vars['tab']->value['template'], $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('product_tab_id' => $_smarty_tpl->tpl_vars['product_tab_id']->value, 'force_ajax' => true), 0); ?> <?php } ?> <?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 if (trim(Smarty::$_smarty_vars['capture'][$_smarty_tpl->tpl_vars['tab_content_capture']->value])) { ?> <li class="ty-popup-tabs__item"><i class="ty-popup-tabs__icon ty-icon-popup"></i><a id="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['tab']->value['html_id'], ENT_QUOTES, 'UTF-8'); ?> " class="cm-dialog-opener" data-ca-target-id="content_block_popup_<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['tab_id']->value, ENT_QUOTES, 'UTF-8'); ?> " rel="nofollow"><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['tab']->value['name'], ENT_QUOTES, 'UTF-8'); ?> </a></li> <div id="content_block_popup_<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['tab_id']->value, ENT_QUOTES, 'UTF-8'); ?> " class="hidden" title="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['tab']->value['name'], ENT_QUOTES, 'UTF-8'); ?> " data-ca-keep-in-place="true"> <?php echo Smarty::$_smarty_vars['capture'][$_smarty_tpl->tpl_vars['tab_content_capture']->value]; ?> </div> <?php } ?> <?php } ?> <?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 $_smarty_tpl->_capture_stack[0][] = array("popupsbox_content", null, null); ob_start(); ?> <?php if (trim(Smarty::$_smarty_vars['capture']['popupsbox'])) { ?> <ul class="ty-popup-tabs"> <?php echo Smarty::$_smarty_vars['capture']['popupsbox']; ?> </ul> <?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(); } } }
function content_55ccec9ff0e087_96661738($_smarty_tpl) { if (!is_callable('smarty_function_render_block')) { include '/home/coriolan/public_html/lead/app/functions/smarty_plugins/function.render_block.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(); ?> <div id="ls_product_page_accordion"> <?php $_smarty_tpl->tpl_vars["ls_display_features"] = new Smarty_variable(false, null, 0); ?> <?php $_smarty_tpl->tpl_vars['feature'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['feature']->_loop = false; $_smarty_tpl->tpl_vars['k'] = new Smarty_Variable(); $_from = $_smarty_tpl->tpl_vars['product']->value['product_features']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars['feature']->key => $_smarty_tpl->tpl_vars['feature']->value) { $_smarty_tpl->tpl_vars['feature']->_loop = true; $_smarty_tpl->tpl_vars['k']->value = $_smarty_tpl->tpl_vars['feature']->key; ?> <?php if ($_smarty_tpl->tpl_vars['feature']->value['subfeatures']) { ?> <?php $_smarty_tpl->tpl_vars['ls_display_features'] = new Smarty_variable(true, null, 0); ?> <?php } ?> <?php } ?> <?php $_smarty_tpl->tpl_vars['tab'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['tab']->_loop = false; $_smarty_tpl->tpl_vars['tab_id'] = new Smarty_Variable(); $_from = $_smarty_tpl->tpl_vars['tabs']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars['tab']->key => $_smarty_tpl->tpl_vars['tab']->value) { $_smarty_tpl->tpl_vars['tab']->_loop = true; $_smarty_tpl->tpl_vars['tab_id']->value = $_smarty_tpl->tpl_vars['tab']->key; ?> <?php if ($_smarty_tpl->tpl_vars['tab']->value['html_id'] != 'product_tab_32') { ?> <?php $_smarty_tpl->tpl_vars["tab_content_capture"] = new Smarty_variable("tab_content_capture_" . (string) $_smarty_tpl->tpl_vars['tab_id']->value, null, 0); ?> <?php $_smarty_tpl->_capture_stack[0][] = array($_smarty_tpl->tpl_vars['tab_content_capture']->value, null, null); ob_start(); ?> <?php if ($_smarty_tpl->tpl_vars['tab']->value['tab_type'] == 'B') { ?> <?php echo smarty_function_render_block(array('block_id' => $_smarty_tpl->tpl_vars['tab']->value['block_id'], 'dispatch' => "products.view"), $_smarty_tpl); ?> <?php } elseif ($_smarty_tpl->tpl_vars['tab']->value['tab_type'] == 'T') { ?> <?php echo $_smarty_tpl->getSubTemplate($_smarty_tpl->tpl_vars['tab']->value['template'], $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('product_tab_id' => $_smarty_tpl->tpl_vars['tab']->value['html_id']), 0); ?> <?php } ?> <?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 if ($_smarty_tpl->tpl_vars['tab']->value['html_id'] === "description" && ($_smarty_tpl->tpl_vars['linked_product_amount']->value || trim(Smarty::$_smarty_vars['capture'][$_smarty_tpl->tpl_vars['tab_content_capture']->value])) || trim(Smarty::$_smarty_vars['capture'][$_smarty_tpl->tpl_vars['tab_content_capture']->value])) { ?> <?php if ($_smarty_tpl->tpl_vars['tab']->value['status'] === "A") { ?> <h3 class="ls_product_accordion_title"><?php echo $_smarty_tpl->__($_smarty_tpl->tpl_vars['tab']->value['html_id']); ?> </h3> <div id="content_<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['tab']->value['html_id'], ENT_QUOTES, 'UTF-8'); ?> " class="ty-wysiwyg-content content-<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['tab']->value['html_id'], ENT_QUOTES, 'UTF-8'); ?> "> <?php echo Smarty::$_smarty_vars['capture'][$_smarty_tpl->tpl_vars['tab_content_capture']->value]; ?> </div> <?php } ?> <?php } ?> <?php } else { ?> <?php $_smarty_tpl->_capture_stack[0][] = array("product_tab_32_outside_tab", null, null); ob_start(); ?> <?php if ($_smarty_tpl->tpl_vars['tab']->value['tab_type'] == 'B') { ?> <?php echo smarty_function_render_block(array('block_id' => $_smarty_tpl->tpl_vars['tab']->value['block_id'], 'dispatch' => "products.view"), $_smarty_tpl); ?> <?php } elseif ($_smarty_tpl->tpl_vars['tab']->value['tab_type'] == 'T') { ?> <?php echo $_smarty_tpl->getSubTemplate($_smarty_tpl->tpl_vars['tab']->value['template'], $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('product_tab_id' => $_smarty_tpl->tpl_vars['tab']->value['html_id']), 0); ?> <?php } ?> <?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 } ?> <?php } ?> </div> <?php if (trim(Smarty::$_smarty_vars['capture']['product_tab_32_outside_tab'])) { ?> <div class="product_related_products"> <div class="ui-helper-reset ui-state-default ui-corner-all" style="cursor:auto"><?php echo $_smarty_tpl->__('product_tab_32'); ?> </div> <?php echo Smarty::$_smarty_vars['capture']['product_tab_32_outside_tab']; ?> </div> <?php } ?> <?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="blocks/ls_product_features_dropdown_2.tpl" id="<?php echo smarty_function_set_id(array('name' => "blocks/ls_product_features_dropdown_2.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 { ?> <div id="ls_product_page_accordion"> <?php $_smarty_tpl->tpl_vars["ls_display_features"] = new Smarty_variable(false, null, 0); ?> <?php $_smarty_tpl->tpl_vars['feature'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['feature']->_loop = false; $_smarty_tpl->tpl_vars['k'] = new Smarty_Variable(); $_from = $_smarty_tpl->tpl_vars['product']->value['product_features']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars['feature']->key => $_smarty_tpl->tpl_vars['feature']->value) { $_smarty_tpl->tpl_vars['feature']->_loop = true; $_smarty_tpl->tpl_vars['k']->value = $_smarty_tpl->tpl_vars['feature']->key; ?> <?php if ($_smarty_tpl->tpl_vars['feature']->value['subfeatures']) { ?> <?php $_smarty_tpl->tpl_vars['ls_display_features'] = new Smarty_variable(true, null, 0); ?> <?php } ?> <?php } ?> <?php $_smarty_tpl->tpl_vars['tab'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['tab']->_loop = false; $_smarty_tpl->tpl_vars['tab_id'] = new Smarty_Variable(); $_from = $_smarty_tpl->tpl_vars['tabs']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars['tab']->key => $_smarty_tpl->tpl_vars['tab']->value) { $_smarty_tpl->tpl_vars['tab']->_loop = true; $_smarty_tpl->tpl_vars['tab_id']->value = $_smarty_tpl->tpl_vars['tab']->key; ?> <?php if ($_smarty_tpl->tpl_vars['tab']->value['html_id'] != 'product_tab_32') { ?> <?php $_smarty_tpl->tpl_vars["tab_content_capture"] = new Smarty_variable("tab_content_capture_" . (string) $_smarty_tpl->tpl_vars['tab_id']->value, null, 0); ?> <?php $_smarty_tpl->_capture_stack[0][] = array($_smarty_tpl->tpl_vars['tab_content_capture']->value, null, null); ob_start(); ?> <?php if ($_smarty_tpl->tpl_vars['tab']->value['tab_type'] == 'B') { ?> <?php echo smarty_function_render_block(array('block_id' => $_smarty_tpl->tpl_vars['tab']->value['block_id'], 'dispatch' => "products.view"), $_smarty_tpl); ?> <?php } elseif ($_smarty_tpl->tpl_vars['tab']->value['tab_type'] == 'T') { ?> <?php echo $_smarty_tpl->getSubTemplate($_smarty_tpl->tpl_vars['tab']->value['template'], $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('product_tab_id' => $_smarty_tpl->tpl_vars['tab']->value['html_id']), 0); ?> <?php } ?> <?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 if ($_smarty_tpl->tpl_vars['tab']->value['html_id'] === "description" && ($_smarty_tpl->tpl_vars['linked_product_amount']->value || trim(Smarty::$_smarty_vars['capture'][$_smarty_tpl->tpl_vars['tab_content_capture']->value])) || trim(Smarty::$_smarty_vars['capture'][$_smarty_tpl->tpl_vars['tab_content_capture']->value])) { ?> <?php if ($_smarty_tpl->tpl_vars['tab']->value['status'] === "A") { ?> <h3 class="ls_product_accordion_title"><?php echo $_smarty_tpl->__($_smarty_tpl->tpl_vars['tab']->value['html_id']); ?> </h3> <div id="content_<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['tab']->value['html_id'], ENT_QUOTES, 'UTF-8'); ?> " class="ty-wysiwyg-content content-<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['tab']->value['html_id'], ENT_QUOTES, 'UTF-8'); ?> "> <?php echo Smarty::$_smarty_vars['capture'][$_smarty_tpl->tpl_vars['tab_content_capture']->value]; ?> </div> <?php } ?> <?php } ?> <?php } else { ?> <?php $_smarty_tpl->_capture_stack[0][] = array("product_tab_32_outside_tab", null, null); ob_start(); ?> <?php if ($_smarty_tpl->tpl_vars['tab']->value['tab_type'] == 'B') { ?> <?php echo smarty_function_render_block(array('block_id' => $_smarty_tpl->tpl_vars['tab']->value['block_id'], 'dispatch' => "products.view"), $_smarty_tpl); ?> <?php } elseif ($_smarty_tpl->tpl_vars['tab']->value['tab_type'] == 'T') { ?> <?php echo $_smarty_tpl->getSubTemplate($_smarty_tpl->tpl_vars['tab']->value['template'], $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('product_tab_id' => $_smarty_tpl->tpl_vars['tab']->value['html_id']), 0); ?> <?php } ?> <?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 } ?> <?php } ?> </div> <?php if (trim(Smarty::$_smarty_vars['capture']['product_tab_32_outside_tab'])) { ?> <div class="product_related_products"> <div class="ui-helper-reset ui-state-default ui-corner-all" style="cursor:auto"><?php echo $_smarty_tpl->__('product_tab_32'); ?> </div> <?php echo Smarty::$_smarty_vars['capture']['product_tab_32_outside_tab']; ?> </div> <?php } ?> <?php } }