<form action="links.php?action=saveedit" method="post" enctype="multipart/form-data">
  <table width="100%" border="0" cellspacing="1" cellpadding="2" bgcolor="$border">
    <tr> 
      <td class="title" align="center" bgcolor="$bghead">edit link</td>
    </tr>
    <tr> 
      <td bgcolor="$pagebg"></td>
    </tr>
    <tr> 
      <td bgcolor="$bg1"><table border="0" align="center" cellpadding="2" cellspacing="0" class="formtable">
          <tr> 
            <td align="right">Linkrubric:</td>
            <td><select name="cat">$linkcats
              </select></td>
          </tr>
          <tr> 
            <td align="right">Linkname:</td>
            <td><input name="name" type="text" value="$name" size="40" class="form_off" onFocus="this.className='form_on'" onBlur="this.className='form_off'"></td>
          </tr>
          <tr> 
            <td align="right">Homepage:</td>
            <td><input name="url" type="text" value="$url" size="40" class="form_off" onFocus="this.className='form_on'" onBlur="this.className='form_off'"></td>
          </tr>
          <tr> 
            <td align="right">Banner:</td>
            <td><input name="banner" type="file"></td>
          </tr>
          <tr> 
            <td align="right">Information:</td>
            <td><input name="info" type="text" value="$info" size="40" class="form_off" onFocus="this.className='form_on'" onBlur="this.className='form_off'"></td>
          </tr>
          <tr> 
            <td align="right"><input type="hidden" name="linkID" value="$linkID"></td>
            <td><input name="post" type="submit" value="upate link"></td>
          </tr>
        </table></td>
    </tr>
  </table>
</form>

