<!-- BEGIN {$smarty.template} -->

<form action="{$smarty.const.PHPAGA_SELF}" method="get" name="form">
<input type="hidden" name="order" value="{$ORDER}">

<table class="searchtable" cellspacing="0">
  <tr>
    <th colspan="3"> {t}Search companies{/t} </th>
  </tr>
  <tr>
    <td class="label"> {t}Customer{/t}: </td>
    <td class="desc">
      <input class="tinput" type="text" name="cpn_name" value="{$company.cpn_name|wash}" size="30" maxlength="100">
    </td>
    <td rowspan="5" valign="bottom">
      <input type="submit" name="submit" value="{t}Search{/t}">
    </td>
  </tr>
  <tr>
    <td class="label"> {t}Address{/t}: </td>
    <td class="desc"><input class="tinput" type="text" name="cpn_address" value="{$company.cpn_address|wash}" size="50" maxlength="250"></td>
  </tr>
  <tr>
    <td class="label"> {t}Address 2{/t}: </td>
    <td class="desc"><input class="tinput" type="text" name="cpn_address2" value="{$company.cpn_address2|wash}" size="50" maxlength="250"></td>
  </tr>
  <tr>
    <td class="label"> {t}ZIP{/t}: </td>
    <td class="desc">
      <input class="tinput" type="text" name="cpn_zip" value="{$company.cpn_zip|wash}" size="10" maxlength="30">
        {t}City{/t}:
      <input class="tinput" type="text" name="cpn_city" value="{$company.cpn_city|wash}" size="30" maxlength="100">
    </td>
  </tr>
  <tr>
    <td class="label"> {t}Region{/t}: </td>
    <td class="desc">
      <input class="tinput" type="text" name="cpn_region" value="{$company.cpn_region|wash}" size="10" maxlength="40">
      {t}Country{/t}:
      <select name="ctr_id">
        {html_options options=$select_ctr selected=$company.ctr_id}
      </select>
    </td>
  </tr>
  <tr>
    <td class="label"> {t}Category{/t}: </td>
    <td class="desc">
      <select name="ccat_id">
        {html_options options=$select_ccat selected=$company.ccat_id}
      </select>
    </td>
  </tr>
</table>

</form>

<!-- END {$smarty.template} -->
