. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . AnonSec Shell
AnonSec Shell
Server IP : 94.23.64.18  /  Your IP : 216.73.216.185   [ Reverse IP ]
Web Server : Apache
System : Linux webm005.cluster107.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
User : villadal ( 6036)
PHP Version : 7.4.33
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
Domains : 2 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/villadal/www/old/booked/Web/scripts/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /home/villadal/www/old/booked/Web/scripts/dashboard.js
function Dashboard(opts)
{
	var options = opts;
	
	Dashboard.prototype.init = function()
	{
		$(".dashboard").each(function() { 
			var id = $(this).attr('id');
			var visibility = readCookie(id);
			if (visibility == '0')
			{
				$(this).find('.dashboardContents').hide();
			}
			
			$(this).find('.dashboardHeader a').click(function() {
				var dashboard = $(this).parents('.dashboard').find('.dashboardContents');
				var id = dashboard.parent().attr('id');
				if (dashboard.css('display') == 'none')
				{
					createCookie(id,'1',30);
					dashboard.show();
				}
				else
				{
					createCookie(id,'0',30);
					dashboard.hide();
				}
			});
		});
		
		$(".reservation").each(function() {
			var refNum = $(this).attr('id');

			$(this).qtip({
				position: 
				{
				      my: 'bottom left',  
				      at: 'top left',
				      target: $(this)
				},

				content:
				{
					text: 'Loading...',
					ajax: 
					{
				         url: options.summaryPopupUrl,
				         type: 'GET',
				         data: { id: refNum },
				         dataType: 'html'
			      	}
				},
				
				show: 
				{
					delay: 700
				}

			});
			
			$(this).hover(
				 function () {
				    $(this).addClass('hover');
				  }, 
				  function () {
				    $(this).removeClass('hover');
				  }
			);
			
			$(this).mousedown(function() { 
				$(this).addClass('clicked'); 
			});
		    	
		    $(this).mouseup(function() { 
				$(this).removeClass('clicked'); 
			});
		    
		    $(this).click(function() {
		    	window.location = options.reservationUrl + refNum;
		    });
		})
	}
}

Anon7 - 2022
AnonSec Team