diff options
author | Matthijs Kuiper <info@matthijskuiper.nl> | 2018-01-14 11:28:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-14 11:28:01 +0100 |
commit | 76ab07b6646c807d321274bfdfb2814cffb6af90 (patch) | |
tree | 3878861d9f6c8c70fd5d638fb3ce58857cee00d5 /html/pages/servers_query.php | |
parent | cbae6c7e376faf9b4a76ab0631d9da168545e41f (diff) | |
parent | 701165fded99ff9f70a4379444d9bd1432052c63 (diff) |
Merge pull request #7 from sn3p/new-design4.4.0
New design
Diffstat (limited to 'html/pages/servers_query.php')
-rw-r--r--[-rwxr-xr-x] | html/pages/servers_query.php | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/html/pages/servers_query.php b/html/pages/servers_query.php index 95265c6..84a4fa9 100755..100644 --- a/html/pages/servers_query.php +++ b/html/pages/servers_query.php @@ -61,18 +61,18 @@ fclose ($sock); //Split chunks by \
$chunks = split('[\]', $data);
-$mappic = strtolower("images/maps/".$map.".jpg");
+$mappic = strtolower("assets/images/maps/".$map.".jpg");
if (file_exists($mappic)) {
} else {
- $mappic = ("images/maps/blank.jpg");
+ $mappic = ("assets/images/maps/blank.jpg");
}
$mapname = getiteminfo("mapname",$chunks);
-$mappic = strtolower("images/maps/".$mapname.".jpg");
-IF (file_exists($mappic)) {
+$mappic = strtolower("assets/images/maps/".$mapname.".jpg");
+if (file_exists($mappic)) {
} else {
- $mappic = "images/maps/blank.jpg";
+ $mappic = "assets/images/maps/blank.jpg";
}
$r_hostname = getiteminfo("hostname",$chunks);
@@ -98,14 +98,14 @@ $r_friendlyfire = getiteminfo("friendlyfire",$chunks); $r_gamestyle = getiteminfo("gamestyle",$chunks);
echo'
-<table class = "box" border="0" cellpadding="1" cellspacing="2" width="720">
+<table class = "box" border="0" cellpadding="0" cellspacing="0" width="720">
<tbody><tr>
<td class="heading" colspan="4" align="center">Server Status for '.$r_hostname.'</td>
</tr>
<tr>
<td class="dark" align="center" width="110">Server IP</td>
<td class="grey" align="center" width="350"><a class="grey" href="unreal://'.$serverip.':'.$serverport.'">'.$serverip.':'.$serverport.'</a></td>
- <td class="dark" align="center" rowspan="5" colspan="2"><img border="0" alt="'.$mapname.'" title="'.$mapname.'" src="'.$mappic.'"></td>
+ <td class="tooltip" align="center" rowspan="5" colspan="2"><img border="0" alt="'.$mapname.'" title="'.$mapname.'" src="'.$mappic.'"></td>
</tr>
<tr>
<td class="dark" align="center">Map Name</td>
@@ -139,7 +139,7 @@ echo' </tbody></table>
<br>
-<table class = "box" border="0" cellpadding="0" cellspacing="2" width="720">
+<table class = "box" border="0" cellpadding="0" cellspacing="0" width="720">
<tbody>
<tr>
<td class="heading" colspan="5" align="center">Player Information</td>
@@ -173,4 +173,4 @@ for ($i = 0; $i < $r_numplayers; $i++) { }
echo'</tbody></table>';
-?>
\ No newline at end of file +?>
|