<script>tb_init('a.thickbox, area.thickbox, input.thickbox');</script>
<{if $num > 0 }>
<{section name=classList  loop=$classArray}>
	<table style="width:100%;" cellspacing="0">
	  <tr>
		<td style="width:40%;"><{$classArray[classList].name}></td>
		<td style="width:60%;"><a href="<{$baseUrl}>/admin/class/add/height/100/width/320/type/edit/id/<{$classArray[classList].pid}>/name/<{$classArray[classList].name|urlencode}>/" class="thickbox" title="编辑分类">编辑分类</a>&nbsp;&nbsp;
		<a href="<{$baseUrl}>/admin/class/add/height/100/width/320/type/add/id/<{$classArray[classList].pid}>/" class="thickbox" title="创建子类">创建子类</a>&nbsp;&nbsp;
		<a href="#" onclick="FetchClass('<{$classArray[classList].id}>');"  title="查看子分类">查看子分类</a>&nbsp;&nbsp;
		<a href="<{$baseUrl}>/admin/class/del/id/<{$classArray[classList].id}>/" onclick="return shouldDelItem();" title="删除分类">删除分类</a></td></tr>
		<tr><td colspan="2">
		<div style="display:none;width:100%;" id="classhidden<{$classArray[classList].id}>">
		<span class="classhidden<{$classArray[classList].id}>"></span>
		</td></tr>
	  </div>
	</table>
<{/section}>
<{/if}>