| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- <table border="0" width="100%" class="menu">
- <tr>
- <?php
- if(isset($_SESSION["username"]))
- {
- ?>
- <td width="12%" align="center"><a href="index.php">Start</a></td>
- <td width="12%" align="center"><a href="product_list.php">Produkte</a></td>
- <td width="12%" align="center"><a href="category.php">Kategorien</a></td>
- <td width="12%" align="center"><a href="contact.php">Kontakt</a></td>
- <td width="40%" align="right"><a href=""><!-- Kundenmenü --></a></td>
- <td width="12%" align="right"><a href="session_logout.php">Abmelden</a></td>
- <?php
- }
- else
- {
- ?>
- <td width="100%" align="right"><a href="session_login.php">Anmelden</a></td>
- <?php
- }
- ?>
- </tr>
- </table>
- <br>
- <?php
- if(isset($_SESSION["username"]))
- {
- ?>
- <div width="100%" align="right">
- <form method="post" action="product_list.php" name="search_form">
- <input type="text" id="search_form_text" name="search_product" style="border-style: solid; border-width: 2px; border-color: #f6ce18;">
- <a href="javascript: document.forms['search_form'].submit();">suchen</a>
- <input type="submit" value="" class="invisible_submit">
- </form>
- <!-- set the focus to searchbar -->
- <script>
- document.getElementById('search_form_text').focus();
- </script>
- </div>
- <?php
- }
- ?>
|