<!-- 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 persons{/t} </th>
  </tr>
  <tr>
    <td class="label"> {t}First name{/t}: </td>
    <td class="desc">
      <input class="tinput" type="text" name="pe_firstname" value="{$person.pe_firstname|wash}" size="10" maxlength="50">
        {t}Last name{/t}:
      <input class="tinput" type="text" name="pe_lastname" value="{$person.pe_lastname|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="pe_address" value="{$person.pe_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="pe_address2" value="{$person.pe_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="pe_zip" value="{$person.pe_zip|wash}" size="10" maxlength="30">
        {t}City{/t}:
      <input class="tinput" type="text" name="pe_city" value="{$person.pe_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="pe_region" value="{$person.pe_region|wash}" size="10" maxlength="40">
      {t}Country{/t}:
      <select name="ctr_id">
        {html_options options=$select_ctr selected=$person.ctr_id}
      </select>
    </td>
  </tr>
  <tr>
    <td class="label"> {t}Person Category{/t}: </td>
    <td class="desc">
      <select name="pecat_id">
        {html_options options=$select_pecat selected=$person.pecat_id}
      </select>
        {t}Job category{/t}:
      <select name="jcat_id">
        {html_options options=$select_jcat selected=$person.jcat_id}
      </select>
    </td>
  </tr>
  <tr>
    <td class="label"> {t}Company{/t}: </td>
    <td class="desc">
      <select name="cpn_id">
        {html_options options=$select_cpn selected=$person.cpn_id}
      </select>
    </td>
  </tr>
</table>

</form>

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