Location: PHPKode > projects > Electronic Design Automation - Index > eda-index-1.0MLH/web/top.inc.php
<?php

#########################################################################
# Electronic Design Automation - Index (EDA - Index)			#
#########################################################################
#									#
# Copyright (c) 2003 by Bruno Thomsen (hide@address.com)	#
# My Homepage: http://www.spacecave.dk/					#
# Project Homepage: http://eda-index.sourceforge.net			#
# Project @ SourceForge.net: http://sourceforge.net/projects/eda-index/	#
# Project @ Freshmeat.net: http://freshmeat.net/projects/eda-index/	#
# Project Demo: http://eda-index.sourceforge.net/demo			#
#									#
# This program is free software; you can redistribute it and/or modify	#
# it under the terms of the GNU General Public License as published by	#
# the Free Software Foundation; either version 2 of the License, or	#
# (at your option) any later version.					#
#									#
# This program is distributed in the hope that it will be useful,	#
# but WITHOUT ANY WARRANTY; without even the implied warranty of	#
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the		#
# GNU General Public License for more details.				#
#									#
#########################################################################

?>

<?php if ($devel) $time1=microtime(); ?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
<meta name="Author" content="Baxeno"/>
<meta name="Description" content="Electronic Design Automation - Index is a system that can be used in the electronic world to keep track of your: Schematic, PCB, Front Plate, and Programmable Logic Device numbers."/>
<meta name="Keywords" content="eda-index, Electronic Design Automation - Index, SourceForge.net, Freshmeat.net, GPL, PHP, MySQL, EDA Index, schematics, printed circuit boards, front plates, programmable logic devices"/>
<title><?php echo $title; ?>, v. <?php echo $version; ?></title>
<link rel="icon" href="<?php echo $path; ?>images/favicon.png" type="image/png"/>
<link rel="shortcut icon" href="<?php echo $path; ?>images/favicon.png"/>
<link rel="stylesheet" type="text/css" href="<?php echo $path; ?>css/<?php if ($pview == 0) { echo $css; } else { echo "pview"; } ?>.css"/>
</head>
<body<?php if (($pview) && ($autoprint)) { echo " onLoad=\"window.print()\""; } ?>>

<script type='text/javascript'>
  function TG(a, changeTo)
  {
    a.style.backgroundColor = changeTo;
  }
</script> 

<center>
<br/>
<h1><?php echo $cname; ?></h1>
<hr width="250"/>
<?php if ($pview == 0) { ?>
<h4>
<select name="navigator" size="1" onchange="window.open(this.options[this.selectedIndex].value,'_top')">
<option selected="selected" value=""><?php echo $navmenu; ?>:</option>
<option value="">----- <?php echo $general; ?> -----</option>
<option value="<?php echo $path; ?>index.php"><?php echo $main; ?></option>
<option value="<?php echo $path; ?>search.php"><?php echo $search; ?></option>
<option value="<?php echo $path; ?>help.php"><?php echo $help; ?></option>
<option value="<?php echo $path; ?>statistics.php"><?php echo $statistics; ?></option>
<option value="<?php echo $path; ?>xmlgenerator.php"><?php echo $exportxml; ?></option>
<option value=""></option>
<option value="">----- <?php echo $viewall; ?> -----</option>
<option value="<?php echo $path; ?>viewprojects.php"><?php echo $datatype2[0]; ?></option>
<option value="<?php echo $path; ?>viewitems.php?type=1"><?php echo $datatype2[1]; ?></option>
<option value="<?php echo $path; ?>viewitems.php?type=2"><?php echo $datatype2[2]; ?></option>
<option value="<?php echo $path; ?>viewitems.php?type=3"><?php echo $datatype2[3]; ?></option>
<option value="<?php echo $path; ?>viewitems.php?type=4"><?php echo $datatype2[4]; ?></option>
<option value="<?php echo $path; ?>viewallitems.php"><?php echo "$items ($datatype3[1], $datatype3[2], $datatype3[3], $datatype3[4])"; ?></option>
<option value=""></option>
<option value="">----- <?php echo $createnew; ?> -----</option>
<option value="<?php echo $path; ?>addproject.php"><?php echo $datatype1[0]; ?></option>
</select>
</h4>
<hr width="250"/>
<?php } ?>
</center>
Return current item: Electronic Design Automation - Index