<!--<?php
include_once PrintEot('left');
if($admintype=='checkemail'){print <<<EOT
-->
<h3><b>提示信息</b></h3>
<div class="tr5">需要email驗證的用戶如果無法通過email激活帳號，管理員可使用此功能激活用戶帳號</div>
$pages
<form action=$basename method=post>
<input type=hidden name=action value='check'>
<h2>需要驗證的用戶</h2>
<table width="100%" cellspacing="0" cellpadding="0">
<tr class="tr3 tac s3"><td width='6%'>ID</td>
<td width='20%'>用戶名</td><td width='25%'>注冊時間</td>
<td>Email</td><td width='6%'></td>
</tr>
<!--
EOT;
$num=($page-1)*$db_perpage;
foreach($memdb_E as $mem){
$num++;
print <<<EOT
-->
<tr class="tr3 tac">
<td>$num</td>
<td>
<a href="$admin_file?adminjob=setuser&action=edit&uid=$mem[uid]">$mem[username]</a></td>
<td>$mem[regdate]</td>
<td>$mem[email]</td>
<td><input type='checkbox' name='yzmem[]' value=$mem[uid]></td></tr>
<!--
EOT;
}print <<<EOT
-->
<tr><td class="tr4 tac" colspan="5"><input type=radio name="type" value=del> 刪除 <input type=radio name="type" checked='checked' value=pass> 通過 
</table><br>
<center>
<input type="button" name="chkall" value="全 選" onclick="CheckAll(this.form)" class="btn">
<input type="submit" name="hello" value="提 交" class="btn"></center></form><br/>
<!--
EOT;
}elseif($admintype=='checkreg'){print <<<EOT
-->
<h3><b>提示信息</b></h3>
<div class="tr5">此功能可將未驗證會員組的用戶編入普通會員組</div>
$pages
<div class="c"></div>
<form action="$basename" method="post">
<input type="hidden" name=action value='check'>
<h2>需要驗證的用戶</h2>
<table width="100%" cellspacing="0" cellpadding="0">
<tr class="tr3 tac s3">
<td width='6%'>ID</td>
<td width='15%'>用戶名</td>
<td width='15%'>注冊時間</td>
<td width='15%'>Email</td>
<td></td>
<td width='6%'></td>
</tr>
<!--
EOT;
$num=($page-1)*$db_perpage;
foreach($memdb_R as $mem){
$num++;
print <<<EOT
-->
<tr class="tr3 tac">
<td>$num</td>
<td align=center>
<a href="$admin_file?adminjob=setuser&action=edit&uid=$mem[uid]">$mem[username]</a></td>
<td>$mem[regdate]</td>
<td>$mem[email]</td>
<td><table style='TABLE-LAYOUT: fixed;WORD-WRAP: break-word'><tr><td>$mem[regreason]</td></tr></table></td>
<td><input type='checkbox' name='yzmem[]' value=$mem[uid]></td>
</tr>
<!--
EOT;
}print <<<EOT
-->
<tr><td class="tac tr4" colspan="5"><input type=radio name="type" value=del> 刪除 <input type=radio name="type" checked='checked' value=pass> 通過 </td></tr>
</table>
<br>
<center>
<input type="button" name="chkall" value="全 選" onclick="CheckAll(this.form)" class="btn">
<input type="submit" name="hello" value="提 交" class="btn"></center></form><br/>
<!--
EOT;
}include_once PrintEot('adminbottom');
?>-->