403Webshell
Server IP : 208.122.213.31  /  Your IP : 216.73.216.45
Web Server : Apache
System : Linux msd6191.mjhst.com 4.18.0-553.137.1.el8_10.x86_64 #1 SMP Wed Jun 24 11:40:24 UTC 2026 x86_64
User : WHMCS_MIA_382 ( 1001)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/httpd/html/makeyoujerkoff.com/htdocs/tour/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/httpd/html/makeyoujerkoff.com/htdocs/tour/js/mobileinclude.js
// This piece of code will go through every parent element pnode
// And make sure all of the children cnode on the same row are the same height.

ftime = 0;
items_height = []
old_numcols = -1;

function ResizeHeight(pnode, cnode)
{
    var maxheight = 0;
    new_numcols = 0;
    
    stor = []

	var rownum = 0;
    var last_toppos = -1;
    
    // The first time this is run, get the height of everything.
    
    if (ftime == 0)
    {
	    $(pnode).each(function() {
			items_height[items_height.length] = $(this).find(cnode).height();
		});
    }
    
    // Loop through each element, get the maximum height for each row.
    // If there hasn't been a reflow, return.
    
    $(pnode).each(function(index) {

		hdth = items_height[index]

    	this_toppos = $(this).position().top
		if (this_toppos != last_toppos)
		{
			rownum++;
			maxheight = hdth;			
		}
		
		if (rownum == 1) { new_numcols++; }
		if (rownum > 1 && new_numcols == old_numcols) { return; }

		maxheight = Math.max(maxheight, hdth);
		stor[rownum] = maxheight
		last_toppos = this_toppos
    });
   
	if (new_numcols == old_numcols) { return; }
	
	// Set the new height for each row.
   
	var rownum = 0;
    var last_toppos = -1;
    
    $(pnode).each(function() {

    	this_toppos = $(this).position().top
		if (this_toppos != last_toppos) { rownum++; }
				
		$(this).find(cnode).css({'height': (stor[rownum]) + "px"});
		last_toppos = this_toppos
    });

	old_numcols = new_numcols;

	stor = []
}

function setCookie(c_name,value,expiredays)
{
var exdate=new Date();
exdate.setDate(exdate.getDate()+expiredays);
document.cookie=c_name+ "=" +escape(value)+
((expiredays == 0) ? "" : ";expires="+exdate.toGMTString())+
";path=/";
}

function getCookie(c_name)
{
var i,x,y,ARRcookies=document.cookie.split(";");
for (i=0;i<ARRcookies.length;i++)
{
  x=ARRcookies[i].substr(0,ARRcookies[i].indexOf("="));
  y=ARRcookies[i].substr(ARRcookies[i].indexOf("=")+1);
  x=x.replace(/^\s+|\s+$/g,"");
  if (x==c_name)
    {
    return unescape(y);
    }
  }
}


Youez - 2016 - github.com/yon3zu
LinuXploit