<?php
if( !defined('ISDVBBS') ){
	header('HTTP/1.0 404 Not Found');
	exit;
}
if($action=="" && $doaction=="" && $allaction=="upboard_data" && $index=="" or $action=="" && $doaction=="" && $index=="pen_space_data" && $allaction==""){
?>
<br>
<table border="0" cellspacing="1" cellpadding="1"  align="center" class="tableborder">
  <tr>
    <td colspan="2" class="tit1"><? echo $lang['str.info1']?></td>
  </tr>
  <tr>
    <td class="forumrow" height="30" width="15%" style="text-align:center;">
	<input type="submit" name="Submit" value="<? echo $lang['str.info2']?>" style="color: #FF0000;width:80px;height:50px;border:1px outset;">
	</td>
    <td class="forumrow" height="30" width="85%"><? echo $lang['str.info3']?></td>
  </tr>
</table>
<?//完成百份比?>
<table border="0" cellspacing="0" cellpadding="0"  align="center" class="tableborder">
	<tr>
	<td class="forumrow" height="20"><?echo $lang['tmp.info34'].$countid.$lang['tmp.info35']?>
	</td>
	</tr>
  <tr>
    <td class="forumrow" height="20">
	<table style="width:40%;"  border="0" cellspacing="0" cellpadding="0" class="tableborder">
		<tr>
          <td class="forumrow" height="20"><img src="<?echo $lang['pic_url']?>" height="16" width="<? echo $pic_width?>"></td>
        </tr>
      </table>
      <table width="100%"  border="0" cellspacing="0" cellpadding="0" class="tableborder">
        <tr>
          <td class="forumrow" height="20"><? echo $pic_info2?></td>
        </tr>
		<tr>
          <td class="forumrow" height="<? echo $pic_height?>"><? echo $pic_info1?></td>
        </tr>
      </table>
	  </td>
  </tr>
</table>
<table border="0" cellspacing="1" cellpadding="1"  align="center" class="tableborder">
<?
	if(!empty($result_info)){
		$info_arr1=explode("br",$result_info);
		$n=count($info_arr1);
		if(count($n)>0){
			for($r=0;$r<$n-1;$r++){
				$info_arr2=explode(",",$info_arr1[$r]);
?>
				<tr>
					<td class="forumrow" height="25"><?echo "<".($r+1).">&nbsp;".$lang['tmp.info36'].$info_arr2[0].$lang['tmp.info37'].$info_arr2[1].$lang['tmp.info38'].$info_arr2[2].$lang['tmp.info39'].$info_arr2[3].$lang['tmp.info40']?></td>
				</tr>
<?
			}
		}
	}
?>
</table>
<?}if($action=="" && $doaction=="" && $allaction=="repair_forum" && $index==""){//修复帖子?>
<br>
<table border="0" cellspacing="1" cellpadding="1"  align="center" class="tableborder">
  <tr>
    <td colspan="2" class="tit1"><? echo $lang['str.info1']?></td>
  </tr>
  <tr>
    <td class="forumrow" height="30" width="20%"><font color="red"><? echo $lang['str.info2']?></font></td>
    <td class="forumrow" height="30" width="80%"><? echo $lang['str.info3']?></td>
  </tr>
</table>
<br><?//完成百份比?>
<table border="0" cellspacing="1" cellpadding="1"  align="center" class="tableborder">
	<tr>
	<td class="forumrow" height="20"><?echo $lang['tmp.info44'].$num.$lang['tmp.info45']?>
	</td>
	</tr>
  <tr>
    <td class="forumrow" height="20">
	<table style="width:40%;"  border="0" cellspacing="0" cellpadding="0" class="tableborder">
		<tr>
          <td class="forumrow" height="20"><img src="<?echo $lang['pic_url']?>" height="16" width="<? echo $pic_width?>"></td>
        </tr>
      </table>
      <table width="100%"  border="0" cellspacing="0" cellpadding="0" class="tableborder"s>
        <tr>
          <td class="forumrow" height="20"><? echo $pic_info2?></td>
        </tr>
		<tr>
          <td class="forumrow" height="<? echo $pic_height?>"><? echo $pic_info1?></td>
        </tr>
      </table></td>
  </tr>
</table>
<table border="0" cellspacing="1" cellpadding="1"  align="center" class="tableborder"><?//继续修复帖子?>
  <form name="form1" method="post" action="?allaction=re_repair_forum">
  <tr>
    <td colspan="2" class="tit1"><? echo $lang['str.info15']?> --><? echo $lang['str.info4']?></td>
  </tr>
  <tr>
    <td width="20%" class="forumrow" height="25"><? echo $lang['str.info4']?></td>
    <td width="80%" class="forumrow" height="25"><? echo $lang['str.info5']?></td>
  </tr>
  <tr>
    <td width="20%" class="forumrow" height="25"><? echo $lang['str.info6']?></td>
    <td width="80%" class="forumrow" height="25">
	<input type="text" name="upstartid" size="20" value="<?echo $_POST['upendid']+1?>">&nbsp;&nbsp;<? echo $lang['str.info7']?></td>
  </tr>
  <tr>
    <td width="20%" class="forumrow" height="25"><? echo $lang['str.info8']?></td>
    <td width="80%" class="forumrow" height="25">
	<input type="text" name="upendid" size="20" value="<?echo $_POST['upendid']+($_POST['upendid']-$_POST['upstartid'])+1?>">&nbsp;&nbsp;<? echo $lang['str.info9']?></td>
  </tr>
  <tr>
    <td width="80%"  colspan="2" class="forumrow1" height="30" style="text-align:center;">
		<input type="submit" class="button" name="Submit" value="<? echo $lang['tmp.info23']?>">
	</td>
  </tr>
</form>
</table>
<?}if($action=="" && $doaction=="" && $allaction=="re_repair_forum" && $index==""){//修复帖子完成?>
<br>
<table border="0" cellspacing="1" cellpadding="1"  align="center" class="tableborder">
  <tr>
    <td colspan="2" class="tit1"><? echo $lang['str.info1']?></td>
  </tr>
  <tr>
    <td class="forumrow" height="30" width="20%"><font color="red"><? echo $lang['str.info2']?></font></td>
    <td class="forumrow" height="30" width="80%"><? echo $lang['str.info3']?></td>
  </tr>
</table>
<br><?//完成百份比?>
<table border="0" cellspacing="1" cellpadding="1"  align="center" class="tableborder">
	<tr>
	<td class="forumrow" height="20"><?echo $lang['tmp.info44'].$num.$lang['tmp.info45']?>
	</td>
	</tr>
  <tr>
    <td class="forumrow" height="20">
	<table style="width:40%;"  border="0" cellspacing="0" cellpadding="0" class="tableborder">
		<tr>
          <td class="forumrow" height="20"><img src="<?echo $lang['pic_url']?>" height="16" width="<? echo $pic_width?>"></td>
        </tr>
      </table>
      <table width="100%"  border="0" cellspacing="0" cellpadding="0" class="tableborder"s>
        <tr>
          <td class="forumrow" height="20"><? echo $pic_info2?></td>
        </tr>
		<tr>
          <td class="forumrow" height="<? echo $pic_height?>"><? echo $pic_info1?></td>
        </tr>
      </table></td>
  </tr>
</table>
<?}if($action=="" && $doaction=="" && $allaction=="correct" && $index==""){//修正帖子UBB标签?>
<br>
<table border="0" cellspacing="1" cellpadding="1"  align="center" class="tableborder">
  <tr>
    <td colspan="2" class="tit1"><? echo $lang['str.info1']?></td>
  </tr>
  <tr>
    <td class="forumrow" height="30" width="20%"><font color="red"><? echo $lang['str.info2']?></font></td>
    <td class="forumrow" height="30" width="80%"><? echo $lang['str.info3']?></td>
  </tr>
</table>
<br><?//完成百份比?>
<table border="0" cellspacing="1" cellpadding="1"  align="center" class="tableborder">
	<tr>
	<td class="forumrow" height="20"><?echo $lang['tmp.info44'].$num.$lang['tmp.info45']?>
	</td>
	</tr>
  <tr>
    <td class="forumrow" height="20">
	<table style="width:40%;"  border="0" cellspacing="0" cellpadding="0" class="tableborder">
		<tr>
          <td class="forumrow" height="20"><img src="<?echo $lang['pic_url']?>" height="16" width="<? echo $pic_width?>"></td>
        </tr>
      </table>
      <table width="100%"  border="0" cellspacing="0" cellpadding="0" class="tableborder"s>
        <tr>
          <td class="forumrow" height="20"><? echo $pic_info2?></td>
        </tr>
		<tr>
          <td class="forumrow" height="<? echo $pic_height?>"><? echo $pic_info1?></td>
        </tr>
      </table></td>
  </tr>
</table>
<table border="0" cellspacing="1" cellpadding="1"  align="center" class="tableborder"><?//继续修正帖子UBB标签?>
<form name="form1" method="post" action="">
<input type="hidden" name="allaction" value="">
  <tr>
    <td colspan="2" class="tit1"><?echo $lang['tmp.info25']?></td>
    </tr>
  <tr>
    <td width="20%" class="forumrow"><?echo $lang['tmp.info19']?></td>
    <td width="80%" class="forumrow">
		<input name="modstartid" type="text" id="modstartid" value="<?echo $_POST['modendid']+1?>" size="10"><?echo $lang['tmp.info26']?>
	</td>
  </tr>
  <tr>
    <td width="20%" class="forumrow"><?echo $lang['tmp.info21']?></td>
    <td width="80%" class="forumrow">
		<input name="modendid" type="text" id="modendid" value="<?echo $_POST['modendid']+($_POST['modendid']-$_POST['modstartid'])+1?>" size="10"><?echo $lang['tmp.info27']?>
	</td>
  </tr>
  <tr>
    <td width="20%" class="forumrow"><?echo $lang['tmp.info28']?></td>
    <td width="80%" class="forumrow">
		<input name="sign_date" type="text" value="2005-12-1" id="sign_date" size="30"><?echo $lang['tmp.info29']?>
	</td>
  </tr>
  <tr>
    <td width="20%" class="forumrow"><?echo $lang['tmp.info30']?></td>
    <td width="80%" class="forumrow">
	  <input type="radio" name="htmlsign" value="Y"><?echo $lang['tmp.info31']?>
      <input type="radio" name="htmlsign" value="N" checked><?echo $lang['tmp.info32']?><br><?echo $lang['tmp.info33']?>
	</td>
  </tr>
  <tr>
    <td width="100%"  colspan="2" class="forumrow1" style="text-align:center;">
		<input type="submit" class="button" name="Submit" onclick="this.form.allaction.value='re_correct'" value="<?echo $lang['tmp.info24']?>">
	</td>
  </tr>
</form>
</table>
<?}if($action=="" && $doaction=="" && $allaction=="re_correct" && $index==""){?>
<br>
<table border="0" cellspacing="1" cellpadding="1"  align="center" class="tableborder">
  <tr>
    <td colspan="2" class="tit1"><? echo $lang['str.info1']?></td>
  </tr>
  <tr>
    <td class="forumrow" height="30" width="20%"><font color="red"><? echo $lang['str.info2']?></font></td>
    <td class="forumrow" height="30" width="80%"><? echo $lang['str.info3']?></td>
  </tr>
</table>
<br><?//完成百份比,修正帖子UBB标签?>
<table border="0" cellspacing="1" cellpadding="1"  align="center" class="tableborder">
	<tr>
	<td class="forumrow" height="20"><?echo $lang['tmp.info44'].$num.$lang['tmp.info45']?>
	</td>
	</tr>
  <tr>
    <td class="forumrow" height="20">
	<table style="width:40%;"  border="0" cellspacing="0" cellpadding="0" class="tableborder">
		<tr>
          <td class="forumrow" height="20"><img src="<?echo $lang['pic_url']?>" height="16" width="<? echo $pic_width?>"></td>
        </tr>
      </table>
      <table width="100%"  border="0" cellspacing="0" cellpadding="0" class="tableborder"s>
        <tr>
          <td class="forumrow" height="20"><? echo $pic_info2?></td>
        </tr>
		<tr>
          <td class="forumrow" height="<? echo $pic_height?>"><? echo $pic_info1?></td>
        </tr>
      </table></td>
  </tr>
</table>
<?}if($action=="" && $doaction=="" && $allaction=="upforum_coll" && $index==""){//更新收藏;
?>
<br>
<table border="0" cellspacing="1" cellpadding="1"  align="center" class="tableborder">
  <tr>
    <td colspan="2" class="tit1"><? echo $lang['str.info1']?></td>
  </tr>
  <tr>
    <td class="forumrow" height="30" width="20%"><font color="red"><? echo $lang['str.info2']?></font></td>
    <td class="forumrow" height="30" width="80%"><? echo $lang['str.info3']?></td>
  </tr>
</table>
<br><?//完成百份比?>
<table border="0" cellspacing="1" cellpadding="1"  align="center" class="tableborder">
	<tr>
	<td class="forumrow" height="20"><?echo $lang['tmp.info41'].$countid.$lang['tmp.info42']?>
	</td>
	</tr>
  <tr>
    <td class="forumrow" height="20">
	<table style="width:40%;"  border="0" cellspacing="0" cellpadding="0" class="tableborder">
		<tr>
          <td class="forumrow" height="20"><img src="<?echo $lang['pic_url']?>" height="16" width="100%"></td>
        </tr>
      </table>
      <table width="100%"  border="0" cellspacing="0" cellpadding="0" class="tableborder">
        <tr>
          <td class="forumrow" height="20"><? echo $lang['tmp.info43']?></td>
        </tr>
		<tr>
          <td class="forumrow" height="<? echo $pic_height?>"><? echo $pic_info1?></td>
        </tr>
      </table>
	  </td>
  </tr>
</table>

<?}
	if($action=="" && $doaction=="" && $allaction=="" && $index==""){//计论坛数据和修复;
?>
<br>
<table border="0" cellspacing="1" cellpadding="1"  align="center" class="tableborder">
  <tr>
    <td colspan="5" class="tit1"><?echo $lang['tmp.info1']?></td>
  </tr>
  <tr>
    <td width="20%" class="forumrow" height="30" style="text-align:center" valign="center">
		<input type="button" name="Submit" value="<? echo $lang['tmp.info2']?>" style="color: #FF0000;width:80px;height:50px;border:1px outset;">
	</td>
    <td width="80%" colspan="4" height="30" align="left" class="forumrow"><?echo $lang['tmp.info3']?></td>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="tableborder" align="center">
  <tr>
  <td height="25" align="center" <?if($linkaction=='upalldata' or $linkaction==''){echo 'bgcolor="#C9DEFA"';}else{echo 'bgcolor="#F1F3F5"';}?>  width="10%"><a href="?linkaction=upalldata"><font color="<?if($linkaction=='upalldata' or $linkaction==''){echo 'red';}else{echo '#000000';}?>"><?=$lang['tmp.info12']?></font></a></td>
  <td height="25" align="center" <?if($linkaction=='upboaderdata'){echo 'bgcolor="#C9DEFA"';}else{echo 'bgcolor="#F1F3F5"';}?>  width="10%"><a href="?linkaction=upboaderdata"><font color="<?if($linkaction=='upboaderdata'){echo 'red';}else{echo '#000000';}?>"><?=$lang['tmp.info14']?></font></a></td>
  <td height="25" align="center" <?if($linkaction=='upstow'){echo 'bgcolor="#C9DEFA"';}else{echo 'bgcolor="#F1F3F5"';}?>  width="10%"><a href="?linkaction=upstow"><font color="<?if($linkaction=='upstow'){echo 'red';}else{echo '#000000';}?>"><?=$lang['tmp.info16']?></font></a></td>
  <td height="25" align="center" <?if($linkaction=='correct'){echo 'bgcolor="#C9DEFA"';}else{echo 'bgcolor="#F1F3F5"';}?>  width="10%"><a href="?linkaction=correct"><font color="<?if($linkaction=='correct'){echo 'red';}else{echo '#000000';}?>"><?=$lang['tpl.str2']?></font></a></td>
  <td height="25" align="center" <?if($linkaction=='repair'){echo 'bgcolor="#C9DEFA"';}else{echo 'bgcolor="#F1F3F5"';}?>  width="10%"><a href="?linkaction=repair"><font color="<?if($linkaction=='repair'){echo 'red';}else{echo '#000000';}?>"><?=$lang['tpl.str3']?></font></a></td>
  </tr>
</table>
<table border="0" cellspacing="0" cellpadding="0"  align="center" class="tableborder">
<form name="form1" method="post" action="">
<input type="hidden" name="allaction" value="">
  <?if($linkaction=='upalldata' or $linkaction==''){?>
		  <tr>
			<td class="tdtit"><font color="red"><?=$lang['tpl.str1']?> <?echo $lang['tmp.info12']?></font></td>
		  </tr>
<?
	}
		  elseif($linkaction=='upboaderdata'){
?>

		  <tr>
			<td class="tdtit"><font color="red"><?=$lang['tpl.str1']?> <?echo $lang['tmp.info14']?></font></td>
		  </tr>
  <?
	  }
	  elseif($linkaction=='upstow'){
  ?>

		  <tr>
			<td class="tdtit"><font color="red"><?=$lang['tpl.str1']?> <?echo $lang['tmp.info16']?></font></td>
		  </tr>
<?
	}
		  elseif($linkaction=='correct'){
?>

		  <tr>
			<td class="tdtit"><font color="red"><?=$lang['tpl.str1']?> <?echo $lang['tpl.str2']?></font></td>
		  </tr>
	  <?
		  }
		  elseif($linkaction=='repair'){
	  ?>

		  <tr>
			<td class="tdtit"><font color="red"><?=$lang['tpl.str1']?> <?echo $lang['tpl.str3']?></font></td>
		  </tr>
<?}?>

  <?if($linkaction=='upalldata' or $linkaction==''){?>
  <tr>
    <td width="100%" height="30" align="left" class="forumrow">
	  <input type="checkbox" name="u1" value="1"><?echo $lang['tmp.info5']?>
      <input type="checkbox" name="u2" value="1"><?echo $lang['tmp.info6']?>
      <input type="checkbox" name="u3" value="1"><?echo $lang['tmp.info7']?>
      <input type="checkbox" name="u4" value="1" checked><?echo $lang['tmp.info8']?>
      <input type="checkbox" name="u5" value="1" checked><?echo $lang['tmp.info9']?>
      <input type="checkbox" name="u6" value="1"><?echo $lang['tmp.info10']?>
      <input type="checkbox" name="u7" value="1"><?echo $lang['tmp.info11']?>
	</td>
  </tr>

		  <tr>
			<td class="forumrow" ><?echo $lang['tmp.info13']?></td>
		  </tr>
		  <tr>
			<td class="forumrow1" height="40" style="text-align:center;">
				<input type="submit" name="Submit" class="button" onclick="this.form.allaction.value='upall_forum'" value="<?echo $lang['tmp.info12']?>">
			</td>
		  </tr>
<?
	}
		  elseif($linkaction=='upboaderdata'){
?>
		  <tr>
			<td  class="forumrow"><?echo $lang['tmp.info15']?></td>
		  </tr>
		  <tr>
			<td class="forumrow1" height="40" style="text-align:center;">
				<input type="submit" name="Submit" class="button" onclick="this.form.allaction.value='upboard_data'" value="<?echo $lang['tmp.info14']?>">
			</td>
		  </tr>
<?
	}
		  elseif($linkaction=='upstow'){
?>
		  <tr>
			<td  class="forumrow" style="text-height:40px;"><?echo $lang['tmp.info17']?></td>
		  </tr>
		  <tr>
			<td class="forumrow1" height="40" style="text-align:center;">
				<input type="submit" name="Submit" class="button" onclick="this.form.allaction.value='upforum_coll'" value="<?echo $lang['tmp.info16']?>">
			</td>
		  </tr>
		  <?
			  }
			  elseif($linkaction=='repair'){
		  ?>
		  <tr>
			<td class="forumrow" height="25"><?echo $lang['tmp.info19']?> 
				<input type="text" name="upstartid" size="10" value="1"> <?echo $lang['tmp.info20']?> 
			</td>
		  </tr>
		  <tr>
			<td class="forumrow" height="25"><?echo $lang['tmp.info21']?> 
				<input type="text" name="upendid" size="10" value="1000"> <?echo $lang['tmp.info22']?> 
			</td>
		  </tr>
		  <tr>
			<td class="forumrow" height="25" style="text-align:center;">
				<input type="submit" name="Submit" class="button" onclick="this.form.allaction.value='repair_forum'" value="<?echo $lang['tmp.info23']?>">
			</td>
		  </tr>
		  <?
			  }
		  ?>
 </form>
</table>
<?
	  if($linkaction=='correct'){
?>
<table border="0" cellspacing="0" cellpadding="0"  align="center" class="tableborder">
<form name="form1" method="post" action="">
<input type="hidden" name="allaction" value="">
  <tr>
    <td width="20%" class="forumrow"><?echo $lang['tmp.info19']?></td>
    <td width="80%" class="forumrow">
		<input name="modstartid" type="text" id="modstartid" value="1" size="10"><?echo $lang['tmp.info26']?>
	</td>
  </tr>
  <tr>
    <td width="20%" class="forumrow"><?echo $lang['tmp.info21']?></td>
    <td width="80%" class="forumrow">
		<input name="modendid" type="text" value="1000" id="modendid" size="10"><?echo $lang['tmp.info27']?>
	</td>
  </tr>
  <tr>
    <td width="20%" class="forumrow"><?echo $lang['tmp.info28']?></td>
    <td width="80%" class="forumrow">
		<input name="sign_date" type="text" value="2005-12-1" id="sign_date" size="30"><?echo $lang['tmp.info29']?>
	</td>
  </tr>
  <tr>
    <td width="20%" class="forumrow"><?echo $lang['tmp.info30']?></td>
    <td width="80%" class="forumrow">
	  <input type="radio" name="htmlsign" value="Y"><?echo $lang['tmp.info31']?>
      <input type="radio" name="htmlsign" value="N" checked><?echo $lang['tmp.info32']?><br><?echo $lang['tmp.info33']?>
	</td>
  </tr>
  <tr>
    <td width="80%" colspan="2"  class="forumrow1" style="text-align:center;">
		<input type="submit" name="Submit" class="button" onclick="this.form.allaction.value='correct'" value="<?echo $lang['tmp.info24']?>">
	</td>
  </tr>
</form>
</table>
<?
	}
}else{// 重计用户各项数据;
	if($doaction=="put" && $action=="" && $allaction=="" && $index==""){
?>
<br>
<table border="0" cellspacing="1" cellpadding="1"  align="center" class="tableborder">
  <tr>
    <td colspan="5" class="tit1"><?echo $lang['str.info1']?></td>
  </tr>
  <tr>
    <td width="20%" class="forumrow" height="30" style="text-align:center" valign="center">
		<input type="button" name="Submit" value="<? echo $lang['tmp.info2']?>" style="color: #FF0000;width:80px;height:50px;border:1px outset;">
	</td>
    <td width="80%" colspan="4" height="30" align="left" class="forumrow"><?echo $lang['tmp.info3']?></td>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="tableborder" align="center">
  <tr>
  <td height="25" align="center" <?if($action=='updateuser' && $linkaction==''){echo 'bgcolor="#C9DEFA"';}else{echo 'bgcolor="#F1F3F5"';}?>  width="10%"><a href="?action=updateuser"><font color="<?if($action=='updateuser' && $linkaction==''){echo 'red';}else{echo '#000000';}?>"><?=$lang['str.info4']?></font></a></td>
  <td height="25" align="center" <?if($action=='updateuser' && $linkaction=='updatagrade'){echo 'bgcolor="#C9DEFA"';}else{echo 'bgcolor="#F1F3F5"';}?>  width="10%"><a href="?action=updateuser&linkaction=updatagrade"><font color="<?if($action=='updateuser' && $linkaction=='updatagrade'){echo 'red';}else{echo '#000000';}?>"><?=$lang['str.info10']?></font></a></td>
  <td height="25" align="center" <?if($doaction=='put'){echo 'bgcolor="#C9DEFA"';}else{echo 'bgcolor="#F1F3F5"';}?>  width="10%"><font color="<?if($doaction=='put'){echo 'red';}else{echo '#000000';}?>"><?=$lang['str.info4']?></font></td>
  <td height="25" align="center" bgcolor="#F1F3F5" width="10%"></td>
  <td height="25" align="center" bgcolor="#F1F3F5" width="10%"></td>
  </tr>
</table>
<?//完成百份比?>
<table border="0" cellspacing="0" cellpadding="0"  align="center" class="tableborder">
	<tr>
	<td class="tdtit" height="25"><?echo $lang['str.info16'].$num.$lang['str.info17']?>
	</td>
	</tr>
  <tr>
    <td class="forumrow" height="20">
	<table style="width:40%;"  border="0" cellspacing="0" cellpadding="0" class="tableborder">
		<tr>
          <td class="forumrow" height="20"><img src="<?echo $lang['pic_url']?>" height="16" width="<? echo $pic_width?>"></td>
        </tr>
      </table>
      <table width="100%"  border="0" cellspacing="0" cellpadding="0" class="tableborder"s>
        <tr>
          <td class="forumrow" height="20"><? echo $pic_info2?></td>
        </tr>
		<tr>
          <td class="forumrow" height="<? echo $pic_height?>"><? echo $pic_info1?></td>
        </tr>
      </table></td>
  </tr>
</table>
<table border="0" cellspacing="1" cellpadding="1"  align="center" class="tableborder"><?//继续重新计算用户发帖?>
  <form name="form1" method="post" action="?doaction=reput">
  <tr>
    <td colspan="2" class="tit1"><? echo $lang['str.info15']?> --><? echo $lang['str.info4']?></td>
  </tr>
  <tr>
    <td width="20%" class="forumrow" height="25"><? echo $lang['str.info4']?></td>
    <td width="80%" class="forumrow" height="25"><? echo $lang['str.info5']?></td>
  </tr>
  <tr>
    <td width="20%" class="forumrow" height="25"><? echo $lang['str.info6']?></td>
    <td width="80%" class="forumrow" height="25"><input type="text" name="put_startid" size="20" value="<?echo $_POST['put_endid']+1?>">&nbsp;&nbsp;<? echo $lang['str.info7']?></td>
  </tr>
  <tr>
    <td width="20%" class="forumrow" height="25"><? echo $lang['str.info8']?></td>
    <td width="80%" class="forumrow" height="25"><input type="text" name="put_endid" size="20" value="<?echo $_POST['put_endid']+($_POST['put_endid']-$_POST['put_startid'])+1?>">&nbsp;&nbsp;<? echo $lang['str.info9']?></td>
  </tr>
  <tr>
    <td width="80%" colspan="2"  class="forumrow1" height="30" style="text-align:center;"><input type="submit" class="button"  name="Submit" value="<? echo $lang['str.info4']?>"></td>
  </tr>
</form>
</table>
<?}
elseif($doaction=="grade" && $action=="" && $allaction=="" && $index==""){
?>
<br>
<table border="0" cellspacing="1" cellpadding="1"  align="center" class="tableborder">
  <tr>
    <td colspan="5" class="tit1"><?echo $lang['str.info1']?></td>
  </tr>
  <tr>
    <td width="20%" class="forumrow" height="30" style="text-align:center" valign="center">
		<input type="button" name="Submit" value="<? echo $lang['tmp.info2']?>" style="color: #FF0000;width:80px;height:50px;border:1px outset;">
	</td>
    <td width="80%" colspan="4" height="30" align="left" class="forumrow"><?echo $lang['tmp.info3']?></td>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="tableborder" align="center">
  <tr>
  <td height="25" align="center" <?if($action=='updateuser' && $linkaction==''){echo 'bgcolor="#C9DEFA"';}else{echo 'bgcolor="#F1F3F5"';}?>  width="10%"><a href="?action=updateuser"><font color="<?if($action=='updateuser' && $linkaction==''){echo 'red';}else{echo '#000000';}?>"><?=$lang['str.info4']?></font></a></td>
  <td height="25" align="center" <?if($action=='updateuser' && $linkaction=='updatagrade'){echo 'bgcolor="#C9DEFA"';}else{echo 'bgcolor="#F1F3F5"';}?>  width="10%"><a href="?action=updateuser&linkaction=updatagrade"><font color="<?if($action=='updateuser' && $linkaction=='updatagrade'){echo 'red';}else{echo '#000000';}?>"><?=$lang['str.info10']?></font></a></td>
  <td height="25" align="center" <?if($doaction=='grade'){echo 'bgcolor="#C9DEFA"';}else{echo 'bgcolor="#F1F3F5"';}?>  width="10%"><font color="<?if($doaction=='grade'){echo 'red';}else{echo '#000000';}?>"><?=$lang['str.info10']?></font></td>
  <td height="25" align="center" bgcolor="#F1F3F5" width="10%"></td>
  <td height="25" align="center" bgcolor="#F1F3F5" width="10%"></td>
  </tr>
</table>
<?//完成百份比?>
<table border="0" cellspacing="0" cellpadding="0"  align="center" class="tableborder">
	<tr>
	<td class="tdtit" height="20"><?echo $lang['str.info16'].$num.$lang['str.info17']?>
	</td>
	</tr>
  <tr>
    <td class="forumrow" height="20">
	<table style="width:40%;"  border="0" cellspacing="0" cellpadding="0" class="tableborder">
		<tr>
          <td class="forumrow" height="20"><img src="<?echo $lang['pic_url']?>" height="16" width="<? echo $pic_width?>"></td>
        </tr>
      </table>
      <table width="100%"  border="0" cellspacing="0" cellpadding="0" class="tableborder"s>
        <tr>
          <td class="forumrow" height="20"><? echo $pic_info2?></td>
        </tr>
		<tr>
          <td class="forumrow" height="<? echo $pic_height?>"><? echo $pic_info1?></td>
        </tr>
      </table></td>
  </tr>
</table>
<table border="0" cellspacing="1" cellpadding="1"  align="center" class="tableborder"><?//继续更新用户等级?>
  <form name="form1" method="post" action="?doaction=regrade">
  <tr>
    <td colspan="2" class="tit1"><? echo $lang['str.info15']?> --><? echo $lang['str.info10']?></td>
  </tr>
  <tr>
    <td width="20%" class="forumrow" height="25"><? echo $lang['str.info10']?></td>
    <td width="80%" class="forumrow" height="25"><? echo $lang['str.info11']?></td>
  </tr>
  <tr>
    <td width="20%" class="forumrow" height="25"><? echo $lang['str.info6']?></td>
    <td width="80%" class="forumrow" height="25"><input type="text" name="grade_startid" size="20" value="<? echo $_POST['grade_endid']+1?>">&nbsp;&nbsp;<? echo $lang['str.info7']?></td>
  </tr>
  <tr>
    <td width="20%" class="forumrow" height="25"><? echo $lang['str.info8']?></td>
    <td width="80%" class="forumrow" height="25"><input type="text" name="grade_endid" size="20" value="<?echo $_POST['grade_endid']+($_POST['grade_endid']-$_POST['grade_startid'])+1?>">&nbsp;&nbsp;<? echo $lang['str.info9']?></td>
  </tr>
  <tr>
    <td width="80%" colspan="2" class="forumrow1" height="30" style="text-align:center;"><input type="submit" class="button"  name="Submit" value="<? echo $lang['str.info10']?>"></td>
  </tr>
</form>
</table>
<?}
	elseif($doaction=="money" && $action=="" && $allaction=="" && $index==""){
?>
<br>
<table border="0" cellspacing="1" cellpadding="1"  align="center" class="tableborder">
  <tr>
    <td colspan="5" class="tit1"><?echo $lang['str.info1']?></td>
  </tr>
  <tr>
    <td width="20%" class="forumrow" height="30" style="text-align:center" valign="center">
		<input type="button" name="Submit" value="<? echo $lang['tmp.info2']?>" style="color: #FF0000;width:80px;height:50px;border:1px outset;">
	</td>
    <td width="80%" colspan="4" height="30" align="left" class="forumrow"><?echo $lang['tmp.info3']?></td>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="tableborder" align="center">
  <tr>
  <td height="25" align="center" <?if($action=='updateuser' && $linkaction==''){echo 'bgcolor="#C9DEFA"';}else{echo 'bgcolor="#F1F3F5"';}?>  width="10%"><a href="?action=updateuser"><font color="<?if($action=='updateuser' && $linkaction==''){echo 'red';}else{echo '#000000';}?>"><?=$lang['str.info4']?></font></a></td>
  <td height="25" align="center" <?if($action=='updateuser' && $linkaction=='updatagrade'){echo 'bgcolor="#C9DEFA"';}else{echo 'bgcolor="#F1F3F5"';}?>  width="10%"><a href="?action=updateuser&linkaction=updatagrade"><font color="<?if($action=='updateuser' && $linkaction=='updatagrade'){echo 'red';}else{echo '#000000';}?>"><?=$lang['str.info10']?></font></a></td>
  <td height="25" align="center" <?if($doaction=='money'){echo 'bgcolor="#C9DEFA"';}else{echo 'bgcolor="#F1F3F5"';}?>  width="10%"><font color="<?if($doaction=='money'){echo 'red';}else{echo '#000000';}?>"><?=$lang['str.info12']?></font></td>
  <td height="25" align="center" bgcolor="#F1F3F5" width="10%"></td>
  <td height="25" align="center" bgcolor="#F1F3F5" width="10%"></td>
  </tr>
</table>
<?//完成百份比?>
<table border="0" cellspacing="0" cellpadding="0"  align="center" class="tableborder">
	<tr>
	<td class="tdtit" height="20"><?echo $lang['str.info16'].$num.$lang['str.info17']?>
	</td>
	</tr>
  <tr>
    <td class="forumrow" height="20">
	<table style="width:40%;"  border="0" cellspacing="0" cellpadding="0" class="tableborder">
		<tr>
          <td class="forumrow" height="20"><img src="<?echo $lang['pic_url']?>" height="16" width="<? echo $pic_width?>"></td>
        </tr>
      </table>
      <table width="100%"  border="0" cellspacing="0" cellpadding="0" class="tableborder"s>
        <tr>
          <td class="forumrow" height="20"><? echo $pic_info2?></td>
        </tr>
		<tr>
          <td class="forumrow" height="<? echo $pic_height?>"><? echo $pic_info1?></td>
        </tr>
      </table></td>
  </tr>
</table>
<table border="0" cellspacing="1" cellpadding="1"  align="center" class="tableborder"><?//继续更新用户金钱/经验/魅力?>
  <form name="form1" method="post" action="?doaction=remoney">
  <tr>
    <td colspan="2" class="tit1"><? echo $lang['str.info15']?> --><? echo $lang['str.info12']?></td>
  </tr>
  <tr>
    <td width="20%" class="forumrow" height="25"><? echo $lang['str.info12']?></td>
    <td width="80%" class="forumrow" height="25"><? echo $lang['str.info13']?><br><? echo $lang['str.info14']?></td>
  </tr>
  <tr>
    <td width="20%" class="forumrow" height="25"><? echo $lang['str.info6']?></td>
    <td width="80%" class="forumrow" height="25"><input type="text" name="money_startid" size="20" value="<? echo $_POST['money_endid']+1?>">&nbsp;&nbsp;<? echo $lang['str.info7']?></td>
  </tr>
  <tr>
    <td width="20%" class="forumrow" height="25"><? echo $lang['str.info8']?></td>
    <td width="80%" class="forumrow" height="25"><input type="text" name="money_endid" size="20" value="<?echo $_POST['money_endid']+($_POST['money_endid']-$_POST['money_startid'])+1?>">&nbsp;&nbsp;<? echo $lang['str.info9']?></td>
  </tr>
  <tr>
    <td width="80%" class="forumrow1" colspan="2"  height="30" style="text-align:center;"><input type="submit" class="button"  name="Submit" value="<? echo $lang['str.info12']?>"></td>
  </tr>
</form>
</table>
<?}
	elseif($doaction=="reput" && $action=="" && $allaction=="" && $index=="" or $doaction=="regrade" && $action=="" && $allaction=="" && $index=="" or $doaction=="remoney" && $action=="" && $allaction=="" && $index==""){
?>
<br>
<table border="0" cellspacing="1" cellpadding="1"  align="center" class="tableborder">
  <tr>
    <td colspan="2" class="tit1"><? echo $lang['str.info1']?></td>
  </tr>
  <tr>
    <td class="forumrow" height="30" width="20%"><font color="red"><? echo $lang['str.info2']?></font></td>
    <td class="forumrow" height="30" width="80%"><? echo $lang['str.info3']?></td>
  </tr>
</table>
<br><?//继续完成百份比?>
<table border="0" cellspacing="1" cellpadding="1"  align="center" class="tableborder">
	<tr>
	<td class="forumrow" height="20"><?echo $lang['str.info16'].$num.$lang['str.info17']?>
	</td>
	</tr>
  <tr>
    <td class="forumrow" height="20">
	<table style="width:40%;"  border="0" cellspacing="0" cellpadding="0" class="tableborder">
		<tr>
          <td class="forumrow" height="20"><img src="<?echo $lang['pic_url']?>" height="16" width="<? echo $pic_width?>"></td>
        </tr>
      </table>
      <table width="100%"  border="0" cellspacing="0" cellpadding="0" class="tableborder"s>
        <tr>
          <td class="forumrow" height="20"><? echo $pic_info2?></td>
        </tr>
		<tr>
          <td class="forumrow" height="<? echo $pic_height?>"><? echo $pic_info1?></td>
        </tr>
      </table></td>
  </tr>
</table>
<?}
	elseif($action=='updateuser'){
?>
<br>
<table border="0" cellspacing="1" cellpadding="1"  align="center" class="tableborder">
  <tr>
    <td colspan="5" class="tit1"><?echo $lang['str.info15']?></td>
  </tr>
  <tr>
    <td width="20%" class="forumrow" height="30" style="text-align:center" valign="center">
		<input type="button" name="Submit" value="<? echo $lang['tmp.info2']?>" style="color: #FF0000;width:80px;height:50px;border:1px outset;">
	</td>
    <td width="80%" colspan="4" height="30" align="left" class="forumrow"><?echo $lang['tmp.info3']?></td>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="tableborder" align="center">
  <tr>
  <td height="25" align="center" <?if($action=='updateuser' && $linkaction==''){echo 'bgcolor="#C9DEFA"';}else{echo 'bgcolor="#F1F3F5"';}?>  width="10%"><a href="?action=updateuser"><font color="<?if($action=='updateuser' && $linkaction==''){echo 'red';}else{echo '#000000';}?>"><?=$lang['str.info4']?></font></a></td>
  <td height="25" align="center" <?if($action=='updateuser' && $linkaction=='updatagrade'){echo 'bgcolor="#C9DEFA"';}else{echo 'bgcolor="#F1F3F5"';}?>  width="10%"><a href="?action=updateuser&linkaction=updatagrade"><font color="<?if($action=='updateuser' && $linkaction=='updatagrade'){echo 'red';}else{echo '#000000';}?>"><?=$lang['str.info10']?></font></a></td>
  <td height="25" align="center" <?if($action=='updateuser' && $linkaction=='userecp'){echo 'bgcolor="#C9DEFA"';}else{echo 'bgcolor="#F1F3F5"';}?>  width="10%"><a href="?action=updateuser&linkaction=userecp"><font color="<?if($action=='updateuser' && $linkaction=='userecp'){echo 'red';}else{echo '#000000';}?>"><?=$lang['str.info12']?></font></a></td>
  <td height="25" align="center" bgcolor="#F1F3F5" width="10%"></td>
  <td height="25" align="center" bgcolor="#F1F3F5" width="10%"></td>
  </tr>
</table>
<?if($action=='updateuser' && $linkaction==''){?>
<table border="0" cellspacing="0" cellpadding="0"  align="center" class="tableborder">
<?//重新计算用户发帖?>
  <form name="form1" method="post" action="?doaction=put">
  <tr>
    <td colspan="2" class="tdtit"><? echo $lang['str.info15']?> --><? echo $lang['str.info4']?></td>
  </tr>
  <tr>
    <td width="20%" class="forumrow" height="25"><? echo $lang['str.info4']?></td>
    <td width="80%" class="forumrow" height="25"><? echo $lang['str.info5']?></td>
  </tr>
  <tr>
    <td width="20%" class="forumrow" height="25"><? echo $lang['str.info6']?></td>
    <td width="80%" class="forumrow" height="25"><input type="text" name="put_startid" size="20" value="1">&nbsp;&nbsp;<? echo $lang['str.info7']?></td>
  </tr>
  <tr>
    <td width="20%" class="forumrow" height="25"><? echo $lang['str.info8']?></td>
    <td width="80%" class="forumrow" height="25"><input type="text" name="put_endid" size="20" value="100">&nbsp;&nbsp;<? echo $lang['str.info9']?></td>
  </tr>
  <tr>
    <td width="80%" class="forumrow1" colspan="2"  height="30" style="text-align:center;"><input type="submit" class="button"  name="Submit" value="<? echo $lang['str.info4']?>"></td>
  </tr>
</form>
</table>
<?}elseif($action=='updateuser' && $linkaction=='updatagrade'){//更新用户等级?>
<table border="0" cellspacing="0" cellpadding="0"  align="center" class="tableborder">
  <form name="form1" method="post" action="?doaction=grade">
  <tr>
    <td colspan="2" class="tdtit"><? echo $lang['str.info15']?> --><? echo $lang['str.info10']?></td>
  </tr>
  <tr>
    <td width="20%" class="forumrow" height="25"><? echo $lang['str.info10']?></td>
    <td width="80%" class="forumrow" height="25"><? echo $lang['str.info11']?></td>
  </tr>
  <tr>
    <td width="20%" class="forumrow" height="25"><? echo $lang['str.info6']?></td>
    <td width="80%" class="forumrow" height="25"><input type="text" name="grade_startid" size="20" value="1">&nbsp;&nbsp;<? echo $lang['str.info7']?></td>
  </tr>
  <tr>
    <td width="20%" class="forumrow" height="25"><? echo $lang['str.info8']?></td>
    <td width="80%" class="forumrow" height="25"><input type="text" name="grade_endid" size="20" value="100">&nbsp;&nbsp;<? echo $lang['str.info9']?></td>
  </tr>
  <tr>
    <td width="80%" class="forumrow1"  colspan="2" height="30" style="text-align:center;"><input type="submit" class="button"  name="Submit" value="<? echo $lang['str.info10']?>"></td>
  </tr>
</form>
</table>
<?}elseif($action=='updateuser' && $linkaction=='userecp'){//更新用户金钱/经验/魅力?>
<table border="0" cellspacing="0" cellpadding="0"  align="center" class="tableborder">
  <form name="form1" method="post" action="?doaction=money">
  <tr>
    <td colspan="2" class="tdtit"><? echo $lang['str.info15']?> --><? echo $lang['str.info12']?></td>
  </tr>
  <tr>
    <td width="20%" class="forumrow" height="25"><? echo $lang['str.info12']?></td>
    <td width="80%" class="forumrow" height="25"><? echo $lang['str.info13']?><br><? echo $lang['str.info14']?></td>
  </tr>
  <tr>
    <td width="20%" class="forumrow" height="25"><? echo $lang['str.info6']?></td>
    <td width="80%" class="forumrow" height="25"><input type="text" name="money_startid" size="20" value="1">&nbsp;&nbsp;<? echo $lang['str.info7']?></td>
  </tr>
  <tr>
    <td width="20%" class="forumrow" height="25"><? echo $lang['str.info8']?></td>
    <td width="80%" class="forumrow" height="25"><input type="text" name="money_endid" size="20" value="100">&nbsp;&nbsp;<? echo $lang['str.info9']?></td>
  </tr>
  <tr>
    <td width="80%" class="forumrow1"  colspan="2" height="30" style="text-align:center;"><input type="submit" class="button" name="Submit" value="<? echo $lang['str.info12']?>"></td>
  </tr>
</form>
</table>
<?
		}
	}
}
?>