PHP Classes

File: views/selectserver.php

Recommend this page to a friend!
  Classes of Axel Hahn  >  Pimped Apache Status  >  views/selectserver.php  >  Download  
File: views/selectserver.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Pimped Apache Status
Display the requests handled by an Apache server
Author: By
Last change:
Date: 2 years ago
Size: 692 bytes
 

Contents

Class file image Download
<?php
/*
 * PIMPED APACHE-STATUS
 *
 * view: SELECT SERVER
 */

$content='';
foreach (
$aEnv["links"]["servers"] as $sKey=>$aLinks){
   
$content.='<strong>'.$oDatarenderer->renderA($aEnv["links"]["servers"][$sKey]).'</strong><br>';
    foreach (
$aLinks["subitems"] as $aLink){
           
$content.=$oDatarenderer->renderA($aLink) . ' | ';
    }
   
$content.='<br>';
}
// $content.='<hr>'.$oDatarenderer->renderLI($aEnv["links"]["servers"]);
// $content.="<pre>".print_r($aEnv["links"]["servers"], true)."</pre>";

// ----------------------------------------------------------------------
// Output
// ----------------------------------------------------------------------


echo $content;


For more information send a message to info at phpclasses dot org.