<form action="link_edit.php" method="post" enctype="multipart/form-data">
<input type="hidden" name="pflag" value="edit">
<input type="hidden" name="id" value="<%$link_id%>">
<table cellpadding="1" cellspacing="0" border="0" align="center" width="100%" class="tbl_border">
<tr>
  <td>
    <table cellpadding="4" cellspacing="0" border="0" width="100%">
      <tr>
        <td class="tbl_caption" colspan="2">
          Edit Link
        </td>
      </tr>
      <tr class="tbl_light">
        <td width="50%">Title</td>
        <td width="50%"><input type="text" size="40" name="title" value="<%$title%>" class="textbg"></td>
      </tr>
      <tr class="tbl_light2">
        <td>Url</td>
        <td><input type="text" size="40" name="url" value="<%$url%>" class="textbg"></td>
      </tr>
      <tr class="tbl_light">
        <td valign="top">Description</td>
        <td><textarea name="description" cols="40" rows="7"><%$description%></textarea></td>
      </tr>
      <tr class="tbl_light2">
        <td>Category</td>
        <td width=180><%$category%></td>
      </tr>
      <tr class="tbl_light">
        <td>Additional Category 1
          <div class="explanation">
            This is optional in case you want to increase its visibility
            in other category.
          </div>
        </td>
        <td width=180><%$add_cat1%></td>
      </tr>
      <tr class="tbl_light2">
        <td>Additional Category 2
          <div class="explanation">
            This is optional in case you want to increase its visibility
            in other category.
          </div>
        </td>
        <td width=180><%$add_cat2%></td>
      </tr>
      <tr class="tbl_light">
        <td>Keywords
          <div class="explanation">
            Fill words that people may use to search this resource
          </div>
        </td>
        <td><input type="text" size="40" name="keywords" value="<%$keywords%>" class="textbg"></td>
      </tr>
      <tr class="tbl_light2">
        <td>Contact Name</td>
        <td><input type="text" size="40" name="contact_name" value="<%$contact_name%>" class="textbg"></td>
      </tr>
      <tr class="tbl_light">
        <td>Email</td>
        <td><input type="text" size="40" name="email" value="<%$email%>" class="textbg"></td>
      </tr>
      <tr class="tbl_light2">
        <td>Reciprocal URL</td>
        <td><input type="text" size="40" name="reciprocal_url" value="<%$reciprocal_url%>" class="textbg"></td>
      </tr>
      <tr class="tbl_light">
        <td>
          Bid
          <div class="explanation">
            Bid is a method how to rank a link higher than others.
            The bid value must be numerical, and
            the higher bid will get higher rank.
          </div>
        </td>
        <td valign="top"><input type="text" size=4 name="bid" value="<%$bid%>" class="textbg"></td>
      </tr>
      <tr class="tbl_light2">
        <td>Password</td>
        <td><input type="text" size="40" name="password" value="<%$password%>" class="textbg"></td>
      </tr>
      <%$custom_field_form%>
      <tr>
        <td class="tbl_caption" colspan="2">
          Status
        </td>
      </tr>
      <tr class="tbl_light">
        <td valign="top">Official Review</td>
        <td><textarea name="official_review" cols="40" rows="7"><%$official_review%></textarea></td>
      </tr>
      <tr class="tbl_light2">
        <td>Editor's Pick</td>
        <td><%$pick%></td>
      </tr>
      <tr class="tbl_light">
        <td>Suspend</td>
        <td><%$suspended%></td>
      </tr>
      <tr>
        <td class="tbl_light2" colspan="2" align="center">
          <input type="submit" value="Edit Link" class="button">
          <input type="reset" value="Reset" class="button">
        </td>
      </tr>
    </table>
  </td>
</tr>
</table>
</form>