Assurer Status and Assurer Blocking added

This commit is contained in:
root 2008-05-11 15:28:23 +00:00
parent a82f4e48d3
commit b513a74bc1

View file

@ -2396,6 +2396,24 @@
mysql_query("update `users` set `tverify`='$ver' where `id`='$memid'"); mysql_query("update `users` set `tverify`='$ver' where `id`='$memid'");
} }
if($id == 43 && $_REQUEST['assurer'] > 0)
{
$memid = $_REQUEST['userid'] = intval($_REQUEST['assurer']);
$query = "select * from `users` where `id`='$memid'";
$row = mysql_fetch_assoc(mysql_query($query));
$ver = !$row['assurer'];
mysql_query("update `users` set `assurer`='$ver' where `id`='$memid'");
}
if($id == 43 && $_REQUEST['assurer_blocked'] > 0)
{
$memid = $_REQUEST['userid'] = intval($_REQUEST['assurer_blocked']);
$query = "select * from `users` where `id`='$memid'";
$row = mysql_fetch_assoc(mysql_query($query));
$ver = !$row['assurer_blocked'];
mysql_query("update `users` set `assurer_blocked`='$ver' where `id`='$memid'");
}
if($id == 43 && $_REQUEST['locked'] > 0) if($id == 43 && $_REQUEST['locked'] > 0)
{ {
$memid = $_REQUEST['userid'] = intval($_REQUEST['locked']); $memid = $_REQUEST['userid'] = intval($_REQUEST['locked']);