function content_55ccec9d344d89_22539788($_smarty_tpl) { if (!is_callable('smarty_function_eval_string')) { include '/home/coriolan/public_html/lead/app/functions/smarty_plugins/function.eval_string.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 class="ty-wysiwyg-content"><?php echo smarty_function_eval_string(array('var' => $_smarty_tpl->tpl_vars['content']->value), $_smarty_tpl); ?> </div><?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/smarty_block.tpl" id="<?php echo smarty_function_set_id(array('name' => "blocks/smarty_block.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 class="ty-wysiwyg-content"><?php echo smarty_function_eval_string(array('var' => $_smarty_tpl->tpl_vars['content']->value), $_smarty_tpl); ?> </div><?php } }
function content_55dc75a37e4991_86115453($_smarty_tpl) { if (!is_callable('smarty_function_live_edit')) { include '/var/www/html/market/app/functions/smarty_plugins/function.live_edit.php'; } if (!is_callable('smarty_function_eval_string')) { include '/var/www/html/market/app/functions/smarty_plugins/function.eval_string.php'; } if (!is_callable('smarty_function_set_id')) { include '/var/www/html/market/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_wrap']->value) { ?> <div class="ty-wysiwyg-content" <?php echo smarty_function_live_edit(array('name' => "block:content:" . (string) $_smarty_tpl->tpl_vars['block']->value['block_id'], 'phrase' => $_smarty_tpl->tpl_vars['content']->value, 'need_render' => true), $_smarty_tpl); ?> ><?php } echo smarty_function_eval_string(array('var' => $_smarty_tpl->tpl_vars['content']->value), $_smarty_tpl); if (!$_smarty_tpl->tpl_vars['no_wrap']->value) { ?> </div><?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/smarty_block.tpl" id="<?php echo smarty_function_set_id(array('name' => "blocks/smarty_block.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_wrap']->value) { ?> <div class="ty-wysiwyg-content" <?php echo smarty_function_live_edit(array('name' => "block:content:" . (string) $_smarty_tpl->tpl_vars['block']->value['block_id'], 'phrase' => $_smarty_tpl->tpl_vars['content']->value, 'need_render' => true), $_smarty_tpl); ?> ><?php } echo smarty_function_eval_string(array('var' => $_smarty_tpl->tpl_vars['content']->value), $_smarty_tpl); if (!$_smarty_tpl->tpl_vars['no_wrap']->value) { ?> </div><?php } } }