<{* $Id: webphoto_block_tophits_p.html,v 1.13 2010/10/10 11:21:38 ohwada Exp $ *}> <{* popbox.js *}> <{if $block.show_popbox_js}> <{$block.popbox_js}> <{/if}> <{* google map *}> <{if $block.show_gmap}> <{$block.gmap}> <{/if}> <{* count begins from 1 *}> <{foreach item=photo key=count from=$block.photo name=photo_list}> <{* -- open table row -- *}> <{if $block.cols == 1}> <{elseif $smarty.foreach.photo_list.iteration mod $block.cols == 1}> <{/if}> <{* -- close table row -- *}> <{if $block.cols == 1}> <{elseif $smarty.foreach.photo_list.iteration is div by $block.cols}> <{elseif $smarty.foreach.photo_list.last}> <{/if}> <{/foreach}>
<{if $photo.title_short_s != '' }> <{if $block.cfg_use_pathinfo }> <{else}> <{/if}> <{$photo.title_short_s}> <{/if}> (<{$photo.item_hits}> <{$photo.hits_suffix}>)
<{* POPUP IMAGE *}> <{if ( $photo.onclick == 2 ) && $block.show_popbox }> <{if $photo.img_thumb_width && $photo.img_thumb_height }> <{$photo.title_s}> <{else}> <{$photo.title_s}> <{/if}> <{* PHOTO PAGE *}> <{else}> <{if $block.cfg_use_pathinfo }> <{else}> <{/if}> <{if $photo.img_thumb_src_s && $photo.img_thumb_width && $photo.img_thumb_height }> <{$photo.title_s}> <{elseif $photo.img_thumb_src_s }> <{$photo.title_s}> <{/if}> <{/if}>