<div class="picgg" align="center">
<{foreach item=item1 from=$ad}>
<a href='<{$item1[0]}>' target='_blank' title='<{$item1[1]}>'><img height='60' width='476' style='padding:2px;' src='u/<{$item1[2]}>' title='<{$item1[3]}>' /></a>
<{/foreach}>
</div>