{#include file="sys/admin_header.htm"#}
<div class="admin_main_nr_dbox">
<div class="pagetit">
	<div class="ptit"> {#$pageheader#}</div>
	{#include file="weixin/admin_weixin_nav.htm"#}
  <div class="clear"></div>
</div>
<div class="toptit">新增菜单</div>
<form id="form1" name="form1" method="post" action="?act=add_menu_save">
{#$inputtoken#}
<div id="html_tpl">
<table width="100%" border="0" cellspacing="6" cellpadding="0" style="border-bottom:1px #93AEDD  dashed">
 <tr>
    <td width="120" align="right">所属菜单:</td>
    <td>
	<select name="parentid">
	  <option value="0" {#if "0"==$smarty.get.parentid#}selected="selected"{#/if#}>顶级菜单</option>
	  {#foreach from=$parent_manu item=list#}
	  <option value="{#$list.id#}" {#if $list.id==$smarty.get.parentid#}selected="selected"{#/if#}>{#$list.title#}</option>
	{#/foreach#}
	
	</select>
	</td>
 </tr>
  <tr>
    <td width="120" align="right">标题:</td>
    <td><input name="title" type="text" class="input_text_200"  value=""/></td>
  </tr>
  <tr>
    <td width="120" align="right">菜单KEY:</td>
    <td><input name="key" type="text" class="input_text_200"  value=""/></td>
  </tr>
   <tr>
    <td width="120" align="right">菜单类型:</td>
    <td>
	<select name="type">
	  <option value="click" selected="selected">点击事件</option>
	  <option value="view">链接事件</option>
	</select>
	</td>
 </tr>
  <tr>
    <td width="120" align="right">URL:</td>
    <td><input name="url" type="text" class="input_text_200"  value=""/></td>
  </tr>
  <tr>
    <td width="120" align="right">菜单状态:</td>
    <td>
		<label><input type="radio" name="status" value="1" checked>显示</label>
		<label><input type="radio" name="status" value="0">隐藏</label>
	</td>
  </tr>
   <tr>
    <td width="120" align="right">排序:</td>
    <td><input name="menu_order" type="text" class="input_text_200"  value="0"/></td>
  </tr>
</table>
</div>
		 <div id="html"></div>
<table width="100%" border="0" cellspacing="6" cellpadding="0">
  <tr>
    <td width="120"> </td>
    <td>
	<input type="submit" name="addsave" value="保存" class="admin_submit" />
		  <input name="submit22" type="button" class="admin_submit"    value="返 回" onclick="window.location='?act=set_menu'"/>
	
	</td>
  </tr>
</table>
 </form>
</div>
{#include file="sys/admin_footer.htm"#}
</body>
</html>