<!-- start module blocks -->
<div class="<{$block.mydirname}>itemSide" style="border:0px ;">
<div class="item" style="border:0px ;">
<div class="itemBody">
<ul class="<{$block.mydirname}>yd_rightarea">
<{section name=num loop=$block.catopt}>
   <{if $block.catopt[num].cid<=10000}>
	<li<{if $block.catopt[num].subcat==1}> style="margin-left:12px !important;"<{/if}>>
	<{if $block.catopt[num].blogtype>0 && $block.catopt[num].cid>0}>
	<img src="<{$xoops_url}>/modules/<{$block.mydirname}>/images/door_out.gif" border=0 style="vertical-align:middle;" /> 
	<a data-ajax="false" href="<{$xoops_url}>/modules/<{$block.mydirname}>/index.php?page=other&amp;req_uid=<{$block.yd_uid}>&amp;cid=<{$block.catopt[num].cid}>"><{$block.catopt[num].cname}></a>
	<{else}>
	<a data-ajax="false" href="<{$block.base_url}>&amp;req_uid=<{$block.yd_uid}>&amp;mode=category&amp;cid=<{$block.catopt[num].cid}><{if $block.tag_name}>&amp;tag_name=<{$block.tag_name}><{/if}>"><{$block.catopt[num].cname}>(<{$block.catopt[num].num}>)</a>
	<{/if}>
	</li>
   <{/if}>
<{/section}>
<hr />
<{section name=num loop=$block.catopt}>
   <{if $block.catopt[num].cid>10000}>
	<li<{if $block.catopt[num].subcat==1}> style="margin-left:12px !important;"<{/if}>>
	<{if $block.catopt[num].blogtype>0}>
	<a data-ajax="false" href="<{$xoops_url}>/modules/<{$block.mydirname}>/index.php?page=other&amp;req_uid=<{$block.yd_uid}>&amp;cid=<{$block.catopt[num].cid}>"><{$block.catopt[num].cname}></a>
	<img src="<{$xoops_url}>/modules/<{$block.mydirname}>/images/door_out.gif" border=0 style="vertical-align:middle;" /> 
	<{else}>
    <a data-ajax="false" href="<{$block.base_url}>&amp;req_uid=<{$block.yd_uid}>&amp;mode=category&amp;cid=<{$block.catopt[num].cid}><{if $block.tag_name}>&amp;tag_name=<{$block.tag_name}><{/if}>"><{$block.catopt[num].cname}>(<{$block.catopt[num].num}>)</a>
	<{/if}>
	</li>
   <{/if}>
<{/section}>
</ul>
</div><!-- /itemBody -->
<{if $block.yd_owner==1 && $block.yd_editperm==1}>
<div class="itemFoot">
<a data-ajax="false" href="<{$xoops_url}>/modules/<{$block.mydirname}>/index.php?page=editcategory">
<img src="<{$xoops_url}>/modules/<{$block.mydirname}>/images/arrow1.png" border=0 style="vertical-align:middle;" />
<{$block.lang.edit}></a>
</div><!-- /itemFoot -->
<{/if}>
</div><!-- /item -->
</div><!-- /itemSide -->
