<?php include 'header.tpl.php';?>
<div class="pMenu">
<li><a href="javascript:frmExecute('');">管理</a></li>
<?php if($obj_ctl_limit->chk_act("add")){?><li class="sel"><a href="javascript:frmExecute('add');">添加</a></li><?php }?>
<li class="info"><a href="javascript:inc_show_help(200);" style="color:#ff0000">帮助</a></li>
</div>
<div>
	<table class='pEditTable'>
	<tr class='pTabTitRow'><td class='pTabTitCol' colspan="2"></td></tr>
	<tr><td class="pTabColName">注册模块：</td><td class="pTabColVal">
	<select name="page_model_id">
	<?php 
	foreach($arr_model as $item){
		if($item["model_id"]==$get_model_id){
			echo "<option value='".$item["model_id"]."' selected>".$item["model_name"]."</option>";
		}else{
			echo "<option value='".$item["model_id"]."'>".$item["model_name"]."</option>";		}
	}	
	?>
	</select>
	</td></tr>
	<tr><td class="pTabColName">页面名：</td><td class="pTabColVal"><input type="input" name="page_name" value="" size=50>　<span class="pBetainfo"></span></td></tr>
	<tr><td class="pTabColName">地　址：</td><td class="pTabColVal"><input type="input" name="page_url" value="" size=50>　<span class="pBetainfo">同一模块下页面地址不能重复</span></td></tr>
	<tr><td class="pTabColName">菜单显示：</td><td class="pTabColVal"><input type="radio" name="page_ismenu" value="1" checked>是&nbsp;&nbsp;<input type="radio" name="page_ismenu" value="0">否</td></tr>
	<tr><td class="pTabColName">操　作：</td><td class="pTabColVal"><textarea name='page_act' id="page_act" style='width:400px;height:120px'></textarea></td></tr>
	<tr><td colspan=2 class="pTabSubmit">
	<?php if($obj_ctl_limit->chk_act("save")){?><input type="button" name="subok" value="保 存" class="pSubmit" onclick="frmExecute('save')"><?php }else{?>
	<font color="red">没有保存权限！</font>
	<?php }?>
	　<input type="button" name="subok" value="取　消" class="pCancel" onclick="frmExecute('')"></td></tr>
	</table>
</div>
<?php include 'footer.tpl.php';?>		
