Files
Testing/templates/loggedout/blocked.tpl
sean 0e8a8b3028
Some checks failed
deploy-testing / deploy (push) Has been cancelled
Initial testing snapshot
2026-11-17 16:15:01 -05:00

133 lines
5.6 KiB
Smarty

{include file='header-onboard.tpl'}{literal}
<main role="main" id="internal-pages">
<div class="container">
<div class="row w-100 py-10">
<div class="clearfix"></div>
<div class="col-sm-6 fs-custom">
<div style="width: 100%; max-width: 450px; margin: 0 auto;">
<div class="col-12 mx-0 px-0 text-center">
<h1 class="text-orange">Woah, bator!</h1>
It looks like you're visiting us from a blocked region. While we work to comply with all state and international laws, some areas have unconstitutional, unjust, and impossible demands. We encourage users in these areas to contact their representatives before the free internet is permanently destroyed. For more information about which regions are affected and what you can do, check out our <a href="https://support.bateworld.com" target="_blank">FAQ</a><br>
<br>
<script>
function loadXMLDoc(lat, long)
{
var xmlhttp;
if (window.XMLHttpRequest)
{// code for IE7+, Firefox, Chrome, Opera, Safari
xmlhttp=new XMLHttpRequest();
}
else
{// code for IE6, IE5
xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
}
xmlhttp.onreadystatechange=function()
{
if (xmlhttp.readyState==4 && xmlhttp.status==200)
{
if(xmlhttp.responseText=="1"){
window.location.href="/home.php";
}
else{
document.getElementById("zips").innerHTML="It appears you're in a location that requires verification.";
}
}
}
//alert("grabzips1.php?lat="+lat+"&long="+long+"&membername="+document.getElementById("membername").value);
//alert("grabzips.php?lat="+lat+"&long="+long);
xmlhttp.open("GET","getlocation.php?s="+Math.random()+"&lat="+lat+"&long="+long);
xmlhttp.send();
//alert("grabzips1.php?lat="+lat+"&long="+long+"&membername="+document.getElementById("membername").value);
//alert("grabzips.php?lat="+lat+"&long="+long);
xmlhttp.open("GET","grabzips3.php?lat="+lat+"&long="+long+"&membername="+document.getElementById("membername").value+"&min="+document.getElementById("min").value+"&max="+document.getElementById("max").value+"&orientation="+document.getElementById("orientation").value+"&size="+document.getElementById("size").value+"&cut="+document.getElementById("cut").value+"&bodytype="+document.getElementById("bodytype").value+"&hair="+document.getElementById("hair").value+"&decoration="+document.getElementById("decoration").value+"&sortby="+document.getElementById("sortby").value+"&photo="+photo+"&online="+online+"&intro="+intro+"&motm="+motm,true);
xmlhttp.send();
//xmlhttp="";
}
var x=document.getElementById("demo");
function errorHandler(err) {
if(err.code == 1) {
//alert("Error: Access is denied!");
}
else if( err.code == 2) {
alert("Error: Position is unavailable!");
}
}
function getLocation()
{
document.getElementById("zips").innerHTML="Please wait...";
if (navigator.geolocation)
{
var options = {timeout:60000};
//navigator.geolocation.watchPosition(showPosition);
navigator.geolocation.getCurrentPosition(showPosition, errorHandler, options);
}
else{ document.getElementById("zips").innerHTML="Geolocation is not supported by this browser.";}
}
function showPosition(position)
{
loadXMLDoc(position.coords.latitude, position.coords.longitude);
}</script>
{/literal}
{*<input type="button" class="btn btn-orange d-block mx-auto" value="Verify Now" style="max-width: 327.4px; width: 100%; border-radius: 25px; padding:25px 0 25px 0 !important; font-size:20px;" onclick="window.location.href='verified.php'">*}{literal}
<a href="#" onclick="getLocation()" style="font-size:16px; color: #CCC; font-style:italic;">Think this is wrong? Click to recheck your location.</a>
<div id="zips"></div>
<div class="text-left" style="margin-top:100px; font-size:15px;">
<a href=" https://support.bateworld.com/support/solutions/articles/154000237367-where-is-bateworld-unavailable-" target="_blank">Where is BateWorld unavailable?</a>
<br>
<a href="https://support.bateworld.com/support/solutions/articles/154000231423" target="_blank">How can I stay safe online?</a>
</div>
</div>
<div class="clearfix"></div>
</div>
</div>
<div class="pull-right d-sm-block d-md-block d-none"><hr style="border:1px solid #fe8800; height:300px; width:0px;margin-top:40px;"></div>
<div class="d-block d-sm-none mx-auto " style="width:100%;"><hr style="border:1px solid #fe8800; height:0px; width:100%;margin-top:40px; "></div>
<div class="col-sm-5 text-center">
<div style="width: 100%; max-width: 400px; margin: 0 auto;">
<script>
jQuery(function(){
display_photos(38);setInterval(function() {display_photos(38)}, 120000);
});
</script>
<div class="holder sitephoto38" style="background: #000000;margin-top: 33px;" id="welcomead"></div>
<!--<a href="https://thebatorblog.com" target="_blank"><img src="images/banner-batorblog.png" alt="BatorBlog" class="img-fluid d-block mx-auto"></a>
<a href="https://thebateshop.com" target="_blank"><img src="images/banner-bateshop.png" alt="BateShop" class="img-fluid d-block mx-auto"></a>
-->
</div>
</div>
</div>
</div>
</main>
{/literal}{include file='footer-onboard.tpl'}