<?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" width="100%">
  <th colspan=2 style="text-align:center;font-size:14px"><strong>游戏模块设置</strong></th>
    <tr>
      <td style='text-align:right;width:25%'><strong style="color:darkgreen">复制检查内容(道具ID)：</strong></td>
      <td class='tablerow'>
	  <input name='setting[ccitems]' id='ccitems' value="<?=$ccitems?>" size=40><br><a href="javascript:void(0)" onclick="javascript:alert('复制检查说明：\n\n1、复制检查当前只支持单一手动角色检查，在角色管理的角色列表中可对复制物品进行检查。\n\n2、未设置的道具ID将不会进行检查。建议设置重要的道具ID进行检查。\n\n3、特别注意：不要设置一些无关紧要的道具代码。因为一些药水或者一些赠送的道具。在道具的唯一ID上可能会重复。如果设置了这些道具ID就会造成检查错误！');"><font color=blue>(请以半角逗号隔开，点此查看复制检查说明！)</font></a></td>
    </tr>
    
	<tbody id='enablemfsoset' style="color:#999;display:<?php if($enablemfso){ ?>block;<?php }else{ ?>none;<? } ?>">

	</tbody>


	<tbody>
	</tbody>
	
	<tbody id='enablerlogintext' style="color:#999;display:<?php if($enablerlogin){ ?>block;<?php }else{ ?>none;<? } ?>">
	</tbody>
	



    <tr>
      <td style='text-align:right;width:25%'><strong>是否开启仓库解密功能：</strong></td>
      <td class='tablerow'>
	  <input type='radio' class="radio_style" name='setting[enablesetbank]' value='1'  <?php if($enablesetbank){ ?>checked <?php } ?>> 是&nbsp;&nbsp;&nbsp;&nbsp;
	  <input type='radio' class="radio_style" name='setting[enablesetbank]' value='0'  <?php if(!$enablesetbank){ ?>checked <?php } ?>> 否	 </td>
    </tr>
	
	
  <tbody>
    <tr>
      <td style='text-align:right;width:25%'><strong>是否开启角色改名：</strong></td>
      <td class='tablerow'>
	  <input type='radio' class="radio_style" name='setting[enablecname]' value='1'  <?php if($enablecname){ ?>checked <?php } ?> onClick="javascript: $('cnamemoney').style.display='block'"> 是&nbsp;&nbsp;&nbsp;&nbsp;
	  <input type='radio' class="radio_style" name='setting[enablecname]' value='0'  <?php if(!$enablecname){ ?>checked <?php } ?> onClick="javascript: $('cnamemoney').style.display='none'"> 否	 </td>
    </tr>
	</tbody>


	<tbody id='cnamemoney' style="color:#999;display:<?php if($enablecname){ ?>block;<?php }else{ ?>none;<? } ?>">
	<tr>
      <td style='text-align:right;width:25%'>
	  <strong>角色改名需要游戏币：<br>
	  禁止在角色改名中使用词语：</strong><br>　</td>
      <td class='tablerow'><input name='setting[cnamemoney]' id='cnamemoney' value="<?=$cnamemoney?>" size=40> 游戏币<br>
	  <input name='setting[banname]' id='banname' value="<?=$banname?>" size=40><br>
	  多个词之间用","分隔,例如如果你禁用了"gm"，那么所有含有"gm"(如:在线gm)的用户名将被禁止使用
	  </td>
    </tr>
	</tbody>
	
	<tbody>
    <tr>
      <td style='text-align:right;width:25%'><strong>是否开启角色恢复功能：</strong></td>
      <td class='tablerow'>
	  <input type='radio' class="radio_style" name='setting[enablerfso]' value='1'  <?php if($enablerfso){ ?>checked <?php } ?> onClick="javascript: $('rfsomoney').style.display='block'"> 是&nbsp;&nbsp;&nbsp;&nbsp;
	  <input type='radio' class="radio_style" name='setting[enablerfso]' value='0'  <?php if(!$enablerfso){ ?>checked <?php } ?> onClick="javascript: $('rfsomoney').style.display='none'"> 否	 </td>
    </tr>
	</tbody>
	
	<tbody id='rfsomoney' style="color:#999;display:<?php if($enablerfso){ ?>block;<?php }else{ ?>none;<? } ?>">
	<tr>
      <td style='text-align:right;width:25%'><strong>角色恢复需要点数：</strong></td>
      <td class='tablerow'><input name='setting[rfsomoney]' id='rfsomoney' value="<?=$rfsomoney?>" size=40> 元</td>
    </tr>
	</tbody>
	

	
		<tbody>
	</tbody>
	
	<tbody id='zshtmoney' style="color:#999;display:<?php if($enablezsht){ ?>block;<?php }else{ ?>none;<? } ?>">
	</tbody>
	
		<tbody>
    <tr>
      <td style='text-align:right;width:25%'><strong>是否开启在线时间兑换功能：</strong></td>
      <td class='tablerow'>
	  <input type='radio' class="radio_style" name='setting[enabletime]' value='1'  <?php if($enabletime){ ?>checked <?php } ?> onClick="javascript: $('timeto').style.display='block'"> 是&nbsp;&nbsp;&nbsp;&nbsp;
	  <input type='radio' class="radio_style" name='setting[enabletime]' value='0'  <?php if(!$enabletime){ ?>checked <?php } ?> onClick="javascript: $('timeto').style.display='none'"> 否
	   </td>
    </tr>
	</tbody>
	<tbody id='timeto' style="color:#999;display:<?php if($enabletime){ ?>block;<?php }else{ ?>none;<? } ?>">
    <tr>
      <td style='text-align:right;width:25%'><strong>换声望等级需求：<br>60分钟可以换取声望值：</strong></td>
      <td class='tablerow'>
	 <input name='setting[creditlevel]' id='creditlevel' value="<?=$creditlevel?>" size=40> 级<br><input name='setting[timecredit]' id='timecredit' value="<?=$timecredit?>" size=40> 点
	   </td>
    </tr>
	
    <tr>
      <td style='text-align:right;width:25%'><strong>换点数等级需求：<br>60分钟可以换取经验：</strong></td>
      <td class='tablerow'>
	  <input name='setting[explevel]' id='explevel' value="<?=$explevel?>" size=40> 级<br><input name='setting[timeexp]' id='timeexp' value="<?=$timeexp?>" size=40> 点
	   </td>
    </tr>
	</tbody>
    <tbody>
	</tbody>	
	<tbody id='lottery' style="color:#999;display:<?php if($enablelottery){ ?>block;<?php }else{ ?>none;<? } ?>">
	</tbody>

</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>