{*if $_anc_search_form.search.query.value != '' || $_anc_search_form.search.id_category.value != '' || $_show_back}
Show All Posts
{/if*}

{if count($item.items)}Showing {php}$this->_tpl_vars['itemsCount'] = count($this->_tpl_vars['item']['items']);{/php} {math equation="pageNum*ipp+1" pageNum=$item.pageNum ipp=$item.ipp} - {math equation="pageNum*ipp+cnt" pageNum=$item.pageNum ipp=$item.ipp cnt=$itemsCount} of {$item.num_rows}{/if}

{if $_anc_search_form}
{$_anc_search_form.javascript}
{$_anc_search_form.hidden}
{$_anc_search_form.archives.html}
Search by Year
{/if}
{strip} {if $item.list_pages}{assign var='list_pages' value=$item.list_pages}{/if}
{foreach from=$item.items item="row"} {foreachelse} {/foreach}
{php} $anc = $this->get_template_vars('row'); $this->assign('img_params', array( $anc['image'], $anc['id_category'], $anc['id_type'] )); $this->assign('img_row_format', array( 'imgW' => 79, 'imgH' => 60, )); {/php} {include file="`$BASE_PATH`/app/Announcement/tpl/announcement_image.tpl" params=$img_params row_format=$img_row_format} {*{$row.announcement_category_title|htmlspecialchars}: *}{$row.title|htmlspecialchars}
{$row.brief} {*
{math assign="comments" equation="x - y" x=$row.comments_total y=$row.comments_disapproved} {if $comments == 0}No{else}{$comments}{/if} Comment{if $comments == 0 || $comments > 1}s{/if} »
*}
No posts in this category
{include file = "Announcement/pager.tpl"} {/strip}
{*
{$item.items|@print_r}
*}