initial commit of file from CVS for smeserver-phpsysinfo on Sat Sep 7 20:53:46 AEST 2024
This commit is contained in:
22
root/opt/phpsysinfo/templates/html/error_config.html
Normal file
22
root/opt/phpsysinfo/templates/html/error_config.html
Normal file
@@ -0,0 +1,22 @@
|
||||
<?php echo"<?xml version=\"1.0\" encoding=\"utf-8\">"; ?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
||||
<meta http-equiv="Content-Style-Type" content="text/css" />
|
||||
<link rel="shortcut icon" href="gfx/favicon.png" />
|
||||
<link type="text/css" rel="stylesheet" href="./templates/phpsysinfo.css" />
|
||||
<title>phpSysInfo - Error</title>
|
||||
<noscript>
|
||||
<meta http-equiv="refresh" content="2; URL=index.php?disp=static" />
|
||||
</noscript>
|
||||
</head>
|
||||
<body onload="doRedirect()">
|
||||
<h1>phpSysInfo - Error</h1>
|
||||
<div style="position:absolute;top:150px;text-align:center;width:95%;">
|
||||
<p style="margin:12pt;"><strong>phpsysinfo.ini</strong> does not exist or is not readable by the webserver in the phpsysinfo directory or is misunderstood.</p>
|
||||
<p style="margin:12pt;">Generated by <a href="http://phpsysinfo.sourceforge.net/">phpSysInfo - <?php echo PSI_VERSION_STRING ?></a></p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
40
root/opt/phpsysinfo/templates/html/index_all.html
Normal file
40
root/opt/phpsysinfo/templates/html/index_all.html
Normal file
@@ -0,0 +1,40 @@
|
||||
<?php echo "<?xml version=\"1.0\" encoding=\"utf-8\">"; ?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
||||
<meta http-equiv="Content-Style-Type" content="text/css" />
|
||||
<link rel="shortcut icon" href="gfx/favicon.png" />
|
||||
<link type="text/css" rel="stylesheet" href="./templates/phpsysinfo.css" />
|
||||
<title>phpSysInfo - Redirection</title>
|
||||
<noscript>
|
||||
<meta http-equiv="refresh" content="2; URL=index.php?disp=static" />
|
||||
</noscript>
|
||||
<script type="text/JavaScript" language="JavaScript">
|
||||
<!--
|
||||
var sTargetURL = "index.php?disp=dynamic";
|
||||
function doRedirect() {
|
||||
setTimeout( "window.location.href = sTargetURL", 2*1000 );
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<script type="text/JavaScript" language="JavaScript1.1">
|
||||
<!--
|
||||
function doRedirect() {
|
||||
window.location.replace( sTargetURL );
|
||||
}
|
||||
doRedirect();
|
||||
//-->
|
||||
</script>
|
||||
</head>
|
||||
<body onload="doRedirect()">
|
||||
<h1>REDIRECTING ... </h1>
|
||||
<div style="position:absolute;top:150px;text-align:center;width:95%;">
|
||||
<p style="margin:12pt;">Loading <a href="index.php?disp=static">redirection target</a></p>
|
||||
<p style="margin:12pt;">In approx. 2 seconds the redirection target page should load.<br/>
|
||||
If it doesn't please select the link above.</p>
|
||||
<p style="margin:12pt;">Generated by <a href="http://phpsysinfo.sourceforge.net/">phpSysInfo - <?php echo PSI_VERSION_STRING ?></a></p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
375
root/opt/phpsysinfo/templates/html/index_bootstrap.html
Normal file
375
root/opt/phpsysinfo/templates/html/index_bootstrap.html
Normal file
@@ -0,0 +1,375 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="description" content="">
|
||||
<meta name="author" content="">
|
||||
<title>phpSysInfo</title>
|
||||
<link href="gfx/favicon.ico" type="image/x-icon" rel="shortcut icon">
|
||||
<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
|
||||
<!--[if lt IE 9]>
|
||||
<script type="text/JavaScript" src="./js.php?name=html5shiv-printshiv"></script>
|
||||
<![endif]-->
|
||||
<link rel="stylesheet" href="templates/vendor/bootstrap.min.css">
|
||||
<link rel="stylesheet" href="templates/phpsysinfo_bootstrap.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div class="navbar navbar-fixed-top">
|
||||
<div class="container">
|
||||
<a class="navbar-brand"><img class="navbar-logo" src="gfx/logo_48.png" style="width:32px"/> phpSysInfo <sup><?php echo PSI_VERSION; ?></sup>
|
||||
<img id="loader" style="display:none" src="gfx/ajax-loader.gif">
|
||||
<button id="errorbutton" type="button" data-toggle="modal" data-target="#errors-dialog"
|
||||
class="btn btn-default btn-xs" style="display:none">Errors
|
||||
</button>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="container">
|
||||
|
||||
<div class="row">
|
||||
<div class="col-lg-6">
|
||||
<div class="panel panel-primary">
|
||||
<div class="panel-heading">System Vitals</div>
|
||||
<div class="panel-body">
|
||||
<table id="vitals" class="table table-hover table-condensed">
|
||||
<tr>
|
||||
<th>Hostname</th>
|
||||
<td><span data-bind="Hostname"></span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Listening IP</th>
|
||||
<td><span data-bind="IPAddr"></span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Kernel Version</th>
|
||||
<td><span data-bind="Kernel"></span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Distro Name</th>
|
||||
<td><span data-bind="Distro"></span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Uptime</th>
|
||||
<td><span data-bind="Uptime"></span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Last boot</th>
|
||||
<td><span data-bind="LastBoot"></span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Current Users</th>
|
||||
<td><span data-bind="Users"></span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Load Averages</th>
|
||||
<td><span data-bind="LoadAvg"></span></td>
|
||||
</tr>
|
||||
<tr id="tr_SysLang">
|
||||
<th>System Language</th>
|
||||
<td><span data-bind="SysLang"></span></td>
|
||||
</tr>
|
||||
<tr id="tr_CodePage">
|
||||
<th>Code Page</th>
|
||||
<td><span data-bind="CodePage"></span></td>
|
||||
</tr>
|
||||
<tr id="tr_Processes">
|
||||
<th>Processes</th>
|
||||
<td><span data-bind="Processes"></span></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="col-lg-6">
|
||||
<div class="panel panel-primary">
|
||||
<div class="panel-heading">Hardware Information</div>
|
||||
<div class="panel-body">
|
||||
<table id="hardware" class="table table-hover table-condensed">
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
<div class="panel panel-primary">
|
||||
<div class="panel-heading">Memory Usage</div>
|
||||
<div class="panel-body">
|
||||
<table id="memory" class="table table-hover table-condensed">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Type</th>
|
||||
<th>Usage</th>
|
||||
<th class="rightCell">Free</th>
|
||||
<th class="rightCell">Used</th>
|
||||
<th class="rightCell">Size</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="memory-data">
|
||||
<tr>
|
||||
<th><span data-bind="Type"></span></th>
|
||||
<td><span data-bind="Usage"></span></td>
|
||||
<td class="rightCell"><span data-bind="Free"></span></td>
|
||||
<td class="rightCell"><span data-bind="Used"></span></td>
|
||||
<td class="rightCell"><span data-bind="Total"></span></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<tfoot id="swap-data" style="display:none">
|
||||
<tr>
|
||||
<th><span data-bind="Name"></span></th>
|
||||
<td><span data-bind="Usage"></span></td>
|
||||
<td class="rightCell"><span data-bind="Free"></span></td>
|
||||
<td class="rightCell"><span data-bind="Used"></span></td>
|
||||
<td class="rightCell"><span data-bind="Total"></span></td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div id="block_filesystem" style="display:none" class="col-lg-12">
|
||||
<div class="panel panel-primary">
|
||||
<div class="panel-heading">Mounted Filesystems</div>
|
||||
<div class="panel-body">
|
||||
<table id="filesystem" class="table table-hover table-condensed sortable">
|
||||
<thead>
|
||||
<tr>
|
||||
<th id="filesystem_MountPoint">Mountpoint</th>
|
||||
<th>Type</th>
|
||||
<th>Partition</th>
|
||||
<th>Usage</th>
|
||||
<th class="rightCell sorttable_numeric">Free</th>
|
||||
<th class="rightCell sorttable_numeric">Used</th>
|
||||
<th class="rightCell sorttable_numeric">Size</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="filesystem-data">
|
||||
<tr>
|
||||
<th><span data-bind="MountPoint"></span></th>
|
||||
<td><span data-bind="FSType"></span></td>
|
||||
<td><span data-bind="Name"></span></td>
|
||||
<td><span data-bind="Percent"></span></td>
|
||||
<td class="rightCell"><span data-bind="Free"></span></td>
|
||||
<td class="rightCell"><span data-bind="Used"></span></td>
|
||||
<td class="rightCell"><span data-bind="Total"></span></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<tfoot id="filesystem-foot">
|
||||
<tr>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<th>Totals</th>
|
||||
<th><span data-bind="Percent"></span></th>
|
||||
<th class="rightCell"><span data-bind="Free"></span></th>
|
||||
<th class="rightCell"><span data-bind="Used"></span></th>
|
||||
<th class="rightCell"><span data-bind="Total"></span></th>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div id="block_network" style="display:none" class="col-lg-6">
|
||||
<div class="panel panel-primary">
|
||||
<div class="panel-heading">Network Interface</div>
|
||||
<div class="panel-body">
|
||||
<table id="network" class="table table-hover table-condensed">
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="block_voltage" style="display:none" class="col-lg-6">
|
||||
<div class="panel panel-primary">
|
||||
<div class="panel-heading">Voltage</div>
|
||||
<div class="panel-body">
|
||||
<table id="voltage" class="table table-hover table-condensed">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Label</th>
|
||||
<th class="rightCell">Value</th>
|
||||
<th class="rightCell">Min</th>
|
||||
<th class="rightCell">Max</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="voltage-data">
|
||||
<tr>
|
||||
<th><span data-bind="Label"></span></th>
|
||||
<td class="rightCell"><span data-bind="Value"></span></td>
|
||||
<td class="rightCell"><span data-bind="Min"></span></td>
|
||||
<td class="rightCell"><span data-bind="Max"></span></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="block_temperature" style="display:none" class="col-lg-3">
|
||||
<div class="panel panel-primary">
|
||||
<div class="panel-heading">Temperatures</div>
|
||||
<div class="panel-body">
|
||||
<table id="temperature" class="table table-hover table-condensed">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Label</th>
|
||||
<th class="rightCell">Value</th>
|
||||
<th class="rightCell">Limit</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="temperature-data">
|
||||
<tr>
|
||||
<th><span data-bind="Label"></span></th>
|
||||
<td class="rightCell"><span data-bind="Value"></span></td>
|
||||
<td class="rightCell"><span data-bind="Max"></span></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="block_fans" style="display:none" class="col-lg-3">
|
||||
<div class="panel panel-primary">
|
||||
<div class="panel-heading">Fans</div>
|
||||
<div class="panel-body">
|
||||
<table id="fans" class="table table-hover table-condensed">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Label</th>
|
||||
<th class="rightCell">Value</th>
|
||||
<th class="rightCell">Min</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="fans-data">
|
||||
<tr>
|
||||
<th><span data-bind="Label"></span></th>
|
||||
<td class="rightCell"><span data-bind="Value"></span></td>
|
||||
<td class="rightCell"><span data-bind="Min"></span></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="block_current" style="display:none" class="col-lg-3">
|
||||
<div class="panel panel-primary">
|
||||
<div class="panel-heading">Currents</div>
|
||||
<div class="panel-body">
|
||||
<table id="current" class="table table-hover table-condensed">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Label</th>
|
||||
<th class="rightCell">Value</th>
|
||||
<th class="rightCell">Limit</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="current-data">
|
||||
<tr>
|
||||
<th><span data-bind="Label"></span></th>
|
||||
<td class="rightCell"><span data-bind="Value"></span></td>
|
||||
<td class="rightCell"><span data-bind="Max"></span></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="block_power" style="display:none" class="col-lg-3">
|
||||
<div class="panel panel-primary">
|
||||
<div class="panel-heading">Power</div>
|
||||
<div class="panel-body">
|
||||
<table id="power" class="table table-hover table-condensed">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Label</th>
|
||||
<th class="rightCell">Value</th>
|
||||
<th class="rightCell">Limit</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="power-data">
|
||||
<tr>
|
||||
<th><span data-bind="Label"></span></th>
|
||||
<td class="rightCell"><span data-bind="Value"></span></td>
|
||||
<td class="rightCell"><span data-bind="Max"></span></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="block_ups" style="display:none" class="col-lg-6">
|
||||
<div class="panel panel-primary">
|
||||
<div class="panel-heading">UPS Information</div>
|
||||
<div class="panel-body">
|
||||
<table id="ups" class="table table-hover table-condensed">
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php foreach (CommonFunctions::getPlugins() as $plugin) :
|
||||
if (file_exists(APP_ROOT . '/plugins/' . $plugin . '/' . $plugin . '_bootstrap.html')) : ?>
|
||||
<?php include APP_ROOT. '/plugins/' . $plugin . '/' . $plugin . '_bootstrap.html'; ?>
|
||||
|
||||
<?php endif; endforeach; ?>
|
||||
|
||||
</div>
|
||||
|
||||
<!-- Errors details modal dialogs -->
|
||||
<div class="modal fade" id="errors-dialog" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"
|
||||
aria-hidden="true">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||
<h4 class="modal-title">Errors</h4>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<ul id="errors" class="list-group">
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /.modal-content -->
|
||||
</div>
|
||||
<!-- /.modal-dialog -->
|
||||
</div>
|
||||
<!-- /.modal -->
|
||||
|
||||
</div>
|
||||
<!--[if lt IE 9]>
|
||||
<script type="text/JavaScript" src="./js.php?name=jquery-1"></script>
|
||||
<![endif]-->
|
||||
<!--[if gte IE 9]><!-->
|
||||
<script type="text/JavaScript" src="./js.php?name=jquery"></script>
|
||||
<!--<![endif]-->
|
||||
|
||||
<script type="text/JavaScript" src="./js.php?name=console-shim"></script>
|
||||
<script type="text/JavaScript" src="./js.php?name=transparency"></script>
|
||||
<script type="text/JavaScript" src="./js.php?name=sorttable"></script>
|
||||
<script type="text/JavaScript" src="./js.php?name=jquery.treegrid"></script>
|
||||
|
||||
<?php foreach (CommonFunctions::getPlugins() as $plugin) : ?>
|
||||
<script type="text/JavaScript" src="./js.php?plugin=<?php echo $plugin ?>&name=<?php echo $plugin ?>_bootstrap"></script>
|
||||
<?php endforeach; ?>
|
||||
|
||||
<script type="text/JavaScript" src="./js.php?name=phpsysinfo_bootstrap"></script>
|
||||
|
||||
</body>
|
||||
</html>
|
233
root/opt/phpsysinfo/templates/html/index_dynamic.html
Normal file
233
root/opt/phpsysinfo/templates/html/index_dynamic.html
Normal file
@@ -0,0 +1,233 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<meta http-equiv="Content-Style-Type" content="text/css" />
|
||||
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
||||
<meta name="Description" content="phpSysInfo is a customizable PHP Script that parses /proc, and formats information nicely. It will display information about system facts like Uptime, CPU, Memory, PCI devices, SCSI devices, IDE devices, Network adapters, Disk usage, and more." />
|
||||
<noscript>
|
||||
<meta http-equiv="refresh" content="2; URL=index.php?disp=static" />
|
||||
</noscript>
|
||||
<link rel="shortcut icon" href="gfx/favicon.png" />
|
||||
<link type="text/css" rel="stylesheet" href="./templates/<?php echo $template ?>.css" title="PSI_Template"/>
|
||||
<link type="text/css" rel="stylesheet" href="./templates/plugin/nyroModal.full.css" />
|
||||
<link type="text/css" rel="stylesheet" href="./templates/plugin/jquery.jgrowl.css" />
|
||||
<link type="text/css" rel="stylesheet" href="./templates/plugin/jquery.dataTables.css" />
|
||||
<link type="text/css" rel="stylesheet" href="./templates/plugin/jquery.treeTable.css" />
|
||||
<!--[if lt IE 9]>
|
||||
<script type="text/JavaScript" src="./js.php?name=jquery-1"></script>
|
||||
<![endif]-->
|
||||
<!--[if gte IE 9]><!-->
|
||||
<script type="text/JavaScript" src="./js.php?name=jquery"></script>
|
||||
<!--<![endif]-->
|
||||
<script type="text/JavaScript" src="./js.php?name=jquery.dataTables"></script>
|
||||
<script type="text/JavaScript" src="./js.php?name=jquery.nyroModal"></script>
|
||||
<script type="text/JavaScript" src="./js.php?name=jquery.jgrowl"></script>
|
||||
<script type="text/JavaScript" src="./js.php?name=jquery.timers"></script>
|
||||
<script type="text/JavaScript" src="./js.php?name=jquery.treeTable"></script>
|
||||
<script type="text/JavaScript" src="./js.php?name=phpsysinfo"></script>
|
||||
<?php foreach (CommonFunctions::getPlugins() as $plugin) : ?>
|
||||
<?php if (file_exists("./plugins/".$plugin."/css/".$plugin.".css")) : ?>
|
||||
<link type="text/css" rel="stylesheet" href="./plugins/<?php echo $plugin ?>/css/<?php echo $plugin ?>.css" />
|
||||
<?php endif; ?>
|
||||
<script type="text/JavaScript" src="./js.php?plugin=<?php echo $plugin ?>"></script>
|
||||
<?php endforeach; ?>
|
||||
<title>phpSysInfo <?php echo PSI_VERSION_STRING ?></title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="loader">
|
||||
<h1>Loading... please wait!</h1>
|
||||
<div id="container2">
|
||||
<noscript>
|
||||
<p>Your navigator does not support JavaScript (or JavaScript is not activated).</p>
|
||||
<p>In approximatively 2 seconds you will be redirected to the static version of phpSysInfo.</p>
|
||||
<p> </p>
|
||||
<p><a href="index.php?disp=static">Click here to switch to the static version</a></p>
|
||||
</noscript>
|
||||
</div>
|
||||
</div>
|
||||
<div id="errors" style="display: none; width: 940px">
|
||||
<div id="errorlist">
|
||||
<h2>Oh, I'm sorry. Something seems to be wrong.</h2>
|
||||
</div>
|
||||
</div>
|
||||
<div id="container" style="display: none;">
|
||||
<h1>
|
||||
<a href="#errors" class="nyroModal">
|
||||
<img id="warn" style="vertical-align: middle; display:none; border:0px;" src="./gfx/attention.png" alt="warning" />
|
||||
</a>
|
||||
<span id="title">
|
||||
<span id="lang_001">System information</span>
|
||||
: <span id="s_hostname_title"></span>
|
||||
(<span id="s_ip_title"></span>)
|
||||
</span>
|
||||
</h1>
|
||||
<div id="select">
|
||||
<span id="lang_044">Template</span>
|
||||
<select id="template" name="template">
|
||||
<?php foreach ($templates as $t) :
|
||||
$selected = "";
|
||||
if ($template === $t) {
|
||||
$selected = " selected=\"selected\"";
|
||||
}
|
||||
?>
|
||||
<option value="<?php echo $t ?>"<?php echo $selected ?>><?php echo $t ?></option>
|
||||
<?php endforeach; ?>
|
||||
</select>
|
||||
<span id="lang_045">Language</span>
|
||||
<select id="lang" name="lang">
|
||||
<?php foreach ($languages as $l) :
|
||||
$selected = "";
|
||||
if ($language === $l) {
|
||||
$selected = " selected=\"selected\"";
|
||||
}
|
||||
?>
|
||||
<option value="<?php echo $l ?>"<?php echo $selected?>><?php echo $l?></option>
|
||||
<?php endforeach; ?>
|
||||
</select>
|
||||
</div>
|
||||
<div id="vitals">
|
||||
<h2><span id="lang_002">System vitals</span></h2>
|
||||
<table class="stripeMe" id="vitalsTable" style="border-spacing:0;">
|
||||
<tr>
|
||||
<td style="width:160px;"><span id="lang_003">Hostname</span></td>
|
||||
<td><span id="s_hostname"></span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width:160px;"><span id="lang_004">Listening IP</span></td>
|
||||
<td><span id="s_ip"></span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width:160px;"><span id="lang_005">Kernel Version</span></td>
|
||||
<td><span id="s_kernel"></span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width:160px;"><span id="lang_006">Distro Name</span></td>
|
||||
<td><span id="s_distro"></span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width:160px;"><span id="lang_007">Uptime</span></td>
|
||||
<td><span id="s_uptime"></span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width:160px;"><span id="lang_095">Last boot</span></td>
|
||||
<td><span id="s_lastboot"></span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width:160px;"><span id="lang_008">Current Users</span></td>
|
||||
<td><span id="s_users"></span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width:160px;"><span id="lang_009">Load Averages</span></td>
|
||||
<td><span id="s_loadavg"></span></td>
|
||||
</tr>
|
||||
<tr style="display:none" id="s_syslang_tr">
|
||||
<td style="width:160px;"><span id="lang_097">System Language</span></td>
|
||||
<td><span id="s_syslang"></span></td>
|
||||
</tr>
|
||||
<tr style="display:none" id="s_codepage_tr1">
|
||||
<td style="width:160px;"><span id="lang_098">Code Page</span></td>
|
||||
<td><span id="s_codepage_1"></span></td>
|
||||
</tr>
|
||||
<tr style="display:none" id="s_codepage_tr2">
|
||||
<td style="width:160px;"><span id="lang_098">Code Page</span></td>
|
||||
<td><span id="s_codepage_2"></span></td>
|
||||
</tr>
|
||||
<tr style="display:none" id="s_processes_tr1">
|
||||
<td style="width:160px;"><span id="lang_110">Processes</span></td>
|
||||
<td><span id="s_processes_1"></span></td>
|
||||
</tr>
|
||||
<tr style="display:none" id="s_processes_tr2">
|
||||
<td style="width:160px;"><span id="lang_110">Processes</span></td>
|
||||
<td><span id="s_processes_2"></span></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div id="hardware">
|
||||
</div>
|
||||
<div id="memory">
|
||||
</div>
|
||||
<div id="filesystem">
|
||||
</div>
|
||||
<div id="network">
|
||||
</div>
|
||||
<div id="voltage" style="display: none;">
|
||||
<h2><span id="lang_052">Voltage</span></h2>
|
||||
<table class="stripeMe" id="voltageTable" style="border-spacing:0;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th><span id="lang_059">Label</span></th>
|
||||
<th class="right"><span id="lang_052">Voltage</span></th>
|
||||
<th class="right" style="width: 80px;"><span id="lang_055">Min</span></th>
|
||||
<th class="right" style="width: 80px;"><span id="lang_056">Max</span></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div id="temp" style="display: none;">
|
||||
<h2><span id="lang_051">Temperature</span></h2>
|
||||
<table class="stripeMe" id="tempTable" style="border-spacing:0;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th><span id="lang_059">Label</span></th>
|
||||
<th class="right" style="width: 80px;"><span id="lang_054">Value</span></th>
|
||||
<th class="right" style="width: 80px;"><span id="lang_058">Limit</span></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div id="fan" style="display: none;">
|
||||
<h2><span id="lang_053">Fan</span></h2>
|
||||
<table class="stripeMe" id="fanTable" style="border-spacing:0;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th><span id="lang_059">Label</span></th>
|
||||
<th class="right" style="width: 80px;"><span id="lang_054">Value</span></th>
|
||||
<th class="right" style="width: 80px;"><span id="lang_055">Min</span></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div id="current" style="display: none;">
|
||||
<h2><span id="lang_105">Current</span></h2>
|
||||
<table class="stripeMe" id="currentTable" style="border-spacing:0;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th><span id="lang_059">Label</span></th>
|
||||
<th class="right" style="width: 80px;"><span id="lang_054">Value</span></th>
|
||||
<th class="right" style="width: 80px;"><span id="lang_058">Limit</span></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div id="power" style="display: none;">
|
||||
<h2><span id="lang_102">Power</span></h2>
|
||||
<table class="stripeMe" id="powerTable" style="border-spacing:0;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th><span id="lang_059">Label</span></th>
|
||||
<th class="right" style="width: 80px;"><span id="lang_054">Value</span></th>
|
||||
<th class="right" style="width: 80px;"><span id="lang_058">Limit</span></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div id="ups" style="display: none;">
|
||||
</div>
|
||||
<div id="footer">
|
||||
<span id="lang_047">Generated by</span> <a href="http://phpsysinfo.sourceforge.net/">phpSysInfo - <span id="version"></span></a>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user