<{* -- list type -- *}>
<{if $cfg_viewtype == 'list'}>
<{else}>
<{/if}>
<{foreach name=webphoto_list item=photo from=$photo_list}>
<{assign var="webphoto_list_num" value=$smarty.foreach.webphoto_list.iteration }>
<{include file="db:`$mydirname`_inc_photo_in_list.html"}>
<{/foreach}>
<{* -- list type end -- *}>
<{* -- table type -- *}>
<{if $cfg_viewtype == 'table'}>
<{else}>
<{/if}>
<{foreach name=webphoto_list item=photo from=$photo_list}>
<{* -- open table photo -- *}>
<{if $smarty.foreach.webphoto_list.iteration mod $cfg_colsoftableview == 1}>
<{/if}>
<{* -- open table column -- *}>
<{include file="db:`$mydirname`_inc_photo_in_table.html"}>
|
<{* -- close table column -- *}>
<{if ($smarty.foreach.webphoto_list.iteration is div by $cfg_colsoftableview) || $smarty.foreach.webphoto_list.last}>
<{/if}>
<{* -- close table photo -- *}>
<{/foreach}>
<{* -- table type end -- *}>