| 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/store.tiacyrusxxx.com/public_html/designerclone/js/ |
Upload File : |
$().ready(function() {
$('#ex2').jqm({trigger: 'a.ex2trigger', modal:true});
var agreeToTos=getCookie("agreeToTos");
<?php
if(isset($_SESSION['member_id']))
{
echo "var showModalPopup = 'no';";
}
else
{
echo "var showModalPopup = 'yes';";
}
?>
var pathname = window.location.pathname; // Returns path only
if(agreeToTos != "yes" && showModalPopup != 'no' && pathname != "/legal.termsofservice.php")
{
$("a.ex2trigger").click();
}
$(".pink-button").click(function(evt){
setCookie("agreeToTos", "yes", 365);
$('#ex2').jqmHide();
evt.preventDefault();
})
});
function getCookie(cname) {//Function to get value of specified cookie
var name = cname + "=";
var ca = document.cookie.split(';');
for(var i=0; i<ca.length; i++) {
var c = ca[i];
while (c.charAt(0)==' ') c = c.substring(1);
if (c.indexOf(name) == 0) return c.substring(name.length,c.length);
}
return "";
}
function setCookie(cname, cvalue, exdays) {
var d = new Date();
d.setTime(d.getTime() + (exdays*24*60*60*1000));
var expires = "expires="+d.toUTCString();
document.cookie = cname + "=" + cvalue + "; " + expires;
}