<?php
if( !defined('ISDVBBS') ){
	header('HTTP/1.0 404 Not Found');
	exit;
}
?>
<br>
<table width="95%" border="0" cellspacing="1" cellpadding="0"  align="center" class="tableborder">
<tr> 
<td height="23" align="left" colspan="6" class="tit1"><?=$lang['reg.info23']?></td>
</tr>
<tr align="left">
<td height="23" class="forumrow" style="text-align:center;width:15%">
<input type="submit" name="Submit" value="<? echo $lang['suc.info6']?>" style="color: #FF0000;width:80px;height:50px;border:1px outset;">
</td>
<td height="23" class="forumrow" style="LINE-HEIGHT: 140%">
<?=$readme?>
</td>
</tr>
</table>
<!--导航-->
<table border="0" cellspacing="0" cellpadding="0"  align="center" class="tableborder">
<tr align="center">
<td height="25" align="center" <?if($reaction=='badword'){echo 'bgcolor="#C9DEFA"';}else{echo 'bgcolor="#F1F3F5"';}?>  width="10%"><a href="?reaction=badword"><font color="<?if($reaction=='badword'){echo 'red';}else{echo '#000000';}?>"><?=$lang['suc.info10']?></font></a></td>
<td height="25" align="center" <?if($reaction=='allowreg'){echo 'bgcolor="#C9DEFA"';}else{echo 'bgcolor="#F1F3F5"';}?> width="10%"><a href="?reaction=allowreg"><font color="<?if($reaction=='allowreg'){echo 'red';}else{echo '#000000';}?>"><?=$lang['suc.info8']?></font></a></td>
<td width="10%" align="center" <?if($reaction=='estopreg'){echo 'bgcolor="#C9DEFA"';}else{echo 'bgcolor="#F1F3F5"';}?>></font><a href="?reaction=estopreg"><font color="<?if($reaction=='estopreg'){echo 'red';}else{echo '#000000';}?>"><?=$lang['suc.info9']?></font></a></td>
<td width="10%" align="center" <?if($reaction=='regleach'){echo 'bgcolor="#C9DEFA"';}else{echo 'bgcolor="#F1F3F5"';}?>></font><a href="?reaction=regleach"><font color="<?if($reaction=='regleach'){echo 'red';}else{echo '#000000';}?>"><?=$lang['suc.info7']?></font></a></td>
<td width="10%" align="center" <?if($reaction=='transgress'){echo 'bgcolor="#C9DEFA"';}else{echo 'bgcolor="#F1F3F5"';}?>></font><a href="?reaction=transgress"><font color="<?if($reaction=='transgress'){echo 'red';}else{echo '#000000';}?>"><?=$lang['badword.info1']?></font></a></td>
</tr>
</table>
<!--导航结束-->
<?
	if($reaction=="badword"){
?>
<table border="0" cellspacing="0" cellpadding="0"  align="center" class="tableborder">
   <form name="form1" method="post" action="?reaction=badword&action=editok">
  <tr>
    <td class="tdtit"><? echo $lang['template.info1']?></td>
  </tr>
  <tr>
    <td class="forumrow" align="left">
      <textarea name="badwords" style="width:99%" cols="100" rows="15" id="badwords"><? echo $wordlist?></textarea>
    </td>
  </tr>
  <tr>
    <td height="25" class="forumrow1" style="text-align:center;text-height:30px;"><input type="submit" class="button" name="Submit" value="  <?=htmlspecialchars($lang['suc.info5'])?>  "></td>
  </tr>
  </form>
</table>
<?}
elseif($reaction=="regleach"){//splitreg 帖子过滤字符
?>
<table border="0" cellspacing="0" cellpadding="0"  align="center" class="tableborder">
 <form name="updateform" method="post" action="?reaction=regleach&action=updateok">
 <input type="hidden" name="allowregip" value="<?=$body_sipallow?>">
 <input type="hidden" name="estopregip" value="<?=$body_sipestop?>">
 <input type="hidden" name="IPgame" value="<?=$sIPgame?>">
 <input type="hidden" name="ipfrominfo" value="<?=$sipfrominfo?>">
 <input type="hidden" name="ipregnum" value="<?=$sipregnum?>">
 <input type="hidden" name="beestopnumberreg" value="<?=$sbeestopnumberreg?>">
 <input type="hidden" name="beinputtime" value="<?=$sbeinputtime?>">
 <input type="hidden" name="dyitem" value="<?=$sdyitem?>">
  <tr>
    <td colspan="2" class="tdtit"><? echo $lang['suc.info7']?></td>
  </tr>
   </tr>
  <tr>
    <td class="forumrow" style="height:30px;"><? echo $lang['reg.info4']?></td>
    <td class="forumrow" height="25"><input type="text" name="filtrate" value="<? echo htmlspecialchars($reg_limit)?>" size="100">
  </td>
  </tr>
  
  <tr>
    <td class="forumrow1" colspan="2" style="text-align:center;text-height:30px;"><input type="submit" name="Submit" class="button" value="  <?=htmlspecialchars($lang['suc.info5'])?>  "></td>
  </tr>
  </form>
</table>
<?}elseif($reaction=='allowreg'){//允许注册IP?>
<table border="0" cellspacing="0" cellpadding="0"  align="center" class="tableborder">
 <form name="updateform" method="post" action="?reaction=allowreg&action=updateok">
 <input type="hidden" name="estopregip" value="<?=$body_sipestop?>">
 <input type="hidden" name="filtrate" value="<? echo htmlspecialchars($reg_limit)?>">
  <tr>
    <td colspan="2" class="tdtit"><? echo $lang['suc.info8']?></td>
  </tr>
  <tr>
    <td  class="forumrow" height="25"><? echo $lang['reg.info7']?></td>
    <td  class="forumrow" height="25"><input type="checkbox" name="IPgame" value="1" <?if(intval($sIPgame)==1){echo 'checked';}?>>
	<? echo $lang['reg.info8']?></td>
  </tr>
  <tr>
    <td  class="forumrow" width="20%"><? echo $lang['reg.info9']?></td>
    <td width="80%" class="forumrow"><textarea name="allowregip" style="width:99%" cols="100" rows="8"><?=$body_sipallow?></textarea></td>
  </tr>
  <tr>
    <td  class="forumrow" height="25"><? echo $lang['reg.info13']?></td>
    <td  class="forumrow" height="25"><input type="checkbox" name="ipfrominfo" value="1" <?if(intval($sipfrominfo)==1){echo 'checked';}?>>
	<? echo $lang['reg.info14']?></td>
  </tr>
  <tr>
    <td class="forumrow" height="25"><? echo $lang['reg.info15']?></td>
    <td class="forumrow" height="25"><input type="text" size="10" name="ipregnum" value="<?=$sipregnum?>">
	<? echo $lang['reg.info16']?></td>
  </tr>
  <tr>
    <td class="forumrow" height="25"><? echo $lang['reg.info22']?></td>
    <td class="forumrow" height="25"><input type="checkbox" name="beestopnumberreg" value="1" <?if(intval($sbeestopnumberreg)==1){echo 'checked';}?>>
	<? echo $lang['reg.info17']?></td>
  </tr>
  <tr>
    <td class="forumrow" height="25"><? echo $lang['reg.info18']?></td>
    <td class="forumrow" height="25"><input type="checkbox" name="beinputtime" value="1" <?if(intval($sbeinputtime)==1){echo 'checked';}?>>
	<? echo $lang['reg.info19']?></td>
  </tr>
    <tr>
    <td class="forumrow" height="25"><? echo $lang['reg.info20']?></td>
    <td class="forumrow" height="25"><input type="checkbox" name="dyitem" value="1" <?if(intval($sdyitem)==1){echo 'checked';}?>>
	<? echo $lang['reg.info21']?></td>
  </tr>
  <tr>
    <td class="forumrow1" colspan="2" style="text-align:center;"><input class="button" type="submit" name="Submit" value="  <?=htmlspecialchars($lang['suc.info5'])?>  "></td>
  </tr>
  </form>
</table>
<?}elseif($reaction=='estopreg'){?>

<table border="0" cellspacing="0" cellpadding="0"  align="center" class="tableborder">
 <form name="updateform" method="post" action="?reaction=estopreg&action=updateok">
 <input type="hidden" name="allowregip" value="<?=$body_sipallow?>">
 <input type="hidden" name="filtrate" value="<? echo htmlspecialchars($reg_limit)?>">
  <tr>
    <td colspan="2" class="tdtit"><? echo $lang['suc.info9']?></td>
  </tr>
  <tr>
    <td  class="forumrow" height="25"><? echo $lang['reg.info7']?></td>
    <td  class="forumrow" height="25"><input type="checkbox" name="IPgame" value="1" <?if(intval($sIPgame)==1){echo 'checked';}?>>
	<? echo $lang['reg.info8']?></td>
  </tr>
  <tr>
    <td class="forumrow" height="25"><? echo $lang['reg.info11']?></td>
    <td class="forumrow"><textarea name="estopregip" style="width:99%" cols="100" rows="8"><?=$body_sipestop?></textarea></td>
  </tr>
  <tr>
    <td  class="forumrow" height="25"><? echo $lang['reg.info13']?></td>
    <td  class="forumrow" height="25"><input type="checkbox" name="ipfrominfo" value="1" <?if(intval($sipfrominfo)==1){echo 'checked';}?>>
	<? echo $lang['reg.info14']?></td>
  </tr>
  <tr>
    <td class="forumrow" height="25"><? echo $lang['reg.info15']?></td>
    <td class="forumrow" height="25"><input type="text" size="10" name="ipregnum" value="<?=$sipregnum?>">
	<? echo $lang['reg.info16']?></td>
  </tr>
  <tr>
    <td class="forumrow" height="25"><? echo $lang['reg.info22']?></td>
    <td class="forumrow" height="25"><input type="checkbox" name="beestopnumberreg" value="1" <?if(intval($sbeestopnumberreg)==1){echo 'checked';}?>>
	<? echo $lang['reg.info17']?></td>
  </tr>
  <tr>
    <td class="forumrow" height="25"><? echo $lang['reg.info18']?></td>
    <td class="forumrow" height="25"><input type="checkbox" name="beinputtime" value="1" <?if(intval($sbeinputtime)==1){echo 'checked';}?>>
	<? echo $lang['reg.info19']?></td>
  </tr>
    <tr>
    <td class="forumrow" height="25"><? echo $lang['reg.info20']?></td>
    <td class="forumrow" height="25"><input type="checkbox" name="dyitem" value="1" <?if(intval($sdyitem)==1){echo 'checked';}?>>
	<? echo $lang['reg.info21']?></td>
  </tr>
  <tr>
    <td class="forumrow1" colspan="2" style="text-align:center;"><input class="button" type="submit" name="Submit" value="  <?=htmlspecialchars($lang['suc.info5'])?>  "></td>
  </tr>
  </form>
</table>
<?
	}
	elseif($reaction=='transgress'){
?>

<table border="0" cellspacing="0" cellpadding="0"  align="center" class="tableborder">
 <form name="form1" method="post" action="?reaction=transgress&action=transgress_info">
  <tr>
    <td colspan="5" class="tdtit"><? echo $lang['badword.info1']?></td>
  </tr>
  <tr>
    <td class="forumrow" colspan="5">
	<input type="checkbox" name="forum_leach" value="1"><? echo $lang['badword.info2']?>&nbsp;<input type="submit" value="<? echo $lang['badword.info5']?>" name="submit"  class="button" ><br>
	<? echo $lang['badword.info4']?><input type="text" name="transgress_word" size="80">&nbsp;<input type="submit" value="<? echo $lang['badword.info5']?>" name="submit"  class="button" ><br><? echo $lang['badword.info3']?>
	</td>
  </tr>
  </form>
 </table>
  <table border="0" cellspacing="1" cellpadding="0"  align="center" class="tableborder">
   <form name="form2" method="post" action="?reaction=transgress&action=deltransgress_info">
  <tr>
    <td colspan="5" class="tit1">■ <? echo $lang['badword.info1']?></td>
  </tr>
  <tr>
	 <td class="forumrow1" style="text-align:center;width:5%"><?=$lang['badword.info10']?></td><td class="forumrow1" style="text-align:center;width:50%"><?=$lang['badword.info11']?></td><td class="forumrow1" style="text-align:center;width:15%"><?=$lang['badword.info12']?></td><td class="forumrow1" style="text-align:center;width:10%"><?=$lang['badword.info13']?></td><td class="forumrow1" style="text-align:center;width:20%"><?=$lang['badword.info14']?></td>
	 </tr>
<?
if(!empty($findforuminfo)){
	if(is_array($findforuminfo)){
		foreach ($findforuminfo as $findarr){
?>
	 <tr>
	 <td class="forumrow" style="text-align:center"><input type="checkbox" name="selected_id[]" value="<?=$findarr['rootid']?>"></td> <td class="forumrow"><a href="../dispbbs.php?boardid=<?=$findarr['boardid']?>&id=<?=$findarr['rootid']?>" target="_blank"><?=$findarr['topic']?></a></td> <td class="forumrow"><?=$findarr['username']?></td> <td class="forumrow"><?=$findarr['ip']?></td> <td class="forumrow"><?=gmdate('Y-m-d H:i:s',$findarr['dateandtime'])?></td>
  </tr>
<?		
		}
	}
}
?>
<tr><td colspan="5" class="forumrow"><input type="checkbox" value="Y" name="select_all" id="select_all" onclick="allun(this)"><?=$lang['badword.info15']?>&nbsp;<input type="submit" value="<?=$lang['badword.info8']?>" name="submit" class="button">&nbsp;&nbsp;<input type="submit" value="<?=$lang['badword.info9']?>" name="submit" class="button">&nbsp;<?=$lang['badword.info16']?></td></tr>
</form>
  </table>
<?
}
?>