Because I get so much annoyed, of the Questions, if the server is online, I made a php script, with my best knowledge, to check, if a server is online.
Now I share it here, that hopefully the questions stop and the spam gets decreased.
<?php
$servers = array();
$serversOnline = array();
$serversOffine = array();
$servers[] = array('id' => "1", 'name' => "Server Name", 'offiThread' => "Official Thread Link", 'status' => TRUE /* Where TRUE is online and FALSE is offline*/, 'owner' => "John Doe");
$servers[] = array('id' => "2", 'name' => "Server Name", 'offiThread' => "Official Thread Link", 'status' => TRUE /* Where TRUE is online and FALSE is offline*/, 'owner' => "John Doe #1");
$servers[] = array('id' => "3", 'name' => "Server Name", 'offiThread' => "Official Thread Link", 'status' => TRUE /* Where TRUE is online and FALSE is offline*/, 'owner' => "John Doe #2");
$servers[] = array('id' => "4", 'name' => "Server Name", 'offiThread' => "Official Thread Link", 'status' => TRUE /* Where TRUE is online and FALSE is offline*/, 'owner' => "John Doe #3");
ForEach($servers as $server){
If($server['status'] == TRUE){
$serversOnline[] = $server;
}
Else If ($server['status'] == FALSE){
$serversOffline[] = $server;
}
}
// Here you would loop and echo each server row, but because I'm lazy I'm just doing to dump the arrays.
var_export($serversOnline);
var_export($serversOffline);
?>
In theory, this code should work, but I've not tested it out. You may also want to assign the correct IDs (after they've been sorted, because they'll all be messed up).
If you have any questions or need a hand, add me on Skype so we can instant-chat: actualfate