{* Show the thumbnails *} {foreach from=$pipicthumbs item=entry} {assign var=border value=0} {if $entry->selected eq 1}{assign var=border value=2px}{/if} {cycle values="