Beispiel #1
0
html_textinfo("platform_os", gettext("Platform OS"), sprintf("FreeBSD Revision: %s<br/>%s", $osrevision[0], $osversion[0]));
?>
	<?php 
html_textinfo("platform", gettext("Platform"), sprintf(gettext("%s on %s"), $g['fullplatform'], $cpuinfo['model']));
?>
	<?php 
html_textinfo("system", gettext("System"), sprintf("%s %s", htmlspecialchars($smbios['planar']['maker']), htmlspecialchars($smbios['planar']['product'])));
?>
	<?php 
html_textinfo("system_bios", gettext("System bios"), sprintf("%s %s %s %s", htmlspecialchars($smbios['bios']['vendor']), gettext("version:"), htmlspecialchars($smbios['bios']['version']), htmlspecialchars($smbios['bios']['reldate'])));
?>
	<?php 
html_textinfo("system_datetime", gettext("System time"), htmlspecialchars(shell_exec("date")));
?>
	<?php 
html_textinfo("system_uptime", gettext("System uptime"), htmlspecialchars(system_get_uptime()));
?>
	<?php 
if (Session::isAdmin()) {
    ?>
		<?php 
    if ($config['lastchange']) {
        ?>
			<?php 
        html_textinfo("last_config_change", gettext("Last config change"), htmlspecialchars(date("D M j G:i:s T Y", $config['lastchange'])));
        ?>
		<?php 
    }
    ?>
		<?php 
    if (!empty($cpuinfo['temperature2'])) {
Beispiel #2
0
</td>
			    <td width="75%" class="listr">
			      <input style="padding: 0; border: 0;" size="30" name="date" id="date" value="<?php 
echo htmlspecialchars(shell_exec("date"));
?>
" />
			    </td>
			  </tr>
			  <tr>
			    <td width="25%" class="vncellt"><?php 
echo gettext("Uptime");
?>
</td>
			    <td width="75%" class="listr">
						<?php 
$uptime = system_get_uptime();
?>
						<span name="uptime" id="uptime"><?php 
echo htmlspecialchars($uptime);
?>
</span>
			    </td>
			  </tr>
			  <?php 
if (Session::isAdmin()) {
    ?>
			  <?php 
    if ($config['lastchange']) {
        ?>
		    <tr>
		      <td width="25%" class="vncellt"><?php