<table bgcolor='white' width='100%'> <tr>
    <td width='20%' align='left'>
        <a href="/"><img src="/images/logo.png" width="50%" height="50%"></a>
    </td>
    <td width='60%' align='center'><h1>Tennis Balls Company</h1></td>
    <td width='10%' align='center'>
        <% if (session.customer_id > 0) { %>
            <b> Hello <b> <%= session.custname %>! </b> </br>
            <a href='/customer/logout'>Logout</a>
        <% } else { %>
            <a href='/customer/register'>New Customer</a> </br>
            <a href='/customer/login'>Login</a>
        <% } %>
    </td>
    <td width='10%' align='center'><a href="/catalog/cart">Cart</a></td>
</tr></table>
<p><form action="/search" method="get">
    Search: <input type="text" name="searchcriteria">
    <input type="submit" value="Go">
</form></p>
<ul>
    <li> <a href="/">Home</a> </li>
    <li> <a href="/catalog">Catalog</a> </li>
    <li> <a href="/about">About Us</a> </li>
    <li> <a href="/contact">Contact Us</a> </li>
    
    <% if(session.isadmin) { %>
        <li> <a href="/customer">Customers</a> </li>
        <li> <a href="/product">Products</a> </li>
        <li> <a href="/saleorder">Sale Orders</a> </li>
        <li> <a href="/orderdetail">Order Details</a> </li>
        <li> <a href="/promotion">Promotions</a> </li>
        <li> <a href="/report">Reports</a> </li>
    <% } %>
</ul>