home *** CD-ROM | disk | FTP | other *** search
- <html>
- <head>
- <META HTTP-EQUIV="content-type" CONTENT="text/html; charset=UTF-8">
- <title></title>
- <style type="text/css">
- <!--
- body { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #444477; background-image: url(../gfx/body_bgr.gif); background-repeat: no-repeat; background-position: center 15px; background-attachment: fixed; }
- h1 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 14px; text-transform: uppercase; color: #000000; }
- strong { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; text-transform: uppercase; color: #000000; }
- tt { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #444477; }
- pre { font-family: Lucidia COnsole, Courier; font-size: 9px; color: #444477;}
- dt { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #444477; }
- hr { height: 3px; border: 1px #444477 solid; filter: Alpha(Opacity=100,FinishOpacity=10,Style=2); width: 100%; }
- th { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; text-transform: uppercase; color: #444477; }
- td { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #444477; }
- -->
- </style>
- </head>
-
-
- <?PHP
-
- include("../inc/config.inc.php");
- include("../lang/".$lang."/global.php");
-
- // In this case 'localhost' can be left, cause this should never
- // be accessible from other sources than localhost
- $fd=@fopen("http://localhost/server-status","r");
- if ($fd) {
- while ($line=fgets($fd,1000))
- {
- $alltext.=$line;
- }
- fclose ($fd);
-
- echo $alltext;
- }
- else {
- echo "<b>$cont_srv_down</b>";
- }
- ?>
-
- </html>