AnonSec Shell
Server IP : 54.36.91.62  /  Your IP : 216.73.217.112
Web Server : Apache
System : Linux webm013.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
User : coopiak ( 151928)
PHP Version : 8.3.23
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/coopiak/amisdesseniors-fr/components/com_djcatalog2/assets/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/coopiak/amisdesseniors-fr/components/com_djcatalog2/assets/js/accesslogin.js
(function($){
	$(document).ready(function(){
		var loginform = $('.djc2-login-form');
		var btns = $('[data-toggle="djc2-login-form"]');
		btns.click(function(e){
			e.preventDefault();
			var btn = $(this);
			var itemid = btn.attr('data-id');
			if (itemid == 'undefined') return;
			
			var modal = $('#djc2-login-form-modal-' + itemid);
			if (modal.length) {
				modal.detach().appendTo($(document.body));
			}
			
			$.ajax({
				'method': 'post',
				'data': 'option=com_djcatalog2&task=accesslogin&id=' + itemid
			}).done(function(resp) {
				var json;
				try {
					json = JSON.parse(resp);
				} catch (e) {
					// do nothing
					return;
				}
				
				if (json.message && json.message != '') {
					alert(json.message);
				}
				if (json.body && json.body != '') {
					var formHtml = $(json.body);
					if (download = btn.attr('data-redirect')) {
						formHtml.find('input[name="return"]').val(download);
					}
					
					if (modal.length) {
						modal.find('.djc2-login-form-modal--body').html(formHtml);
						modal.modal();
					} else {
						// B/C - no modal
						var wrap = $('<div class="djc2-login-form--wrapper" />').html(formHtml);
						btn.parent().find('.djc2-login-form--wrapper').remove();
						btn.parent().append(wrap);
					}
				}
				if (json.redirect) {
					window.location.href = json.redirect;
				}
			});
		});
	});
})(jQuery);

Anon7 - 2022
AnonSec Team