Files
Testing/bebop/lionhunt.php
sean 0e8a8b3028
Some checks are pending
deploy-testing / deploy (push) Waiting to run
Initial testing snapshot
2026-11-17 16:15:01 -05:00

26 lines
1011 B
PHP

<?php header('Content-type: application/json');
if ( !defined('PATHTOINCLUDES') ) define('PATHTOINCLUDES', $_SERVER["DOCUMENT_ROOT"] . '/bebop/');
include(PATHTOINCLUDES."regular.php");
date_default_timezone_set("America/Phoenix");
$em="";
$dbhost = "localhost";
$dbuser = "db.bateworldcom";
$dbname = "bateworldcom";
$dbpass = "sDIE8U8!5n*4%Ue_x.Pq";
$dbc=dbconnect($dbhost,$dbuser,$dbname,$dbpass);
$theaction=$_GET["takeaction"];
$theuserid=$_GET["userid"];
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();
}
$arr = array ('theerror' => $em);
echo json_encode($arr);
?>