CMS  Version 3.9
index.inc
Go to the documentation of this file.
1 <?
2 /**************************************************************
3 
4  Copyright (c) 2010 Sonjara, Inc
5 
6  Permission is hereby granted, free of charge, to any person
7  obtaining a copy of this software and associated documentation
8  files (the "Software"), to deal in the Software without
9  restriction, including without limitation the rights to use,
10  copy, modify, merge, publish, distribute, sublicense, and/or sell
11  copies of the Software, and to permit persons to whom the
12  Software is furnished to do so, subject to the following
13  conditions:
14 
15  The above copyright notice and this permission notice shall be
16  included in all copies or substantial portions of the Software.
17 
18  Except as contained in this notice, the name(s) of the above
19  copyright holders shall not be used in advertising or otherwise
20  to promote the sale, use or other dealings in this Software
21  without prior written authorization.
22 
23  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
24  EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
25  OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
26  NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
27  HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
28  WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
29  FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
30  OTHER DEALINGS IN THE SOFTWARE.
31 
32 *****************************************************************/
33 
34 $title = "Site Administration";
35 
36 
38 
39 ?>
40 <b>Welcome <?echo $user->getFullName()?>!</b>
41 <br/>
42 <br/>
43 <strong>Server Load: </strong><?echo Fakoli::getServerLoad()?><br/><br/>
44 <strong>Disk Usage:</strong><br/><br/><?echo Fakoli::getFileSystemInfo()?><br/><br/>
45 <strong># Currently Active Sessions: </strong><?echo Fakoli::countActiveSessions();?><br/><br/>
46 <strong>Component Configuration Signature:</strong> <?echo $signature?>
47 <br/>
48 <br/>
49 <a class="button" href="/action/component/scan"> Scan for Component Updates </a>&nbsp;&nbsp;
50 <a href='#' onclick='modalPopup("PHP Configuration", "/action/admin/php_info", "800px"); return false;' class="button">Show PHP Configuration</a>&nbsp;&nbsp;
51 <a href='#' onclick='modalPopup("PHP Configuration", "/action/admin/dump_cache", "800px"); return false;' class="button">Examine Cache</a>&nbsp;&nbsp;
52 <a class='button' href='/action/optimize/clear'>Clear CSS and Javascript Cache</a>&nbsp;&nbsp;
53 <a href='/admin/user_form' class='button'>Create a New User</a>
$signature
Definition: index.inc:37
$title
Definition: index.inc:34
& nbsp
Definition: index.inc:49
static getComponentSignature()
Retrieves a unique signature for the application's enabled components, based on their installed versi...
static getServerLoad()
Retrieves information about the Server CPU load.
Definition: core.inc:1469
static getFileSystemInfo()
Returns formatted summary information regarding usage of the server's filesystem.
Definition: core.inc:1506
static countActiveSessions()
Returns the number of active user sessions.
Definition: core.inc:1085
global $user