function content_55ccecdcb0c041_94002410($_smarty_tpl) { if (!is_callable('smarty_function_script')) { include '/home/coriolan/public_html/lead/app/functions/smarty_plugins/function.script.php'; } if (!is_callable('smarty_modifier_empty_tabs')) { include '/home/coriolan/public_html/lead/app/functions/smarty_plugins/modifier.empty_tabs.php'; } if (!is_callable('smarty_modifier_in_array')) { include '/home/coriolan/public_html/lead/app/functions/smarty_plugins/modifier.in_array.php'; } echo smarty_function_script(array('src' => "js/tygh/tabs.js"), $_smarty_tpl); ?> <?php if (!$_smarty_tpl->tpl_vars['active_tab']->value) { ?> <?php $_smarty_tpl->tpl_vars["active_tab"] = new Smarty_variable($_REQUEST['selected_section'], null, 0); } ?> <?php $_smarty_tpl->tpl_vars["empty_tab_ids"] = new Smarty_variable(smarty_modifier_empty_tabs($_smarty_tpl->tpl_vars['content']->value), null, 0); ?> <?php if ($_smarty_tpl->tpl_vars['navigation']->value['tabs']) { ?> <div class="cm-j-tabs<?php if ($_smarty_tpl->tpl_vars['track']->value) { ?> cm-track<?php } ?> tabs"> <ul class="nav nav-tabs"> <?php $_smarty_tpl->tpl_vars['tab'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['tab']->_loop = false; $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable(); $_from = $_smarty_tpl->tpl_vars['navigation']->value['tabs']; 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['key']->value = $_smarty_tpl->tpl_vars['tab']->key; ?> <?php if ((!$_smarty_tpl->tpl_vars['tabs_section']->value || $_smarty_tpl->tpl_vars['tabs_section']->value == $_smarty_tpl->tpl_vars['tab']->value['section']) && ($_smarty_tpl->tpl_vars['tab']->value['hidden'] || !smarty_modifier_in_array($_smarty_tpl->tpl_vars['key']->value, $_smarty_tpl->tpl_vars['empty_tab_ids']->value))) { ?> <li id="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['key']->value, ENT_QUOTES, 'UTF-8'); echo htmlspecialchars($_smarty_tpl->tpl_vars['id_suffix']->value, ENT_QUOTES, 'UTF-8'); ?> " class="<?php if ($_smarty_tpl->tpl_vars['tab']->value['hidden'] == "Y") { ?> hidden <?php } if ($_smarty_tpl->tpl_vars['tab']->value['js']) { ?> cm-js<?php } elseif ($_smarty_tpl->tpl_vars['tab']->value['ajax']) { ?> cm-js cm-ajax<?php } if ($_smarty_tpl->tpl_vars['key']->value == $_smarty_tpl->tpl_vars['active_tab']->value) { ?> active<?php } if ($_smarty_tpl->tpl_vars['active_tab_extra']->value && $_smarty_tpl->tpl_vars['key']->value == $_smarty_tpl->tpl_vars['active_tab']->value) { ?> extra-tab<?php } ?> "> <?php if ($_smarty_tpl->tpl_vars['key']->value == $_smarty_tpl->tpl_vars['active_tab']->value) { echo $_smarty_tpl->tpl_vars['active_tab_extra']->value; } ?> <a <?php if ($_smarty_tpl->tpl_vars['tab']->value['href']) { ?> href="<?php echo htmlspecialchars(fn_url($_smarty_tpl->tpl_vars['tab']->value['href']), ENT_QUOTES, 'UTF-8'); ?> "<?php } ?> ><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['tab']->value['title'], ENT_QUOTES, 'UTF-8'); ?> </a> </li> <?php } ?> <?php } ?> </ul> </div> <div class="cm-tabs-content"> <?php echo $_smarty_tpl->tpl_vars['content']->value; ?> </div> <?php } else { ?> <?php echo $_smarty_tpl->tpl_vars['content']->value; ?> <?php } }
function content_55cdd4916cb4d4_92302053($_smarty_tpl) { if (!is_callable('smarty_modifier_empty_tabs')) { include '/home/coriolan/public_html/lead/app/functions/smarty_plugins/modifier.empty_tabs.php'; } if (!is_callable('smarty_function_script')) { include '/home/coriolan/public_html/lead/app/functions/smarty_plugins/function.script.php'; } if (!is_callable('smarty_modifier_in_array')) { include '/home/coriolan/public_html/lead/app/functions/smarty_plugins/modifier.in_array.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['active_tab']->value) { ?> <?php $_smarty_tpl->tpl_vars["active_tab"] = new Smarty_variable($_REQUEST['selected_section'], null, 0); } ?> <?php if ($_smarty_tpl->tpl_vars['navigation']->value['tabs']) { ?> <?php $_smarty_tpl->tpl_vars["empty_tab_ids"] = new Smarty_variable(smarty_modifier_empty_tabs($_smarty_tpl->tpl_vars['content']->value), null, 0); $_smarty_tpl->tpl_vars["_tabs"] = new Smarty_variable(false, null, 0); if ($_smarty_tpl->tpl_vars['top_order_actions']->value) { echo $_smarty_tpl->tpl_vars['top_order_actions']->value; } echo smarty_function_script(array('src' => "js/tygh/tabs.js"), $_smarty_tpl); ?> <div class="ty-tabs cm-j-tabs<?php if ($_smarty_tpl->tpl_vars['track']->value) { ?> cm-track<?php } ?> clearfix"> <ul class="ty-tabs__list" <?php if ($_smarty_tpl->tpl_vars['tabs_section']->value) { ?> id="tabs_<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['tabs_section']->value, ENT_QUOTES, 'UTF-8'); ?> "<?php } ?> > <?php $_smarty_tpl->tpl_vars['tab'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['tab']->_loop = false; $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable(); $_from = $_smarty_tpl->tpl_vars['navigation']->value['tabs']; 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['key']->value = $_smarty_tpl->tpl_vars['tab']->key; ?> <?php if ((!$_smarty_tpl->tpl_vars['tabs_section']->value && !$_smarty_tpl->tpl_vars['tab']->value['section'] || $_smarty_tpl->tpl_vars['tabs_section']->value == $_smarty_tpl->tpl_vars['tab']->value['section']) && !smarty_modifier_in_array($_smarty_tpl->tpl_vars['key']->value, $_smarty_tpl->tpl_vars['empty_tab_ids']->value)) { ?> <?php if (!$_smarty_tpl->tpl_vars['active_tab']->value) { ?> <?php $_smarty_tpl->tpl_vars["active_tab"] = new Smarty_variable($_smarty_tpl->tpl_vars['key']->value, null, 0); ?> <?php } ?> <?php $_smarty_tpl->tpl_vars["_tabs"] = new Smarty_variable(true, null, 0); ?> <li id="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['key']->value, ENT_QUOTES, 'UTF-8'); ?> " class="ty-tabs__item<?php if ($_smarty_tpl->tpl_vars['tab']->value['js']) { ?> cm-js<?php } elseif ($_smarty_tpl->tpl_vars['tab']->value['ajax']) { ?> cm-js cm-ajax<?php } if ($_smarty_tpl->tpl_vars['key']->value == $_smarty_tpl->tpl_vars['active_tab']->value) { ?> active<?php } ?> "><a class="ty-tabs__a" <?php if ($_smarty_tpl->tpl_vars['tab']->value['href']) { ?> href="<?php echo htmlspecialchars(fn_url($_smarty_tpl->tpl_vars['tab']->value['href']), ENT_QUOTES, 'UTF-8'); ?> "<?php } ?> ><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['tab']->value['title'], ENT_QUOTES, 'UTF-8'); ?> </a></li> <?php } ?> <?php } ?> </ul> </div> <?php if ($_smarty_tpl->tpl_vars['_tabs']->value) { ?> <div class="cm-tabs-content ty-tabs__content clearfix" id="tabs_content"> <?php echo $_smarty_tpl->tpl_vars['content']->value; ?> </div> <?php } ?> <?php if ($_smarty_tpl->tpl_vars['onclick']->value) { ?> <script type="text/javascript"> var hndl = <?php echo htmlspecialchars($_smarty_tpl->tpl_vars['ldelim']->value, ENT_QUOTES, 'UTF-8'); ?> 'tabs_<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['tabs_section']->value, ENT_QUOTES, 'UTF-8'); ?> ': <?php echo htmlspecialchars($_smarty_tpl->tpl_vars['onclick']->value, ENT_QUOTES, 'UTF-8'); ?> <?php echo htmlspecialchars($_smarty_tpl->tpl_vars['rdelim']->value, ENT_QUOTES, 'UTF-8'); ?> </script> <?php } } else { ?> <?php echo $_smarty_tpl->tpl_vars['content']->value; ?> <?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="common/tabsbox.tpl" id="<?php echo smarty_function_set_id(array('name' => "common/tabsbox.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['active_tab']->value) { ?> <?php $_smarty_tpl->tpl_vars["active_tab"] = new Smarty_variable($_REQUEST['selected_section'], null, 0); } ?> <?php if ($_smarty_tpl->tpl_vars['navigation']->value['tabs']) { ?> <?php $_smarty_tpl->tpl_vars["empty_tab_ids"] = new Smarty_variable(smarty_modifier_empty_tabs($_smarty_tpl->tpl_vars['content']->value), null, 0); $_smarty_tpl->tpl_vars["_tabs"] = new Smarty_variable(false, null, 0); if ($_smarty_tpl->tpl_vars['top_order_actions']->value) { echo $_smarty_tpl->tpl_vars['top_order_actions']->value; } echo smarty_function_script(array('src' => "js/tygh/tabs.js"), $_smarty_tpl); ?> <div class="ty-tabs cm-j-tabs<?php if ($_smarty_tpl->tpl_vars['track']->value) { ?> cm-track<?php } ?> clearfix"> <ul class="ty-tabs__list" <?php if ($_smarty_tpl->tpl_vars['tabs_section']->value) { ?> id="tabs_<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['tabs_section']->value, ENT_QUOTES, 'UTF-8'); ?> "<?php } ?> > <?php $_smarty_tpl->tpl_vars['tab'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['tab']->_loop = false; $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable(); $_from = $_smarty_tpl->tpl_vars['navigation']->value['tabs']; 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['key']->value = $_smarty_tpl->tpl_vars['tab']->key; ?> <?php if ((!$_smarty_tpl->tpl_vars['tabs_section']->value && !$_smarty_tpl->tpl_vars['tab']->value['section'] || $_smarty_tpl->tpl_vars['tabs_section']->value == $_smarty_tpl->tpl_vars['tab']->value['section']) && !smarty_modifier_in_array($_smarty_tpl->tpl_vars['key']->value, $_smarty_tpl->tpl_vars['empty_tab_ids']->value)) { ?> <?php if (!$_smarty_tpl->tpl_vars['active_tab']->value) { ?> <?php $_smarty_tpl->tpl_vars["active_tab"] = new Smarty_variable($_smarty_tpl->tpl_vars['key']->value, null, 0); ?> <?php } ?> <?php $_smarty_tpl->tpl_vars["_tabs"] = new Smarty_variable(true, null, 0); ?> <li id="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['key']->value, ENT_QUOTES, 'UTF-8'); ?> " class="ty-tabs__item<?php if ($_smarty_tpl->tpl_vars['tab']->value['js']) { ?> cm-js<?php } elseif ($_smarty_tpl->tpl_vars['tab']->value['ajax']) { ?> cm-js cm-ajax<?php } if ($_smarty_tpl->tpl_vars['key']->value == $_smarty_tpl->tpl_vars['active_tab']->value) { ?> active<?php } ?> "><a class="ty-tabs__a" <?php if ($_smarty_tpl->tpl_vars['tab']->value['href']) { ?> href="<?php echo htmlspecialchars(fn_url($_smarty_tpl->tpl_vars['tab']->value['href']), ENT_QUOTES, 'UTF-8'); ?> "<?php } ?> ><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['tab']->value['title'], ENT_QUOTES, 'UTF-8'); ?> </a></li> <?php } ?> <?php } ?> </ul> </div> <?php if ($_smarty_tpl->tpl_vars['_tabs']->value) { ?> <div class="cm-tabs-content ty-tabs__content clearfix" id="tabs_content"> <?php echo $_smarty_tpl->tpl_vars['content']->value; ?> </div> <?php } ?> <?php if ($_smarty_tpl->tpl_vars['onclick']->value) { ?> <script type="text/javascript"> var hndl = <?php echo htmlspecialchars($_smarty_tpl->tpl_vars['ldelim']->value, ENT_QUOTES, 'UTF-8'); ?> 'tabs_<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['tabs_section']->value, ENT_QUOTES, 'UTF-8'); ?> ': <?php echo htmlspecialchars($_smarty_tpl->tpl_vars['onclick']->value, ENT_QUOTES, 'UTF-8'); ?> <?php echo htmlspecialchars($_smarty_tpl->tpl_vars['rdelim']->value, ENT_QUOTES, 'UTF-8'); ?> </script> <?php } } else { ?> <?php echo $_smarty_tpl->tpl_vars['content']->value; ?> <?php } } }