diff options
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 +?>
|