<?php include 'header.tpl.php';?>
<style>
.me_menu{float:left;width:100%}
.me_menu li{float:left;padding:5px 10px 3px 10px;margin-top:10px;cursor:pointer;}
.me_menu .sel{color:#0000ff}
</style>
<script>
function me_set_lab(msgid){
	var obj_x,obj_y;
	for(var i=1;i<4;i++){
		obj_x=document.getElementById("id_label_"+i);
		obj_y=document.getElementById("id_menu_"+i);
		if(i==msgid){
			obj_x.style.display="";
			obj_y.className="sel";
		}else{
			obj_x.style.display="none";
			obj_y.className="";
		}
	}
}
</script>
<div class="pMenu">
<li><a href="javascript:frmExecute('');">管理</a></li>
<li><a href="javascript:frmSet('id',0);frmExecute('edit');">添加</a></li>
<li class="sel"><a href="javascript:frmExecute('cfg');">配置</a></li>
<li class="info"><a href="javascript:inc_show_help(215);" style="color:#ff0000">帮助</a></li>
</div>
<div id="id_label_1">
	<table class='pEditTable'>
	<tr class='pTabTitRow'><td class='pTabTitCol' colspan="2"></td></tr>
	<?php
	foreach($arr_site["fields"] as $item){
	?>
	<tr><td class="pTabColName"><?php echo $item['name'];?>：</td><td class="pTabColVal"><?php echo $item["htmlbox"];?></td></tr>
	<?php
		}
		?>
	<tr><td class="pTabColName">&nbsp;</td><td class="pTabSubmit">
	<?php if($obj_ctl_limit->chk_act("cfg")){?><input type="button" name="subok" value="保 存" class="pSubmit" onclick="frmExecute('cfg_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';?>		
