<?php defined('IN_HS') or exit('Access Denied');
include admintpl('header');
?>
<body>
<table cellpadding="0" cellspacing="0" border="0" width="100%" height="10">
  <tr>
    <td></td>
  </tr>
</table>
<form name="myform" method="post" action="?mod=<?=$mod?>&file=<?=$file?>">
<table cellpadding="2" cellspacing="1" class="tableborder">
  <th colspan=2>基本信息</th>
    <tr>
      <td class='tablerow'><strong>是否允许新会员注册</strong></td>
      <td class='tablerow'>
	  <input class="radio_style" type='radio' name='setting[enableregister]' value='1'  <?php if($enableregister){ ?>checked <?php } ?>> 是&nbsp;&nbsp;&nbsp;&nbsp;
	  <input class="radio_style" type='radio' name='setting[enableregister]' value='0'  <?php if(!$enableregister){ ?>checked <?php } ?>> 否	 </td>
    </tr>

	<tr>
      <td class='tablerow'><strong>每个Email是否允许注册多次</strong></td>
      <td class='tablerow'>
	  <input class="radio_style" type='radio' name='setting[enablemultiregperemail]' value='1'  <?php if($enablemultiregperemail){ ?>checked <?php } ?>> 是&nbsp;&nbsp;&nbsp;&nbsp;
	  <input class="radio_style" type='radio' name='setting[enablemultiregperemail]' value='0'  <?php if(!$enablemultiregperemail){ ?>checked <?php } ?>> 否	 </td>
    </tr>
	<tr>
      <td class='tablerow'><strong>会员注册是否启用验证码功能</strong></td>
      <td class='tablerow'>
	  <input class="radio_style" type='radio' name='setting[enablecheckcodeofreg]' value='1'  <?php if($enablecheckcodeofreg){ ?>checked <?php } ?>> 是&nbsp;&nbsp;&nbsp;&nbsp;
	  <input class="radio_style" type='radio' name='setting[enablecheckcodeofreg]' value='0'  <?php if(!$enablecheckcodeofreg){ ?>checked <?php } ?>> 否	 </td>
    </tr>
	<tr>
      <td class='tablerow'><strong>会员登录是否启用验证码功能</strong></td>
      <td class='tablerow'>
	  <input class="radio_style" type='radio' name='setting[enablecheckcodeoflogin]' value='1'  <?php if($enablecheckcodeoflogin){ ?>checked <?php } ?>> 是&nbsp;&nbsp;&nbsp;&nbsp;
	  <input class="radio_style" type='radio' name='setting[enablecheckcodeoflogin]' value='0'  <?php if(!$enablecheckcodeoflogin){ ?>checked <?php } ?>> 否	 </td>
    </tr>
	<tr>
      <td width='40%' class='tablerow'><strong>禁止在注册用户名中使用的词语</strong><br/>多个词之间用","分隔,例如如果你禁用了"admin"，那么所有含有"admin"(如:administrator)的用户名将被禁止使用</td>
      <td class='tablerow'><textarea name='setting[banname]' cols='60' rows='4' id='banname'><?=$banname?></textarea></td>
    </tr>
</table>
<table width="100%" height="25" border="0" cellpadding="0" cellspacing="0">
  <tr>
     <td width='40%'></td>
     <td><input type="submit" class="btn" name="dosubmit" value=" 确定 ">&nbsp;&nbsp;&nbsp;&nbsp;<input type="reset" class="btn" name="reset" value=" 重置 "></td>
  </tr>
</table>
</form>
</body>
</html>