Advertisement
Aha2Y

Untitled

Apr 8th, 2012
353
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 4.28 KB | None | 0 0
  1. <?php
  2.   $port = "1337";
  3.   $timeout = "10";
  4.   $server  = "alpha.elitebnc.net";
  5.   if ($server and $port and $timeout) {
  6.     $verbinding =  @fsockopen("$server", $port, $errno, $errstr, $timeout);
  7.   }
  8.   if($verbinding) {
  9.     $server1 = '<font color="Green">Up';
  10.   }
  11.   else {
  12.     $server1 = '<font color="Red">Down';
  13.   }
  14.  
  15.   $server  = "delta.elitebnc.net";
  16.   if ($server and $port and $timeout) {
  17.     $verbinding =  @fsockopen("$server", $port, $errno, $errstr, $timeout);
  18.   }
  19.   if($verbinding) {
  20.     $server2 = '<font color="Green">Up';
  21.   }
  22.   else {
  23.     $server2 = '<font color="Red">Down';
  24.   }
  25.  
  26.   $server  = "epsilon.elitebnc.net";
  27.   if ($server and $port and $timeout) {
  28.     $verbinding =  @fsockopen("$server", $port, $errno, $errstr, $timeout);
  29.   }
  30.   if($verbinding) {
  31.     $server3 = '<font color="Green">Up';
  32.   }
  33.   else {
  34.     $server3 = '<font color="Red">Down';
  35.   }
  36.  
  37.   $server  = "gamma.elitebnc.net";
  38.   if ($server and $port and $timeout) {
  39.     $verbinding =  @fsockopen("$server", $port, $errno, $errstr, $timeout);
  40.   }
  41.   if($verbinding) {
  42.     $server4 = '<font color="Green">Up';
  43.   }
  44.   else {
  45.     $server4 = '<font color="Red">Down';
  46.   }
  47.  
  48.   $server  = "omega.elitebnc.net";
  49.   if ($server and $port and $timeout) {
  50.     $verbinding =  @fsockopen("$server", $port, $errno, $errstr, $timeout);
  51.   }
  52.   if($verbinding) {
  53.     $server5 = '<font color="Green">Up';
  54.   }
  55.   else {
  56.     $server5 = '<font color="Red">Down';
  57.   }
  58.  
  59.   $server  = "sigma.elitebnc.net";
  60.   if ($server and $port and $timeout) {
  61.     $verbinding =  @fsockopen("$server", $port, $errno, $errstr, $timeout);
  62.   }
  63.   if($verbinding) {
  64.     $server6 = '<font color="Green">Up';
  65.   }
  66.   else {
  67.     $server6 = '<font color="Red">Down';
  68.   }
  69.  
  70.   $server  = "xi.elitebnc.net";
  71.   if ($server and $port and $timeout) {
  72.     $verbinding =  @fsockopen("$server", $port, $errno, $errstr, $timeout);
  73.   }
  74.   if($verbinding) {
  75.     $server7 = '<font color="Green">Up';
  76.   }
  77.   else {
  78.     $server7 = '<font color="Red">Down';
  79.   }
  80.  
  81.   $server  = "zeta.elitebnc.net";
  82.   if ($server and $port and $timeout) {
  83.     $verbinding =  @fsockopen("$server", $port, $errno, $errstr, $timeout);
  84.   }
  85.   if($verbinding) {
  86.     $server8 = '<font color="Green">Up';
  87.   }
  88.   else {
  89.     $server8 = '<font color="Red">Down';
  90.   }
  91. ?>
  92.  
  93. <head>
  94. <title>EliteBNC</title>
  95. </head>
  96. <body>
  97. <a href="http://elitebnc.net">EliteBNC Site</a>
  98.  
  99.  
  100. Page Underconstruction...
  101. <h3>Server Status</h3>
  102. <table align="Right" border="1">
  103. <tr>
  104. <th>Server</th>
  105. <th>Status</th>
  106. </tr>
  107. <tr><td rowspan="1">Alpha:</td><td colspan="1"><?php print $server1 ;?></td>
  108. <tr><td rowspan="1">Delta:</td><td colspan="1"><?php print $server2 ;?></td>
  109. <tr><td rowspan="1">Epsilon:</td><td colspan="1"><?php print $server3 ;?></td>
  110. <tr><td rowspan="1">Gamma:</td><td colspan="1"><?php print $server4 ;?></td>
  111. <tr><td rowspan="1">Sigma:</td><td colspan="1"><?php print $server5 ;?></td>
  112. <tr><td rowspan="1">Xi:</td><td colspan="1"><?php print $server6 ;?></td>
  113. <tr><td rowspan="1">Zeta:</td><td colspan="1"><?php print $server7 ;?></td>
  114.  
  115.  
  116.  
  117. </table
  118.  
  119.  
  120.  
  121. <h3>Server Restarts</h3>
  122. <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 />
  123. <b>Delta:</b> Server had to be restarted to update our new custom nickserv module because of the OS on that particular server.<br />
  124. <b>Epsilon:</b> Server was restarted because of a DDoS attack.<br />
  125. <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 />
  126. <b>Omega:</b> Server was moved to a new host. The server has not had any restarts on the new host yet.<br />
  127. <b>Sigma:</b> Hosting restarted the server due to a DDoS attack on another service's BNC server on the same node.<br />
  128. <b>Xi:</b> Server was restarted by the owner for upgrades.<br />
  129. <b>Zeta:</b> The server has not had any restarts as of yet.
  130. </body>
  131. <!-- www.000webhost.com Analytics Code -->
  132. <script type="text/javascript" src="http://analytics.hosting24.com/count.php"></script>
  133. <noscript><a href="http://www.hosting24.com/"><img src="http://analytics.hosting24.com/count.php" alt="web hosting" /></a></noscript>
  134. <!-- End Of Analytics Code -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement