Viewing file: _header.inc.php (8.97 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php //ob_start(ob_gzhandler); //session_start(); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head> <meta http-equiv="Content-Type" content="text-html; charset=UTF-8" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <meta http-equiv="Content-Language" content="en" /> <meta name="author" content="http://www.axkickboxing.com" /> <meta name="copyright" content="copyrighted" /> <meta name="reply-to" content="axteam@axkickboxing.com" /> <meta name="description" content="Ax Forum - Muay Thai and Kickboxing community" /> <meta name="keywords" content="ax, axe, kickboxing, muaythai, thai, muay, kickbox, kick box, news, kb, k1, san shou, fight, fighters, boxing, kick, bout, match, results, gala" /> <meta name="distribution" content="global" /> <link rel="image_src" type="image/jpeg" href="images/ax_share_thumbnail.jpg" /> <title>Ax <?= isset($title1)?(isset($title2) && !empty($title2)?($title1.' - '.$title2):$title1.' - Muay Thai / Kickboxing Discussion'):'- Muay Thai / Kickboxing Discussion'?></title>
<link rel="stylesheet" href="css/style.css?v1.1" type="text/css" /> <link rel="stylesheet" href="css/help.css?v1" type="text/css" media="screen" />
<!--[if gt IE 6]><link rel="stylesheet" href="css/ie7-style.css?v1" type="text/css" /><![endif]--> <?php global $action; if ($action=="") { echo "<meta http-equiv=\"refresh\" content=\"300\" />\n"; } ?>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js"></script> <script type="text/javascript" src="js/jquery.nyroModal-1.6.2.pack.js?v1"></script> <script type="text/javascript" src="js/jquery.validate.pack.js?v1"></script> <script type="text/javascript" src="js/jquery.alphanumeric.pack.js?v1"></script> <script type="text/javascript" src="js/jquery.cookie.js?v1"></script> <script type="text/javascript" src="js/ax_main.js?v1.1"></script>
<script type="text/javascript"> var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); </script> <script type="text/javascript"> var pageTracker = _gat._getTracker("UA-1952046-1"); pageTracker._initData(); pageTracker._trackPageview(); </script> </head>
<body> <?php
if ($debug_view == TRUE) { echo '<pre>$POST:'; print_r($_POST);
echo'<br />$_GET'; print_r($_GET);
echo'<br />$_REQUEST'; print_r($_REQUEST);
echo'<br />$_COOKIE'; if(isset($_COOKIE)) print_r($_COOKIE); echo'<br />$_SESSION'; if(isset($_SESSION)) print_r($_SESSION);
echo '</pre>'; } //echo "Title1:".$title1."<br />\n"; //echo "Title2:".$title2."<br />\n"; ?>
<!-- IE6 Message -->
<!--[if lt IE 7]> <style type="text/css"> #ie6message { display: block; } </style> <![endif]--> <div id="ie6message"> <h5>NOTICE:</h5> The version of Internet Explorer that you are using is outdated and not officially supported by this site. We heavily suggest upgrading to a more modern browser using one of these links: <a href="http://www.getfirefox.com">Firefox</a>, <a href="http://www.microsoft.com/windows/downloads/ie/getitnow.mspx">IE</a>, <a href="http://www.opera.com">Opera</a>, <a href="http://www.apple.com/safari/">Safari</a> or <a href="http://www.google.com/chrome">Google Chrome</a>. If you have any questions regarding this, please <a href="contact">contact us</a>. </div>
<!-- End IE6 Message -->
<div id="noJavascriptMessage"> <h5>NOTICE:</h5> Currently, you have Javascript disabled. Many of the features on this site require Javascript in order to function. It is highly recommended for you to enable Javascript in order to use this site to its fullest. For more info, please <a href="contact">contact us</a>. </div> <script type="text/javascript"> document.getElementById('noJavascriptMessage').className = 'yesJavascript'; </script> <div id="begin">
<?php if (isset($_REQUEST['topicgroup'])) $simple_forum_name = (htmlspecialchars(urlencode($_REQUEST['topicgroup']))); else $simple_forum_name = "axmain"; ?>
<div id="axHeader"> <div id="axHeaderGraphic"><img src="images/heading_ax_top.jpg" alt="The Ax Forum" width="737" height="88" /></div> <div id="topMenu"> <div id="topMenuLeft"> <a href="./" id="buttonMtkb" <?php echo (($simple_forum_name == "axmain" || $simple_forum_name == "") ? 'class="current"' : ''); ?>><img src="images/menu_button_mtkb1.jpg" width="102" height="81" alt="Muay Thai & Kickboxing Forum" /></a> <a href="./?topicgroup=mma" id="buttonMma" <?php echo ($simple_forum_name == "mma" ? 'class="current"' : ''); ?>><img src="images/menu_button_mma1.jpg" width="44" height="81" alt="Mixed Martial Arts Forum" /></a> <a href="./?topicgroup=axsportscience" id="buttonTrain" <?php echo ($simple_forum_name == "axsportscience" ? 'class="current"' : ''); ?>><img src="images/menu_button_train1.jpg" width="103" height="81" alt="Fight Training Forum" /></a> <a href="./?topicgroup=axofftopic" id="buttonOt" <?php echo ($simple_forum_name == "axofftopic" ? 'class="current"' : ''); ?>><img src="images/menu_button_ot1.jpg" width="72" height="81" alt="Off Topic Forum" /></a> </div> <div id="topMenuRight"> <a href="./help" id="buttonHelp"><img src="images/menu_button_help1.jpg" width="47" height="81" alt="Help Center" /></a> <a href="./rules" id="buttonRules"><img src="images/menu_button_rules1.jpg" width="47" height="81" alt="Forum Rules" /></a> <a href="./?action=register" id="buttonRegister"><img src="images/menu_button_register1.jpg" width="70" height="81" alt="New Account Registration" /></a> </div> </div> <div id="topSubMenu"> <ul id="topSubMenuLeft"> <li class="first"><a href="#createTopicModal" id="createLink" class="nyroModal">Create Topic</a></li> <!--<li><a href="">Chat</a></li>--> <li><a href="./profiles">Edit Profile</a></li> <li><a href="./profiles?action=browse">Browse Profiles</a></li> <li><a href="#searchForumModal" id="searchLink" class="nyroModal">Search Forum</a></li> </ul> <ul id="topSubMenuRight"> <li class="first"><a href="./contact">Contact Ax Team</a></li> <li><a href="http://fightadvertising.com" rel="nofollow">Advertise</a></li> </ul> </div> </div>
<div id="adTop"> <?php /*<a href="http://advertise.axkickboxing.com/redirect.php?ad_id=80&zone_id=3" target="_blank"> <img src="http://advertise.axkickboxing.com/ads/kombat468x60.gif" border="0" width="468" height="60" /></a>*/ ?>
<!--/* OpenX Javascript Tag v2.8.4 */-->
<script type='text/javascript'><!--//<![CDATA[ var m3_u = (location.protocol=='https:'?'https://www.fightadvertising.com/adserver/www/delivery/ajs.php':'http://www.fightadvertising.com/adserver/www/delivery/ajs.php'); var m3_r = Math.floor(Math.random()*99999999999); if (!document.MAX_used) document.MAX_used = ','; document.write ("<scr"+"ipt type='text/javascript' src='"+m3_u); document.write ("?zoneid=1&target=_blank"); document.write ('&cb=' + m3_r); if (document.MAX_used != ',') document.write ("&exclude=" + document.MAX_used); document.write (document.charset ? '&charset='+document.charset : (document.characterSet ? '&charset='+document.characterSet : '')); document.write ("&loc=" + escape(window.location)); if (document.referrer) document.write ("&referer=" + escape(document.referrer)); if (document.context) document.write ("&context=" + escape(document.context)); if (document.mmm_fo) document.write ("&mmm_fo=1"); document.write ("'><\/scr"+"ipt>"); //]]>--></script><noscript><a href='http://www.fightadvertising.com/adserver/www/delivery/ck.php?n=ad8aeb37&cb=<?php echo rand(); ?>' target='_blank'><img src='http://www.fightadvertising.com/adserver/www/delivery/avw.php?zoneid=1&cb=<?php echo rand(); ?>&n=ad8aeb37' border='0' alt='' /></a></noscript>
</div>
<div id="bodyContainer"> <div id="loginBox"> <? if (isset($_SESSION['login'])) $logged_in = $_SESSION['login']; else $logged_in = FALSE;
if (isset($_SESSION['username'])) $session_username = $_SESSION['username']; else $session_username = ''; if ($logged_in <> TRUE) { echo " <form id=\"loginForm\" action=\"".$root_web."\" method=\"post\">\n"; echo " Login <input type=\"text\" name=\"username\" id=\"loginUser\" />\n"; echo " Pw <input type=\"password\" name=\"pw\" id=\"loginPw\" />\n"; echo "<input type=\"submit\" name=\"action\" value=\"login\" />\n"; echo "<a href=\"".$root_web."?action=forgotpwd\">Forgot?</a>\n"; echo "</form>\n"; } else { echo " Hello, ".$session_username." "; echo "- <a href=\"?action=logout\">Logout</a><br />\n"; } ?> </div>
|