<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>图片分类管理</title>
<link href="<{$css_root}>images/admincp.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="append_parent"/>
<div id="cpcontainer" class="container">
  <div class="itemtitle">
    <h3>分类管理</h3>
  </div>
  <table id="tips" class="tb tb2">
    <tbody>
      <tr>
        <th class="partition">操作提示</th>
      </tr>
      <tr>
        <td class="tipsblock"><ul id="tipslis">
            <li>点击添加一级分类，将添加一个相对于网站根分类的子分类</li>
            <li>点击添加二级分类，将添加一个相对于该一级分类的子分类</li>
            <li>点击分类后面的小 “+” 号，将添加相对于该分类的子分类</li>
          </ul></td>
      </tr>
    </tbody>
  </table>
  <table class="tb tb2">
    <tbody>
      <tr class="header">
        <th>显示顺序</th>
        <th class="td29">分类名称</th>
        <th>分类说明</th>
        <th/>
      </tr>
      
      <{section name=sec1 loop=$cates}>
      <tr class="hover">
        <td class="td23"> <{$cates[sec1].displayorder}> </td>
        <td class="td29"><div class="parentboard"> <{$cates[sec1].name}> </div></td>
        <td><{$cates[sec1].note}></td>
        <td><a class="act" title="编辑本版块设置" href="picture_cate.php?act=edit&pid=<{$cates[sec1].catid}>">编辑</a> <a class="act" title="删除本版块及其中所有帖子" href="picture_cate.php?act=remove&pid=<{$cates[sec1].catid}>">删除</a> </td>
      </tr>
      <{section name=sec2 loop=$cates[sec1].children}>
      <tr class="hover">
        <td class="td23"> <{$cates[sec1].children[sec2].displayorder}> </td>
        <td><div class="board"> <{$cates[sec1].children[sec2].name}> </div></td>
        <td><{$cates[sec1].children[sec2].note}></td>
        <td><a class="act" title="编辑本版块设置" href="picture_cate.php?act=edit&pid=<{$cates[sec1].children[sec2].catid}>">编辑</a> <a class="act" title="删除本版块及其中所有帖子" href="picture_cate.php?act=remove&pid=<{$cates[sec1].children[sec2].catid}>">删除</a> </td>
      </tr>
      <{section name=sec3 loop=$cates[sec1].children[sec2].children}>
      <tr class="hover">
        <td class="td23"> <{$cates[sec1].children[sec2].children[sec3].displayorder}> </td>
        <td><div class="childboard"> <{$cates[sec1].children[sec2].children[sec3].name}> </div></td>
        <td><{$cates[sec1].children[sec2].children[sec3].note}></td>
        <td><a class="act" title="编辑本版块设置" href="picture_cate.php?act=edit&pid=<{$cates[sec1].children[sec2].children[sec3].catid}>">编辑</a> <a class="act" title="删除本版块及其中所有帖子" href="picture_cate.php?act=remove&pid=<{$cates[sec1].children[sec2].children[sec3].catid}>">删除</a> </td>
      </tr>
      <{/section}>
      <tr>
        <td/>
        <td colspan="3"><div class="lastchildboard"> <a class="addtr" href="picture_cate.php?act=add&pid=<{$cates[sec1].children[sec2].catid}>">添加三级分类</a> </div></td>
      </tr>
      <{/section}>
       <tr>
        <td/>
        <td colspan="3"><div class="lastboard"> <a class="addtr" href="picture_cate.php?act=add&pid=<{$cates[sec1].catid}>">添加二级分类</a> </div></td>
      </tr>
     
      <{/section}>
      <tr>
        <td/>
        <td colspan="3"><div> <a class="addtr" href="picture_cate.php?act=add&pid=0">添加一级分类</a> </div></td>
      </tr>
      
      
      
      <!--<tr class="hover">
        <td class="td23"> 0 </td>
        <td class="td29"><div class="parentboard"> 新闻中心 </div></td>
        <td>这是一些新闻</td>
        <td><a class="act" title="编辑本版块设置" href="">编辑</a> <a class="act" title="删除本版块及其中所有帖子" href="">删除</a> </td>
      </tr>
      <{section loop=$cates name=cates}>
      <tr class="hover">
        <td class="td23"> <{$cates[cates].displayorder}> </td>
        <td class="td29"><div class="board"> <{$cates[cates].name}> <a class="addchildboard" href="#">添加子分类</a> </div></td>
        <td><{$cates[cates].note}> </td>
        <td><a class="act" title="编辑本版块设置" href="">编辑</a> <a class="act" title="删除本版块及其中所有帖子" href="">删除</a> </td>
      </tr>
      <{/section}>
      <tr class="hover">
        <td class="td23"> 0 </td>
        <td><div class="childboard"> 人事部 <a class="addchildboard" href="#">添加子分类</a></div></td>
        <td></td>
        <td><a class="act" title="编辑本版块设置" href="">编辑</a> <a class="act" title="删除本版块及其中所有帖子" href="">删除</a> </td>
      </tr>
      <tr class="hover">
        <td class="td23"> 0 </td>
        <td><div class="childboard"> 技术部 <a class="addchildboard" href="#">添加子分类</a></div></td>
        <td></td>
        <td><a class="act" title="编辑本版块设置" href="">编辑</a> <a class="act" title="删除本版块及其中所有帖子" href="">删除</a> </td>
      </tr>
      <tr class="hover">
        <td class="td23"> 0 </td>
        <td><div class="board"> 国内新闻 <a class="addchildboard" href="#">添加子分类</a> </div></td>
        <td></td>
        <td><a class="act" title="编辑本版块设置" href="">编辑</a> <a class="act" title="删除本版块及其中所有帖子" href="">删除</a> </td>
      </tr>-->
      
      
      
      <!--<tr>
        <td/>
        <td colspan="3"><div class="lastboard"> <a class="addtr" onclick="addrow(this, 1, 1)" href="###">添加二级分类</a> </div></td>
      </tr>
      <tr>
        <td/>
        <td colspan="3"><div> <a class="addtr" onclick="addrow(this, 0)" href="###">添加一级分类</a> </div></td>
      </tr>-->
      <tr>
        <td colspan="15"><div class="fixsel"> </div></td>
      </tr>
    </tbody>
  </table>
</div>
</body>
</html>
