Sueta
SE

ServerStatus Check

2019-01-03

Web

·Plugin

ServerStatusChecker by CouldIndex

<!DOCTYPE html> 
<html> 

<style> 
  body{ 
    font-family: Verdana, "Lucida Sans Unicode", sans-serif; 
    background-size: cover; 

  } 

  .h1{ 
  } 

  .mittig{ 
    text-align: center; 
  } 

</style> 

<head> 
  <title>ServerStatus</title> 
</head> 
<body background="Background.jpg"> 

<div class="mittig"> 



<MinecraftSERVER> 

[code]  <?php  
   $server   =   "IP"   ;   <---  You IP 
   $port   =   "Port"   ;   <---  You Port 
   $timeout   =   "10"   ;  
   if   (   $server  and  $port  and  $timeout   )  
   {  
   $Gta   =   @    fsockopen    (   "  $server  "   ,   $port   ,   $timeout   )   ;  
   }  
   if   (   $Gta   )  
   {  
   echo   "<h1>Der Minecraft-Server ist Online</h1>"   ;  
   }  
   else  
   {  
   echo   "<h1>Der Miencraft-Server ist Offline</h1>"   ;  
   }  
   ?>  [/code] 

</MinecraftSERVER> 

<teamspeak> 

     <?php  
   $server   =   "IP"   ;  
   $port   =   "10011"   ;  
   $timeout   =   "10"   ;  
   if   (   $server  and  $port  and  $timeout   )  
   {  
   $Teamspeak   =   @    fsockopen    (   "  $server  "   ,   $port   ,   $timeout   )   ;  
   }  
   if   (   $Teamspeak   )  
   {  
   echo   "<h2>Der Teamspeak ist Online</h2>"   ;  
   }  
   else  
   {  
   echo   "<h1>Der Teamspeak ist Offline</h1>"   ;  
   }  
   ?>  

</teamspeak> 





</div> 

</body> 
</html>

Das ist mein erstes Projekt das ich hochgeladen habe :D

Hoffe es gefällt euch

was soll ich als nächstes machen?

Vorschau http://88.214.57.108/Template/ServerStatusChecker/

<?php  
   $server   =   "IP"   ;   <---  Your IP 
   $port   =   "Port"   ;   <---  Your Port 
   $timeout   =   "10"   ;  
   if   (   $server  and  $port  and  $timeout   )  
   {  
   $Gta   =   @    fsockopen    (   "  $server  "   ,   $port   ,   $timeout   )   ;  
   }  
   if   (   $Gta   )  
   {  
   echo   "<h1>Der Minecraft-Server ist Online</h1>"   ;  
   }  
   else  
   {  
   echo   "<h1>Der Miencraft-Server ist Offline</h1>"   ;  
   }  
   ?>

Similar projects

Plugin →