<{foreach item=item from=$cloud key=tag}> class="selected"<{/if}>><{$tag|xoops_escape}> <{/foreach}>