<!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>
    <ul class="tab1">
      <li class="current"> <a href="navgation.php?act=show"> <span>导航列表</span> </a> </li>
      <li> <a href="navgation.php?act=add"> <span>添加导航</span> </a> </li>
    </ul>
  </div>
  <table id="tips" class="tb tb2">
    <tbody>
      <tr>
        <th class="partition">设置提示</th>
      </tr>
      <tr>
        <td class="tipsblock"><ul id="tipslis">
            <li>建议导航栏的数目不要超过9个。</li>
            <li>如果导航栏链接为外部链接，需要使用HTTP开头的完整url地址。</li>
            <li>您可以设置导航栏的显示顺序，默认为从小到大排序。</li>
          </ul></td>
      </tr>
    </tbody>
  </table>
  <table class="tb tb2">
    <tbody>
      <tr class="header">
        <th>id</th>
        <th>导航名称</th>
        <th>链接地址</th>
        <th>打开方式</th>
        <th>显示顺序</th>
        <th/>
        <th/>
      </tr>
      <{section name=nav loop=$navs}>
      <tr class="hover navlineheight">
        <td class="td25"><{$navs[nav].id}> </td>
        <td class="td29"><{$navs[nav].name}> </td>
        <td><{$navs[nav].url}> </td>
        <td><{$navs[nav].target}></td>
        <td><{$navs[nav].displayorder}> </td>
        <td><a class="act" href="navgation.php?act=edit&id=<{$navs[nav].id}>">编辑</a> </td>
        <td><a class="act" href="navgation.php?act=remove&id=<{$navs[nav].id}>">删除</a> </td>
      </tr>
      <{/section}>
      <!--<tr class="hover navlineheight">
      	<td class="td25"></td>
        <td class="td25">2 </td>
        <td class="td29">企业简介 </td>
        <td>list.php?id=1 </td>
        <td>原窗口</td>
        <td>20 </td>
        <td><a class="act" href="#">编辑</a> </td>
        <td><a class="act" href="#">删除</a> </td>
      </tr>
      <tr class="hover navlineheight">
      	<td class="td25"></td>
        <td class="td25">3 </td>
        <td class="td29">企业新闻 </td>
        <td>list.php?id=2 </td>
        <td>新窗口</td>
        <td>30 </td>
        <td><a class="act" href="#">编辑</a> </td>
        <td><a class="act" href="#">删除</a> </td>
      </tr>-->
     
    </tbody>
  </table>
</div>
</div>
</body>
</html>
