HEX
Server: Apache
System: Linux msm5694.mjhst.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User: camjab_ssh (1000)
PHP: 5.3.29
Disabled: NONE
Upload Files
File: /home/httpd/html/freecams1.com/public_html/core/js/gdprJs.php
<?
/*
This file controls the GDPR message for your website. You can edit the text in here. Please make sure to escape quotes with \ (so they become \") as in the default html used below.
*/
include('../../admin/config.php');
?>
function mb_gdpr_warning_confirm() {
	localStorage.mb_gdpr_warning_verified = "1";
	document.getElementById("mb_gdpr_warning").remove();
}

/* edit below if you want to change the 18+ text */	
function mb_gdpr_warning() {
		$("body").prepend("<div id=\"mb_gdpr_warning\" style=\"position: fixed; display: block; color: #ffffff; bottom: 0;left: 0;width: 100%;min-height: 80px;background:rgba(0,0,0,0.9);z-index: 9999; padding: 10px 5px 10px 5px; font-size: 12px;\"><div style=\"max-width: 1200px; margin: 0 auto; verticle-align: middle;\"><a href=\"#\" style=\"display: block; float: right; margin-left: 15px;\" class=\"btn -primary fr__btn -login \" onClick=\"mb_gdpr_warning_confirm(); return false;\">Continue</a>By using the site, you acknowledge you have read our <a style=\"color: #ffffff\" href=\"/static/privacy.html\">Privacy Policy</a>, and agree to our <a style=\"color: #ffffff\" href=\"/static/tos.html\">Terms and Conditions</a>. We use cookies to improve your user experience. By continuing your browsing, you accept the use of cookies, including third-party cookies.</div></div>");
}
	
$( document ).ready(function() {
	if(localStorage.mb_gdpr_warning_verified === undefined) {
		mb_gdpr_warning();
	}
});