include("../config.php"); include("../logincheck.php"); conn_web_db(); session_start(); $connectedvid = $_SESSION['Id']; $requestvid = $_GET['Id']; require("config/conf.php"); // CONNEXION MYSQL $db_link = mysql_connect($sql_serveur,$sql_user,$sql_passwd); if(!$db_link) {echo "No connected to $sql_bdd on the server $sql_server"; exit;} // SELECTION DE L'ENREGISTREMENT CONTENANT L'ID EN COURS $req=mysql_db_query($sql_bdd,"select * from user_data where Pers_Id=\"$connectedvid\" and Rating>0",$db_link) or die(mysql_error()); // SI L'ID N'EXISTE PAS if(mysql_num_rows($req)==0) { // REDIRECTION PAGE ERREUR header("Location:../members/person/login.php?XURL=$this_site"); exit; } // LIGNE FACULTATIVE : RECUPERATION DU PSEUDO $Req_Id=mysql_result($req,0,"Pers_Id"); $Req_Rating=mysql_result($req,0,"Rating"); if($Req_Rating<11) { header("Location:../noaccess.php"); exit; } // SELECTION DE L'ENREGISTREMENT CONTENANT L'ID EN COURS $details=mysql_db_query($sql_bdd,"select * from user_data where Pers_Id=\"$requestvid\"",$db_link) or die(mysql_error()); // SI L'ID N'EXISTE PAS if(mysql_num_rows($details)==0) { // REDIRECTION PAGE ERREUR header("Location:../members/person/na.php?Id=$requestvid"); exit; } $Pers_Last_Name=mysql_result($details,0,"Pers_Last_Name"); $Pers_First_Name=mysql_result($details,0,"Pers_First_Name"); $Pers_Id=mysql_result($details,0,"Pers_Id"); $susp_req=mysql_db_query($sql_bdd,"select * from Susp_Log where Susp_Id=\"$requestvid\" and Type=\"1\"",$db_link) or die(mysql_error()); $kill_req=mysql_db_query($sql_bdd,"select * from Susp_Log where Susp_Id=\"$requestvid\" and Type=\"3\"",$db_link) or die(mysql_error()); $sand_req=mysql_db_query($sql_bdd,"select * from Susp_Log where Susp_Id=\"$requestvid\" and Type=\"2\"",$db_link) or die(mysql_error()); $susp_num=mysql_num_rows($susp_req); $kill_num=mysql_num_rows($kill_req); $sand_num=mysql_num_rows($sand_req); ?>
|
Date: |
By: |
Type: |
Reason: |
| No suspension records | |||
|
'.$data_susp['Susp_At'].' |
'.$surname.' '.$name.' |
'; { switch ($data_susp['Susp_Type']) { case 1 : echo "The user is continuously disturbing in the network"; break; case 2 : echo "The user is sending commercial messages"; break; case 3 : echo "The user has more than one connection"; break; case 4 : echo "The user is sandbagging and reconnects when killed. First occurrence"; break; case 5 : echo "The user is insulting other members or using inappropiate language"; break; case 6 : echo "The user is connected with a false and/or insulting name"; break; case 7 : echo "The user was suspended and created a new account"; break; case 8 : echo "The user is sending sex messages"; break; case 9 : echo "The user is sending messages publishing other networks"; break; case 10 : echo "Reincident on any of the above cases"; break; case 11 : echo "Described at the right"; break; case 14 : echo "The user is sandbagging and reconnects when killed. 2nd occurrence in a 12 month period for the same issue"; break; case 15 : echo "The user is sandbagging and reconnects when killed. 3rd occurrence in a 12 month period for the same issue"; break; case 16 : echo "The user is sandbagging and reconnects when killed. More than 3 occurrences in a 12 month period for the same issue"; break; case 17 : echo "The user is racing or reckless operation of FM Car"; break; } } print ' |
'.$data_susp['Susp_Reason'].' |
|
Date: |
By: |
Reason: |
| No forced disconnection records | ||
|
'.$data_kill['Susp_At'].' |
'.$surname.' '.$name.' |
'.$data_kill['Susp_Reason'].' |
|
Date: |
By: |
Reason: |
| No reset hours records | ||
|
'.$data_sand['Susp_At'].' |
'.$surname.' '.$name.' |
'.$data_sand['Susp_Reason'].' |