include("config/conf.php"); include("config/config.php"); include("../members/person/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 $requete=mysql_db_query($sql_bdd,"select Pers_Id, Pers_Last_Name, Pers_First_Name, Pers_Division, Pers_Country, Pers_Language, Pers_E_Mail, Pers_Reg_Ip, Pers_Registration, Pers_Activate from user_data order by Pers_Id DESC limit 100",$db_link) or die(mysql_error()); mysql_close($db_link); include("../members/person/admin/staff.php"); if($Func_staff_PRE==1 OR $Func_staff_DIR==1 OR $Func_staff_MD==1 OR $Func_dstaff_DIR==1 OR $Func_dstaff_MC==1 OR $Func_staff_MA1==1) { } else { header("Location:http://www.ivao.org/noaccess.php"); exit; } ?>
| ID # | Name | Division | Country | Language | Email address | IP | Joined | Is Active ? | if($Func_staff_PRE==1 OR $Func_staff_DIR==1 OR $Func_staff_MD==1 OR $Func_staff_MA1==1) print 'Deleted | '; else print ''; ?>
| '.$data['Pers_First_Name'].' '.$data['Pers_Last_Name'].' | '.$data['Pers_Division'].' | '.$data['Pers_Country'].' | '.$data['Pers_Language'].' | '.$data['Pers_E_Mail'].' | '.$data['Pers_Reg_Ip'].' | '.$Pers_Registration.' | '; { if($Func_staff_PRE==1 OR $Func_staff_DIR==1 OR $Func_staff_MD==1 OR $Func_staff_MA1==1) print ' | Click here | '; else print ''; } print '