<?

function panel_org_create($options=array())
{
  ?><div id="panel_org_create"><form enctype="multipart/form-data"><?
        if ($options['def_park']) {?><input type="hidden" name="def_park" value="<?echo $options['def_park']?>"><?}
        if ($options['client_id']) {?><input type="hidden" name="org[client_id]" value="<?echo $options['client_id']?>"><?}
        ?>
    <table class="info">
     <tr><td>Организация:</td><td><input  type="text" name="org[obj_name]" data-required  class="big"></td></tr>
     <tr><td>Полное наименование:</td><td><input type="text" name="org[full_name]" class="big"></td></tr>
     <tr><td>email:</td><td><input type="text" name="name" class="org[email]"></td></tr>
     <tr><td>Телефон:</td><td><input data-required  type="text" name="org[phone]" class="small"></td></tr>
     <tr><td>Доп.телефон:</td><td><input type="text" name="org[phone2]" class="small"></td></tr>
     <tr><td>ИНН:</td><td><input type="text" name="org[inn]" class="small"></td></tr>
     <tr><td>КПП:</td><td><input type="text" name="org[kpp]" class="small"></td></tr>
     <tr><td>БИК:</td><td><input type="text" name="org[bik]" class="small"></td></tr>
     <tr><td>Банк:</td><td><input type="text" name="org[bank]" class="big"></td></tr>
     <tr><td>Корреспонденский счет:</td><td><input type="text" name="org[ks]" class="big"></td></tr>
     <tr><td>Расчетный счет:</td><td><input type="text" name="org[rs]" class="big"></td></tr>
     <tr><td>Юр.адрес:</td><td><textarea data-required name="org[adres1]"></textarea></td></tr>
     <tr><td>Почт.адрес:</td><td><textarea name="org[adres2]"></textarea></td></tr>
     <tr><td>Печать (GIF, 300х300px):</td>
         <td><input name="upload_file[]" type="file" size="50"></td></tr>
     <tr></tr>
     <tr><td></td>
         <td><input type="submit" class="v2" cmd="aspmo_personal/create_org" value="Сохранить" validate="form"></td>
     </tr>
   </table>
   </form></div><?
}






?>