View Single Post
  #8  
Old 07-21-2023, 01:51 PM
~BLÃÐE~ is offline ~BLÃÐE~
Registered User

Join Date: Dec 2004
Location: Gold Coast, Australi
Posts: 241

Send a message via ICQ to ~BLÃÐE~
hi again Scott,
Put it all back to how it was and now the Small Screen Shot doesn't work, if you click image to open full screen, it will show properly

HTML Code:
if(file_exists("../mapimages/".$Server['MissionName'].".jpg")) {
			echo "<hr><a href=\"https://tiocoop.com/mapimages/".$Server['MissionName'].".jpg\" target=\"_blank\"><img src=\"http://tiocop.com/mapimages/".$Server['MissionName'].".jpg\" width=\"250\" /></a>";
		} else {
			echo "<hr><img src=\"https://www.tiocoop.com/mapimages/nophoto.jpg\" />";
		}

		echo "<br><br><b>Game: ".htmlspecialchars(strtoupper($Server['GameID']))."</b><br />";
		echo "<b>Server: ".htmlspecialchars($Server['Name'])."</b><br />";
		echo "<b>Mod: ".(empty($Server['Mod']) ? 'No' : htmlspecialchars($Server['Mod']))."</b><br />";
		echo "<b>Address: ".htmlspecialchars($Server['IPAddress']).":".intval($Server['Port'])." ".($Show_Join_Link ? $JoinCombined : '')."</b><br />";
		echo "<b>Dedicated: ".($Server['Type']=="Dedicated" ? 'Yes' : 'No')."</b><br />";
		echo "<b>Country: ".htmlspecialchars($Server['Country'])."</b><br />";
		echo "<b>Game Type: ".htmlspecialchars(strtoupper($Server['GameType']))."</b><br />";
		echo "<font color='#E8E816'><b>Players: ".htmlspecialchars($Server['CurrentPlayers'])." of ".htmlspecialchars($Server['MaxPlayers'])."</b></font><br />";

		echo "<b>Mission: ".htmlspecialchars($Server['MissionName'])." (".htmlspecialchars($Server['MissionFile']).")</b><br />";
		echo "<b>Message: ".(empty($Server['Message']) ? 'N/A' : htmlspecialchars($Server['Message']))."</b><br />";

		$PlayerList = base64_decode($Server['PlayerList']);
		$PlayerList = json_decode($PlayerList, true);
Attached Images
File Type: png server list.png (19.5 KB, 6 views)
Reply With Quote