Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $port = "1337";
- $timeout = "10";
- $server = "alpha.elitebnc.net";
- if ($server and $port and $timeout) {
- $verbinding = @fsockopen("$server", $port, $errno, $errstr, $timeout);
- }
- if($verbinding) {
- $server1 = '<font color="Green">Up';
- }
- else {
- $server1 = '<font color="Red">Down';
- }
- $server = "delta.elitebnc.net";
- if ($server and $port and $timeout) {
- $verbinding = @fsockopen("$server", $port, $errno, $errstr, $timeout);
- }
- if($verbinding) {
- $server2 = '<font color="Green">Up';
- }
- else {
- $server2 = '<font color="Red">Down';
- }
- $server = "epsilon.elitebnc.net";
- if ($server and $port and $timeout) {
- $verbinding = @fsockopen("$server", $port, $errno, $errstr, $timeout);
- }
- if($verbinding) {
- $server3 = '<font color="Green">Up';
- }
- else {
- $server3 = '<font color="Red">Down';
- }
- $server = "gamma.elitebnc.net";
- if ($server and $port and $timeout) {
- $verbinding = @fsockopen("$server", $port, $errno, $errstr, $timeout);
- }
- if($verbinding) {
- $server4 = '<font color="Green">Up';
- }
- else {
- $server4 = '<font color="Red">Down';
- }
- $server = "omega.elitebnc.net";
- if ($server and $port and $timeout) {
- $verbinding = @fsockopen("$server", $port, $errno, $errstr, $timeout);
- }
- if($verbinding) {
- $server5 = '<font color="Green">Up';
- }
- else {
- $server5 = '<font color="Red">Down';
- }
- $server = "sigma.elitebnc.net";
- if ($server and $port and $timeout) {
- $verbinding = @fsockopen("$server", $port, $errno, $errstr, $timeout);
- }
- if($verbinding) {
- $server6 = '<font color="Green">Up';
- }
- else {
- $server6 = '<font color="Red">Down';
- }
- $server = "xi.elitebnc.net";
- if ($server and $port and $timeout) {
- $verbinding = @fsockopen("$server", $port, $errno, $errstr, $timeout);
- }
- if($verbinding) {
- $server7 = '<font color="Green">Up';
- }
- else {
- $server7 = '<font color="Red">Down';
- }
- $server = "zeta.elitebnc.net";
- if ($server and $port and $timeout) {
- $verbinding = @fsockopen("$server", $port, $errno, $errstr, $timeout);
- }
- if($verbinding) {
- $server8 = '<font color="Green">Up';
- }
- else {
- $server8 = '<font color="Red">Down';
- }
- ?>
- <head>
- <title>EliteBNC</title>
- </head>
- <body>
- <a href="http://elitebnc.net">EliteBNC Site</a>
- Page Underconstruction...
- <h3>Server Status</h3>
- <table align="Right" border="1">
- <tr>
- <th>Server</th>
- <th>Status</th>
- </tr>
- <tr><td rowspan="1">Alpha:</td><td colspan="1"><?php print $server1 ;?></td>
- <tr><td rowspan="1">Delta:</td><td colspan="1"><?php print $server2 ;?></td>
- <tr><td rowspan="1">Epsilon:</td><td colspan="1"><?php print $server3 ;?></td>
- <tr><td rowspan="1">Gamma:</td><td colspan="1"><?php print $server4 ;?></td>
- <tr><td rowspan="1">Sigma:</td><td colspan="1"><?php print $server5 ;?></td>
- <tr><td rowspan="1">Xi:</td><td colspan="1"><?php print $server6 ;?></td>
- <tr><td rowspan="1">Zeta:</td><td colspan="1"><?php print $server7 ;?></td>
- </table
- <h3>Server Restarts</h3>
- <p><b>Alpha:</b> Server was moved to a new host after continuing problems with dropouts and connectivity issues. The server has not had any restarts on the new host yet.<br />
- <b>Delta:</b> Server had to be restarted to update our new custom nickserv module because of the OS on that particular server.<br />
- <b>Epsilon:</b> Server was restarted because of a DDoS attack.<br />
- <b>Gamma:</b> Server was moved to a new host after the original host discontinued service due to DDoS attacks. The server has not had any restarts on the new host yet.<br />
- <b>Omega:</b> Server was moved to a new host. The server has not had any restarts on the new host yet.<br />
- <b>Sigma:</b> Hosting restarted the server due to a DDoS attack on another service's BNC server on the same node.<br />
- <b>Xi:</b> Server was restarted by the owner for upgrades.<br />
- <b>Zeta:</b> The server has not had any restarts as of yet.
- </body>
- <!-- www.000webhost.com Analytics Code -->
- <script type="text/javascript" src="http://analytics.hosting24.com/count.php"></script>
- <noscript><a href="http://www.hosting24.com/"><img src="http://analytics.hosting24.com/count.php" alt="web hosting" /></a></noscript>
- <!-- End Of Analytics Code -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement