Advertisement
Aha2Y

Untitled

Apr 18th, 2012
328
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 3.43 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 = 'online';
  10.   }
  11.   else {
  12.     $server1 = 'offline';
  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 = 'online';
  21.   }
  22.   else {
  23.     $server2 = 'offline';
  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 = 'online';
  32.   }
  33.   else {
  34.     $server3 = 'offline';
  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 = 'online';
  43.   }
  44.   else {
  45.     $server4 = 'offline';
  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 = 'online';
  54.   }
  55.   else {
  56.     $server5 = 'offline';
  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 = 'online';
  65.   }
  66.   else {
  67.     $server6 = 'offline';
  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 = 'online';
  76.   }
  77.   else {
  78.     $server7 = 'offline';
  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 = 'online';
  87.   }
  88.   else {
  89.     $server8 = 'offline';
  90.   }
  91. ?>
  92. <html>
  93. <head>
  94. <title>Hackz.ch</title>
  95. <script src="js/lib/jquery.min.js" type="text/javascript"></script>
  96. <link rel="stylesheet" type="text/css" href="../style.css" />
  97. </head>
  98. <body>
  99. <div id="left-sidebar">
  100. <?php include "../menu.php"; ?>
  101. </div>
  102. <div id="right-sidebar"><center>
  103. <?php include "menu.php"; ?>
  104. </div>
  105. <div id="main">
  106. <h1>EliteBNC</h1>
  107. <center>
  108.  <table width="600">
  109.   <tr>
  110.   <th align="center">Server name</th>
  111.   <th align="center">Status</th>
  112.  </tr>
  113.  <tr>
  114.   <td align="center">Alpha.elitebnc.net</td>
  115.   <td align="center"><?php print $server1 ;?></td>
  116.   </tr>
  117.    <tr>
  118.   <td align="center">delta.elitebnc.net</td>
  119.   <td align="center"><?php print $server2 ;?></td>
  120.   </tr>
  121.    <tr>
  122.   <td align="center">epsilon.elitebnc.net</td>
  123.   <td align="center"><?php print $server3 ;?></td>
  124.   </tr>
  125.    <tr>
  126.   <td align="center">gamma.elitebnc.net</td>
  127.   <td align="center"><?php print $server4 ;?></td>
  128.   </tr>
  129.    <tr>
  130.   <td align="center">omega.elitebnc.net</td>
  131.   <td align="center"><?php print $server5 ;?></td>
  132.   </tr>
  133.    <tr>
  134.   <td align="center">sigma.elitebnc.net</td>
  135.   <td align="center"><?php print $server6 ;?></td>
  136.   </tr>
  137.    <tr>
  138.   <td align="center">xi.elitebnc.net</td>
  139.   <td align="center"><?php print $server7 ;?></td>
  140.   </tr>
  141.    <tr>
  142.   <td align="center">zeta.elitebnc.net</td>
  143.   <td align="center"><?php print $server8 ;?></td>
  144.   </tr>
  145. </table>
  146. </center>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement