13 lines
646 B
PHP
13 lines
646 B
PHP
<?php
|
|
$em="";
|
|
if($theaction=="kill"){
|
|
$thesql="DELETE FROM `arrowchat` WHERE `from` = ".$theuserid." ";
|
|
$thequery=mysql_query($thesql) or $em=$em.mysql_error();
|
|
$thesql1="UPDATE `se_users` SET `user_enabled` = 0, `user_pdp_evc` = 6 WHERE `user_id` = ".$theuserid." LIMIT 1";
|
|
$thequery1=mysql_query($thesql1) or $em=$em.mysql_error();
|
|
$thesql2="DELETE FROM `se_profilecomments` WHERE `profilecomment_authoruser_id` = ".$theuserid." ";
|
|
$thequery2=mysql_query($thesql2) or $em=$em.mysql_error();
|
|
$thismessge="Error Message: ".$em." User ID: " .$theuserid." ";
|
|
mail("porembaphilip@gmail.com", "Spammer Account Disable", $thismessge);
|
|
}
|
|
?>
|