//Edited by Andy, 07-08-31 require_once("../../_private/database.inc.php"); require_once("../../_private/login.inc.php"); require_once("../../_private/staff.inc.php"); db_set_active('ivao_users'); is_logged(true); $request_id = $_GET['Id']; if(empty($request_id) OR $request_id == "") { $request_id = $_SESSION['Id']; } if(Func_Staff('posi','PRE,VPRE,DIR,ADIR,MD,MAD')) { $query = "SELECT * FROM user_data WHERE Pers_Id = '$request_id'"; } else { $query = "SELECT * FROM user_data WHERE Pers_Id = '$request_id' AND Pers_Activate = 1 AND Rating > -1"; } $query = mysql_query($query); if(!mysql_num_rows($query)) { header("Location:na.php?Id=$request_id"); exit; } else { $result = mysql_fetch_object($query); } $staffreq = mysql_query("select * from ivao_staff where vid=\"$request_id\""); if(mysql_num_rows($staffreq)>0) { $staff_details = '1'; } if($result->Pers_Time_Total >= 30000) { $time_award = 1; } else { $time_award = 0; } function hours($time_sec) { $hours = floor($time_sec / 60); $minutes = $time_sec - ($hours * 60); { $time_read = "$hours hour"; { if($hours > 2) { $time_read .= "s"; } } $time_read .= " $minutes minute"; { if($minutes > 2) { $time_read .= "s"; } } } echo $time_read; } function coun_name($icao) { $coun_query = mysql_query("SELECT name FROM division WHERE icao = '$icao'"); $coun_result = mysql_fetch_object($coun_query); echo $coun_result->name; } ?>
| echo "$result->Pers_First_Name $result->Pers_Last_Name"; ?> |
| >General Info | bgColor=#c0c0c0>ATC Info | bgColor=#c0c0c0>Pilot Info | if($staff_details=="1")print 'Staff | '; else print ''; ?>bgColor=#c0c0c0>Training | bgColor=#c0c0c0>Last Online | bgColor=#c0c0c0>VA member |
| if($result->Rating == "11")print 'Supervisor'; else print ''; ?> if($result->Rating == "12")print 'Administrator'; else print ''; ?> | Id: echo $result->Pers_Id; ?> | Account Status | |||
| Country: echo coun_name($result->Pers_Country); ?> | if($result->Rating=="-1")print 'Deleted'; else if($result->Rating=="0" and $result->Pers_Id != "290270")print 'Suspended'; else if($result->Rating=="0" and $result->Pers_Id == "290270")print 'Fucked'; else if($result->Rating=="1")print 'Inactive User'; else if($result->Rating >= "2")print 'Active User'; else print 'N/A'; ?> | ||||
| Division: echo coun_name($result->Pers_Division); ?> ( echo $result->Pers_Division; ?>) | |||||
| City: echo "$result->Pers_City"; ?> | if($result->Rating == 1 AND (Func_Staff('dept', 'E,M') OR $result->Pers_Id == $_SESSION['Id']))print ' | Click here | '; else if($result->Rating == -1 AND Func_Staff('posi', 'PRE,VPRE,DIR,ADIR,MD,MAD'))print 'Click here | '; ?>||
|
|
Mail: if($result->Pers_Id == $_SESSION['Id'] OR $_SESSION['Rating'] >= 11)print ''.$result->Pers_E_Mail.''; else print 'Not Shown'; ?> | if($result->Rating == 1 AND (Func_Staff('dept', 'E,M') OR $result->Pers_Id == $_SESSION['Id']))print ' | to reactivate it | '; else if($result->Rating == -1 AND Func_Staff('posi', 'PRE,VPRE,DIR,ADIR,MD,MAD'))print 'to undelete it | '; ?>|
|
|
ICQ #:
if(!empty($result->Pers_ICQ))print ''.$result->Pers_ICQ.' |
||||
| MSN #: if(!empty($result->Pers_MSN))print $result->Pers_MSN; ?> | |||||
|
if(!empty($result->Pers_Skype))print ' |
Skype #: if(!empty($result->Pers_Skype))print $result->Pers_Skype; ?> | ||||
| Member since: | $registration1 = substr($result->Pers_Registration, 0, 10); $registration2 = substr($result->Pers_Registration, 11, 8); $r1 = explode("-", $registration1); echo "$r1[2]/$r1[1]/$r1[0] $registration2"; ?> UTC | if($_SESSION['Rating'] >= 11)print ' | '.$result->Pers_Reg_Ip.' | '; ?>||
| if($result->Pers_Time_All == 0)print 'No Logged Hours'; else { hours($result->Pers_Time_All); print ', TOTAL time logged in IVAN'; } ?> | |||||
| The user has no Awards | '; } else { print '|||||||||
| AWARDS | |||||||||
| Medal of Honor | '; ?> if($result->g_gi=="1")print 'Great Information | '; ?> if($result->g_bi=="1")print 'Bright Idea | '; ?> if($result->g_sp=="1")print 'Spirit of IVAO | '; ?> if($result->g_cr=="1")print 'Creativity | '; ?> if($result->Pers_Time_Total >= 30000) print 'Hours | '; else print ''; ?> if(!empty($result->g_sp) OR !empty($result->g_bi) OR !empty($result->g_gi) OR !empty($result->g_mh) OR !empty($result->g_cr) OR !empty($time_award)) { print '||||
|
| ';
?>
if($result->g_gi=="1")print '
| ';
?>
if($result->g_bi=="1")print '
| ';
?>
if($result->g_sp=="1")print '
| ';
?>
if($result->g_cr=="1")print '
| ';
?>
if($result->Pers_Time_Total < 30000) print '';
else if ($result->Pers_Time_Total <60000) print '
| ';
else if ($result->Pers_Time_Total <120000) print '
| ';
else if ($result->Pers_Time_Total <300000) print '
| ';
else if ($result->Pers_Time_Total <600000) print '
| ';
else if ($result->Pers_Time_Total >599999) print '
| ';
?>
|
|
| Suspension Information: | |
| Suspension Start: '.$result->Pers_Susp_At.'
Suspension End: '.$result->Pers_Susp_Until.' Suspended By: XXX Suspension Type: '; { switch ($result->Pers_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 and it not following Supervisor's instructions to close one"; break; case 4 : echo "The user is sandbagging and reconnects when killed. First occurrence (this already suspends the member!)"; 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 "Describe below"; 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 ' Suspension Reason: '.$result->Pers_Susp_Reason.' | |
| check user suspension history | |
| Change my details |
| Change member\'s details |
© 1998- echo date("Y"); ?> - IVAO - All Rights Reserved