Location: PHPKode > projects > Netautor Professional > netautor/napro4/home/menu.php
<?php
/* +----------------------------------------------------------------------+
   | Netautor Professional Application Server                             |
   +----------------------------------------------------------------------+
   | Copyright (C) 1998-2005 digiconcept GmbH. <www.digiconcept.net>      |
   +----------------------------------------------------------------------+
   | This file is subject to license, that is bundled with this package   |
   | in the file LICENSE.TXT, and is available at through the             |
   | world-wide-web at http://www.netautor.com/license/                   |
   |                                                                      |
   | If you did not receive a copy of the license and are unable to       |
   | obtain it through the world-wide-web, please send a note to          |
   | hide@address.com so we can mail you a copy.                      |
   +----------------------------------------------------------------------+
   | Authors: Stefan Rottensteiner <hide@address.com>    |
   |          Marek  Kadziela      <hide@address.com>	      |
   |          Gregor Wollner                                              |
   |          Christian Unger                                             |
   |          Helli  Kleinhans  									      |
   +----------------------------------------------------------------------+*/

/**
 * Netautor Professional main menu
 * @version $Revision: 1.42 $
 */

	require_once('../include/init.inc');
	if($GLOBALS['USER']->ID <= 10)
	{
		$GLOBALS['USER']->login_call();
	}

	$GLOBALS['LOCALE']->textdomain('menu');

		$menu=array(
			'editor'				=> 'layout/index.php',
			'exchange'				=> 'exchange/index.php',
			'user'					=> 'user/index.php',
			'process'				=> 'workflow/index.php',
			'install'				=> 'install/index.php',
			'database_query'		=> 'database/index.php',
			'functions'				=> 'npf/index.php',
			'queu'					=> 'database/queum.php',
			//'DB-Volltext'			=> 'database/context.php',
			//'Dokumentation'		=> 'docu/index.html'
			);

?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
	<title>/digiconcept/netautor/menu</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="Expires" content="0">
	<meta name="robots" content="nofollow">
	<script type="text/javascript">
	<!--
	function Go(x)
	{
		if(x != '')
		{
			document.forms[0].action='../admin/'+x;
			document.forms[0].target='main';
			setTimeout("document.forms[0].submit()",200);
		}
	}
	
	function Go2()
	{
		x = document.forms[0].elements['select1'].options[document.forms[0].elements['select1'].selectedIndex].value;
		Go(x);
	}
	//-->
	</script>
	<link href="../include/netautor.css" rel="stylesheet" type="text/css">
</head>
<body bgcolor="#ffffff" marginwidth="10" marginheight="0" leftmargin="10" topmargin="0" class="bghead" onLoad="if (window.top.location.href == window.location.href) {document.location.href='./index.php'; }">
<form name="fm_menu" action="menu.php" method="post" target="main">
<table border="0" cellspacing="1" cellpadding="4" width="100%">
	<tr>
		<td align="left" valign="middle">
			<select class="textbold" onChange="Go(this.value);" name="select1">					
					<option value="../home/about.html">--select--</option>
<?php 
foreach($menu as $key => $value)	{  ?>
					<option value="<?php echo($value); ?>"><?php echo( $GLOBALS['LOCALE']->gettext('option_'.$key) ); ?></option>
<?php } ?>
			</select>
			<img src="../grafik/pixel.gif" width="1" height="1"><br>
		</td>
		<td align="right" valign="top" width="100%">
			<table cellpadding="0" cellspacing="0" border="0" align="right">
				<tr>
					<td align="right" valign="middle">
						<script language="JavaScript" type="text/javascript">
						<!--
							// Bildaustauschen mit onMouseOut
							function MM_swapImgRestore() { //v3.0
							  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
							}
					
							function MM_findObj(n, d) { //v3.0
							  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
							    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
							  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
							  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); return x;
							}
							// Bildaustauschen mit onMouseOver
							function MM_swapImage() { //v3.0
							  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
							   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
							}
							//-->
							</script>
						<a href="../admin/docu/" target="_blank" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('doku','','../grafik/feature_doku_on.gif',1)"><img src="../grafik/feature_doku_off.gif" width="28" height="27" border="0" name="doku" alt="Dokumentation"></a><img src="../grafik/pixel.gif" width="6" height="1"><a href="../index.php?button=logout" target="_top" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('logout','','../grafik/feature_logout_on.gif',1)"><img src="../grafik/feature_logout_off.gif" width="28" height="27" border="0" name="logout" alt="Logout"></a><br>
					</td>
					<td align="right" valign="top">
						<a href="http://www.netautor.com" target="_blank" ><img title="Netautor Professional 5.3.1" alt="Netautor Professional 5.3.1" src="../grafik/na_logo.gif" width="185" height="27" border="0"></a><br>
					</td>
				</tr>
			</table>
		</td>
	</tr>
</table>

<table width="100%" height="19" border="0" cellspacing="0" cellpadding="0">
	<tr>
		<td height="19" align="left" valign="center">
			<span class="account">
			<img src="../grafik/pixel.gif" width="9" height="1"><?php 
				echo $GLOBALS['LOCALE']->gettext('logged_as').' : '.$GLOBALS['USER']->NAME;
				 ?><br>
			</span>
		</td>
		<td height="19" align="right" valign="center">
			<br>
		</td>
	</tr>
</table>
</form>
</body>
</html>
Return current item: Netautor Professional