<html>

<head>

<link href=images/style.css rel=stylesheet type=text/css>

<meta http-equiv="Content-Type" content="text/html; charset=<?=$charset?>">

</head>

<script type="text/javascript" src="js/common.js"></script>

<script type="text/javascript" src="../js/jquery-1.11.1.min.js"></script>

<body>

<form method="post">

<div class="post_li">

	<ul>

			<li><h4>网站名称</h4><input name="webname" type=text id="webname" value="<?=$CFG[webname]?>"></li>

			<li><h4>网站地址</h4><input name="weburl" type=text id="weburl" value="<?=$CFG[weburl]?>"></li>

			<li><h4>网站备案号</h4><input name="icp" type=text id="icp" value="<?=$CFG[icp]?>"></li>

			<li><h4>网站邮箱</h4><input name="email" type=text id="email" value="<?=$CFG[email]?>"></li>

			<li><h4>网站电话</h4><input name="phone" type=text id="phone" value="<?=$CFG[phone]?>"></li>

			<li><h4>模板目录</h4><select name="tplname" id="tplname">

				<?

				foreach($tpl_dir as $val){

					if($val==$CFG[tplname]){

						echo "<option value=$val selected='selected'>$val</option>";

					}else{

						echo "<option value=$val $select>$val</option>";

					}

				}

				?>

			</select></li>

			<li><h4>加密字符</h4><input name="crypt" type=text id="crypt" value="<?=$CFG[crypt]?>"></li>

			<li><h4>全局关键词</h4><textarea name="keywords" cols=50 rows=2 id="keywords"><?=$CFG[keywords]?></textarea></li>

			<li><h4>全局描述</h4><textarea name="description" cols=50 rows=2 id="description"><?=$CFG[description]?></textarea></li>

			<li><h4>底部版权信息</h4><textarea name="copyright" cols=50 rows=2 id="copyRight"><?=$CFG[copyright]?></textarea></li>

			<li><h4>统计代码</h4><textarea name="count" cols=50 rows=3 id="count"><?=$CFG[count]?></textarea></li>

			<li><h4>会员注册</h4><input type="radio" name="close_register" value="1" <? if($CFG[close_register] == '1') echo 'checked';?>>关闭注册 <input type="radio" name="close_register" value="0" <? if($CFG[close_register] != '1') echo 'checked';?>> 正常</li>

			<li><h4>同IP最多注册次数</h4><input name="regip" type=text id="regip" value="<?=$CFG[regip]?>"> <span class="f99">空或０为不限(注意:可能对某些代理判断不准确)</span></li>

			<!--li><h4>会员注册验证</h4><input type="radio" name="reg_check" value="1" <? if($CFG[reg_check] == '1') echo 'checked';?>>是 <input name="reg_check" type="radio" value="0" <? if($CFG[reg_check] != '1') echo 'checked';?>>否</li-->

			<li><h4>关闭网站</h4><input type="radio" name="closesystem" value="1" <? if($CFG[closesystem] == '1') echo 'checked';?>> 是 <input name="closesystem" type="radio" value="0" <? if($CFG[closesystem] != '1') echo 'checked';?>> 否</li>

			<li><h4>关闭网站提示</h4><textarea name="close_tips" cols=50 rows=2 id="close_tips"><?=$CFG[close_tips]?></textarea></li>

			<li><h4>发布券审核</h4><input name="post_check" type="radio" value="1" <? if($CFG[post_check] == '1') echo 'checked';?>>是 <input name="post_check" type="radio" value="0" <? if($CFG[post_check] != '1') echo 'checked';?>>否</li>

			<li><h4>发布点评审核</h4><input name="comment_check" type="radio" value="1" <? if($CFG[comment_check] == '1') echo 'checked';?>>是 <input name="comment_check" type="radio" value="0" <? if($CFG[comment_check] != '1') echo 'checked';?>>否</li>

			<li><h4>券发布页文件名</h4><input name="postfile" type=text id="postfile" value="<?=$CFG[postfile]?>"></li>

	</ul>

	<div class="clear h_1"></div>

	<div class="tc">

	<input name="act" type="hidden" value="set_config">

	<input name="u" type="hidden" value="<?=$u?>">

	  <input type="hidden" name="token" value="<?php echo $CFG[crypt];?>" />

      <input name="submit" type=submit id="submit"  value="提交" >

      <input name="submit2"  type=reset id="submit2" value="重置" >

	  </div>

</div>

</form>

</body>

</html>