{*if $_anc_search_form.search.query.value != '' || $_anc_search_form.search.id_category.value != '' || $_show_back}
{/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}
{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
|
{$item.items|@print_r}*}