\r\n {$main_title nocache} {* title tag *}\r\n {$main_content nocache} {* content entered in page editor area, variable is assigned on top in template logic, using nocache as variables are cached with Smarty cache on *}\r\n
\r\nNews\r\n \r\n {foreach from=$cats item=''node''}\r\n {if $node.depth > $node.prevdepth}\r\n {repeat string='''' times=$node.depth-$node.prevdepth}\r\n {elseif $node.depth < $node.prevdepth}\r\n {repeat string='''' times=$node.prevdepth-$node.depth}\r\n \r\n {elseif $node.index > 0}\r\n {/if}\r\n \r\n {if $node.count > 0}\r\n {$node.news_category_name}{else}{$node.news_category_name} {/if}\r\n {/foreach}\r\n {repeat string='''' times=$node.depth-1}\r\n \r\n {foreach from=$items item=''entry''}\r\n \r\n \r\n \r\n moreurl}'' title=''{$entry->title|cms_escape:htmlall}''>{$entry->title|cms_escape}\r\n \r\n \r\n {$entry->postdate|date_format:''d''} \r\n {$entry->postdate|localedate_format:''%b''} \r\n \r\n {$author_label} {$entry->author} \r\n {$category_label} {$entry->category}\r\n \r\n \r\n {if $entry->summary}\r\n {$entry->summary|strip_tags}\r\n {$entry->morelink} →\r\n {else if $entry->content}\r\n {$entry->content|strip_tags}\r\n {/if}\r\n \r\n \r\n {/foreach}\r\n \r\n {if $pagecount > 1}\r\n \r\n {if $pagenumber > 1}\r\n {$firstpage} {$prevpage}\r\n {/if}\r\n {$pagetext} {$pagenumber} {$oftext} {$pagecount}\r\n {if $pagenumber < $pagecount}\r\n {$nextpage} {$lastpage}\r\n {/if}\r\n \r\n {/if}\r\n