File manager - Edit - /home/c14075/dragmet-ural.ru/www/bitrix/templates/aspro_next/components/aspro/auth.next/main/auth.php
Back
<? if(!defined('B_PROLOG_INCLUDED') || B_PROLOG_INCLUDED !== true) die(); global $USER, $arTheme; $bPopupAuth = (isset($_POST['POPUP_AUTH']) ? $_POST['POPUP_AUTH'] === 'Y' : false); ?> <?if(!$bPopupAuth):?> <style> .personal-link[data-event]{display:none !important;} </style> <?endif;?> <?if(!$USER->IsAuthorized()):?> <?if(!isset($_SERVER["HTTP_X_REQUESTED_WITH"])):?> <?$APPLICATION->IncludeFile(SITE_DIR."include/auth_description.php", Array(), Array("MODE" => "html", "NAME" => GetMessage("AUTH_INCLUDE_AREA"), ));?> <?endif;?> <?$APPLICATION->IncludeComponent( "bitrix:system.auth.form", "main", Array( "AUTH_URL" => $arResult["SEF_FOLDER"].$arResult["URL_TEMPLATES"]["auth"], "REGISTER_URL" => $arResult["SEF_FOLDER"].$arResult["URL_TEMPLATES"]["registration"], "FORGOT_PASSWORD_URL" => $arResult["SEF_FOLDER"].$arResult["URL_TEMPLATES"]["forgot_password"], "PROFILE_URL" => $arResult["SEF_FOLDER"], "SHOW_ERRORS" => "Y", "POPUP_AUTH" => $bPopupAuth ? 'Y' : 'N', ) );?> <?else:?> <?$url = ($arTheme["PERSONAL_PAGE_URL"]["VALUE"] ? $arTheme["PERSONAL_PAGE_URL"]["VALUE"] : $arParams["SEF_FOLDER"]);?> <?LocalRedirect($url);?> <?endif;?>
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.26 |
proxy
|
phpinfo
|
Settings