File include/nav.php in CookBook

<div id="Nav" align="right">
    <form action="search.php" method="get" name="Search" target="_self">
    [<a href="index.php">Index</a>]<?php if( $userdata['session_logged_in'] ) {?>[<a href="add.php">Add Recipe</a>]<? } else { ?>[<a href="http://www.yourhost.com/phpbb2/login.php?redirect=../path/cookbook/">Login</a>]<? } ?>[<a href="random.php">Random Recipe</a>]<br /> <input name="query" type="text" value="<?=$query?>"><input name="submit" value="search" type="Submit">
    </form>
</div>
 
 
  code/cookbookincludenav.txt · Last modified: 2005/01/06 11:48
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki