Discuz!x批量冻结未发帖用户
代码用途:老站推荐使用,站点账号之前没做注册过滤,导致很多早期账号被批量注册,后改用邀请码注册,但早期注册账号被淘宝售卖,代码用途是一键冻结注册时间内,发帖数为0的账号,不影响正常账号使用
**** 本内容需购买可见 ****)</a><script>setTimeout(\"window.location.href ='$url_forward';\", $time);</script>";
}
show_header();
print<<<END
<table>
<tr><td>$message</td></tr>
</table>
END;
show_footer();
exit();
}
//页面头部
function show_header() {
global $config;
$nowarr = array($_GET['op'] => ' class="current"');
print<<<END
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gbk" />
<title> Discuz!X3.4批量冻结工具 </title>
<style type="text/css">
* {font-size:12px; font-family: Verdana, Arial, Helvetica, sans-serif; line-height: 1.5em; word-break: break-all; }
body { text-align:center; margin: 0; padding: 0; background: #F5FBFF; }
.bodydiv { margin: 40px auto 0; width:720px; text-align:left; border: solid #86B9D6; border-width: 5px 1px 1px; background: #FFF; }
h1 { font-size: 18px; margin: 1px 0 0; line-height: 50px; height: 50px; background: #E8F7FC; color: #5086A5; padding-left: 10px; }
#menu {width: 100%; margin: 10px auto; text-align: center; }
#menu td { height: 30px; line-height: 30px; color: #999; border-bottom: 3px solid #EEE; }
.current { font-weight: bold; color: #090 !important; border-bottom-color: #F90 !important; }
input { border: 1px solid #B2C9D3; padding: 5px; background: #F5FCFF; }
#footer { font-size: 10px; line-height: 40px; background: #E8F7FC; text-align: center; height: 38px; overflow: hidden; color: #5086A5; margin-top: 20px; }
</style>
</head>
<body>
<div class="bodydiv">
<h1>批量冻结工具</h1>
<div style="width:90%;margin:0 auto;">
<table id="menu">
<tr>
<td{$nowarr}>开始</td>
<td{$nowarr}>检查</td>
<td{$nowarr}>冻结</td>
<td{$nowarr}>冻结完成</td>
</tr>
</table>
<br>
END;
}
//页面顶部
function show_footer() {
print<<<END
</div>
<div id="footer">© 无限星辰工作室 Inc. 2001-2018 http://www.xmspace.net</div>
</div>
<br>
</body>
</html>
END;
}
?>
页:
[1]