| Server IP : 208.122.213.31 / Your IP : 216.73.216.185 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/lexilunaxxx.com/public_html/js/ |
Upload File : |
!function(a){a.fn.equalHeights=function(){var b=0,c=a(this);return c.each(function(){var c=a(this).innerHeight();c>b&&(b=c)}),c.css("height",b)},a("[data-equal]").each(function(){var b=a(this),c=b.data("equal");b.find(c).equalHeights()})}(jQuery);
$( document ).ready(function() {
$(".convert_unixtime").each( function(e) {
vx = $(this).html();
vs = new Date(vx * 1000);
$(this).html( convert_fromunixtime(vs) );
});
$(".hide_if_live").each( function(e) {
var t = $(this).data("time");
var u = new Date(t * 1000);
var c = new Date();
if (c < u)
{
$(this).show();
}
});
$(".show_if_live").each( function(e) {
var t = $(this).data("time");
var u = new Date(t * 1000);
var c = new Date();
if (c >= u)
{
$(this).show();
}
});
lsb = $("#live_show_box");
st = $("#live_show_box").data("start")
ed = $("#live_show_box").data("end")
if (st == undefined) return;
ct = $("#live_show_box").data("currtime")
var s = new Date(st * 1000);
var e = new Date(ed * 1000);
var live_int = setInterval(function(){
var c = new Date();
fullt = convert_fromunixtime(s);
if (c > e)
{
$(".live_show_wrapper").fadeOut();
clearInterval(live_int);
}
else if (s > c)
{
$("#live_show_fulltime").html(fullt);
$("#live_show_fulltime").fadeIn();
tm = Math.floor(s.getTime() - c.getTime() ) / 1000;
st = Math.floor(tm / 86400);
if (st < 10) st = "0" + st;
tm = tm % 86400;
$("#live_show_days").html(st);
st = Math.floor(tm / 3600);
if (st < 10) st = "0" + st;
tm = tm % 3600;
$("#live_show_hours").html(st);
st = Math.floor(tm / 60);
if (st < 10) st = "0" + st;
tm = tm % 60;
$("#live_show_minutes").html(st);
st = Math.floor(tm);
if (st < 10) st = "0" + st;
tm = tm;
$("#live_show_seconds").html(st);
$("#live_show_now").fadeOut("400", function() {
$("#live_show_future").fadeIn();
});
}
else
{
if (lsb.data("refresh") == "1")
{
clearInterval(live_int);
document.location.reload();
return;
}
$("#live_show_days").html("00");
$("#live_show_hours").html("00");
$("#live_show_minutes").html("00");
$("#live_show_seconds").html("00");
$("#live_show_fulltime").fadeOut(400, function() {
$("#live_show_watchnow").fadeIn();
});
$("#live_show_future").fadeOut(400, function() {
$("#live_show_now").fadeIn();
});
}
}, 1000);
});
function convert_fromunixtime(s)
{
var w = ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"];
var m = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"];
var h = s.getHours();
var ampm = (h > 11) ? "pm" : "am";
var min = s.getMinutes();
h -= (h > 11) ? 12 : 0;
h = (h == 0) ? 12 : h;
if (min < 10) min = "0" + min;
return w[s.getDay()] + " " + m[s.getMonth()] + " " + s.getDate() + ", " + s.getFullYear() + " " + h + ":" + min + ampm;
}
function playFlash(v)
{
ret = tlimit();
if (ret == true)
{
window.open('showflash.php?m=' + v,'','width=700,height=500')
}
}
ctlimit_name = 'tlimit';
function tlimit(){
if(!(limit = getCookieTLimit(ctlimit_name))) //counter for this user doesn't exist
{
setCookieTLimit(ctlimit_name,1,dayslimit);
return true;
}
else //counter for the user exist
{
if(parseInt(getCookieTLimit(ctlimit_name)) >= maxClicks) // the limit of the counter is reached
{
return false;
}
else //increase the limit of the counter redirect to the members page
{
setCookieTLimit(ctlimit_name,parseInt(getCookieTLimit(ctlimit_name))+1,dayslimit);
return true;
}
}
}
function setCookieTLimit(c_name,value,expiredays)
{
var exdate=new Date();
exdate.setDate(exdate.getDate()+expiredays);
document.cookie = c_name+ "=" +escape(value) + ";path=/" +((expiredays==null) ? "" : ";expires="+exdate.toGMTString());
}
function getCookieTLimit(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 false;
}
function loadbanner()
{
if (remaining < 1)
{
$(".replay").hide();
}
var instance = $.fancybox.getInstance();
// If there is no Fancybox active, open a new one:
if( instance == false ){
$.fancybox.open( $("#hpromo"), {
infobar : false,
toolbar : true,
touch : false,
smallBtn : false,
buttons : ['close'],
});
$(".replay").hide();
} else {
//If there is a current Fancybox, replace it's content with the #hpromo:
$(".fancybox-slide--current .trailer_player").find("#mediaspace").hide();
$("#hpromo").clone().appendTo( ".fancybox-slide--current .trailer_player" );
$(".fancybox-slide--current .trailer_player").find( "#hpromo" ).show();
}
}
tvv = "";
function tload(v)
{
tvv = v;
ret = tlimit();
lmt = getCookieTLimit(ctlimit_name)
remaining = maxClicks - lmt;
if (typeof $("#vod_trailer_bottom").html() != "undefined")
{
ttl = $("#vod_trailer_bottom").html();
ttl = ttl.replace("##freepreviews##", Math.max(0, remaining));
}
else
{
ttl = "<span class='views_remaining' style='display:block; text-align:center; margin-top:10px;'>You have " + Math.max(0, remaining) + " free previews remaining.</span>";
}
if (ret == true)
{
var ex_player = false;
cont = "<div class=\"trailer_player\"><div id=\"mediaspace\"></div></div>";
if (document.getElementById("hiddensocial"))
{
cont = cont + "<div align='center'>" + document.getElementById("hiddensocial").innerHTML + "</div>"
}
w = Math.min($(window).width() * 0.85, 960);
h = w / 16 * 9;
ext = v.split('.').pop().split("?").shift();
var plg1_streamer = (typeof pl1_streamer === 'undefined') ? "" : pl1_streamer;
var plg1_type = (typeof pl1_type === 'undefined') ? "" : pl1_type;
var plg2_streamer = (typeof pl2_streamer === 'undefined') ? "" : pl2_streamer;
var plg2_type = (typeof pl2_type === 'undefined') ? "" : pl2_type;
flashVersion = "";
try {
try {
// avoid fp6 minor version lookup issues
// see: http://blog.deconcept.com/2006/01/11/getvariable-setvariable-crash-internet-explorer-flash-6/
var axo = new ActiveXObject('ShockwaveFlash.ShockwaveFlash.6');
try { axo.AllowScriptAccess = 'always'; }
catch(e) { hasFlash = false; }
} catch(e) {}
flashVersion = new ActiveXObject('ShockwaveFlash.ShockwaveFlash').GetVariable('$version').replace(/\D+/g, ',').match(/^,?(.+),?$/)[1].split(',').shift();
// other browsers
} catch(e) {
try {
if(navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin){
flashVersion = (navigator.plugins["Shockwave Flash 2.0"] || navigator.plugins["Shockwave Flash"]).description.replace(/\D+/g, ",").match(/^,?(.+),?$/)[1].split(',').shift();
}
} catch(e) {}
}
if (flashVersion == "") { hasFlash = false; }
else if (flashVersion < 10) { hasFlash = false; }
else { hasFlash = true; }
var testEl = document.createElement( "video" );
h264 = false;
m3u8 = false;
if (testEl.canPlayType)
{
h264 = "" !== ( testEl.canPlayType( 'video/mp4; codecs="avc1.42E01E"' ) || testEl.canPlayType( 'video/mp4; codecs="avc1.42E01E, mp4a.40.2"' ) );
m3u8 = "" !== ( testEl.canPlayType( 'application/x-mpegURL;' ) );
}
var ie = (function(){
var undef,
v = 3,
div = document.createElement('div'),
all = div.getElementsByTagName('i');
while (
div.innerHTML = '<!--[if gt IE ' + (++v) + ']><i></i><![endif]-->',
all[0]
);
return v > 4 ? v : undef;
}());
/*var lst = [];
playerlist = {}
passobj = {};
passobj.mode = 'auto';
passobj.enablePluginSmoothing = true;
if (ie == 9) passobj.mode = "auto_plugin";
if (navigator.platform.indexOf("Win") == -1 && navigator.userAgent.indexOf("Firefox/") != -1) passobj.mode = "auto_plugin";*/
var lst = [];
var playerlist = {}
var uimage = "";
wdth = 50;
hdth = 50;
var started = 0;
passobj = {};
passobj.renderers = [];
//if (ie == 9) passobj.renderers = ['flash_video', 'flash_hls'];
//if (navigator.platform.indexOf("Win") == -1 && navigator.userAgent.indexOf("Firefox/") != -1) passobj.renderers = ['flash_video', 'flash_hls'];
passobj.pluginPath = "./js/mp4x/";
extl = [];
extl["m4v"] = "video/mp4";
extl["m3u8"] = "application/x-mpegURL";
if (extl[ext] != undefined)
{
playerlist.type = extl[ext]
}
else
{
playerlist.type = "video/" + ext;
}
if ((ext == "mp4" || ext == "m4v" || ext == "f4v"))
{
fl_streamer = plg2_streamer;
fl_type = plg2_type;
rtmp_prefix = "mp4"
}
else if (ext == "m3u8")
{
fl_streamer = plg1_streamer;
fl_type = plg1_type;
rtmp_prefix = ""
if (fl_type == "rtmp")
{
fl_streamer = "";
fl_type = "video";
}
// Try to force flash for m3u8. Turned off due to HLS.js support
if (m3u8) passobj.renderers = ['native_hls'];
if (!m3u8 && hasFlash) passobj.renderers = ['flash_hls', 'flash_video'];
if (!m3u8 && !hasFlash) return;
}
else if (ext == "flv")
{
fl_streamer = plg1_streamer;
fl_type = plg1_type;
rtmp_prefix = "flv"
}
else if (ext == "wmv")
{
// WMV no longer supported as embed.
return;
fl_streamer = plg1_streamer;
fl_type = plg1_type;
rtmp_prefix = ""
}
else
{
fl_streamer = plg1_streamer;
fl_type = plg1_type;
rtmp_prefix = ""
}
if (fl_type == "lighttpd")
{
playerlist.src = v;
passobj.enablePseudoStreaming = true;
lst[lst.length] = playerlist;
}
else if (fl_type == "http" && (fl_streamer.indexOf("stream.php") != -1) && (rtmp_prefix == "flv"))
{
playerlist.src = fl_streamer + "?file=" + encodeURI(v);
lst[lst.length] = playerlist;
}
else if (fl_type == "http")
{
// console.log("Please contact CMS support to setup / configure pseudostreaming")
playerlist.src = v;
lst[lst.length] = playerlist;
}
else if (fl_type == "rtmp" && hasFlash)
{
playerlist.src = fl_streamer + "/" + rtmp_prefix + ":" + v;
passobj.mode = "shim";
lst[lst.length] = playerlist;
}
else if (fl_type == "wowza")
{
passobj.mode = "auto_plugin";
pcnt = 0;;
flx = v.replace(/([^:])\/\//g, "$1/").split("/")
fl2 = flx.pop();
fl1 = flx.join("/");
fls = fl_streamer.replace("http://", "").replace("rtmp://", "");
if (hasFlash)
{
pcnt++;
playerlist.src = "rtmp://" + fls + "/" + rtmp_prefix + ":" + v;
lst[lst.length] = playerlist;
}
if (m3u8)
{
pcnt++;
playerlist.src = "http://" + fls + "/_definst_/" + fl1 + "/" + rtmp_prefix + ":" + fl2 + "/playlist.m3u8";
lst[lst.length] = playerlist;
}
if (pcnt == 0)
{
playerlist.src = v;
lst[lst.length] = playerlist;
}
}
else
{
playerlist.src = v;
lst[lst.length] = playerlist;
}
var txt = '<video autoplay="true" width="' + w + '" height="' + h + '" id="mediabox"'
txt = txt + '>';
for(i = 0; i < lst.length; i++)
{
txt = txt + "\n" + '<source type="' + lst[i].type + '" src="' + lst[i].src + '" />';
}
txt = txt + '</video>';
passobj.success = function(media, node, player) {
// media.play();
media.addEventListener('ended', function(e){
loadbanner();
});
};
if( $(window).width() < 768 ){
var fb_padding = 5;
} else {
var fb_padding = 10;
}
//$.fancybox.open( 'grp', {
$.fancybox.open( cont, {
//caption: ttl,
margin: [fb_padding,0],
infobar : false,
toolbar : true,
touch : false,
smallBtn : false,
buttons : ['close'],
minWidth: w,
minHeight:h,
afterShow: function () {
$("#mediaspace").html(txt + ttl);
$('#mediabox').mediaelementplayer(passobj);
},
});
}
else
{
loadbanner();
}
}
function replay()
{
var instance = $.fancybox.getInstance();
instance.close();
tload(tvv);
}
function setCookie(c_name,value,expiredays)
{
var exdate=new Date();
exdate.setDate(exdate.getDate()+expiredays);
document.cookie=c_name+ "=" +escape(value)+ ";path=/" +
((expiredays==null) ? "" : ";expires="+exdate.toGMTString());
}
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 "";
}
/*
Instructions for rotating headers:
This code will rotate through a series of header images uploaded to the tour's images/header/ folder.
To change the number of headers it uses:
1) Change var numt = 5 to the number of headers you want to rotate
2) Change setCookie("numheader", rnd, 5) to the number of headers you want to rotate
*/
$(document).ready(function() {
var numt = 5
if (numt > 1)
{
var oldcook = getCookie("numheader")
if (oldcook == "")
{
rnd = Math.floor(Math.random()*numt) + 1
}
else
{
do
{
rnd = Math.floor(Math.random()*numt) + 1
} while (rnd == oldcook)
}
setCookie("numheader", rnd, 5)
}
else
{
var rnd = 1
}
if ($(".header_image").length > 0)
{
$(".header_image").attr("src", $(".header_image").attr("src").replace("header.jpg", "header" + rnd + ".jpg"))
}
// if ($(".join_header_image").length > 0)
// {
// $(".join_header_image").attr("src", $(".join_header_image").attr("src").replace("header.jpg", "header" + rnd + ".jpg"))
// }
if ($(".tour_header_image").length > 0)
{
$(".tour_header_image").attr("src", $(".tour_header_image").attr("src").replace("header.jpg", "header" + rnd + ".jpg"))
}
});