"; fullaccount($emailzor); } else { die('Invalid email or keycode given'); } function fullaccount($email) { echo "Loading Account...
"; $con = mysql_connect("localhost","",""); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("phantom7_PGDConnect", $con); $result = mysql_query("SELECT * FROM Data WHERE email='$email'"); if (!$result) echo "Query failed! " . mysql_error(); while($row1 = mysql_fetch_array($result)) { $result2 = mysql_query("SELECT * FROM Data WHERE guid='$row1[guid]'"); if (!$result2) echo "Query failed! " . mysql_error(); while($row2 = mysql_fetch_array($result2)) { $match2 = $row2[Authenticated]; } if($match2) { $authStr = "Authenticated: Full Access
"; } else { $authStr = "Authenticated: Limited Access, Please Authenticate In Game
"; } echo "Tribes 2 GUID ".$row1[guid]." - [Unlink] - [Buildings] - [Ranks]. ".$authStr."
"; } } ?>