{#include file="sys/admin_header.htm"#}
<div class="admin_main_nr_dbox">
 <div class="pagetit">
	<div class="ptit"> {#$pageheader#}</div>
	{#include file="nav/admin_nav_nav.htm"#}
  <div class="clear"></div>
</div>
<div class="toptip">
<h2>提示：</h2>
<p>
页面关联标记与导航关联标记相同时(导航关联标记请在页面管理中查看)，与之关联的页面将高亮显示；        例如：在页面管理中，首页的导航关联标记为homepage,在自定义导航中增加网站首页栏目，页面关联标为homepage，那么打开网站首页页面，则此栏目高亮显示。
</p>
</div>
  <form action="?act=site_navigation_all_save" method="post"  name="form1" id="form1"> 
  {#$inputtoken#}
    <table width="100%" border="0" cellpadding="0" cellspacing="0"  id="list" class="link_lan">
      <tr>
        <td width="8%"  class="admin_list_tit admin_list_first" >显示</td>
        <td  class="admin_list_tit">名称</td>
        <td width="15%" align="center" class="admin_list_tit">页面关联标记</td>
        <td width="8%" align="center" class="admin_list_tit">位置</td>
        <td width="15%" align="center" class="admin_list_tit">打开方式</td>
        <td width="8%" align="center" class="admin_list_tit">排序</td>
        <td width="12%" align="center" class="admin_list_tit">编辑</td>
      </tr>
	   {#foreach from=$list item=li#}
	     <tr>
        <td  class="admin_list admin_list_first">
		 {#if $li.display=="1"#}
	  <span style="color: #FF3300">显示</span>
	  {#else#}
	<span style="color:#999999">不显示</span>
	  {#/if#}
		</td>
        <td    class="admin_list">
		<input name="title[]" type="text"  class="input_text_200" id="title" value="{#$li.title#}"   />
		</td>
        <td align="center"    class="admin_list">{#$li.tag#}&nbsp;</td>
        <td align="center"   class="admin_list">{#$li.categoryname#}</td>
        <td align="center"   class="admin_list">
		{#if $li.target=="_blank"#}
		新窗口
		{#/if#}
		{#if $li.target=="_self"#}
		<span style="color:#666666">原窗口</span>
		{#/if#}		</td>
        <td align="center"  class="admin_list" >
		<input name="navigationorder[]" type="text"  class="input_text_50" id="title" value="{#$li.navigationorder#}"   />
		</td>
        <td align="center"  class="admin_list" >
		<a href="?act=site_navigation_edit&id={#$li.id#}">修改</a>		{#if $li.systemclass!="1"#}
		<a href="?act=del_navigation&id={#$li.id#}&{#$urltoken#}"  onclick="return confirm('你确定要删除吗？')">删除</a>
		{#/if#}
		<input name="id[]" type="hidden" value="{#$li.id#}" />	
		</td>
      </tr>
	   {#/foreach#}
    </table>
	<table width="100%" border="0" cellspacing="10" cellpadding="0" class="admin_list_btm">
      <tr>
        <td>
<input type="submit" name="Submit22" value="保存修改" class="admin_submit"   />

		<input name="add" type="button" class="admin_submit" id="add"    value="添加栏目"  onclick="window.location='?act=site_navigation_add'"/>
		</td>
        <td width="305" align="right">		
	    </td>
      </tr>
  </table>
  </form>
</div>
{#include file="sys/admin_footer.htm"#}
</body>
</html>