<?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>
    <tr>
      <td style='text-align:right;width:25%'><strong>是否开启角色转移功能：</strong></td>
      <td class='tablerow'>
	  <input type='radio' class="radio_style" name='setting[enablemfso]' value='1'  <?php if($enablemfso){ ?>checked <?php } ?> onClick="javascript: $('enablemfsoset').style.display='block'"> 是&nbsp;&nbsp;&nbsp;&nbsp;
	  <input type='radio' class="radio_style" name='setting[enablemfso]' value='0'  <?php if(!$enablemfso){ ?>checked <?php } ?> onClick="javascript: $('enablemfsoset').style.display='none'"> 否	 <a style="d"href="?mod=game&file=gamelist"><font color=red>(此功能即玩家自助合区，需要合区时打开目标服务器的允许角色转入功能，可点此打开！)(转区时最好关闭角色恢复功能！！！)</font></a></td>
    </tr>

	<tbody id='enablemfsoset' style="color:#999;display:<?php if($enablemfso){ ?>block;<?php }else{ ?>none;<? } ?>">
	<tr>
      <td style='text-align:right;width:25%'><strong>当前转出分区：</strong>
      <br>
      <strong>当前转入分区：</strong>
      <br>
      <strong>允许玩家操作的时间段：</strong></td>
      <td class='tablerow'><input name='setting[enablemfsoset1]' id='enablemfsoset' value="<?=$enablemfsoset1?>" size=40>
      <br>
      <input name='setting[enablemfsoset2]' id='enablemfsoset' value="<?=$enablemfsoset2?>" size=40>
      <br>
      <input name='setting[enablemfsoset3]' id='enablemfsoset' value="<?=$enablemfsoset3?>" size=40>
      </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[enablerlogin]' value='1'  <?php if($enablerlogin){ ?>checked <?php } ?> onClick="javascript: $('enablerlogintext').style.display='block'"> 是&nbsp;&nbsp;&nbsp;&nbsp;
	  <input type='radio' class="radio_style" name='setting[enablerlogin]' value='0'  <?php if(!$enablerlogin){ ?>checked <?php } ?> onClick="javascript: $('enablerlogintext').style.display='none'"> 否	 </td>
    </tr>
	</tbody>
	
	<tbody id='enablerlogintext' style="color:#999;display:<?php if($enablerlogin){ ?>block;<?php }else{ ?>none;<? } ?>">
	<tr>
      <td style='text-align:right;width:25%'><strong>填写内容：</strong></td>
      <td class='tablerow'><input name='setting[enablerlogintext]' id='rfsomoney' value="<?=$enablerlogintext?>" size=40> (尽量在20字以内为宜。)</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[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[enablecmetier]' value='1'  <?php if($enablecmetier){ ?>checked <?php } ?> onClick="javascript: $('cmetiermoney').style.display='block'"> 是&nbsp;&nbsp;&nbsp;&nbsp;
	  <input type='radio' class="radio_style" name='setting[enablecmetier]' value='0'  <?php if(!$enablecmetier){ ?>checked <?php } ?> onClick="javascript: $('cmetiermoney').style.display='none'"> 否	</td>
    </tr>
	</tbody>
	
	<tbody id='cmetiermoney' style="color:#999;display:<?php if($enablecmetier){ ?>block;<?php }else{ ?>none;<? } ?>">
	<tr>
      <td style='text-align:right;width:25%'><strong>职业转换需要游戏币：</strong></td>
      <td class='tablerow'><input name='setting[cmetiermoney]' id='cmetiermoney' value="<?=$cmetiermoney?>" size=40> 游戏币</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[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>
    <tr>
      <td style='text-align:right;width:25%'><strong>是否开启抽奖功能：</strong></td>
      <td class='tablerow'>
	  <input type='radio' class="radio_style" name='setting[enablelottery]' value='1'  <?php if($enablelottery){ ?>checked <?php } ?> onClick="javascript: $('lottery').style.display='block'"> 是&nbsp;&nbsp;&nbsp;&nbsp;
	  <input type='radio' class="radio_style" name='setting[enablelottery]' value='0'  <?php if(!$enablelottery){ ?>checked <?php } ?> onClick="javascript: $('lottery').style.display='none'"> 否
	   </td>
    </tr>
	</tbody>
	
	<tbody id='lottery' style="color:#999;display:<?php if($enablelottery){ ?>block;<?php }else{ ?>none;<? } ?>">
	<tr>
      <td style='text-align:right;width:25%'><strong>每天允许最大抽奖次数：<br>
	  每次抽奖消耗在线时间：<br>
	  抽奖池道具代码：<br>
	  抽奖等级需求：<br>
	  道具品质范围：
	  </strong></td>
      <td class='tablerow'>
	   <input name='setting[lotterynums]' id='lotterynums' value="<?=$lotterynums?>" size=10> 次<br>
	   <input name='setting[ilottery]' id='ilottery' value="<?=$ilottery?>" size=10> 分钟<br>
	   <input name='setting[lotteryitems]' id='lotteryitems' value="<?=$lotteryitems?>" size=40> 
	   请以半角逗号分开！想让玩家抽不到就多填0<br>
	   <input name='setting[lotterylevel]' id='ilottery' value="<?=$lotterylevel?>" size=10> 级<br>
	   最低品质：
	   <SELECT name="mincolor">
	   <OPTION value="0" selected>白色</OPTION>
	   <OPTION value="1">绿色</OPTION>
	   <OPTION value="2">蓝色</OPTION>
	   <OPTION value="3">金色</OPTION>
	   </SELECT>
	   
	   最高品质：
	   <SELECT name="mincolor">
	   <OPTION value="0">白色</OPTION>
	   <OPTION value="1">绿色</OPTION>
	   <OPTION value="2">蓝色</OPTION>
	   <OPTION value="3" selected>金色</OPTION>
	   </SELECT>
	   
	   </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[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=15> 级<br><input name='setting[timecredit]' id='timecredit' value="<?=$timecredit?>" size=15> 点
	   </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=15> 级<br><input name='setting[timeexp]' id='timeexp' value="<?=$timeexp?>" size=15> 点
	   </td>
    </tr>
	</tbody>



	<tbody>
    <tr>
      <td style='text-align:right;width:25%'><strong>是否开启清除PK值功能：</strong></td>
      <td class='tablerow'>
	  <input type='radio' class="radio_style" name='setting[enablepk]' value='1'  <?php if($enablepk){ ?>checked <?php } ?> onClick="javascript: $('pkto').style.display='block'"> 是&nbsp;&nbsp;&nbsp;&nbsp;
	  <input type='radio' class="radio_style" name='setting[enablepk]' value='0'  <?php if(!$enablepk){ ?>checked <?php } ?> onClick="javascript: $('pkto').style.display='none'"> 否
	   </td>
    </tr>
	</tbody>
	<tbody id='pkto' style="color:#999;display:<?php if($enablepk){ ?>block;<?php }else{ ?>none;<? } ?>">
    <tr>
      <td style='text-align:right;width:25%'><strong>游戏币清除PK值需要等级：<br>每1点PK值需要消耗游戏币：</strong></td>
      <td class='tablerow'>
	 <input name='setting[gamemoneylevel]' id='gamemoneylevel' value="<?=$gamemoneylevel?>" size=15> 级<br><input name='setting[gamemoneynum]' id='gamemoneynum' value="<?=$gamemoneynum?>" size=15> 点
	   </td>
    </tr>
	
    <tr>
      <td style='text-align:right;width:25%'><strong>哈迪币清除PK值需要等级：<br>每1点PK值需要消耗哈迪币：</strong></td>
      <td class='tablerow'>
	  <input name='setting[hardylevel]' id='hardylevel' value="<?=$hardylevel?>" size=15> 级<br><input name='setting[hardynum]' id='hardynum' value="<?=$hardynum?>" size=15> 点
	   </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[enablezsht]' value='1'  <?php if($enablezsht){ ?>checked <?php } ?> onClick="javascript: $('rfsomoney').style.display='block'" checked> 是&nbsp;&nbsp;&nbsp;&nbsp;
	  <input type='radio' class="radio_style" name='setting[enablezsht]' value='0'  <?php if(!$enablezsht){ ?>checked <?php } ?> onClick="javascript: $('rfsomoney').style.display='none'"> 否	 </td>
    </tr>
	<tr>
      <td style='text-align:right;width:25%'><strong>阵营转换需要游戏币：</strong></td>
      <td class='tablerow'>
		<input name='setting[rfsomoney]0' id='rfsomoney0' value="<?=$rfsomoney?>" size=40> 游戏币</td>
    	</tr>
    <tr>
      <td style='text-align:right;width:25%'><strong>是否开启在线转生功能：</strong></td>
      <td class='tablerow'>
	  <input type='radio' class="radio_style" name='setting[enablezs]' value='1'  <?php if($enablezs){ ?>checked <?php } ?> onClick="javascript: $('zsto').style.display='block'"> 是&nbsp;&nbsp;&nbsp;&nbsp;
	  <input type='radio' class="radio_style" name='setting[enablezs]' value='0'  <?php if(!$enablezs){ ?>checked <?php } ?> onClick="javascript: $('zsto').style.display='none'"> 否
	   </td>
    </tr>
	</tbody>
	<tbody id='zsto' style="color:#999;display:<?php if($enablezs){ ?>block;<?php }else{ ?>none;<? } ?>">
    <tr>
      <td style='text-align:right;width:25%'><strong>开放转生总转数：<br>转生需要等级：<br>转生需要金钱：<br>每转赠送AP：
      <br>开始赠送SP转数：<br>每次赠送SP数量：<br>是否开启在线加点：<br>在线加点需要金钱：</strong></td>
      <td class='tablerow'>
  	 <input name='setting[zsnum]' id='zsnum' value="<?=$zsnum?>" size=15> 次<br>
	 <input name='setting[zslevel]' id='zslevel' value="<?=$zslevel?>" size=15> 级<br>
	 <input name='setting[zsgold]' id='zsgold' value="<?=$zsgold?>" size=15> 游戏币<br>
	 <input name='setting[zsap]' id='zsap' value="<?=$zsap?>" size=15> 点<br>
	 <input name='setting[zsspstar]' id='zsspstar' value="<?=$zsspstar?>" size=15> 第？转<br>
	 <input name='setting[zssp]' id='zssp' value="<?=$zssp?>" size=15> 点<br>
	  <input type='radio' class="radio_style" name='setting[zxjd]' value='1'  <?php if($zxjd){ ?>checked <?php } ?>> 是&nbsp;&nbsp;&nbsp;&nbsp;
	  <input type='radio' class="radio_style" name='setting[zxjd]' value='0'  <?php if(!$zxjd){ ?>checked <?php } ?>> 否	 <br>
	 <input name='setting[jdgold]' id='jdgold' value="<?=$jdgold?>" size=15> 游戏币<br>

	   </td>
    </tr>

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