function content_5260aab3801a23_49392503($_smarty_tpl) { if (!is_callable('smarty_function_repeat')) { include '/homepages/26/d480780604/htdocs/plugins/function.repeat.php'; } ?> <?php if (isset($_smarty_tpl->tpl_vars['number_of_levels'])) { $_smarty_tpl->tpl_vars['number_of_levels'] = clone $_smarty_tpl->tpl_vars['number_of_levels']; $_smarty_tpl->tpl_vars['number_of_levels']->value = 10000; $_smarty_tpl->tpl_vars['number_of_levels']->nocache = null; $_smarty_tpl->tpl_vars['number_of_levels']->scope = 0; } else { $_smarty_tpl->tpl_vars['number_of_levels'] = new Smarty_variable(10000, null, 0); } if (isset($_smarty_tpl->tpl_vars['menuparams']->value['number_of_levels'])) { ?> <?php if (isset($_smarty_tpl->tpl_vars['number_of_levels'])) { $_smarty_tpl->tpl_vars['number_of_levels'] = clone $_smarty_tpl->tpl_vars['number_of_levels']; $_smarty_tpl->tpl_vars['number_of_levels']->value = $_smarty_tpl->tpl_vars['menuparams']->value['number_of_levels']; $_smarty_tpl->tpl_vars['number_of_levels']->nocache = null; $_smarty_tpl->tpl_vars['number_of_levels']->scope = 0; } else { $_smarty_tpl->tpl_vars['number_of_levels'] = new Smarty_variable($_smarty_tpl->tpl_vars['menuparams']->value['number_of_levels'], null, 0); } } ?> <?php if ($_smarty_tpl->tpl_vars['count']->value > 0) { ?> <ul> <?php $_smarty_tpl->tpl_vars['node'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['node']->_loop = false; $_from = $_smarty_tpl->tpl_vars['nodelist']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars['node']->key => $_smarty_tpl->tpl_vars['node']->value) { $_smarty_tpl->tpl_vars['node']->_loop = true; if ($_smarty_tpl->tpl_vars['node']->value->depth > $_smarty_tpl->tpl_vars['node']->value->prevdepth) { echo smarty_function_repeat(array('string' => "<ul>", 'times' => $_smarty_tpl->tpl_vars['node']->value->depth - $_smarty_tpl->tpl_vars['node']->value->prevdepth), $_smarty_tpl); ?> <?php } elseif ($_smarty_tpl->tpl_vars['node']->value->depth < $_smarty_tpl->tpl_vars['node']->value->prevdepth) { echo smarty_function_repeat(array('string' => "</li></ul>", 'times' => $_smarty_tpl->tpl_vars['node']->value->prevdepth - $_smarty_tpl->tpl_vars['node']->value->depth), $_smarty_tpl); ?> </li> <?php } elseif ($_smarty_tpl->tpl_vars['node']->value->index > 0) { ?> </li> <?php } ?> <?php if ($_smarty_tpl->tpl_vars['node']->value->parent == true || $_smarty_tpl->tpl_vars['node']->value->current == true) { ?> <?php if (isset($_smarty_tpl->tpl_vars['classes'])) { $_smarty_tpl->tpl_vars['classes'] = clone $_smarty_tpl->tpl_vars['classes']; $_smarty_tpl->tpl_vars['classes']->value = 'menuactive'; $_smarty_tpl->tpl_vars['classes']->nocache = null; $_smarty_tpl->tpl_vars['classes']->scope = 0; } else { $_smarty_tpl->tpl_vars['classes'] = new Smarty_variable('menuactive', null, 0); } ?> <?php if ($_smarty_tpl->tpl_vars['node']->value->parent == true) { ?> <?php if (isset($_smarty_tpl->tpl_vars['classes'])) { $_smarty_tpl->tpl_vars['classes'] = clone $_smarty_tpl->tpl_vars['classes']; $_smarty_tpl->tpl_vars['classes']->value = 'menuactive menuparent'; $_smarty_tpl->tpl_vars['classes']->nocache = null; $_smarty_tpl->tpl_vars['classes']->scope = 0; } else { $_smarty_tpl->tpl_vars['classes'] = new Smarty_variable('menuactive menuparent', null, 0); } ?> <?php } ?> <?php if ($_smarty_tpl->tpl_vars['node']->value->children_exist == true && $_smarty_tpl->tpl_vars['node']->value->depth < $_smarty_tpl->tpl_vars['number_of_levels']->value) { ?> <?php if (isset($_smarty_tpl->tpl_vars['classes'])) { $_smarty_tpl->tpl_vars['classes'] = clone $_smarty_tpl->tpl_vars['classes']; $_smarty_tpl->tpl_vars['classes']->value = $_smarty_tpl->tpl_vars['classes']->value . ' parent'; $_smarty_tpl->tpl_vars['classes']->nocache = null; $_smarty_tpl->tpl_vars['classes']->scope = 0; } else { $_smarty_tpl->tpl_vars['classes'] = new Smarty_variable($_smarty_tpl->tpl_vars['classes']->value . ' parent', null, 0); } ?> <?php } ?> <li class="<?php echo $_smarty_tpl->tpl_vars['classes']->value; ?> "><a class="<?php echo $_smarty_tpl->tpl_vars['classes']->value; ?> " href="<?php echo $_smarty_tpl->tpl_vars['node']->value->url; ?> "><span><?php echo $_smarty_tpl->tpl_vars['node']->value->menutext; ?> </span></a> <?php } elseif ($_smarty_tpl->tpl_vars['node']->value->children_exist == true && $_smarty_tpl->tpl_vars['node']->value->depth < $_smarty_tpl->tpl_vars['number_of_levels']->value && $_smarty_tpl->tpl_vars['node']->value->type != 'sectionheader' && $_smarty_tpl->tpl_vars['node']->value->type != 'separator') { ?> <li class="parent"><a class="parent" href="<?php echo $_smarty_tpl->tpl_vars['node']->value->url; ?> "><span><?php echo $_smarty_tpl->tpl_vars['node']->value->menutext; ?> </span></a> <?php } elseif ($_smarty_tpl->tpl_vars['node']->value->current == true) { ?> <li class="currentpage"><h3><span><?php echo $_smarty_tpl->tpl_vars['node']->value->menutext; ?> </span></h3> <?php } elseif ($_smarty_tpl->tpl_vars['node']->value->type == 'sectionheader') { ?> <li class="sectionheader"><span><?php echo $_smarty_tpl->tpl_vars['node']->value->menutext; ?> </span> <?php } elseif ($_smarty_tpl->tpl_vars['node']->value->type == 'separator') { ?> <li class="separator" style="list-style-type: none;"> <hr /> <?php } else { ?> <li><a href="<?php echo $_smarty_tpl->tpl_vars['node']->value->url; ?> "><span><?php echo $_smarty_tpl->tpl_vars['node']->value->menutext; ?> </span></a> <?php } ?> <?php } echo smarty_function_repeat(array('string' => "</li></ul>", 'times' => $_smarty_tpl->tpl_vars['node']->value->depth - 1), $_smarty_tpl); ?> </li> </ul> <?php } }
function content_56b3277d281fe3_12847251($_smarty_tpl) { if (!is_callable('smarty_function_repeat')) { include 'C:\\xampp\\htdocs\\projects\\usse\\plugins\\function.repeat.php'; } ?> <?php if (isset($_smarty_tpl->tpl_vars['number_of_levels'])) { $_smarty_tpl->tpl_vars['number_of_levels'] = clone $_smarty_tpl->tpl_vars['number_of_levels']; $_smarty_tpl->tpl_vars['number_of_levels']->value = 10000; $_smarty_tpl->tpl_vars['number_of_levels']->nocache = null; $_smarty_tpl->tpl_vars['number_of_levels']->scope = 0; } else { $_smarty_tpl->tpl_vars['number_of_levels'] = new Smarty_variable(10000, null, 0); } if (isset($_smarty_tpl->tpl_vars['menuparams']->value['number_of_levels'])) { ?> <?php if (isset($_smarty_tpl->tpl_vars['number_of_levels'])) { $_smarty_tpl->tpl_vars['number_of_levels'] = clone $_smarty_tpl->tpl_vars['number_of_levels']; $_smarty_tpl->tpl_vars['number_of_levels']->value = $_smarty_tpl->tpl_vars['menuparams']->value['number_of_levels']; $_smarty_tpl->tpl_vars['number_of_levels']->nocache = null; $_smarty_tpl->tpl_vars['number_of_levels']->scope = 0; } else { $_smarty_tpl->tpl_vars['number_of_levels'] = new Smarty_variable($_smarty_tpl->tpl_vars['menuparams']->value['number_of_levels'], null, 0); } } ?> <?php if ($_smarty_tpl->tpl_vars['count']->value > 0) { ?> <div id="menuwrapper"> <ul id="primary-nav"> <?php $_smarty_tpl->tpl_vars['node'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['node']->_loop = false; $_from = $_smarty_tpl->tpl_vars['nodelist']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars['node']->key => $_smarty_tpl->tpl_vars['node']->value) { $_smarty_tpl->tpl_vars['node']->_loop = true; if ($_smarty_tpl->tpl_vars['node']->value->depth > $_smarty_tpl->tpl_vars['node']->value->prevdepth) { ?> <?php echo smarty_function_repeat(array('string' => '<ul class="unli">', 'times' => $_smarty_tpl->tpl_vars['node']->value->depth - $_smarty_tpl->tpl_vars['node']->value->prevdepth), $_smarty_tpl); ?> <?php } elseif ($_smarty_tpl->tpl_vars['node']->value->depth < $_smarty_tpl->tpl_vars['node']->value->prevdepth) { ?> <?php echo smarty_function_repeat(array('string' => '</li><li class="separator once" style="list-style-type: none;"> </li></ul>', 'times' => $_smarty_tpl->tpl_vars['node']->value->prevdepth - $_smarty_tpl->tpl_vars['node']->value->depth), $_smarty_tpl); ?> </li> <?php } elseif ($_smarty_tpl->tpl_vars['node']->value->index > 0) { ?> </li> <?php } if ($_smarty_tpl->tpl_vars['node']->value->parent == true || $_smarty_tpl->tpl_vars['node']->value->current == true) { ?> <?php if (isset($_smarty_tpl->tpl_vars['classes'])) { $_smarty_tpl->tpl_vars['classes'] = clone $_smarty_tpl->tpl_vars['classes']; $_smarty_tpl->tpl_vars['classes']->value = 'menuactive'; $_smarty_tpl->tpl_vars['classes']->nocache = null; $_smarty_tpl->tpl_vars['classes']->scope = 0; } else { $_smarty_tpl->tpl_vars['classes'] = new Smarty_variable('menuactive', null, 0); } ?> <?php if ($_smarty_tpl->tpl_vars['node']->value->parent == true) { ?> <?php if (isset($_smarty_tpl->tpl_vars['classes'])) { $_smarty_tpl->tpl_vars['classes'] = clone $_smarty_tpl->tpl_vars['classes']; $_smarty_tpl->tpl_vars['classes']->value = 'menuactive menuparent'; $_smarty_tpl->tpl_vars['classes']->nocache = null; $_smarty_tpl->tpl_vars['classes']->scope = 0; } else { $_smarty_tpl->tpl_vars['classes'] = new Smarty_variable('menuactive menuparent', null, 0); } ?> <?php } ?> <?php if ($_smarty_tpl->tpl_vars['node']->value->children_exist == true && $_smarty_tpl->tpl_vars['node']->value->depth < $_smarty_tpl->tpl_vars['number_of_levels']->value) { ?> <?php if (isset($_smarty_tpl->tpl_vars['classes'])) { $_smarty_tpl->tpl_vars['classes'] = clone $_smarty_tpl->tpl_vars['classes']; $_smarty_tpl->tpl_vars['classes']->value = $_smarty_tpl->tpl_vars['classes']->value . ' parent'; $_smarty_tpl->tpl_vars['classes']->nocache = null; $_smarty_tpl->tpl_vars['classes']->scope = 0; } else { $_smarty_tpl->tpl_vars['classes'] = new Smarty_variable($_smarty_tpl->tpl_vars['classes']->value . ' parent', null, 0); } ?> <?php } ?> <?php if ($_smarty_tpl->tpl_vars['node']->value->type == 'sectionheader') { ?> <li class="<?php echo $_smarty_tpl->tpl_vars['classes']->value; ?> "><a class="<?php echo $_smarty_tpl->tpl_vars['classes']->value; ?> "><span class="sectionheader"><?php echo $_smarty_tpl->tpl_vars['node']->value->menutext; ?> </span></a> <?php } else { ?> <li class="<?php echo $_smarty_tpl->tpl_vars['classes']->value; ?> "><a class="<?php echo $_smarty_tpl->tpl_vars['classes']->value; ?> " <?php } } elseif ($_smarty_tpl->tpl_vars['node']->value->type == 'sectionheader' && $_smarty_tpl->tpl_vars['node']->value->haschildren == true) { ?> <li><a ><span class="sectionheader"><?php echo $_smarty_tpl->tpl_vars['node']->value->menutext; ?> </span></a> <?php } elseif ($_smarty_tpl->tpl_vars['node']->value->type == 'sectionheader') { ?> <li><a ><span class="sectionheader"><?php echo $_smarty_tpl->tpl_vars['node']->value->menutext; ?> </span></a> <?php } elseif ($_smarty_tpl->tpl_vars['node']->value->type == 'separator') { ?> <li style="list-style-type: none;"> <hr class="menu_separator" /> <?php } elseif ($_smarty_tpl->tpl_vars['node']->value->children_exist == true && $_smarty_tpl->tpl_vars['node']->value->depth < $_smarty_tpl->tpl_vars['number_of_levels']->value && $_smarty_tpl->tpl_vars['node']->value->type != 'sectionheader' && $_smarty_tpl->tpl_vars['node']->value->type != 'separator') { ?> <li class="menuparent"><a class="menuparent" <?php } else { ?> <li> <a <?php } if ($_smarty_tpl->tpl_vars['node']->value->type != 'sectionheader' && $_smarty_tpl->tpl_vars['node']->value->type != 'separator') { if ($_smarty_tpl->tpl_vars['node']->value->target) { ?> target="<?php echo $_smarty_tpl->tpl_vars['node']->value->target; ?> " <?php } ?> href="<?php echo $_smarty_tpl->tpl_vars['node']->value->url; ?> "><span><?php echo $_smarty_tpl->tpl_vars['node']->value->menutext; ?> </span></a> <?php } } echo smarty_function_repeat(array('string' => '</li><li class="separator once" style="list-style-type: none;"> </li></ul>', 'times' => $_smarty_tpl->tpl_vars['node']->value->depth - 1), $_smarty_tpl); ?> </li> </ul> <div class="clearb"></div> </div> <?php } }
function content_51f3bfcf7fdbd2_55275424($_smarty_tpl) { if (!is_callable('smarty_function_repeat')) { include '/homepages/26/d480780604/htdocs/plugins/function.repeat.php'; } if (!is_callable('smarty_modifier_cms_escape')) { include '/homepages/26/d480780604/htdocs/plugins/modifier.cms_escape.php'; } if (!is_callable('smarty_modifier_date_format')) { include '/homepages/26/d480780604/htdocs/lib/smarty/plugins/modifier.date_format.php'; } ?> <!-- .news-summary wrapper --><article class='news-summary'><ul class='category-list cf'><?php $_smarty_tpl->tpl_vars['node'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['node']->_loop = false; $_from = $_smarty_tpl->tpl_vars['cats']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars['node']->key => $_smarty_tpl->tpl_vars['node']->value) { $_smarty_tpl->tpl_vars['node']->_loop = true; if ($_smarty_tpl->tpl_vars['node']->value['depth'] > $_smarty_tpl->tpl_vars['node']->value['prevdepth']) { echo smarty_function_repeat(array('string' => '<ul>', 'times' => $_smarty_tpl->tpl_vars['node']->value['depth'] - $_smarty_tpl->tpl_vars['node']->value['prevdepth']), $_smarty_tpl); } elseif ($_smarty_tpl->tpl_vars['node']->value['depth'] < $_smarty_tpl->tpl_vars['node']->value['prevdepth']) { echo smarty_function_repeat(array('string' => '</li></ul>', 'times' => $_smarty_tpl->tpl_vars['node']->value['prevdepth'] - $_smarty_tpl->tpl_vars['node']->value['depth']), $_smarty_tpl); ?> </li><?php } elseif ($_smarty_tpl->tpl_vars['node']->value['index'] > 0) { ?> </li><?php } ?> <li<?php if ($_smarty_tpl->tpl_vars['node']->value['index'] == 0) { ?> class='first'<?php } ?> ><?php if ($_smarty_tpl->tpl_vars['node']->value['count'] > 0) { ?> <a href='<?php echo $_smarty_tpl->tpl_vars['node']->value['url']; ?> '><?php echo $_smarty_tpl->tpl_vars['node']->value['news_category_name']; ?> </a><?php } else { ?> <span><?php echo $_smarty_tpl->tpl_vars['node']->value['news_category_name']; ?> </span><?php } } echo smarty_function_repeat(array('string' => '</li></ul>', 'times' => $_smarty_tpl->tpl_vars['node']->value['depth'] - 1), $_smarty_tpl); ?> </li></ul><?php $_smarty_tpl->tpl_vars['entry'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['entry']->_loop = false; $_from = $_smarty_tpl->tpl_vars['items']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars['entry']->key => $_smarty_tpl->tpl_vars['entry']->value) { $_smarty_tpl->tpl_vars['entry']->_loop = true; ?> <!-- .news-article (wrapping each article) --><section class='news-article'><header><h2><a href='<?php echo $_smarty_tpl->tpl_vars['entry']->value->moreurl; ?> ' title='<?php echo smarty_modifier_cms_escape($_smarty_tpl->tpl_vars['entry']->value->title, 'htmlall'); ?> '><?php echo smarty_modifier_cms_escape($_smarty_tpl->tpl_vars['entry']->value->title); ?> </a></h2><div class='meta cf'><time class='date' datetime='<?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['entry']->value->postdate, '%Y-%m-%d'); ?> '><span class='day'> <?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['entry']->value->postdate, '%d'); ?> </span><span class='month'> <?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['entry']->value->postdate, '%b'); ?> </span></time><span class='author'> <?php echo $_smarty_tpl->tpl_vars['author_label']->value; ?> <?php echo $_smarty_tpl->tpl_vars['entry']->value->author; ?> </span><span class='category'> <?php echo $_smarty_tpl->tpl_vars['category_label']->value; ?> <?php echo $_smarty_tpl->tpl_vars['entry']->value->category; ?> </span></div></header><?php if ($_smarty_tpl->tpl_vars['entry']->value->summary) { ?> <p><?php $_template = new Smarty_Internal_Template('eval:' . preg_replace('!<[^>]*?>!', ' ', $_smarty_tpl->tpl_vars['entry']->value->summary), $_smarty_tpl->smarty, $_smarty_tpl); echo $_template->fetch(); ?> </p><span class='more'><?php echo $_smarty_tpl->tpl_vars['entry']->value->morelink; ?> →</span><?php } elseif ($_smarty_tpl->tpl_vars['entry']->value->content) { ?> <p><?php $_template = new Smarty_Internal_Template('eval:' . preg_replace('!<[^>]*?>!', ' ', $_smarty_tpl->tpl_vars['entry']->value->content), $_smarty_tpl->smarty, $_smarty_tpl); echo $_template->fetch(); ?> </p><?php } ?> </section><!-- .news-article //--><?php } ?> <!-- news pagination --><?php if ($_smarty_tpl->tpl_vars['pagecount']->value > 1) { ?> <span class='paginate'><?php if ($_smarty_tpl->tpl_vars['pagenumber']->value > 1) { echo $_smarty_tpl->tpl_vars['firstpage']->value; ?> <?php echo $_smarty_tpl->tpl_vars['prevpage']->value; } echo $_smarty_tpl->tpl_vars['pagetext']->value; ?> <?php echo $_smarty_tpl->tpl_vars['pagenumber']->value; ?> <?php echo $_smarty_tpl->tpl_vars['oftext']->value; ?> <?php echo $_smarty_tpl->tpl_vars['pagecount']->value; if ($_smarty_tpl->tpl_vars['pagenumber']->value < $_smarty_tpl->tpl_vars['pagecount']->value) { echo $_smarty_tpl->tpl_vars['nextpage']->value; ?> <?php echo $_smarty_tpl->tpl_vars['lastpage']->value; } ?> </span><?php } ?> </article><!-- .news-summary //--><?php }
function content_56b3277d479a84_47767512($_smarty_tpl) { if (!is_callable('smarty_function_repeat')) { include 'C:\\xampp\\htdocs\\projects\\usse\\plugins\\function.repeat.php'; } if (!is_callable('smarty_modifier_cms_date_format')) { include 'C:\\xampp\\htdocs\\projects\\usse\\plugins\\modifier.cms_date_format.php'; } if (!is_callable('smarty_modifier_cms_escape')) { include 'C:\\xampp\\htdocs\\projects\\usse\\plugins\\modifier.cms_escape.php'; } ?> <!-- Start News Display Template --> <ul class="list1"> <?php $_smarty_tpl->tpl_vars['node'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['node']->_loop = false; $_from = $_smarty_tpl->tpl_vars['cats']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars['node']->key => $_smarty_tpl->tpl_vars['node']->value) { $_smarty_tpl->tpl_vars['node']->_loop = true; if ($_smarty_tpl->tpl_vars['node']->value['depth'] > $_smarty_tpl->tpl_vars['node']->value['prevdepth']) { echo smarty_function_repeat(array('string' => "<ul>", 'times' => $_smarty_tpl->tpl_vars['node']->value['depth'] - $_smarty_tpl->tpl_vars['node']->value['prevdepth']), $_smarty_tpl); ?> <?php } elseif ($_smarty_tpl->tpl_vars['node']->value['depth'] < $_smarty_tpl->tpl_vars['node']->value['prevdepth']) { echo smarty_function_repeat(array('string' => "</li></ul>", 'times' => $_smarty_tpl->tpl_vars['node']->value['prevdepth'] - $_smarty_tpl->tpl_vars['node']->value['depth']), $_smarty_tpl); ?> </li> <?php } elseif ($_smarty_tpl->tpl_vars['node']->value['index'] > 0) { ?> </li> <?php } ?> <li<?php if ($_smarty_tpl->tpl_vars['node']->value['index'] == 0) { ?> class="firstnewscat"<?php } ?> > <?php if ($_smarty_tpl->tpl_vars['node']->value['count'] > 0) { ?> <a href="<?php echo $_smarty_tpl->tpl_vars['node']->value['url']; ?> "><?php echo $_smarty_tpl->tpl_vars['node']->value['news_category_name']; ?> </a><?php } else { ?> <span><?php echo $_smarty_tpl->tpl_vars['node']->value['news_category_name']; ?> </span><?php } } echo smarty_function_repeat(array('string' => "</li></ul>", 'times' => $_smarty_tpl->tpl_vars['node']->value['depth'] - 1), $_smarty_tpl); ?> </li> </ul> <?php if ($_smarty_tpl->tpl_vars['category_name']->value) { ?> <h1><?php echo $_smarty_tpl->tpl_vars['category_name']->value; ?> </h1> <?php } ?> <?php if ($_smarty_tpl->tpl_vars['pagecount']->value > 1) { ?> <p> <?php if ($_smarty_tpl->tpl_vars['pagenumber']->value > 1) { echo $_smarty_tpl->tpl_vars['firstpage']->value; ?> <?php echo $_smarty_tpl->tpl_vars['prevpage']->value; ?> <?php } echo $_smarty_tpl->tpl_vars['pagetext']->value; ?> <?php echo $_smarty_tpl->tpl_vars['pagenumber']->value; ?> <?php echo $_smarty_tpl->tpl_vars['oftext']->value; ?> <?php echo $_smarty_tpl->tpl_vars['pagecount']->value; ?> <?php if ($_smarty_tpl->tpl_vars['pagenumber']->value < $_smarty_tpl->tpl_vars['pagecount']->value) { ?> <?php echo $_smarty_tpl->tpl_vars['nextpage']->value; ?> <?php echo $_smarty_tpl->tpl_vars['lastpage']->value; ?> <?php } ?> </p> <?php } $_smarty_tpl->tpl_vars['entry'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['entry']->_loop = false; $_from = $_smarty_tpl->tpl_vars['items']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars['entry']->key => $_smarty_tpl->tpl_vars['entry']->value) { $_smarty_tpl->tpl_vars['entry']->_loop = true; ?> <div class="NewsSummary"> <?php if ($_smarty_tpl->tpl_vars['entry']->value->postdate) { ?> <div class="NewsSummaryPostdate"> <?php echo smarty_modifier_cms_date_format($_smarty_tpl->tpl_vars['entry']->value->postdate); ?> </div> <?php } ?> <div class="NewsSummaryLink"> <a href="<?php echo $_smarty_tpl->tpl_vars['entry']->value->moreurl; ?> " title="<?php echo smarty_modifier_cms_escape($_smarty_tpl->tpl_vars['entry']->value->title, 'htmlall'); ?> "><?php echo smarty_modifier_cms_escape($_smarty_tpl->tpl_vars['entry']->value->title); ?> </a> </div> <div class="NewsSummaryCategory"> <?php echo $_smarty_tpl->tpl_vars['category_label']->value; ?> <?php echo $_smarty_tpl->tpl_vars['entry']->value->category; ?> </div> <?php if ($_smarty_tpl->tpl_vars['entry']->value->author) { ?> <div class="NewsSummaryAuthor"> <?php echo $_smarty_tpl->tpl_vars['author_label']->value; ?> <?php echo $_smarty_tpl->tpl_vars['entry']->value->author; ?> </div> <?php } ?> <?php if ($_smarty_tpl->tpl_vars['entry']->value->summary) { ?> <div class="NewsSummarySummary"> <?php $_template = new Smarty_Internal_Template('eval:' . $_smarty_tpl->tpl_vars['entry']->value->summary, $_smarty_tpl->smarty, $_smarty_tpl); echo $_template->fetch(); ?> </div> <div class="NewsSummaryMorelink"> [<?php echo $_smarty_tpl->tpl_vars['entry']->value->morelink; ?> ] </div> <?php } elseif ($_smarty_tpl->tpl_vars['entry']->value->content) { ?> <div class="NewsSummaryContent"> <?php $_template = new Smarty_Internal_Template('eval:' . $_smarty_tpl->tpl_vars['entry']->value->content, $_smarty_tpl->smarty, $_smarty_tpl); echo $_template->fetch(); ?> </div> <?php } ?> <?php if (isset($_smarty_tpl->tpl_vars['entry']->value->extra)) { ?> <div class="NewsSummaryExtra"> <?php $_template = new Smarty_Internal_Template('eval:' . $_smarty_tpl->tpl_vars['entry']->value->extra, $_smarty_tpl->smarty, $_smarty_tpl); echo $_template->fetch(); ?> </div> <?php } if (isset($_smarty_tpl->tpl_vars['entry']->value->fields)) { ?> <?php $_smarty_tpl->tpl_vars['field'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['field']->_loop = false; $_from = $_smarty_tpl->tpl_vars['entry']->value->fields; 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; ?> <div class="NewsSummaryField"> <?php if ($_smarty_tpl->tpl_vars['field']->value->type == 'file') { ?> <img src="<?php echo $_smarty_tpl->tpl_vars['entry']->value->file_location; ?> /<?php echo $_smarty_tpl->tpl_vars['field']->value->value; ?> "/> <?php } else { ?> <?php echo $_smarty_tpl->tpl_vars['field']->value->name; ?> : <?php $_template = new Smarty_Internal_Template('eval:' . $_smarty_tpl->tpl_vars['field']->value->value, $_smarty_tpl->smarty, $_smarty_tpl); echo $_template->fetch(); ?> <?php } ?> </div> <?php } } ?> </div> <?php } ?> <!-- End News Display Template --> <?php }
function content_52637d79b654b5_08557908($_smarty_tpl) { if (!is_callable('smarty_function_repeat')) { include '/homepages/26/d480780604/htdocs/plugins/function.repeat.php'; } ?> <?php if ($_smarty_tpl->tpl_vars['count']->value > 0) { ?> <ul class="clearfix"> <?php $_smarty_tpl->tpl_vars['node'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['node']->_loop = false; $_from = $_smarty_tpl->tpl_vars['nodelist']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars['node']->key => $_smarty_tpl->tpl_vars['node']->value) { $_smarty_tpl->tpl_vars['node']->_loop = true; if ($_smarty_tpl->tpl_vars['node']->value->depth > $_smarty_tpl->tpl_vars['node']->value->prevdepth) { echo smarty_function_repeat(array('string' => "<ul>", 'times' => $_smarty_tpl->tpl_vars['node']->value->depth - $_smarty_tpl->tpl_vars['node']->value->prevdepth), $_smarty_tpl); ?> <?php } elseif ($_smarty_tpl->tpl_vars['node']->value->depth < $_smarty_tpl->tpl_vars['node']->value->prevdepth) { echo smarty_function_repeat(array('string' => "</li></ul>", 'times' => $_smarty_tpl->tpl_vars['node']->value->prevdepth - $_smarty_tpl->tpl_vars['node']->value->depth), $_smarty_tpl); ?> </li> <?php } elseif ($_smarty_tpl->tpl_vars['node']->value->index > 0) { ?> </li> <?php } ?> <?php if ($_smarty_tpl->tpl_vars['node']->value->current == true) { ?> <li><a href="<?php echo $_smarty_tpl->tpl_vars['node']->value->url; ?> " class="currentpage"<?php if ($_smarty_tpl->tpl_vars['node']->value->target != '') { ?> target="<?php echo $_smarty_tpl->tpl_vars['node']->value->target; ?> "<?php } ?> > <?php echo $_smarty_tpl->tpl_vars['node']->value->menutext; ?> </a> <?php } elseif ($_smarty_tpl->tpl_vars['node']->value->parent == true && $_smarty_tpl->tpl_vars['node']->value->depth == 1 && $_smarty_tpl->tpl_vars['node']->value->type != 'sectionheader' && $_smarty_tpl->tpl_vars['node']->value->type != 'separator') { ?> <li class="activeparent"> <a href="<?php echo $_smarty_tpl->tpl_vars['node']->value->url; ?> " class="activeparent"<?php if ($_smarty_tpl->tpl_vars['node']->value->target != '') { ?> target="<?php echo $_smarty_tpl->tpl_vars['node']->value->target; ?> "<?php } ?> > <?php echo $_smarty_tpl->tpl_vars['node']->value->menutext; ?> </a> <?php } elseif ($_smarty_tpl->tpl_vars['node']->value->type == 'sectionheader') { ?> <li class="sectionheader"><?php echo $_smarty_tpl->tpl_vars['node']->value->menutext; ?> <?php } elseif ($_smarty_tpl->tpl_vars['node']->value->type == 'separator') { ?> <li style="list-style-type: none;"> <hr class="separator" /> <?php } else { ?> <li><a href="<?php echo $_smarty_tpl->tpl_vars['node']->value->url; ?> "<?php if ($_smarty_tpl->tpl_vars['node']->value->target != '') { ?> target="<?php echo $_smarty_tpl->tpl_vars['node']->value->target; ?> "<?php } ?> > <?php echo $_smarty_tpl->tpl_vars['node']->value->menutext; ?> </a> <?php } ?> <?php } ?> <?php echo smarty_function_repeat(array('string' => "</li></ul>", 'times' => $_smarty_tpl->tpl_vars['node']->value->depth - 1), $_smarty_tpl); ?> </li> </ul> <?php } }