diff --git a/Origins06/Origins06_site/games.php b/Origins06/Origins06_site/games.php index 4720340..6113c6d 100644 --- a/Origins06/Origins06_site/games.php +++ b/Origins06/Origins06_site/games.php @@ -58,6 +58,13 @@ $url = "Origins06://".$encryptstring; echo "
"; echo "
"; echo "
"; +$ip = base64_decode($row['ip']); +if($_SERVER['REMOTE_ADDR'] == $ip) +{ +echo "
"; +echo "
"; +echo "
"; +} echo ""; echo ""; echo " "; diff --git a/Origins06/Origins06_site/removeserver.php b/Origins06/Origins06_site/removeserver.php new file mode 100644 index 0000000..3fb52d2 --- /dev/null +++ b/Origins06/Origins06_site/removeserver.php @@ -0,0 +1,84 @@ + + + +Origins06 + + + + + + + + +query($sql); +if (!$result) +{ + printf("Error: %s\n", $con->error); +} + +while($row = mysqli_fetch_array($result, MYSQLI_ASSOC)) +{ +$ip = base64_decode($row['ip']); +if($_SERVER['REMOTE_ADDR'] == $ip) +{ +$delsql="DELETE FROM games +WHERE id = $row[id]"; + +$resultdel=$con->query($delsql); +if (!$resultdel) +{ + printf("Error: %s\n", $con->error); +} +} +} + +$con->close(); +?> +
+ +
+ +
+
+
+ +
+
+
+
+

Games

+
+
+

Server has been deleted.

+
+
+
+
+
+
+ + +
+ + \ No newline at end of file diff --git a/Origins06/R06_Launcher/R06_Launcher/GlobalVars.cs b/Origins06/R06_Launcher/R06_Launcher/GlobalVars.cs index d2de8b8..40b76c8 100644 --- a/Origins06/R06_Launcher/R06_Launcher/GlobalVars.cs +++ b/Origins06/R06_Launcher/R06_Launcher/GlobalVars.cs @@ -5,6 +5,6 @@ public static class GlobalVars public static string Name = "Player"; public static int UserID = 0; public static bool ReadyToLaunch = false; - public static string JoinLink = "http://or06.000webhostapp.com/functions.php"; + public static string JoinLink = "http://o06.000webhostapp.com/functions"; public static string ClientMD5 = "BA8B6DEE0BFD27D2D716F4122F8D6C6E"; }