<%include file="header.html"
          title="Update a Listing"
          meta_keywords=""
          meta_description=""
%>

    </td>
  </tr>
  <tr>
    <td>
    <script language="javascript" type="text/javascript" src="<%$tpl_base%>/calendar.js"></script>
    <script language="javascript" type="text/javascript" src="<%$tpl_base%>/calendar-en.js"></script>
    <script language="javascript" type="text/javascript" src="<%$tpl_base%>/calendar-setup.js"></script>

    <!-- main content here -->

    <br />

    <form action="modify.php" method="post" enctype="multipart/form-data">
    <input type="hidden" name="pflag" value="modify" />
    <input type="hidden" name="link_id" value="<%$link_id%>" />

    <%if $error_msg%>
    <center><p><font color="Red"><b><%$error_msg%></b></font></p></center>
    <%/if%>

    <table cellpadding="4" cellspacing="1" border="0" align="center" width="100%" class="tbl_border">
    <tr>
      <td class="tbl_caption" colspan="2">
        Update a Listing
      </td>
    </tr>
    <tr class="tbl_normal">
      <td>Title</td>
      <td><input class="text3" type="text" name="title" size="40" value="<%$title%>" /></td>
    </tr>
    <tr class="tbl_normal">
      <td>Url</td>
      <td><input class="text3" type="text" name="url" size="40" value="<%$url%>" /></td>
    </tr>
    <tr class="tbl_normal">
      <td valign="top">Description</td>
      <td><textarea name="description" cols="40" rows="10" style="overflow: auto;"><%$description%></textarea></td>
    </tr>
    <tr class="tbl_normal">
      <td>Category</td>
      <td><%$category%></td>
    </tr>
    <tr class="tbl_normal">
      <td>Additional Category 1</td>
      <td><%$add_cat1%></td>
    </tr>
    <tr class="tbl_normal">
      <td>Additional Category 2</td>
      <td><%$add_cat2%></td>
    </tr>
    <tr class="tbl_normal">
      <td>Contact Name</td>
      <td><input class="text3" type="text" name="contact_name" size="40" value="<%$contact_name%>" /></td>
    </tr>
    <tr class="tbl_normal">
      <td>Keywords</td>
      <td><input class="text3" type="text" name="keywords" size="40" value="<%$keywords%>" /></td>
    </tr>
    <tr class="tbl_normal">
      <td>Email</td>
      <td><input class="text3" type="text" name="email" size="40" value="<%$email%>" /></td>
    </tr>
    <tr class="tbl_normal">
      <td>Reciprocal URL</td>
      <td><input class="text3" type="text" name="reciprocal_url" size="40" value="<%$reciprocal_url%>" /></td>
    </tr>

    <!-- remove <%$custom_field_form%> if you want to generate field manualy -->
    <%$custom_field_form%>

    <tr class="tbl_caption">
      <td colspan="2">
       <center>
       <input type="submit" name="submit" value="Update your website" />
       </center>
      </td>
    </tr>
    </table>

    </form>

    <br />
    <br />

    <!-- end of main content -->

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

<%include file="footer.html"%>
