Assurer Status and Assurer Blocking added
This commit is contained in:
parent
a82f4e48d3
commit
b513a74bc1
1 changed files with 18 additions and 0 deletions
|
@ -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']);
|
||||||
|
|
Loading…
Reference in a new issue