| 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/hotbabes4k.com/public_html/members/ |
Upload File : |
allowchange = 1
titletxt = ""
var anc = "";
function isdefined( variable)
{
return (typeof(window[variable]) == "undefined")? false: true;
}
$( document ).ready(function() {
$( ".rating_voteable" ).hover(
function() {
pos = $(this).data("pos");
var box = $(this).parent();
votelock = $(box).data("votelock");
if (votelock == "1")
{
return;
}
$(".rating_voteable", box).each( function() {
pos2 = $(this).data("pos");
$(this).removeClass("rating_half");
$(this).removeClass("rating_empty");
$(this).removeClass("rating_unrated");
$(this).removeClass("rating_voted");
if (pos2 <= pos)
{
$(this).addClass("rating_voted")
}
else
{
$(this).addClass("rating_empty")
}
// half, empty, voted, star
});
}, function() {
var box = $(this).parent();
rating = $(box).data("rating");
voted = $(box).data("voted");
votelock = $(box).data("votelock");
if (votelock == "1")
{
return;
}
$(".rating_voteable", box).each( function() {
pos = $(this).data("pos");
$(this).removeClass("rating_half");
$(this).removeClass("rating_empty");
$(this).removeClass("rating_unrated");
$(this).removeClass("rating_voted");
if (voted == "1")
{
if (rating < (pos*2))
{
$(this).addClass("rating_empty")
}
else
{
$(this).addClass("rating_voted");
}
}
else
{
if (rating == (((pos - 1) * 2) + 1)) {
$(this).addClass("rating_half")
} else if (rating < (pos*2)) {
$(this).addClass("rating_empty")
} else {
$(this).addClass("rating_unrated")
}
}
});
}
);
$( ".rating_voteable" ).click(function() {
var box = $(this).parent();
type = $(box).data("type");
id = $(box).data("id");
pos = $(this).data("pos")
v = $(this).data("pos") * 2;
votelock = $(box).data("votelock");
if (votelock == "1")
{
return;
}
if (id == "")
{
alert("No id")
return;
}
$(box).data("votelock", "1");
if (type == "set")
{
voteobj = { contentgroup: id, vote: v, ajax: 1 }
}
else if (type == "model")
{
voteobj = { set: id, vote: v, ajax: 1}
}
else if (type == "dvd")
{
voteobj = { dvd: id, vote: v, ajax: 1}
}
else
{
alert("undefined type")
return;
}
$.get( "vote.php", voteobj)
.done(function( data ) {
if (data != "done")
{
alert("There was an error recording your vote. Please try again later");
return;
}
$(box).data("voted", 1);
$(box).data("rating", v);
$(".rating_voteable", box).each( function() {
pos2 = $(this).data("pos");
$(this).removeClass("rating_half");
$(this).removeClass("rating_empty");
$(this).removeClass("rating_unrated");
$(this).removeClass("rating_voted");
if (pos2 <= pos)
{
$(this).addClass("rating_voted")
}
else
{
$(this).addClass("rating_empty")
}
// half, empty, voted, star
});
$(box).data("votelock", "0");
})
.fail(function() {
alert("There was an error recording your vote. Please try again later");
$(box).data("votelock", "0");
});
});
});
function jsgallery(cg, id, fid, settype, mt)
{
var url="";
try
{
base = document.getElementsByTagName('base')[0].getAttribute('href')
}
catch(e)
{
base = "";
}
var url = base + "image.php?cg=" + cg + "&type=" + settype + "&id=" + fid
if (mt != "")
{
url = url + "&mt=" + mt
}
url = url + "#id=" + id
document.location = url
return false
}
function getCookie(c_name)
{
if (document.cookie.length>0)
{
c_start=document.cookie.indexOf(c_name + "=");
if (c_start!=-1)
{
c_start=c_start + c_name.length+1;
c_end=document.cookie.indexOf(";",c_start);
if (c_end==-1) c_end=document.cookie.length;
return unescape(document.cookie.substring(c_start,c_end));
}
}
return "";
}
function TrackContent(suu)
{
url = "stattrack.php?pagename=image&id=" + suu[0] + "&cg=" + suu[6] + "&type=" + suu[4] + "&mt=" + suu[5];
url = url + "&rnd=" + Math.floor(Math.random()*1000000)
if (window.XMLHttpRequest)
{
// If IE7, Mozilla, Safari, etc: Use native object
var http = new XMLHttpRequest()
}
else
{
if (window.ActiveXObject)
{
// ...otherwise, use the ActiveX control for IE5.x and IE6
var http = new ActiveXObject("Microsoft.XMLHTTP");
}
}
http.open("GET", url, false);
http.send(null);
}
// CALENDAR POPUP CODE
var ie = document.all
function positionoffset(wg, ot)
{
var toff = (ot=="left") ? wg.offsetLeft : wg.offsetTop;
var parentEl = wg.offsetParent;
while (parentEl != null)
{
toff = (ot=="left") ? toff + parentEl.offsetLeft : toff + parentEl.offsetTop;
parentEl = parentEl.offsetParent;
}
return toff;
}
function showhideobject(obj, e)
{
dropmenuobj.style.left = dropmenuobj.style.top="-500px"
if (e.type=="mouseover")
{
obj.visibility="visible"
}
}
function ietest()
{
if (document.compatMode && document.compatMode!="BackCompat")
{
return document.documentElement
}
else
{
return document.body
}
}
function clearedge(obj, wedge)
{
if (wedge=="rightedge")
{
eoffx=0
var winedge = ie && !window.opera ? ietest().scrollLeft + ietest().clientWidth-15 : window.pageXOffset+window.innerWidth - 15
dropmenuobj.contentmeasure=dropmenuobj.offsetWidth
if (winedge-dropmenuobj.x < dropmenuobj.contentmeasure)
eoffx=dropmenuobj.contentmeasure-obj.offsetWidth
return eoffx
}
else
{
eoffy=0
var topedge = ie && !window.opera? ietest().scrollTop : window.pageYOffset
var winedge=ie && !window.opera? ietest().scrollTop+ ietest().clientHeight-15 : window.pageYOffset+window.innerHeight-18
dropmenuobj.contentmeasure=dropmenuobj.offsetHeight
if (winedge-dropmenuobj.y < dropmenuobj.contentmeasure) //move up?
eoffy=dropmenuobj.contentmeasure+obj.offsetHeight
return eoffy
}
}
function displaycalendarpopup(obj, e)
{
if (window.event) event.cancelBubble=true
else if (e.stopPropagation) e.stopPropagation()
if (typeof dropmenuobj!="undefined")
dropmenuobj.style.visibility="hidden"
clearhidemenu()
dropmenuobj=document.getElementById(obj.getAttribute("popid"))
showhideobject(dropmenuobj.style, e)
dropmenuobj.x = positionoffset(obj, "left")
dropmenuobj.y = positionoffset(obj, "top")
dropmenuobj.style.left=Math.max(5, dropmenuobj.x-clearedge(obj, "rightedge")) +"px"
dropmenuobj.style.top=dropmenuobj.y-clearedge(obj, "bottomedge")+obj.offsetHeight+"px"
}
function delayhidemenu()
{
delayhide=setTimeout("dropmenuobj.style.visibility='hidden'; dropmenuobj.style.left=0; ",250)
}
function clearhidemenu()
{
if (typeof delayhide!="undefined")
clearTimeout(delayhide)
}
function popidtoelement(linkobj)
{
var relvalue=linkobj.getAttribute("popid")
return (relvalue!=null && relvalue!="" && document.getElementById(relvalue)!=null && document.getElementById(relvalue).className=="calendarpopup")? true : false
}
function initcal()
{
var all_links=document.getElementsByTagName("a")
for (var i=0; i<all_links.length; i++)
{
if (popidtoelement(all_links[i]))
{
all_links[i].onmouseover=function(e)
{
var evtobj=window.event? window.event : e
displaycalendarpopup(this, evtobj)
}
all_links[i].onmouseout=delayhidemenu
}
}
}
if (window.addEventListener)
window.addEventListener("load", initcal, false)
else if (window.attachEvent)
window.attachEvent("onload", initcal)
else if (document.getElementById)
window.onload=initcal