{messages block='gallery'}

{if $iCnt}
{str_replace text="`viewing_ifrom_ito_out_of_icnt_image`" iFrom="`$iFrom`" iTo="`$iTo`" iCnt="`$iCnt`" }
{/if} {include file="$sRootPath/_blocks/pager_nav_button.html"} {if count($aItems)} {if $aForm.display == 1} {/if} {foreach from=$aItems key=key item=aItem name=aitems} {if $aForm.display|default:"1" == 1} {if $key % 3 == 2} {if $smarty.foreach.aitems.last == true} {/if} {/if} {elseif $aForm.display == 2} {elseif $aForm.display == 3} {/if} {/foreach} {if $aForm.display == 1} {/if}
{$aItem.text|truncate:40|wordfilter|process_code}
{img src="`$sImagePath`thumb/`$aItem.id`.jpg" alt="" src_def="design/pic/noimage_120.jpg"}
{if $bAdmin || $bStaff} {/if}
{if !$aItem.text}{language text='Mod_Site.untitled'}{else}{$aItem.text|truncate:40|wordfilter|escape}{/if} {language text="by_397"} {$aItem.user} {$aItem.gcatagory} {$aItem.time|date_format:$sMonthDateFormat}
{img src="`$sImagePath`thumb/`$aItem.id`.jpg" alt="" src_def="design/pic/noimage_120.jpg"} {language text="posted_by_604"}: {$aItem.user}
{language text="title"}: {if !$aItem.text}{language text='Mod_Site.untitled'}{else}{$aItem.text|truncate:40|wordfilter|escape}{/if}
{language text="views"}: {$aItem.view}
{language text="comments_67"}: {$aItem.comment}
{language text="image_url_location"}:
{else}
{language text="no_items_were_found"}
{/if} {include file="$sRootPath/_blocks/pager_nav_button.html"}

{Tag::List type='gallery'}