require($_SERVER["DOCUMENT_ROOT"]."/bitrix/header.php");
$APPLICATION->SetTitle("Профиль");
$APPLICATION->IncludeComponent( "bitrix:breadcrumb", "top", Array(
"PATH" => "",
"SITE_ID" => "s1",
"START_FROM" => 0
) );
?>
if( !$_GET['forgot_password']): ?>
$APPLICATION->IncludeComponent(
"bitrix:system.auth.confirmation",
"",
Array(
"CONFIRM_CODE" => "confirm_code",
"LOGIN" => "login",
"USER_ID" => "confirm_user_id"
)
);?>
endif; ?>
if($_GET['forgot_password']=='yes'): ?>
$APPLICATION->IncludeComponent(
"bitrix:system.auth.forgotpasswd",
".default",
Array(
'REGISTER_URL' => '/register/',
'PROFILE_URL' => '/profile/?forgot_password=yes'
)
);?>
endif; ?>