<{if $block.direction == 0}> <{foreach item=photo from=$block.photos}> <{/foreach}> <{else}> <{foreach item=photo from=$block.photos}> <{/foreach}> <{/if}>
<{$photo.photo_desc}> <{if $block.desc}>

<{$photo.photo_desc}>

<{/if}>
<{$photo.photo_desc}> <{if $block.desc}>

<{$photo.photo_desc}>

<{/if}>