Location: PHPKode > projects > DebWeb GUI > debwgui/header.php
<?php require_once("includes/acl.inc"); ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Expires" content="-1">
<meta http-equiv="Cache-Control" CONTENT="no-cache">
<title><?php print exec("$CMD_SYSCTL -n kernel.hostname"); ?> - Debian Web GUI</title>
<link href="css/debwebgui.css" rel="stylesheet" type="text/css">
</head>

<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
<noscript>
<p><table border="0" cellspacing="0" cellpadding="4" width="750">
<tr><td bgcolor="#A12A2A" width="36" align="center" valign="top"><img src="images/err.gif" alt="error" width="28" height="32"></td>
<td bgcolor="#FFD9D1" style="padding-left: 8px; padding-top: 6px">
<span class="errmsg">The following errors were detected:</span>
<ul>
<li class="errmsg">You do not have javascript enabled, this GUI will not be functional without it.</li>
</ul>
</td></tr></table>
</noscript>
<?php #include('includes/javascript.inc'); ?>
<script type="text/javascript">
<!--
var tri_open = "";
var tri_closed = "";

window.onload = preload;

function preload() {
	if (document.images) {
		tri_open = new Image(14,10);
		tri_closed = new Image(14,10);
		tri_open.src = "images/tri_o.gif";
		tri_closed.src = "images/tri_c.gif";
	}
}

function showhide(tspan, tri) {
	tspanel = document.getElementById(tspan);
	triel = document.getElementById(tri);
	if (tspanel.style.display == 'none') {
		tspanel.style.display = '';
		triel.src = "images/tri_o.gif";
	} else {
		tspanel.style.display = 'none';
		triel.src = "images/tri_c.gif";
	}
}
-->
</script>
<table width="750" border="0" cellspacing="0" cellpadding="2">
  <tr valign="bottom"> 
    <td width="150" height="65" align="center" valign="middle"> <strong><a href="http://www.debian.org" target="_blank"><img src="images/logo.png" width="150" alt=" " height="47" border="0"></a></strong></td>

    <td height="65" bgcolor="#EC2F59">
	<table border="0" cellspacing="0" cellpadding="0" width="100%">
	<tr>
	  <td align="left" valign="bottom"><span class="tfrtitle">&nbsp;DebWeb GUI <?php print $settings['VERSION'];?></span></td>
	  <td align="right" valign="bottom">
	  <span class="hostname"><?php print exec("$CMD_SYSCTL -n kernel.hostname"); ?>&nbsp;</span>
	  </td>
	</tr></table>
	</td>
  </tr>

  <tr valign="top"> 
    <td width="150" bgcolor="#9D9D9D">
	<table width="100%" border="0" cellpadding="6" cellspacing="0">
        <tr>
          <td><span class="navlnk"><font color="#FFFFFF"><strong>System</strong><br>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="index.php" class="navlnk">System Info</a><br>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="index.php?p=services" class="navlnk">Services</a><br>
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="index.php?p=reboot" class="navlnk">Reboot</a><br>
<?php if($settings['USE_MRTG']) { ?>
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="index.php?p=mrtg" class="navlnk">Stats</a><br>
<?php } ?>
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="ccheck.php" class="navlnk">Configfile check</a><br>
<!--test-->
<br>          <a href="javascript:showhide('diag','tri_diag')"><img src="images/tri_c.gif" id="tri_diag" width="14" height="10" border="0" alt=" "></a>
          <strong><a href="javascript:showhide('diag','tri_diag')" class="navlnk">Config</a></strong><br>
          <span id="diag" style="display: none">
                                  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="/diag_logs.php" class="navlnk">bajs1</a><br>
                                  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="/diag_infos.php" class="navlnk">bajs2</a><br>
	 </span>
<!-- end test -->


<!--
              <strong>Network</strong><br>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="/interfaces_lan.php" class="navlnk">LAN</a><br>

              <strong>Disks</strong><br>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="/disks_manage.php" class="navlnk">Management</a><br>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="/disks_raid.php" class="navlnk">Software RAID</a> <br>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="/disks_mount.php" class="navlnk">Mount Point</a><br>
 
              <strong>Status</strong><br>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="/index.php" class="navlnk">System</a><br>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="/status_process.php" class="navlnk">Process</a><br>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="/status_interfaces.php" class="navlnk">Interfaces</a><br>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="/status_disks.php" class="navlnk">Disks</a><br>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="/status_wireless.php" class="navlnk">Wireless</a><br>
			  
	  <a href="javascript:showhide('diag','tri_diag')"><img src="images/tri_c.gif" id="tri_diag" width="14" height="10" border="0" alt=" "></a>
          <strong><a href="javascript:showhide('diag','tri_diag')" class="navlnk">Diagnostics</a></strong><br>
	  <span id="diag" style="display: none">
  				  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="/diag_logs.php" class="navlnk">Logs</a><br>
				  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="/diag_infos.php" class="navlnk">Information</a><br>
				  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="/diag_ping.php" class="navlnk">Ping/Traceroute</a><br>
				  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="/diag_arp.php" class="navlnk">ARP table</a><br>
				  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="/exec.php" class="navlnk">execute command</a><br>
				  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="/diag_backup.php" class="navlnk">Backup/Restore</a><br>
				  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="/diag_defaults.php" class="navlnk">Factory defaults </a><br>
				  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="/reboot.php" class="navlnk">Reboot system</a>
				  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="/shutdown.php" class="navlnk">Shutdown system</a>
			  </span> -->
			  </font></span>
            </td>
        </tr></table></td>
<td width="600"><table width="100%" border="0" cellpadding="10" cellspacing="0">
	<tr>
		<td>
Return current item: DebWeb GUI