PHP Classes

File: views/original.php

Recommend this page to a friend!
  Classes of Axel Hahn   Pimped Apache Status   views/original.php   Download  
File: views/original.php
Role: Example script
Content type: text/plain
Description: Sample output
Class: Pimped Apache Status
Display the requests handled by an Apache server
Author: By
Last change: 2018-04-15: v2.00.23
- navigation to subheaders as subitems in menu
- add link go to top
- config editor: add and remove values in compare tab
2018-02-08 - v2.00.18
* update jquery -> 3.3.1
* update tiles: smaller circles and additional horizontal bar
* removed lang
* update original server status tabs
* update settings tabs
2018-02-08 - v2.00.18
* update jquery -> 3.3.1
* update tiles: smaller circles and additional horizontal bar
* removed lang
* update original server status tabs
* update settings tabs
Beta 2.00.06 - max 10 values in js graph; fix footer in admin; some colors
v2 beta - first commit for github
Date: 5 years ago
Size: 619 bytes
 

Contents

Class file image Download
<?php
/*
 * PIMPED APACHE-STATUS
 *
 * view: ORIGINAL server-status
 */

// tabbed content
$aTC = array();
if (
count($aSrvStatus) > 0) {
    foreach (
$aSrvStatus as $sHost => $aData) {
       
$aTC[] = array(
           
'tab' => $sHost,
           
'content' => '<h4>' . $sHost . '</h4><div class="console" style="font-family: \'lucida console\'; font-size: 80%;">' . utf8_encode($aData['orig']) . '</div>'
       
);
    }
}

$content = $oDatarenderer->themeBox(
   
$aCfg['icons']['original.php'] . ' ' . $aLangTxt['view_original.php_label']
    ,
$oDatarenderer->renderTabbedContent($aTC)
);