AnonSec Shell
Server IP : 54.36.91.62  /  Your IP : 216.73.217.111
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_community/assets/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/coopiak/amisdesseniors-fr/components/com_community/assets/script.mobile-1.0.js
joms.$(document).ready(function()
{
	joms.$('body').delegate('a', 'click', function(event)
	{
		var link = joms.$(event.currentTarget);

		if (link.attr('target')!='page')
		{
			joms.mobile.content.load(link.attr('href'));
		} else {
			document.location.href=link.attr('href');
		}
		event.preventDefault();
	});

	joms.mobile.init();
});

joms.extend({
	mobile: {
		settings: {
			content: '#community-content'
		},
				
		init: function(settings)
		{
			// TODO: merge settings.
		},

		switchWidth: function(w)
		{
			if (w!='auto')
				w = parseInt(w);
			
			joms.$('#community-wrap').css('width', w);
		},

		content: {
			elem: function()
			{
				return joms.$(joms.mobile.settings.content);
			},

			load: function(url)
			{
				var settings = {
					url: url,
					type: 'POST',
					data: {
						'section': 'content',
						'screen' : 'mobile'
					},
					dataType: 'text',
					beforeSend: function()
					{
						joms.mobile.content.elem().empty();
						joms.mobile.content.loading(true);
					},
					success: function(data, status, xhr)
					{
						joms.mobile.content.display(data.content);
					},
					complete: function()
					{
						joms.mobile.content.loading(false);
					},
					error: function()
					{
					}					
				};

				joms.ajax.execute(settings);
			},

			loading: function(toggle)
			{
				this.elem().toggleClass('loading', toggle);
			},

			display: function(data)
			{
				this.elem().html(data);
			}
		}
	}
});

Anon7 - 2022
AnonSec Team