83 lines
5.2 KiB
HTML
83 lines
5.2 KiB
HTML
|
{include file=$header title='Редактирование данных организации' h1="Редактирование данных организации"}
|
||
|
<div class="clearfix"></div>
|
||
|
<div class='row'>
|
||
|
<div class='col-lg-3 col-md-3 col-sm-12 col-xs-12' style='border-right:1px solid lightgray;'>
|
||
|
{include file=$mnulk}
|
||
|
</div>
|
||
|
<div class='col-lg-9 col-md-9 col-sm-12 col-xs-12' style='border:0px solid gray;'>
|
||
|
<form method="post" action='/act/jeditorg' id="jeditorg_form" enctype='multipart/form-data'>
|
||
|
<p class="form-row form-row-wide"><label for="nameorg">Название вашей организации<span class="required">*</span></label>
|
||
|
<input type="text" class="input-text" name='nameorg' id="nameorg" value="{$bd.nameorg}" />
|
||
|
<input type="hidden" name='act' value="save" />
|
||
|
</p>
|
||
|
<p class="form-row form-row-wide"><label for="viddeyat">Основной вид деятельности<span class="required">*</span></label>
|
||
|
<textarea name='viddeyat' id="viddeyat" style="height: 250px;" class="input-text">{$bd.viddeyat}</textarea><small>Заполните максимально полно, это даст возможнось лучше узнать чем придется заниматься в вашей организации + это не плохая реклама вашей организации!</small>
|
||
|
</p>
|
||
|
<p class="form-row form-row-wide"><label for="inn">ИНН<span class="required">*</span></label>
|
||
|
<input class="input-text" type="text" name='inn' id="inn" value="{$bd.inn}" />
|
||
|
</p>
|
||
|
<div class='clearfix'></div>
|
||
|
<div class="alert alert-success hidden" role="alert" id='good_inn'>
|
||
|
ИНН прошел проверку
|
||
|
</div>
|
||
|
<div class="alert alert-danger hidden" role="alert" id='bad_inn'>
|
||
|
ИНН не верный!
|
||
|
</div>
|
||
|
<p class="form-row form-row-wide"><label for="gorod">Город<span class="required">*</span></label>
|
||
|
<input class="input-text" type="text" name='gorod' id="gorod" value="{if ($bd.gorod)}{$bd.gorod}{else}{$smarty.cookies.gorod}{/if}" />
|
||
|
</p>
|
||
|
<p class="form-row form-row-wide"><label for="adres">Адрес организации<span class="required">*</span></label>
|
||
|
<input class="input-text" type="text" name='adres' id="adres" value="{$bd.adres}" />
|
||
|
</p>
|
||
|
<p class="form-row form-row-wide"><label for="gis">2GIS<span class="required">*</span></label>
|
||
|
<input class="input-text" type="text" name='gis' id="gis" value="{$bd.gis}" />
|
||
|
</p>
|
||
|
<p class="form-row form-row-wide"><label for="tel">Телефон для связи<span class="required">*</span></label>
|
||
|
<input class="input-text" type="text" name='tel' id="tel" value="{$bd.tel}" /><small>Телефон будет доступен только зарегистрированным пользователям</small>
|
||
|
</p>
|
||
|
<p class="form-row form-row-wide"><label for="kl">Контактное лицо<span class="required">*</span></label>
|
||
|
<input class="input-text" type="text" name='kl' id="kl" value="{$bd.kl}" />
|
||
|
</p>
|
||
|
<p class="form-row form-row-wide"><label for="url">Сайт организации</label>
|
||
|
<input class="input-text" type="text" name='url' id="url" value="{$bd.url}" />
|
||
|
</p>
|
||
|
<p class="form-row form-row-wide"><label for="go">Год открытия</label>
|
||
|
<input class="input-text" type="text" name='go' id="go" value="{$bd.go}" />
|
||
|
</p>
|
||
|
<p class="form-row form-row-wide"><label for="logo">Логотип<span class="required">*</span></label>
|
||
|
<input class="input-text" type="file" name='logo' id="logo" /><small>jpg</small>
|
||
|
{if ($bd.logo && $logo_real=='1')}<center><img src='/img/users/{$smarty.session.user_id}/{$bd.logo}.jpg' style='width: 200px;' id="img_logo">
|
||
|
<br>
|
||
|
<a href='logo' class='del_img'>Удалить логотип</a></center>
|
||
|
{/if}
|
||
|
</p>
|
||
|
<p class="form-row form-row-wide"><label for="foffice">Фото офиса:</label>
|
||
|
<input class="input-text" type="file" name='foffice' id="foffice" /><small>jpg</small>
|
||
|
{if ($bd.foffice && $foffice_real=='1')}<center><img src='/img/users/{$smarty.session.user_id}/{$bd.foffice}.jpg' style='width: 200px;'>
|
||
|
<br>
|
||
|
<a href='foffice' class='del_img'>Удалить фото офиса</a>
|
||
|
</center>
|
||
|
{/if}
|
||
|
</p>
|
||
|
<p class="form-row form-row-wide"><label for="fdom">Фото здания:</label>
|
||
|
<input class="input-text" type="file" name='fdom' id="fdom" /><small>jpg</small>
|
||
|
{if ($bd.fdom && $fdom_real=='1')}<center><img src='/img/users/{$smarty.session.user_id}/{$bd.fdom}.jpg' style='width: 200px;'>
|
||
|
<br>
|
||
|
<a href='fdom' class='del_img'>Удалить фото здания</a>
|
||
|
</center>
|
||
|
{/if}
|
||
|
</p>
|
||
|
|
||
|
<p class="form-row"><input class="button" type="submit" value="Сохранить" name="ok"></p>
|
||
|
</form>
|
||
|
<div class="clearfix"></div>
|
||
|
<div class="alert alert-success hidden" role="alert" id="res_msg">
|
||
|
Данные успешно сохранены
|
||
|
</div>
|
||
|
|
||
|
|
||
|
<div class="clearfix"></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
{*plugins='<script src="/api/jquery/check.js"></script>'*}
|
||
|
{include file=$footer}
|