<?
use Bitrix\Main\Application;
use Bitrix\Main\Page\Asset;
use Bitrix\Main\IO\File;
//Asset::getInstance()->addJs(MARKUP_PATH . "/dist/main.min.js");
?>
<!--<script src="--><?//= Asset::getInstance()->getAssetPath(MARKUP_PATH . '/dist/main.min.js?')?><!--?--><?//=(new File(Application::getDocumentRoot() . MARKUP_PATH . '/dist/main.min.js'))->getModificationTime()?><!--"></script>-->
            <footer class="footer">
                <div class="wrapper">
                    <div class="container">
                        <div class="footer__content">
                            <? $APPLICATION->IncludeComponent(
                                'bitrix:main.include',
                                '',
                                array(
                                    'AREA_FILE_SHOW' => 'file',
                                    'AREA_FILE_SUFFIX' => 'inc',
                                    'EDIT_TEMPLATE' => '',
                                    'PATH' => SITE_TEMPLATE_PATH . '/include/footer/logo.php'
                                )
                            ); ?>

                            <? $APPLICATION->IncludeComponent(
                                'bitrix:menu',
                                'footer-menu',
                                array(
                                    "ALLOW_MULTI_SELECT" => "N",
                                    "CHILD_MENU_TYPE" => "",
                                    "DELAY" => "N",
                                    "MAX_LEVEL" => "1",
                                    "MENU_CACHE_GET_VARS" => array(
                                        0 => "",
                                    ),
                                    "MENU_CACHE_TIME" => "3600",
                                    "MENU_CACHE_TYPE" => "A",
                                    "MENU_CACHE_USE_GROUPS" => "Y",
                                    "ROOT_MENU_TYPE" => "bottom",
                                    "USE_EXT" => "N",
                                ),
                                false
                            ); ?>

<!--                            --><?// $APPLICATION->IncludeComponent(
//                                'bitrix:main.include',
//                                '',
//                                array(
//                                    'AREA_FILE_SHOW' => 'file',
//                                    'AREA_FILE_SUFFIX' => 'inc',
//                                    'EDIT_TEMPLATE' => '',
//                                    'PATH' => SITE_TEMPLATE_PATH . '/include/footer/socials.php'
//                                )
//                            ); ?>
                        </div>
                        <? $APPLICATION->IncludeComponent(
                            'bitrix:main.include',
                            '',
                            array(
                                'AREA_FILE_SHOW' => 'file',
                                'AREA_FILE_SUFFIX' => 'inc',
                                'EDIT_TEMPLATE' => '',
                                'PATH' => SITE_TEMPLATE_PATH . '/include/footer/subcontent.php'
                            )
                        ); ?>
                    </div>
                </div>
            </footer>
        </div>
        <div id="success-modal" class="modal">
            <div class="success-modal-body">
                <h3> </h3>
            </div>
        </div>

<?
include_once($_SERVER['DOCUMENT_ROOT'] . '/bitrix/modules/main/classes/general/captcha.php');
$cpt = new CCaptcha();
$captchaPass = COption::GetOptionString('main', 'captcha_password', '');
if (strlen($captchaPass) <= 0) {
    $captchaPass = randString(8);
    COption::SetOptionString('main', 'captcha_password', $captchaPass);
}
$cpt->SetCodeCrypt($captchaPass);
?>
<div id="subscribe-modal" class="modal form-modal">
    <div class="direct-mail-modal-body">
        <p class="form-description"> .         .</p>
        <div class="js-error-show"></div>
        <form action="" class="reviews-form subscribe-form-js">
            <input name="userName" type="text" class="input-gray reviews-form-input" placeholder=",  *">
            <input name="phone" type="text" class="input-gray reviews-form-input" placeholder="">
            <input name="email" type="text" class="input-gray reviews-form-input" placeholder="E-mail">
            <input name="company" type="text" class="input-gray reviews-form-input" placeholder="  *">
            <input name="city" type="text" class="input-gray reviews-form-input" placeholder=" *">
            <div class="captcha-wrapper">
                <input name="captcha_word" type="text" class="input-gray input-captcha" placeholder="   *">
                <input name="captcha_code" value="<?= htmlspecialchars($cpt->GetCodeCrypt()); ?>" type="hidden" id="captcha_sid">
                <img src="/bitrix/tools/captcha.php?captcha_code=<?= htmlspecialchars($cpt->GetCodeCrypt()); ?>" id="CaptchaImage">
                <a href="" id="reloadCaptcha">
                    <img src="/local/templates/ural-press/assets/img/ic_reload_captcha.png" alt="">
                </a>
            </div>

            <div class="form-check-wrap">
                <div class="form-check">
                    <input name="access" type="checkbox" class="form-check-input" id="reviews-check" checked="checked" value="Y">
                    <label class="form-check-label" for="reviews-check">    </label>
                </div>
                <button type="submit" class="reviews-form-btn btn-blue" rel="modal:open"></button>
            </div>
        </form>
    </div>
</div>

<div id="reviews-show-modal" class="modal">
    <div class="reviews-show-body">
        <img class="reviews-modal-img">
    </div>
</div>
    </body>
</html>