-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathadmreg.php
More file actions
27 lines (21 loc) · 823 Bytes
/
Copy pathadmreg.php
File metadata and controls
27 lines (21 loc) · 823 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?php
require("www2-admin.php");
admin_check("reg");
$reglist = array();
$count = bbs_admin_getnewreg($reglist);
if($count == -1)
html_error_quit("无法读取注册单文件。");
admin_header("批注册单", "设定使用者注册资料");
if($count == 0) {
print("目前没有需要审批的注册单。");
}
else {
print("共有 {$count} 个用户等待审批。");
print("<table align=\"center\" cellpadding=\"3\" border=\"1\"><tr><th>编号和时间</th><th>用户名</th><th>真实姓名</th><th>服务单位</th></tr>");
for($i=0; $i<$count; $i++) {
print("<tr><td>{$reglist[$i]["usernum"]}</td><td>{$reglist[$i]["userid"]}</td><td>{$reglist[$i]["realname"]}</td><td>{$reglist[$i]["career"]}</td></tr>");
}
print("</table><br>");
}
page_footer();
?>