Location: PHPKode > projects > phpautotest > includes/top_menu.php
<style>
ul.navbar {
list-style-type:none; float:left; display:block; width:100%; line-height:1.5em; 
		border-bottom: 3px solid #6699CC;
		border-top: 3px solid #6699CC;
clear:both; margin:0; padding:0; background-color:#005896;}

ul.navbar li {
display:inline;}

a.nav:link, a.nav:visited {
display:block; float:left; width:17%; padding:0.5em 0 0.5em 0; margin:0;
text-decoration:none; background-color:#005896; color:#FFFFFF; font-weight: bold;}

a.nav:hover {
display:block; float:left; width:17%; padding:0.5em 0 0.5em 0; margin:0;
text-decoration:none; background-color:#BDD3EA; color:#000000;}

a.nav:active {
display:block; float:left; width:17%; padding:0.5em 0 0.5em 0; margin:0;
text-decoration:none; background-color:#005896; color:#FFFFFF;}

</style>
<table cellspacing = '0' cellpadding = '0' width = '100%' bgcolor = '#BDD3EA'>
<tr>
<td>
<img src = 'images\logo.jpg'>
</td>
</tr>
<tr>
<td>
<div>
	<ul class='navbar'>
		<li><a href = 'index.php' class = 'nav'>home</a></li>
		<li><a href = 'record.php' class = 'nav'>start recording</a></li>
<?php
if($_COOKIE['logged_in'] != 1)//if(!isset($_SESSION['logged_in']))
{
	echo "<li><a href = 'login.php' class = 'nav'>log in</a></li>";
}		
else
{	
	echo "<li><a href = 'logout.php' class = 'nav'>log out</a></li>";

}
?>
		<li><a href = 'help.php' class = 'nav'>help</a></li>
		<li><a href = 'mailto:hide@address.com' class = 'nav'>contact</a></li>
	</ul>
</div>
</td>
</tr>
</table>
<br>
<div class = 'content'>
Return current item: phpautotest