include("config/config.php"); include("config/conf.php"); include("../logincheck.php"); conn_web_db(); session_start(); $connectedvid = $_SESSION['Id']; if($connectedvid=="") { $connectedvid = 1; } // 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"); include("../members/person/admin/staff.php"); ?> if($Func_Staff==0 AND $Req_Rating<11) { header("Location:http://www.ivao.org/noaccess.php"); exit; } print '
| By | What ? | Why ? |
|---|---|---|
| Homer | Staff Pages (M) + Staff function | Giving Access to MA1 |
| Homer | Staff Badges | Better than old ones ? You do not think so ? |
| Homer | SUSP/SUP/ADM list + HQ/FULL/MA Staff List Update Pages | Usefull |