SetTitle("Авторизация"); ?> IncludeFile(SITE_DIR."include/auth_description.php", Array(), Array("MODE" => "html", "NAME" => GetMessage("AUTH_INCLUDE_AREA"), ));?> IsAuthorized()){ $APPLICATION->IncludeComponent( "bitrix:system.auth.form", "main", Array( "REGISTER_URL" => SITE_DIR."auth/registration/", "PROFILE_URL" => SITE_DIR."auth/forgot-password/", "SHOW_ERRORS" => "Y" ) ); }elseif( !empty( $_REQUEST["backurl"] ) ){ LocalRedirect( $_REQUEST["backurl"] ); }else{ LocalRedirect(SITE_DIR.'personal/'); }?>