<?php include_once tpl('header');?>
<card title="管理日记分类 - <?php echo setting('webname');?>">
<p align="left">
<?php if (!empty($typeList)):?>
	<?php foreach ($typeList as $type):?>
		<?php echo ++$i;?>.<?php echo $this->filter($type['name']);?>(<?php echo $type['num'];?>篇) [<?php echo ilink('编辑',url('system',array('s'=>'member','c'=>'diary','a'=>'te','tid'=>$type['id'])));?>][<?php echo ilink('删除',url('system',array('s'=>'member','c'=>'diary','a'=>'td','tid'=>$type['id'])));?>]<br/>
	<?php endforeach;?>
<?php else:?>
	暂无分类<br/>
<?php endif;?>
---------
<br/>
<?php echo ilink('创建新分类',url('system',array('s'=>'member','c'=>'diary','a'=>'ta')));?>
<br/>
<?php include_once tpl('footer');?>