Games
query($sql);
if (!$result)
{
printf("Error: %s\n", $con->error);
}
while($row = mysqli_fetch_array($result, MYSQLI_ASSOC))
{
echo "";
echo "
";
echo "".$row['name']."
";
echo "Map: ".$row['map']."
";
echo "Player Limit: ".$row['playerlimit']."
";
date_default_timezone_set('America/Phoenix');
$date = date('m/d/Y h:i:s a', time());
echo " Creation Time: ".$date."
";
$stringbuild = $row['ip']."|".$row['port'];
$encryptstring = base64_encode($stringbuild);
$url = "Origins06://".$encryptstring;
echo "";
$ip = base64_decode($row['ip']);
if($_SERVER['REMOTE_ADDR'] == $ip)
{
echo "";
}
echo "";
echo "
";
echo " ";
}
$con->close();
?>