<?php include 'header.tpl.php';?>
<div class="pMenu">
<li><a href="javascript:frmExecute('');">管理</a></li>
<?php if($get_id>0):?>
	<li><a href="javascript:frmSet('id',0);frmExecute('edit');">添加</a></li>
	<li class="sel"><a href="javascript:frmExecute('edit');">编辑</a></li>
<?php else:?>
	<li class="sel"><a href="javascript:frmSet('id',0);frmExecute('edit');">添加</a></li>
<?php endif;?>
<li class="info"><a href="javascript:inc_show_help(193);" style="color:#ff0000">帮助</a></li>
</div>
<div>
	<table class='pEditTable'>
	<tr class='pTabTitRow'><td class='pTabTitCol' colspan="2"></td></tr>
	<tr><td class="pTabColName" width="100px">名称：</td><td class="pTabColVal"><input type="text" name="fz_name" value="<?php echo $arr_fz["fz_name"];?>" size=15>　<span class="pBetainfo"></span></td></tr>
	<tr><td class="pTabColName">域名：</td><td class="pTabColVal"><input type="text" name="fz_domain" value="<?php echo $arr_fz["fz_domain"];?>" size=50></td></tr>
	<tr><td class="pTabColName">模板目录：</td><td class="pTabColVal"><input type="text" name="fz_temp" value="<?php echo $arr_fz["fz_temp"];?>" size=50></td></tr>
	<tr><td class="pTabColName">状态：</td><td class="pTabColVal">
		<select name="fz_state">
		<?php foreach($arr_state as $item=>$key){
				$str_sel="";
				if(intval($key)==$arr_fz["fz_state"]) $str_sel=" selected";
				echo "<option value='".$key."'".$str_sel.">".$item."</option>";
			}?>
		</select></td></tr>
	<tr><td class="pTabColName">&nbsp;</td><td 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';?>		
