echo $tos_message; } ################# if (isset($_POST['getRefundPolicy'])) { include "../../documents/refundpolicy.php"; echo $rp_message; } ################# if (isset($_POST['serverStatus'])) { echo '<div class="box_one_title">Server status</div>'; $num = 0; foreach ($GLOBALS['realms'] as $k => $v) { if ($num != 0) { echo "<hr/>"; } server::serverStatus($k); $num++; } if ($num == 0) { buildError("<b>No realms found: </b> Please setup your database and add your realm(s)!", NULL); echo "No realms found."; } unset($num); ?> <hr/> <span id="realmlist">set realmlist <?php echo $GLOBALS['connection']['realmlist']; ?> </span> </div> <?php