<?php
/*======================================================================*\
|| #################################################################### ||
|| # EoT-Clan BC2 Server Stats                                        # ||
|| # ---------------------------------------------------------------- # ||
|| # Dieses Copyright darf nicht entfernt werden                      # ||
|| # This file may not be redistributed in whole or significant part. # ||
|| # -----------------BC2 Server Stats is a free Software-------------# ||
|| #                      http://eot-clan.net                         # ||
|| #################################################################### ||
\*======================================================================*/
require_once ('inc/config.php');
include_once ('gameserver/BC2Conn.php');
include ('lang/language.php');
include_once ('lang/'.$lang_file);
include_once ('inc/weapons_array.php');
include_once ("inc/rankname.php");


$_GET = security::escape($_GET);
$_POST = security::escape($_POST);
define('INCLUDE_ME', true);
?>
      <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
          "http://www.w3.org/TR/html4/loose.dtd">
       <head>
        	<title>-=~<?php echo $ClanTag[0]; ?> Server stats~=-</title>
	         <link rel="stylesheet" type="text/css" href="css/fancybox.css" media="screen">
	        <link rel="stylesheet" type="text/css" href="css/style.css" /> 
	      </head>
	       <body>
	        <script type="text/javascript" src="js/wz_tooltip.js"></script>
	         <script type="text/javascript" src="js/jquery-1.4.2.min.js"></script>
	        <script type="text/javascript" src="js/jquery.fancybox-1.3.1.js"></script>
	       </body>   
	       
		<div class="body_leaderboard_viewer">
			<?php if ($Banner == 1){ ?>
			<a href="statistics.php" target="_blank"><img src="img/banner/logo.jpg" style="margin-top:8px;" border="0" /></a>
		<?php } ?>
			<table class="default_h" id="index"  cellspacing="0" cellpadding="0">
					<td class="head" colspan="2">
						<span style="text-align:left;float:left;margin-left:5px;margin-top:3px;"><a href="statistics.php" title="Refresh" alt="Refresh"><img src="img/refresh.png" border="0" title="Refresh" alt="Refresh" /></a></span>
						<a href="statistics.php?lang=english">
							<img src="lang/img/en.png" width="16" border="0" alt="Language" style="margin-left:5px;float:left;margin-top:3px;">
						</a>
						<a href="statistics.php?lang=german">
							<img src="lang/img/de.png" width="16" border="0" alt="Language" style="margin-left:5px;float:left;margin-top:3px;">
						</a>
						<?php echo server_info; ?>
						
					</td>
					<tr>
						<?php include ('stats/servers.php'); ?>
				</tr>
			</table>
			
 	<table class="default_h" cellspacing="0" cellpadding="2">
     <td class="head" colspan="8">Navigation</td>
       <tr>
				<td colspan="8" class="navi">
					 <a href="stats/weapons.php"><b><span class="button"><?php echo lang_index_navi_w; ?></span></b></a>
					  <a href="stats/gadgets.php"><b><span class="button"><?php echo lang_index_navi_g; ?></span></b></a>
					   <a href="stats/vehicles.php"><b><span class="button"><?php echo lang_index_navi_v; ?></span></b></a>
					  <a id="navi" href="stats/dogtags.php"><b><span class="button"><?php echo lang_index_navi_d; ?></span></b></a>
					  <?php if ($dChatlog == 1){ ?>
					 <a id="navi" href="stats/chatentrys.php"><b><span class="button">ServerChat</span></b></a>
					<?php } ?>
					 <a id="navi" href="stats/mapstats.php"><b><span class="button">Mapstats</span></b></a>
					 <a id="navi" href="stats/clanstats.php"><b><span class="button">Clanstats</span></b></a>
				 </td>
			</table>
			<script type="text/javascript">  	
		$(document).ready(function() {
	
			$("a#navi").fancybox({
			'autoDimensions'	: true,
			'transitionIn'		: 'none',
			'transitionOut'		: 'none',
			'padding' : 0,
			'top' : '5px'
			});
     });
	</script>
		<?php include_once ("stats.php");
		      include_once ("stats/serverstats.php");
		      include_once ("stats/medals.php");
		   if ($awards == 1){ include_once ("stats/lastaward.php"); }   
		      include_once ("inc/footer.php"); ?>
	  <br />
	 </div>
	</body>
</html>