include("config/config.php"); include("config/conf.php"); include("../logincheck.php"); conn_web_db(); session_start(); $connectedvid = $_SESSION['Id']; // 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: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"); include("staff_access.php"); ?> if($Func_Staff==0) { header("Location:../noaccess.php"); exit; } else { print '
Mail Member |
This facility is for staff members to send a message to a member. All use of this facility is audited.
|