Тип запроса*
Ваше имя*
Ваш e-mail*
Сообщение*
Изображение
Введите символы с картинки*

* - Поля, обязательные для заполнения

') } else { $('.authorize_modal_container .error_message').html(data.ansver); } setTimeout("$('input[name=send_REGUS]').val('N');", 5000); }, "json"); } else { $('.authorize_modal_container .error_message').html(errorText); } }); $('#send_activation_repeat').click(function() { var user_login = $('form[name^=system_auth_form] input[name=USER_LOGIN]').val(); var sending_request = $('input[name=send_RPUS]').val(); if(sending_request != "N") return false; $('input[name=send_RPUS]').val("Y"); $.post('/bitrix/templates/biz_s_adaptive2/ajax/register.php', { action: 'send_activation_repeat', user_login: user_login }, function(data) { if(data.new_view) { $('#send_activation_repeat').text('Письмо отправлено'); $('.authorize_modal_container .error_message').html(''); setTimeout("$('input[name=send_RPUS]').val('N');", 5000); } }, "json"); }); $('.forgotpasswd_modal_container').on('click', 'input[name=send_account_info]', function() { var sending_request = $('input[name=send_RPUS]').val(); if(sending_request != "N") return false; $('input[name=send_RPUS]').val("Y"); $.post('/bitrix/templates/biz_s_adaptive2/ajax/register.php', { action: 'forgotpassword_user', user_email: $('.forgotpasswd_modal_container input[name=USER_EMAIL]').val(), site_id: 's4' }, function(data) { $('.forgotpasswd_modal_container .error_container').html(data.ansver); if(data.new_view) { setTimeout("$('.forgotpasswd_modal_container .error_container').html(''); $('.modal-log .forgotpasswd_modal_container').hide(0); $('.modal-log .authorize_modal_container').show(0);", 10000); } else { setTimeout("$('input[name=send_RPUS]').val('N');", 5000); } }, "json"); }); });