i just change my status to what you gave me.. then no ONLINE OR OFFLINE text appearsWhat did you do?
try this..i just change my status to what you gave me.. then no ONLINE OR OFFLINE text appearsWhat did you do?
<?php if (!defined('FLUX_ROOT')) exit; ?><h2><?php echo htmlspecialchars(Flux::message('ServerStatusHeading')) ?></h2><p><?php echo htmlspecialchars(Flux::message('ServerStatusInfo')) ?></p><?php foreach ($serverStatus as $privServerName => $gameServers): ?><h3>Server Status for <?php echo htmlspecialchars($privServerName) ?></h3><table id="server_status"> <tr> <td class="status"><?php echo htmlspecialchars(Flux::message('ServerStatusServerLabel')) ?></td> <td class="status"><?php echo htmlspecialchars(Flux::message('ServerStatusLoginLabel')) ?></td> <td class="status"><?php echo htmlspecialchars(Flux::message('ServerStatusCharLabel')) ?></td> <td class="status"><?php echo htmlspecialchars(Flux::message('ServerStatusMapLabel')) ?></td> <td class="status"><?php echo htmlspecialchars(Flux::message('ServerStatusOnlineLabel')) ?></td> </tr> <?php foreach ($gameServers as $serverName => $gameServer): ?> <tr> <th class="server"><?php echo htmlspecialchars($serverName) ?></th> <td class="status"><font color="green">ONLINE</font></td> <td class="status"><font color="green">ONLINE</font></td> <td class="status"><font color="green">ONLINE</font></td> <td class="status"><?php echo $gameServer['playersOnline'] ?></td> </tr> <?php endforeach ?></table><?php endforeach ?>
There is another way, however, you'll require some tweaks to pull it off.it this the right way to fix the problem? this will show server online ALL THE TIME even offline. is there any other way to fix this?![]()
We use essential cookies to make this site work, and optional cookies to enhance your experience.