Example #1
0
html_titleline(gettext("System information"));
?>
	<?php 
if (!empty($config['vinterfaces']['carp'])) {
    ?>
	<?php 
    html_textinfo("vipstatus", gettext("Virtual IP address"), htmlspecialchars(get_vip_status()));
    ?>
	<?php 
}
?>
	<?php 
html_textinfo("hostname", gettext("Hostname"), system_get_hostname());
?>
	<?php 
html_textinfo("version", gettext("Version"), sprintf("<strong>%s %s</strong> (%s %s)", get_product_version(), get_product_versionname(), gettext("revision"), get_product_revision()));
?>
	<?php 
html_textinfo("builddate", gettext("Build date"), get_product_buildtime());
?>
	<?php 
exec("/sbin/sysctl -n kern.osrevision", $osrevision);
exec("/sbin/sysctl -n kern.version", $osversion);
?>
	<?php 
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 
Example #2
0
</td>
			    <td width="75%" class="listr"><?php 
echo system_get_hostname();
?>
</td>
			  </tr>
			  <tr>
			    <td width="25%" valign="top" class="vncellt"><?php 
echo gettext("Version");
?>
</td>
			    <td width="75%" class="listr"><strong><?php 
echo get_product_version();
?>
 <?php 
echo get_product_versionname();
?>
</strong> (<?php 
echo gettext("revision");
?>
 <?php 
echo get_product_revision();
?>
)</td>
			  </tr>
			  <tr>
			    <td width="25%" valign="top" class="vncellt"><?php 
echo gettext("Built on");
?>
</td>
			    <td width="75%" class="listr"><?php