<a href="{dede:field name='typeurl'/}"><กก {dede:field name='typename'/}</a>
	   <ul>
	     {dede:sql sql='Select * from ccl_arctype where reid=~id~ ORDER BY id limit 0,100'}
		 <li><a href="[field:typedir runphp='yes' function='str_replace("{cmspath}","",@me)']@me=@me."/";@me=str_replace("//","/",@me);[/field:typedir][field:defaultname/]" title="[field:typename/]">[field:typename/]</a></li>
		 {/dede:sql}
	   </ul>