Орла
Области
Компаний
Пользователи
Галерея
Фиксированные новости
Орла
Отзывы о фирмах
Тарифы
Пользователи
Области
Банкоматы
Торговые точки
Доска объявлений
Курсы валют
Скидки
организации Орла
организации области
товары
сайты
сайты Орел
Данные
Разделы
Поиск
Поиск запросы
Статистика
Показы каталога организаций
Статистика клиенты
Пользователи
Сайты
Управление сайтом
Анкета
Аптеки
Афиша
Афиша новая
Баннеры
Бизнес >
Викторина
Голосование
Гость на сайте
Истории
Календарь событий
Каталоги >
Конкурс красоты
Конкурс аудио
Консультации
Меню
Новое на сайте
Новости >
Организации >
Программа ТВ
Публикации
Разделы сайта
Рассылка
Рестораны
Секрет фирмы >
Сервисы >
Ссылки
Тесты
Файловый менеджер
Форум
Фотогалерея
Обратная связь
Недвижимость
Новый год
Тексты
Пользователи
Юридический рейтинг
Отзывы на товары
Бан пользователей
Жалобы
Новые тесты
Коронавирус
Файловый менеджер
Имя файла
UserAppBootstrap.js
Содержимое
/** * ќќќќќќќ ќќќќќќќќќ ќќќќќќќќќќ ќќќќ ќ ќќќќќќќ ќќќќќќќќќќќ * @type {{open: Messages.open}} */ var Messages = { open: function(userId) { var params = 'scrollbars=0,resizable=1,menubar=0,location=0,width=710,height=469,toolbar=0,status=0'; window.open('http://www.infoorel.ru/private/?contact=' + userId, 'im', params); return false; } }; $(function() { /** * ќќќќќќќќ ќќќќќќќќќќќ ќќќќ ќ ќќќќќќќ ќќќќќќќќќќќ */ $('.open-message-dialog').on('click', function(e) { e.preventDefault(); e.stopPropagation(); if ($(this).hasClass('open-only-new-messages')) { var params = 'scrollbars=0,resizable=1,menubar=0,location=0,width=710,height=469,toolbar=0,status=0'; window.open('http://www.infoorel.ru/private/?new', 'im', params); $('.header-message').hide(); } else { Messages.open($(this).data('user-id')); } }); /** * ќќќќќќќќќ ќќќќќќ ќќќќќќќќќќќќ */ $('#edit-user').on('submit', function(e) { e.preventDefault(); e.stopPropagation(); var $scope = $(this); var $button = $scope.find('button'); var oldButtonText = $button.text(); $button.text('ќќќќќќќќќќ ќќќќќќ...'); $button.attr('disabled', 'disabled'); $.ajax({ url: '/ajax/users/edit.php', method: 'POST', data: $scope.serializeArray(), dataType: 'json' }).then(function(response) { $button.prop('disabled', ''); $button.text(oldButtonText); if (response.success == true) { Alert.show("ќќќќќќ ќќќќќќќ ќќќќќќќќ"); } else { if (typeof response.text != "undefined") { Alert.show(response.text); } else { FormErrors.showErrors($scope, response.data); } } }).fail(function() { $button.prop('disabled', ''); $button.text(oldButtonText); Alert.show("ќќ ќќќќќ ќќќќќќќ ќќќќќќќќќ ќќќќќќ. ќќќќќќќќќќ, ќќќќќќќќќќ, ќќќќќ."); }); }); $('.change-user-password-form').on('submit', function(e) { e.preventDefault(); e.stopPropagation(); var $scope = $(this); var $button = $scope.find('button'); var oldButtonText = $button.text(); $button.text('ќќќќќќќќќќ ќќќќќќ...'); $button.attr('disabled', 'disabled'); $.ajax({ url: '/ajax/users/change_password.php', method: 'POST', data: $scope.serializeArray(), dataType: 'json' }).then(function(response) { $button.prop('disabled', ''); $button.text(oldButtonText); if (response.success == true) { Alert.show("ќќќќќќ ќќќќќќќ ќќќќќќќќ"); } else { if (typeof response.text != "undefined") { Alert.show(response.text); } else { FormErrors.showErrors($scope, response.data); } } }).fail(function() { $button.prop('disabled', ''); $button.text(oldButtonText); Alert.show("ќќ ќќќќќ ќќќќќќќ ќќќќќќќќќ ќќќќќќ. ќќќќќќќќќќ, ќќќќќќќќќќ, ќќќќќ."); }); }); /** * ќќќќќќќќ ќќќќќќќќ ќќќќќќќќќќќќ */ $('#edit-user-avatar-form').on('submit', function(e) { e.preventDefault(); var $scope = $(this); var form = document.getElementById('edit-user-avatar-form'); var formData = new FormData(form); var $button = $scope.find('button[type=submit]'); var oldText = $button.text(); $button.text('ќќќќќќќќќќ, ќќќќќќќќќ'); $button.attr('disabled', 'disabled'); var xhr = new XMLHttpRequest(); xhr.open("POST", "/ajax/users/avatar.php"); xhr.onreadystatechange = function() { if (xhr.readyState == 4) { if(xhr.status == 200) { try { var response = JSON.parse(xhr.responseText); if (response.success == true) { location.reload(); } else { FormErrors.showErrors($scope, response.data) } } catch (e) { Alert.show("ќќ ќќќќќќќ ќќќќќќќќќ ќќќќќ ќќ ќќќќќќќ."); } $button.text(oldText); $button.prop('disabled', false); } } }; xhr.send(formData); }); /** * ќќќќќќќќќќќ ќќќ ќќќќќќќќќќ ќќќќќ. */ $('form[name=auth-form]').on('submit', function(e) { e.preventDefault(); e.stopPropagation(); var $scope = $(this); var $button = $scope.find('button[type=submit]'); var oldButtonText = $button.text(); $button.text('ќќќќќќќќќќ, ќќќќќќќќќ...'); $button.attr('disabled', 'disabled'); $.ajax({ url: '/ajax/users/auth.php', type: 'POST', dataType: 'json', data: $scope.serializeArray() }).then(function(response) { if (response.success == true) { location.reload(); } else { Alert.show(response.text); } $button.prop('disabled', false); $button.text(oldButtonText); }).fail(function() { Alert.show("ќќ ќќќќќ ќќќќќќќќќќќ ќќќќќќќќќ ќќќќќќ."); $button.prop('disabled', false); $button.text(oldButtonText); }); }); /** * ќќќќќќќќќќќ ќќќ ќќќќќќќќќќ ќќќќќ */ $('.jq-register-button').on('click', function() { if (typeof SiteCaptcha !== 'undefined') { SiteCaptcha.mountAll(); } registrationModal.show(); setTimeout(function() { if (typeof SiteCaptcha !== 'undefined') { SiteCaptcha.mountAll(); SiteCaptcha.refresh($('#jq-registration-form')); } }, 400); }); /** * ќќќќќќќќќќќќќќ ќќќќќќ */ $('.jq-restore-button').on('click', function() { if (typeof SiteCaptcha !== 'undefined') { SiteCaptcha.mountAll(); } restorePasswordModal.show(); setTimeout(function() { if (typeof SiteCaptcha !== 'undefined') { SiteCaptcha.mountAll(); SiteCaptcha.refresh($('#jq-restore-password-form')); } }, 400); }); /** * ќќќќќќќќ ќќќќќ ќќќ ќќќќќќќќќќќќќќ ќќќќќќ */ $('#jq-restore-password-form').on('submit', function(e) { e.preventDefault(); e.stopPropagation(); var $scope = $(this); var $button = $scope.find('button[type=submit]'); var oldButtonText = $button.text(); $button.text('ќќќќќќќќќќ, ќќќќќќќќќ.'); $button.attr('disabled', 'disabled'); $.ajax({ url: '/ajax/users/restore_password.php', method: 'POST', dataType: 'json', data: $scope.serializeArray() }).then(function(response) { try { if (response.success == true) { restorePasswordModal.hide(); Alert.success("ќќќ ќќќќќќ ќќќќќќќќќ ќќ ќќќќќќќќќ ќќќќќ!", true); } else { if (typeof refreshSiteCaptcha === 'function') { refreshSiteCaptcha(); } FormErrors.showErrors($scope, response.data); } } catch (e) { // nothing } $button.prop('disabled', false); $button.text(oldButtonText); }).fail(function() { $button.prop('disabled', false); $button.text(oldButtonText); Alert.show("ќќ ќќќќќ ќќќќќќќќќќќќќќ ќќќќќќ ќќќќќќќќќ ќќќќќќ. ќќќќќќќќќќ, ќќќќќќќќќќ, ќќќќќ."); }); }); $('#jq-registration-form').on('submit', function(e) { e.preventDefault(); e.stopPropagation(); var $scope = $(this); var $button = $scope.find('button[type=submit]'); var oldButtonText = $button.text(); $button.text('ќќќќќќќќќќ, ќќќќќќќќќ.'); $button.attr('disabled', 'disabled'); $.ajax({ url: '/ajax/users/registration.php', method: 'POST', dataType: 'json', data: $scope.serializeArray() }).then(function(response) { try { if (response.success == true) { registrationModal.hide(); Alert.success("ќќ ќќќќќќќ ќќќќќќќќќќќќќќќќќќ ќќ ќќќќќ. ќќќќќќ ќќ ќќќќ ќќќќќќќќќќќ ќќќќќ ќќќќ ќќќќќќќќќќ ќќќќќќ ќ ќќќќќ ќќќќќќќќќ. ќќќќќќќќќ ќќќќ ќќќќќќќќќќќ ќќќќќ.", true); } else { if (typeof refreshSiteCaptcha === 'function') { refreshSiteCaptcha(); } FormErrors.showErrors($scope, response.data); } } catch (e) { // nothing } $button.prop('disabled', false); $button.text(oldButtonText); }).fail(function() { $button.prop('disabled', false); $button.text(oldButtonText); Alert.show("ќќ ќќќќќ ќќќќќќќќќќќ ќќќќќќќќќ ќќќќќќ. ќќќќќќќќќќ, ќќќќќќќќќќ, ќќќќќ."); }); }); /** * ќќќќќќќќќќќќќ ќќќќќќ ќ ќќќќќќ. */ $('.jq-accept-friend-action').on('click', function(e) { e.preventDefault(); var $scope = $(this); var friendId = $scope.data('user-id'); $.ajax({ url: '/ajax/users/friends.php?route=accept_friend', data: { friend_id: friendId, }, type: 'POST', dataType: 'json' }).then(function(response) { if (response.success == true) { location.reload(); } else { Alert.error(response.text); } }).fail(function() { Alert.error('ќќќ ќќќќќќќќ ќќќќќќќ ќќќќќќќќќ ќќќќќќ. ќќќќќќќќќќ, ќќќќќќќќќќ ќќќќќ'); }) }); /** * ќќќќќќќќќќ ќ ќќќќќќ. */ $('.jq-add-to-friend-action').on('click', function(e) { e.preventDefault(); var $scope = $(this); var friendId = $scope.data('user-id'); $.ajax({ url: '/ajax/users/friends.php?route=add_to_friend', data: { friend_id: friendId, }, type: 'POST', dataType: 'json' }).then(function(response) { if (response.success == true) { location.reload(); } else { Alert.error(response.text); } }).fail(function() { Alert.error('ќќќ ќќќќќќќќ ќќќќќќќ ќќќќќќќќќ ќќќќќќ. ќќќќќќќќќќ, ќќќќќќќќќќ ќќќќќ'); }) }); /** * ќќќќќќќ ќќ ќќќќќќ. */ $('.jq-delete-friend-action').on('click', function(e) { e.preventDefault(); var $scope = $(this); var friendId = $scope.data('user-id'); $.ajax({ url: '/ajax/users/friends.php?route=delete_friend', data: { friend_id: friendId, }, type: 'POST', dataType: 'json' }).then(function(response) { if (response.success == true) { location.reload(); } else { Alert.error(response.text); } }).fail(function() { Alert.error('ќќќ ќќќќќќќќ ќќќќќќќ ќќќќќќќќќ ќќќќќќ. ќќќќќќќќќќ, ќќќќќќќќќќ ќќќќќ'); }) }); });
/js/2.0/users/
Имя
Дата
Размер
..
2026-05-25
Auth.js
2026-06-05
5 кб.
Auth.js~
2019-03-07
5 кб.
CommentUserRating.js
2019-01-24
4 кб.
EditOrganization.js
2017-04-13
10 кб.
EditOrganization_old.js
2017-04-04
10 кб.
NotificationApp.js
2019-02-15
559 байт
UserApp.js
2026-06-05
15 кб.
UserApp.js~
2019-01-24
13 кб.
UserAppBootstrap.js
2026-06-05
12 кб.
UserAppBootstrap.js~
2019-03-06
11 кб.
/js/2.0/users
Загрузить файлы
Файл 1
Файл 2
Файл 3