<form action="cat_add.php" method="post">
<input type="hidden" name="pflag" value="add">
<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">
          Add New Category
        </td>
      </tr>
      <tr class="tbl_light">
        <td width="50%">Name</td>
        <td width="50%"><input type="text" size="40" name="name" class="textbg"></td>
      </tr>
      <tr class="tbl_light2">
        <td>Parent Category</td>
        <td valign="top"><%$parent%></td>
      </tr>
      <tr>
        <td class="tbl_caption" colspan="2">
          Optional
        </td>
      </tr>
      <tr class="tbl_light">
        <td>Related Category
          <div class="explanation">The new category will also appear under the
            selected category with @ sign behind the category name.
          </div>
        </td>
        <td valign="top"><%$related%></td>
      </tr>
      <tr class="tbl_light2">
        <td valign="top">Description</td>
        <td><textarea name="description" cols="40" rows="7"></textarea></td>
      </tr>
      <tr class="tbl_light">
        <td>
          Image File
          <div class="explanation">The image that will appear in front
          of category list. The file location should be in theme folder
          (example: /themes/kosmos/images/).
          </div>
        </td>
        <td valign="top"><input type="text" size="40" name="image" value="folder.gif" class="textbg"></td>
      </tr>
      <tr class="tbl_light2">
        <td valign="top">
          Content
          <div class="explanation">A specific content for this
          category. You may use this field as category intro, or ad codes.
          You may also use HTML codes here.</div>
        </td>
        <td><textarea name="content" cols="40" rows="7"></textarea></td>
      </tr>
      <tr class="tbl_light">
        <td>
          Visible
          <div class="explanation">Select No if you want to hide this category.
          </div>
        </td>
        <td valign="top"><%$visible%></td>
      </tr>
      <tr class="tbl_light2">
        <td>
          Link Submission Permission
          </div>
        </td>
        <td valign="top"><%$permission%></td>
      </tr>
      <tr class="tbl_light">
        <td>
          Registered users only
          <div class="explanation">Only registered users can view this category.
          </div>
        </td>
        <td valign="top"><%$registered_only%></td>
      </tr>
      <tr class="tbl_light2">
        <td valign="top">
          Meta Keyword
          <div class="explanation">HTML meta keyword for this category page.
          Useful for search engine optimation.
          </div>
        </td>
        <td><textarea name="meta_keyword" cols="40" rows="7"></textarea></td>
      </tr>
      <tr class="tbl_light">
        <td valign="top">
          Meta Description
          <div class="explanation">HTML meta description for this category page.
          Useful for search engine optimation.
        </td>
        <td><textarea name="meta_description" cols="40" rows="7"></textarea></td>
      </tr>
      <tr class="tbl_light2">
        <td valign="top">
          Header
          <div class="explanation">Header in HTML codes that will be used to replace the
          default header.html. By entering HTML codes here, you can
          customize each category pages.
          </div>
        </td>
        <td><textarea name="header" cols="40" rows="7"></textarea></td>
      </tr>
      <tr class="tbl_light">
        <td valign="top">
          Footer
          <div class="explanation">Footer in HTML codes that will be used to replace the
          default footer.html. By entering HTML codes here, you can
          customize each category pages.
          </div>
        </td>
        <td><textarea name="footer" cols="40" rows="7"></textarea></td>
      </tr>
      <tr class="tbl_light2">
        <td>Page Title
        <div class="explanation">HTML page title that will appear in window title bar.
        Useful for search engine optimation. Leave blank
        if you want to use the default page title.
        </div>
        </td>
        <td valign="top"><input type="text" size="40" name="page_title" class="textbg"></td>
      </tr>
      <tr>
        <td class="tbl_caption" colspan="2">
          Pricing
        </td>
      </tr>
      <tr class="tbl_light">
        <td>Basic Listing
        <div class="explanation">The price for Basic listing under this category.
        No need to include currency symbol.
        </div>
        </td>
        <td valign="top">
          <input type="text" size="6" name="price_basic" value="<%$price_basic%>" class="textbg">
        </td>
      </tr>
      <tr class="tbl_light2">
        <td>Premium Listing
        <div class="explanation">The price for Premium listing under this category.
        No need to include currency symbol.
        </div>
        </td>
        <td valign="top">
          <input type="text" size="6" name="price_premium" value="<%$price_premium%>" class="textbg">
        </td>
      </tr>
      <tr class="tbl_light">
        <td>Sponsored Listing
        <div class="explanation">The price for Sponsored listing under this category.
        No need to include currency symbol.
        </div>
        </td>
        <td valign="top">
          <input type="text" size="6" name="price_sponsored" value="<%$price_sponsored%>" class="textbg">
        </td>
      </tr>
      <tr>
        <td class="tbl_light2" colspan="2" align="center">
          <input type="submit" value="Add New Category" class="button">
          <input type="reset" value="Reset" class="button">
        </td>
      </tr>
    </table>
  </td>
</tr>
</table>
</form>