79 lines
3.2 KiB
HTML
Executable File
79 lines
3.2 KiB
HTML
Executable File
{include file=$header title="Новая вакансия"}
|
||
<div class='container'>
|
||
<h1 class='text-center'>Новая вакансия</h1>
|
||
<div class='row'>
|
||
<div class='col-lg-3 col-md-3 col-sm-12 col-xs-12' style='border:0px solid gray;'>
|
||
<ul class="lkmnu">
|
||
<li><a href='/jkbr/'>Личный кабинет</a></li>
|
||
<li><a href='/jeditorg/'>Редактировать данные по организации</a></li>
|
||
<li><a href='/jmyvakans/'>Вакансии</a></li>
|
||
<li><a href='/jmymsg/'>Сообщения</a></li>
|
||
<li><a href='/jotz/'>Отзывы</a></li>
|
||
<li><a href='/jpwd/'>Сменить пароль</a></li>
|
||
</ul>
|
||
</div>
|
||
<div class='col-lg-9 col-md-9 col-sm-12 col-xs-12' style='border:0px solid gray;'>
|
||
|
||
<a class="btn btn-primary" href="/jmyvakans/" role="button">Назад в список</a>
|
||
<br><br>
|
||
<form method="post" action='/act/jaddvakancy' id="jeditorg_form" enctype='multipart/form-data'>
|
||
<select name="cat" class="input-text" id='cat'>
|
||
{section name=customer loop=$cat}
|
||
{if $cat[customer].id}
|
||
<option value="{$cat[customer].id}">{$cat[customer].cat}</option>
|
||
{/if}
|
||
{/section}
|
||
</select>
|
||
<br><br>
|
||
<select name="prof" class="input-text" id='prof'>
|
||
{section name=customer loop=$prof}
|
||
{if $prof[customer].id}
|
||
<option value="{$prof[customer].id}" data-chained="{$prof[customer].cat_id}">{$prof[customer].prof}</option>
|
||
{/if}
|
||
{/section}
|
||
</select>
|
||
<br><br>
|
||
<input type='hidden' name='act' value='save'>
|
||
<input type='text' name='tel' class="input-text" value='{$bd.tel}'>
|
||
<br><br>
|
||
<input type='text' name='gorod' class="input-text" value='{$bd.gorod}'>
|
||
<label for="nameorg">Требования</label>
|
||
<textarea class="input-text" name='treb'></textarea>
|
||
|
||
<label for="grafik">Желаемый график работы</label>
|
||
<select name="grafik" class="input-text" id='grafik'>
|
||
<option value="">Без разницы</option>
|
||
{section name=customer loop=$grafik}
|
||
{if $grafik[customer].id}
|
||
<option value="{$grafik[customer].id}" {if ($grafik[customer].id==$bd[0].grafik)} selected{/if}>{$grafik[customer].grafik}</option>
|
||
{/if}
|
||
{/section}
|
||
|
||
</select>
|
||
|
||
<label for="nameorg">Условия работы</label>
|
||
<textarea class="input-text" name='usl'></textarea>
|
||
<label for="nameorg">Зарплата (от .... )</label>
|
||
<input type='text' name='zp' class="input-text" value='{$bd.zp}'>
|
||
<label for="nameorg">Срок</label>
|
||
<input type='text' name='srok' id='srok' class="input-text" value='{$bd.srok}' placeholder='дд.мм.гггг' maxlength=10>
|
||
<br><br>
|
||
<div class="form-group form-check">
|
||
<input type="checkbox" class="form-check-input" id="exampleCheck1" name='public'>
|
||
<label class="form-check-label" for="exampleCheck1">Публиковать?</label>
|
||
</div>
|
||
<input class="button" type="submit" value="Сохранить" name="ok">
|
||
|
||
<div class="alert alert-success hidden" role="alert" id="res_msg">
|
||
Вакансия успешно добавлена
|
||
</div>
|
||
|
||
</form>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
{include file=$footer plugins='
|
||
<link rel="stylesheet" href="//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css">
|
||
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
|
||
<script src="/api/jquery/plugins/jqueryui/datepicker-ru.js"></script>
|
||
'} |