{if $sidemenu.tag != ""}

<div id="taglist">
<h3>タグ</h3>
<ul>
{foreach from=$sidemenu.tag item=tags}
  <li style="{$tags.style}"><a href="{$scriptName}?action=general_itemview_itemlist&tag={$tags.tagnm|escape:'url'}">{$tags.tagnm|escape:"html"}</a></li>
{/foreach}
</ul>
</div><!--End of taglist-->

{/if}
