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

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

  <fieldset class="search">
    <legend>{t}Search companies{/t}</legend>

    <label for="cpn_name">{t}Customer{/t}:</label>
    <input class="tinput" type="text" id="cpn_name" name="cpn_name" value="{$company.cpn_name|wash}" size="30" maxlength="100">
    <br>

    <label for="cpn_address">{t}Address{/t}:</label>
    <input class="tinput" type="text" id="cpn_address" name="cpn_address" value="{$company.cpn_address|wash}" size="50" maxlength="250">
    <br>

    <label for="cpn_address2">{t}Address 2{/t}:</label>
    <input class="tinput" type="text" id="cpn_address2" name="cpn_address2" value="{$company.cpn_address2|wash}" size="50" maxlength="250">
    <br>

    <label for="cpn_zip">{t}ZIP{/t}:</label>
    <input class="tinput" type="text" id="cpn_zip" name="cpn_zip" value="{$company.cpn_zip|wash}" size="10" maxlength="30">
    <br>

    <label for="cpn_city">{t}City{/t}:</label>
    <input class="tinput" type="text" id="cpn_city" name="cpn_city" value="{$company.cpn_city|wash}" size="30" maxlength="100">
    <br>

    <label for="cpn_region">{t}Region{/t}:</label>
    <input class="tinput" type="text" id="cpn_region" name="cpn_region" value="{$company.cpn_region|wash}" size="10" maxlength="40">
    <br>

    <label for="ctr_id">{t}Country{/t}:</label>
    <select id="ctr_id" name="ctr_id">
      {html_options options=$select_ctr selected=$company.ctr_id}
    </select>
    <br>

    <label for="ccat_id">{t}Category{/t}:</label>
    <select id="ccat_id" name="ccat_id">
      {html_options options=$select_ccat selected=$company.ccat_id}
    </select>
    <br>

    <input type="submit" name="submit" value="{t}Search{/t}">
  </fieldset>
</form>

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