Files
Testing/templates/header_global.tpl
sean 0e8a8b3028
Some checks are pending
deploy-testing / deploy (push) Waiting to run
Initial testing snapshot
2026-11-17 16:15:01 -05:00

287 lines
12 KiB
Smarty

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns='http://www.w3.org/1999/xhtml' class="no-js"><head>
{* if $rd>0}<script>location.reload();</script>{else}{if SE_DEBUG1}<script>alert("{$rd}");</script>{/if}{/if *}
{literal} <!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-NR5CPDK');</script>
{/literal}
<title>{lang_print id=642}{if $seotitle!=""} - {$seotitle}{else}{if $global_page_title != ""} - {lang_sprintf id=$global_page_title[0] 1=$global_page_title[1] 2=$global_page_title[2]}{/if}{/if}</title>
<!--<base href='{$url->url_base}' />-->
<meta name="viewport" content="width=device-width, initial-scale=1.0"><meta http-equiv='Content-Type' content='text/html; charset=UTF-8' /><!--[if IE 8]><meta http-equiv="X-UA-Compatible" content="IE=8" /> <![endif]--><!--[if IE 7]><meta http-equiv="X-UA-Compatible" content="IE=7" /> <![endif]-->
<meta name='Description' content="{if $seodesc!=""}{$seodesc}{else}{if $global_page_description != ""}{lang_sprintf id=$global_page_description[0] 1=$global_page_description[1] 2=$global_page_description[2]}{else}{lang_print id=1156}{/if}{/if}" />
<meta name="RATING" content="RTA-5042-1996-1400-1577-RTA" /><meta name="google-site-verification" content="Pu0HekiEIVsFUxVxQ7-awcOSzsqdgfBLRzT0qKplPzc" />
<link rel="stylesheet" href="{$imagecdn}/templates/style-min.css?s=58" title="stylesheet" type="text/css" />
<link rel="stylesheet" href="{$imagecdn}/templates/overrides.css?v=4" title="stylesheet" type="text/css" />
{*<link href="{$imagecdn}/jackbox/css/jackbox.min.css" rel="stylesheet" type="text/css" /><!--[if lt IE 9]><link href="jackbox/css/jackbox-ie8.css" rel="stylesheet" type="text/css" /><script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]--><!--[if gt IE 8]><link href="jackbox/css/jackbox-ie9.css" rel="stylesheet" type="text/css" /><![endif]-->*}
<script data-cookieconsent="ignore" type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>{literal}
<script>
if (typeof jQuery === 'undefined') {
document.write('<script src="{$imagecdn}/js/jquery-1.7.2.min.js"><\/script>');
}
</script>{/literal}
<script>window.jQuery.ui || document.write("<script src='/js/jquery-ui.min.js'>\x3C/script>")</script><script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-migrate/1.2.1/jquery-migrate.min.js"></script><script type="text/javascript">jQuery.noConflict();</script><script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
<script src="/include/js/lep_common.js?s=66"></script>
<link rel="shortcut icon" href="{$imagecdn}/favicon.ico" /><script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/mootools/1.2.5/mootools-yui-compressed.js"></script><script type="text/javascript" src="{$imagecdn}/include/js/mootools-more-1.2.5-1-min.js?a"></script>
<script type="text/javascript" src="{$imagecdn}include/js/core-unmin3.js?s=13"></script>
{*<script type="text/javascript" src="{$imagecdn}include/js/core-min2.js?s=6"></script>*}
<script type="text/javascript" src="{$imagecdn}include/js/functions.js"></script><script type="text/javascript" src="{$imagecdn}include/js/slideGallery.js"></script>{if $user->user_info.user_id!=0 && $user->user_info.user_id!=""&& $user->user_info.hidechat!="1"&&$nomessages!=1}<script type="text/javascript" src="/arrowchat6/autoload.php" charset="utf-8"></script>
{literal}
<script>
<!--
// ADD TIP FUNCTION
//-->
</script>{/literal}
{else}{if $smarty.get.fa==1}<link rel="stylesheet" href="{$imagecdn}/sam/club_admin/fa.css">{else}<link href="/arrowchat6/includes/css/fontawesome/css/all.css" rel="stylesheet">{/if}
{/if}
{* INSTALIZE API *}
<script type="text/javascript">
<!--
mobile=false;
var SocialEngine = new SocialEngineAPI.Base();
// Core
SocialEngine.Core = new SocialEngineAPI.Core();
SocialEngine.Core.ImportSettings({$se_javascript->generateSettings($setting)});
SocialEngine.Core.ImportPlugins({$se_javascript->generatePlugins($global_plugins)});
SocialEngine.RegisterModule(SocialEngine.Core);
// URL
SocialEngine.URL = new SocialEngineAPI.URL();
SocialEngine.URL.ImportURLBase({$se_javascript->generateURLBase($url)});
SocialEngine.URL.ImportURLInfo({$se_javascript->generateURLInfo($url)});
SocialEngine.RegisterModule(SocialEngine.URL);
// Language
SocialEngine.Language = new SocialEngineAPI.Language();
SocialEngine.RegisterModule(SocialEngine.Language);
// User - Viewer
SocialEngine.Viewer = new SocialEngineAPI.User();
SocialEngine.Viewer.ImportUserInfo({$se_javascript->generateUserInfo($user)});
SocialEngine.RegisterModule(SocialEngine.Viewer);
// User - Owner
SocialEngine.Owner = new SocialEngineAPI.User();
SocialEngine.Owner.ImportUserInfo({$se_javascript->generateUserInfo($owner)});
SocialEngine.RegisterModule(SocialEngine.Owner);
// Back
SELanguage = SocialEngine.Language;
//-->
</script>
{literal}
<script>
<!--
// ADD TIP FUNCTION
window.addEvent('load', function()
{
// if(triggered>1){return;}
jQuery( ".arrowchat_report_user" ).on( "click", function() {
jQuery.ajax({
method: "POST",
url: "misc_js.php",
data: { task: "acreport" }
} ).done(function( msg ) {
});
});
user_id=grabCookies("user_id")
if(user_id!={/literal}{$user->user_info.user_id}{literal})
{
document.cookie = "user_id={/literal}{$user->user_info.user_id}{literal}; max-age=86400; path=/";
}
// console.log(user_id);
//connecttowss1("onsite");
//var Tips1 = new Tips($$('.Tips1'));
});
//-->
</script>
{/literal}
{literal}
<script type="text/javascript">
let triggered = 0;
function donot(){a=null;}
window.addEvent("domready", function() {
triggered++;
if(triggered>1){return;}
jQuery( ".tiptool" ).tooltip();
jQuery('.mobilefixed').on('click', function () {
//jQuery('#fixedmobile').toggleClass("mobileopen");
setTimeout(function(){
if(!jQuery("#mobileburger").hasClass("collapsed"))
{
jQuery('#fixedmobile').addClass("mobileopen");
}
else{jQuery('#fixedmobile').removeClass("mobileopen");
}
},100);
});
{/literal}
{if $justloggedin==1}{literal}
if(jQuery("#welcomead").height() > 0) {
} else {
}{/literal}{/if}{literal}
/*jQuery("#disabler").click(function() {
setCookie("responsive", "1", 365)
jQuery(".container").addClass("container-non-responsive");
for (var i = 1; i<=12; i++) {
jQuery(".col-md-" + i).addClass("col-xs-" +i);
jQuery(".col-lg-" + i).addClass("col-xs-" +i);
jQuery(".col-sm-" + i).addClass("col-xs-" +i);
}
});
jQuery("#enabler").click(function() {
setCookie("responsive", "0", 365)
jQuery(".container-non-responsive").removeClass("container-non-responsive");
for (var i=1; i<=12; i++) {
jQuery(".col-xs-" + i).removeClass("col-xs-"+i);
}
});*/
jQuery('#light').on('show', function() {
console.log('#foo is now visible');
});
jQuery('#vidchatcammenu').on("click", function(e){
//jQuery('#cammenu').toggle();
const $menu = jQuery('#cammenu');
if ($menu.css('display') === 'none') {
$menu.css('display', 'block');
} else {
$menu.css('display', 'none');
}
e.stopPropagation();
e.preventDefault();
});
});
if ( window !== window.parent )
{
// The page is in an iframe
$d=jQuery.noConflict();
//document.getElementById("ajaxframe").src = "https://bateworld.com/emailiframe.php";
$d(document).ready(function() { randomnumber=Math.floor(Math.random() * 2000000);
$d.ajax({
url: "/emailiframe.php?s="+randomnumber,
cache: false
});
});
}
else
{
// The page is not in an iframe
}
</script>
{/literal}{* ASSIGN PLUGIN MENU ITEMS AND INCLUDE NECESSARY STYLE/JAVASCRIPT FILES *}{hook_include name=header}{hook_foreach name=styles var=hook_stylesheet}<link rel="stylesheet" href="{$hook_stylesheet}" title="stylesheet" type="text/css" />{/hook_foreach}{hook_foreach name=scripts var=hook_script}<script type="text/javascript" src="{$hook_script}"></script>{/hook_foreach}<style type='text/css'>{$global_css}{$specialcss}</style></head>
<body class="{$global_page}" {if $bg!=""}style="background:url('{$bg}') repeat-x #CD0200 !important;"{/if} >
{if $showoffer==1}
{literal}
<script>
$f=jQuery.noConflict();
$f(document).ready(function(){
$f("#specialoffer").modal('show');
});
</script>{/literal}
<div id="specialoffer" class="modal fade" aria-hidden="false" style="display: block;"><div class="modal-dialog"><button type="button" class="close main-bg-color alt-text-color orangebg" data-dismiss="modal" aria-hidden="true"><i class="fa fa-times"></i></button><div class="modal-content" style=" border:2px solid #f92c00;">
<img src="/images/blackfriday2022/Untitled-1_02.png" class="img-responsive"><br>
<img src="/images/blackfriday2022/Untitled-1_06.png" class="img-responsive"><br>
<div class="text-center" style="max-width:410px; margin:auto;">
<div class="col-sm-4" style="padding:0; min-width: 184px;">
<a href="https://secure2.segpay.com/billing/poset.cgi?x-eticketid=194684:29620&username={$user->user_info.user_username}&seUser={$user->user_info.user_id}" target="_blank"><img src="/images/blackfriday2022/Untitled-1_07.png" style="max-width:184px;"></a>
</div><div class="col-sm-1 hidden-sm hidden-xs" style="padding-left:0; padding-right:0; padding-top:50px;">
-or-
</div>
<div class="col-sm-1 hidden-lg hidden-md" style="padding-left:0; padding-right:0;">
-or-
</div>
<div class="col-sm-4" style="padding:0; min-width: 184px;">
<a href="https://secure2.segpay.com/billing/poset.cgi?x-eticketid=194684:29621&username={$user->user_info.user_username}&seUser={$user->user_info.user_id}" target="_blank"><img src="/images/blackfriday2022/Untitled-1_08.png" style="max-width:184px;"></a>
</div>
<div class="clear clearfix"></div>
</div><br>
<br>
<img src="/images/blackfriday2022/Untitled-1_13.png" class="img-responsive">
</div></div></div>
{/if}
{literal} <!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-NR5CPDK"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->{/literal}
<a name="topofpage"></a>
<div id="light" class="white_content"></div><div id="fade" class="black_overlay"></div>
<div class="PMhfeNRzGJSZ-default" id="PMhfeNRzGJSZ-default" style="display:none;"><h2 style="">Adblocker detected! Please consider reading this notice.</h2><p>We've detected that you are using AdBlock Plus or some other adblocking software which is preventing the page from fully loading.</p><p>Our online advertising helps us keep the site "up" and running.</p><p>Thank you!</p><br /><p><strong>Please add <a title="TheBatorBlog" href="https://bateworld.com" target="_blank">bateworld.com</a> to your ad blocking <a href="https://help.getadblock.com/support/solutions/articles/6000055743-whitelist-pages-to-disable-adblock-on-specific-sites">whitelist</a> or disable your adblocking software.<strong></strong></strong></p><strong><strong></strong></strong></div>{* GLOBAL IFRAME FOR AJAX FUNCTIONALITY *}
{*<script>var ajaxframei=1;</script>
<iframe id='ajaxframe' name='ajaxframe' style='display: none;' src='' {literal}onload="if(ajaxframei!=1){if(document.getElementById('ajaxframe').contentWindow.location.href!='about:blank'){emaillep('{/literal}{php}echo $_SERVER['PHP_SELF'].'?'.$_SERVER['QUERY_STRING'];{/php}{literal}', '{/literal}{$user->user_info.user_username}{literal}', document.getElementById('ajaxframe').contentWindow.location.href);}}ajaxframei++;"{/literal}></iframe>*}
{* HEADER AND TEXT *}<div class="background-image"><div id="pdp-himg" {if $himg!=""}style="background-image:url('{$himg}'); {$classhome}"{/if}>&nbsp;</div><div id="pdp-htext" {if $htext!=""}style="background-image:url('{$htext}');"{/if}>&nbsp;</div>&nbsp;</div>