<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><%$title%></title>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
<meta name="keywords" content="<%$meta_keywords%>" />
<meta name="description" content="<%$meta_description%>" />
<link href="<%$tpl_base%>/styles.css" rel="stylesheet" type="text/css" />
<link href="<%$tpl_base%>/calendar-system.css" rel="stylesheet" type="text/css" />
<base href="<%$site_url%>/" />
</head>
<body>
<table width="770" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td>

      <!-- header start -->

      <table width="770" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td valign="middle" style="background-image: url(<%$tpl_base%>/images/template_01.gif);" height="18">
            <div align="right">
              <a href="<%$site_url%>/" class="top_menu">Home</a> |&nbsp;
              <a href="<%$site_url%>/cp/" class="top_menu">My Account</a> |&nbsp;
              <a href="<%$site_url%>/power_search.php" class="top_menu">Power Search</a> |&nbsp;
              <a href="<%$site_url%>/register.php" class="top_menu">Register</a> |&nbsp;
              <a href="<%$site_url%>/user_search.php?pflag=search" class="top_menu">Member List</a> |&nbsp;
              <a href="<%$site_url%>/suggest_category.php" class="top_menu">Suggest Category</a>&nbsp;
            </div>
          </td>
        </tr>
        <tr>
          <td>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td><img src="<%$tpl_base%>/images/logo.gif" width="218" height="78" border="0" alt="" /></td>
                <td><a href="<%$site_url%>/new.php"><img src="<%$tpl_base%>/images/mn_new_listings.gif" border="0" alt="" /></a></td>
                <td><a href="<%$site_url%>/hot.php"><img src="<%$tpl_base%>/images/mn_hot_listings.gif" border="0" alt="" /></a></td>
                <td><a href="<%$site_url%>/top_rated.php"><img src="<%$tpl_base%>/images/mn_top_rated.gif" border="0" alt="" /></a></td>
                <td><a href="<%$site_url%>/pick.php"><img src="<%$tpl_base%>/images/mn_editor_pick.gif" border="0" alt="" /></a></td>
                <td>
                  <%if $cat%>
                    <a href="<%$site_url%>/add.php?cat=<%$cat%>">
                  <%else%>
                    <a href="<%$site_url%>/add.php">
                  <%/if%>
                  <img src="<%$tpl_base%>/images/mn_add_a_listing.gif" border="0" alt="" /></a>
                </td>
                <td><a href="<%$site_url%>/modify.php"><img src="<%$tpl_base%>/images/mn_update_a_listing.gif" border="0" alt="" /></a></td>
                <td><a href="<%$site_url%>/get_rated.php"><img src="<%$tpl_base%>/images/mn_get_rated.gif" border="0" alt="" /></a></td>
                <td><a href="<%$site_url%>/upgrade.php"><img src="<%$tpl_base%>/images/mn_upgrade_a_listing.gif" border="0" alt="" /></a></td>
              </tr>
            </table>
          </td>
        </tr>
        <tr>
          <td><img src="<%$tpl_base%>/images/template_10.gif" width="770" height="13" alt="" /></td>
        </tr>
        <tr>
          <td width="770" height="93" align="center" style="background-image: url(<%$tpl_base%>/images/template_11.gif);"><img src="<%$tpl_base%>/images/banner.gif" width="468" height="60" alt="" /></td>
        </tr>
        <tr>
          <td>
            <table width="770" border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td width="115"> <img src="<%$tpl_base%>/images/template_12.gif" width="115" height="28" alt="" /></td>
                <td colspan="12" style="background-image: url(<%$tpl_base%>/images/template_13.gif);">

                  <form method="get" action="search.php" style="margin:0px">
                  <%if $category_path_search_opt%>
                  <input type="hidden" name="cat" value="<%$cat%>" />
                  <%/if%>
                    <table border="0" cellspacing="0" cellpadding="0">
                      <tr>
                        <td>
                          <input type="text" name="keyword" size="20" 

                          <%if $keyword%>
                            value="<%$keyword%>"
                          <%else%>
                            value='search...'
                            onblur="if(this.value=='') this.value='search...';"
                            onfocus="if(this.value=='search...') this.value='';"
                          <%/if%>
                          />

                        </td>
                        <td width="150" align="center">
                          <select name="opt">
                            <option value="0">the entire directory</option>
                            <%if $category_path_search_opt%>
                            <option value="1">Only in <%$category_path_search_opt%></option>
                            <%/if%>
                            <%if $opt eq "2"%>
                            <option value="2" selected="selected">on the web</option>
                            <%else%>
                            <option value="2">on the web</option>
                            <%/if%>
                          </select>
                        </td>
                        <td><input type="submit" name="Submit3" value="Search" class="button" />
                        </td>
                      </tr>
                    </table>
                  </form>

                </td>
              </tr>
          </table>
        </td>
      </tr>
    </table>

    <!-- header end -->

