Files
2025-12-24 19:19:01 +03:00

71 lines
3.8 KiB
PHP
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?php $b->title_set("Вакансии - " . $b->setting_get_value("bive_site_name")); ?>
<?php $b->link_add(array("rel" => "canonical", "href" => $b->router_get_canonical_uri())); ?>
<?php $this->template_load("head.php"); ?>
<?php $this->template_load("header.php"); ?>
<section class="section first-other vacancy">
<div class="container">
<h1 class="little vacancy__heading">Вакансии</h1>
<!-- vacancies -->
<div class="vacancy__wrapper vacancy-cont">
<?php $articles = $b->setting_get_value("vacancy_articles"); ?>
<?php foreach ($articles as $arg => $article) { ?>
<article class="vacancy-cont__article vac-article">
<h2 class="vac-article__heading"><?= $article["title"]; ?></h2>
<div class="faq__accord faq-accord js-vacancyAccord">
<!-- Section -->
<?php foreach ($article["items"] as $arg => $item) { ?>
<div class="faq-accord__item accordion-item">
<div class="accordion-header faq-accord__subheading">
<div class="vac-article__wrapper row align-items-center justify-content-between">
<div class="vac-article__left col-auto">
<?= $item["title"]; ?>
</div>
<p class="vac-article__price col-auto"><?= $item["sum"]; ?></p>
</div>
</div>
<div>
<p><?= $item["description"]; ?></p>
<button class="faq-accord__btn vac-article__btn" data-popup-open="vacancy-send" data-name="<?= $item["title"]; ?>">откликнуться</button>
</div>
</div>
<?php } ?>
<!-- Section -->
</div>
</article>
<?php } ?>
</div>
<!-- vacancies end -->
</div>
</section>
<div class="popup" data-popup="vacancy-send">
<div class="popup__cont vacancy-send__cont">
<button class="popup__close" data-popup-close="vacancy-send">
<svg><use xlink:href="<?= $b->pa_get_assets_dir() ?>main/images/icons/sprite.svg#close"></use></svg>
</button>
<h3 class="popup__heading vacancy-send__heading">Откликнуться на вакансию</h3>
<div class="popup__form vacancy-form">
<form action="" class="popup-appeal">
<input type="hidden" name="url" value="<?= $b->get_view($_SERVER["REQUEST_URI"]); ?>">
<input type="hidden" name="title" value="Вакансия" class="vacancy-input-name">
<input type="text" class="input-form" placeholder="Ваше имя" name="name" />
<input type="email" class="input-form" placeholder="Ваш email" name="phone" />
<textarea class="input-form" placeholder="Ваши пожелания" name="message"></textarea>
<button class="form-btn popup-appeal__button">отправить</button>
<span class="agreement">Я согласен с условиями предоставления услуг и
<a href="/privacy">обработкой моих персональных данных</a> при нажатии "Отправить"
</span>
</form>
</div>
</div>
</div>
<script>
jQuery(document).ready(function($) {
$(".vac-article__btn").on("click", function (e) {
$(".vacancy-input-name").val("Вакансия - " + $(this).attr("data-name"));
})
});
</script>
<?php $this->template_load("footer.php"); ?>