<?php

define('PHP_FIREWALL_REQUEST_URI', strip_tags( $_SERVER['REQUEST_URI'] ) );
define('PHP_FIREWALL_ACTIVATION', true );
if ( is_file( @dirname(__FILE__).'/php-firewall/firewall.php' ) )
	include_once( @dirname(__FILE__).'/php-firewall/firewall.php' );

session_start();
ob_start();
include("inc/func.dark.php");
include("inc/security.php");
include("inc/configurare.php");
error_reporting(1);
auto_unban();
sterge_cont_automat();
?>

<!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" xml:lang="ro" lang="ro">

<head>    
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title><?=$titlu?></title>    
	<meta name="author" content="Zota Cosmin">
	<meta name="description" content="EuropaMetin2 Romania este un server privat de Metin2 gratis pentru toti. EuropaMetin2 is an Metin2 private server free for all." />
    <link rel="shortcut icon" href="./resurse/imagini/favicon.ico" type="image/x-icon" />
    <link href="./resurse/css/stil.css" rel="stylesheet" type="text/css" media="all"/> 
	<link rel="stylesheet" type="text/css" media="screen" href="./resurse/css/fancybox.css" />
	<script src="./resurse/scripturi/js1.js"></script>
	<script src="./resurse/scripturi/js2.js"></script>
	<script src="./resurse/scripturi/js3.js"></script>
	<script src="./resurse/scripturi/js4.js"></script>
	<script src="./resurse/scripturi/js5.js"></script>
	<script src="./resurse/scripturi/js8.js"></script>
	<!--<script language=Javascript1.2> function ejs_nodroit() { return(false); } document.oncontextmenu = ejs_nodroit; </script> -->
</head>
<!-- Început Body -->
<body>
<!-- Început Antet -->
<div id="antet">
	<!-- Început Navbar -->
    <div id="bara-navigare">
		<ul style="padding-left:63px;">
			<table>
				<tr>
					<td><li><a href="index.php">ACASA</a></li></td>
					<td><li><a href="index.php?page=download">DESCARCARE JOC</a></li></td>
					<td><li><a href="index.php?page=highscore">CLASAMENT</a></li></td>
					<td width="221px"><li><a href="index.php?page=doneaza">DONATII</a></li></td>
											<td><li><a href="index.php?page=register">INREGISTRARE</a></li></td>
						<td><li><a href="index.php?page=chat">Chat</a></li></td>
										<td><li><a href="http://board.EuropaMetin2.ro/">COMUNITATE</a></li></td>
					<td><li><a href="index.php?page=contact">CONTACT</a></li></td>
				</tr>
			</table>
		</ul>
	</div>
	
	
	
	<!-- Sfârşit NavBar -->
	
	<!-- Început Siglă -->
<div class="sigla"></div>
	<!-- Sfârşit Siglă -->	
</div>
<!-- Sfarsit Antet -->

<!-- Început Conţinut -->
<div id="main-top"></div>
	<div id="main">
		<div class="w940">
                            <div class="sidebar" id="sidebar-left">
	<div class="sb-ui sb-title">
		<h3>OFERA UN LIKE</h3>
	</div>
    <div class="sb-ui sb-con">
		<div class="sb-wrap">
		
<iframe src="http://www.facebook.com/plugins/likebox.php?href=https%3A%2F%2Fwww.facebook.com%2FEuropaMetin2&amp;width=150&amp;height=62&amp;show_faces=false&amp;colorscheme=light&amp;stream=false&amp;show_border=false&amp;header=false" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:160px; height:74px;" allowTransparency="true"></iframe>		

       </div>
	</div>
    <div class="sb-ui sb-end"></div>
	
	<div class="sb-ui sb-title">
		<h3>URMARESTE-NE PE:</h3>
	</div>
	<div class="sb-ui sb-con">
		<div class="sb-wrap">
		<div class="clearfix"></div>
		<table width="80%" style="align: center; margin: auto auto auto auto;">
		<tr>
		<td>
			<center><a href="http://www.youtube.com/embed/oiAxeF--Z44" target="_blank"><p class="yt_nr"></p></a></center>
		</td>
		<td>
			<center><a href="http://facebook.com/EuropaMetin2" target="_blank"><p class="fb_nr"></p></a></center>
		</td>
		</tr>
		</table>
		<div class="clearfix"></div>	
		</div>
	</div>
    <div class="sb-ui sb-end"></div>
	
    <div class="sb-ui sb-title">
		<h3>PANOUL JUCATORULUI</h3>
	</div>
    <div class="sb-ui sb-con">
		<div class="sb-wrap">
		<div class="clearfix"></div>
			<div id="login">
			
			
			
					<div id="ack"></div> <?php if(!isset($_SESSION['user']) && !isset($_SESSION['pass'])){
			login();
									?><form id="myForm" action="index.php" method="POST">
				<table border="0" align="center" cellpadding="1" cellspacing="0" style="padding-left:5px; ">
				  <tr>
					<td width="158"><input name="username" type="text" class="fui txt login_field" id="username" OnClick="this.value=''" value="utilizator"></td>
					
				  </tr>
				  <tr>
					<td><input name="password" type="password" class="fui txt login_field" id="password" OnClick="this.value=''" value="password"></td>
					
					</tr>
					<td></td>
				  <tr>
					</tr>
  			</table>
			
			<table>
						<tr>
							<td width="6px;"></td>
							<td>Intrând aici accept<br><a href="#"></td>
						</tr>
						<tr>
							<td width="6px;"></td>
							<td><a href="index.php?page=regulament">Termenii și Condițiile</a></td>
						</tr>
						<tr>
							<td width="6px;"></td>
							<td><input name="submit" type="submit" class="fui btn4" id="submit"></input></td>
						</tr>
					</table>
			
				<div class="sep"></div>
				&nbsp;&nbsp;&nbsp;<a class="ilink" href="index.php?page=register">Înregistrează-te</a><br>
				&nbsp;&nbsp;&nbsp;<a class="ilink" href="index.php?page=recuperare-pw">Ai uitat parola?</a>
				
  </form><?php } else{ ?> 
         
          <?php if($_SESSION['admin'] > 0){?>
         
			&nbsp;&nbsp;<a class="ilink" href="index.php?page=panou-admin"><b>ADMINISTRARE</b></a><div class="sep2"></div>
                                         <?php } ?>

						&nbsp;&nbsp;<a class="ilink" href="index.php?page=panou-user"><b>CONTUL MEU</b></a><div class="sep2"></div>
						&nbsp;&nbsp;<a class="ilink" href="index.php?page=caractere"><b>CARACTERE</b></a><div class="sep2"></div>
						&nbsp;&nbsp;<a class="ilink" href="index.php?page=schimbare-pw"><b>SCHIMBĂ PAROLA</b></a><div class="sep2"></div>
						&nbsp;&nbsp;<a class="ilink" href="index.php?page=schimbare-email"><b>SCHIMBĂ E-MAIL</b></a><div class="sep2"></div>
						&nbsp;&nbsp;<a class="ilink" href="index.php?page=parola-depozit"><b>PAROLA DEPOZITULUI</b></a><div class="sep2"></div>
						&nbsp;&nbsp;<a class="ilink" href="index.php?page=cod-stergere"><b>COD ŞTERGERE</b></a><div class="sep2"></div>
						&nbsp;&nbsp;<a class="ilink" href="index.php?page=stergere-cont"><b>ANULEAZĂ CONT</b></a><div class="sep2"></div>
						&nbsp;&nbsp;<a class="ilink" href="index.php?page=iesire"><b>DECONECTARE</b></a><div class="sep2"></div>


<?php } ?>	
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			</div>
			<div class="clearfix"></div>
		</div>
	</div>
    <div class="sb-ui sb-end"></div> 
	
	<div class="sb-ui sb-title">
		<h3>MENIU SECUNDAR</h3>
	</div>
	
	<div class="sb-ui sb-con">
		<div class="sb-wrap">
			<div class="clearfix"></div>
				&nbsp;&nbsp;<a class="ilink" href="index.php?page=storyline"><b>STORY LINE</b></a><div class="sep2"></div>
				&nbsp;&nbsp;<a class="ilink" href="index.php?page=howto"><b>PRIMII PAȘI</b></a><div class="sep2"></div>
				&nbsp;&nbsp;<a class="ilink" href="index.php?page=thegame"><b>JOCUL</b></a><div class="sep2"></div>
				&nbsp;&nbsp;<a class="ilink" href="index.php?page=ghiduri"><b>GHIDURI JOC</b></a><div class="sep2"></div>
				&nbsp;&nbsp;<a class="ilink" href="index.php?page=noutati"><b>NOUTĂȚI</b></a><div class="sep2"></div>
				&nbsp;&nbsp;<a class="ilink" href="index.php?page=ban-temp"><b>LISTA BANAŢI</b></a><div class="sep2"></div>
				&nbsp;&nbsp;<a class="ilink" href="index.php?page=echipa"><b>ECHIPA JOCULUI</b></a><div class="sep2"></div>
				&nbsp;&nbsp;<a class="ilink" href="index.php?page=lista_vip"><b>LISTA VIP-URILOR</b></a><div class="sep2"></div>
				&nbsp;&nbsp;<a class="ilink" href="index.php?page=win-event"><b>WIN EVENTS</b></a><div class="sep2"></div>
				&nbsp;&nbsp;<a class="ilink" href="index.php?page=regulament"><b>REGULAMENT</b></a><div class="sep2"></div>
			<div class="clearfix"></div>
		</div>
	</div>
    <div class="sb-ui sb-end"></div>

    <div class="sb-ui sb-title">
		<h3>INFORMATII DESPRE JOC</h3>
	</div>
	<div class="sb-ui sb-con">
		<div class="sb-wrap">
			<div class="clearfix"></div>
				&nbsp;&nbsp;<p class="ilink"><font color="#6189a0">Jucători Online:</p> </font> <a><b><?php mysql_select_db("player"); $exe = mysql_query("SELECT COUNT(*) as count FROM player WHERE DATE_SUB(NOW(), INTERVAL 250 MINUTE) < last_play;"); $player_online = mysql_fetch_object($exe)->count;echo "$player_online"; ?></b></a>.<div class="sep2"></div>
				&nbsp;&nbsp;<p class="ilink"><font color="#6189a0">in ultimele 24h:</p> </font> <a><b><?php mysql_select_db("player"); $exe = mysql_query("SELECT COUNT(*) as count FROM player WHERE DATE_SUB(NOW(), INTERVAL 2440 MINUTE) < last_play;"); $player_online = mysql_fetch_object($exe)->count;echo "$player_online"; ?></b></a>.<div class="sep2"></div>
				&nbsp;&nbsp;<p class="ilink"><font color="#6189a0">Europa2 este:</a></font> <font color="green"><b>Deschis</b></font></a>.<div class="sep2"></div>
				&nbsp;&nbsp;<p class="ilink"><font color="#6189a0">Mod joc:</a> <a><b>PvM Medium</b></a>.<div class="sep2"></font></div>
				&nbsp;&nbsp;<p class="ilink">Nivelul maxim este: </p><a><b>105</b></a>.<div class="sep2"></div>
				<center><a href="index.php"><img src="./resurse/imagini/diverse/vizite.png" id="EXim" alt="eXTReMe Tracker" /></a></center>
			<div class="clearfix"></div>	
		</div>
	</div>
    <div class="sb-ui sb-end"></div>
</div>


		<!-- Sfârşit Sidebar -->

		            			<div id="content">
				<div class="postui post-title-slider"></div>
				<div class="postui post-con-slider">
						<center>    <link href="./resurse/themes/1/js-image-slider.css" rel="stylesheet" type="text/css" />
    <script src="./resurse/themes/1/js-image-slider.js" type="text/javascript"></script>
    <div id="sliderFrame">
        <div id="slider">
			<a href="index.php?page=doneaza"><img src="./resurse/imagini/slider/03.jpg" alt="" /></a>
			</div>
    </div></center>
				</div>
				<div class="postui post-end-slider"></div>

<?php loadcontent();?>

		
</div>
			<!-- Ϯceput Bar㡌ateral㡤in Dreapta -->

			
<div class="sidebar" id="sidebar-right">
<!-- Ϯceput Buton Plat㠭->
	<a class="sb-payment" href="/ishop"></a>
<!-- Sf㲺it Buton Plat㠭->

<!-- Ϯceput Buton Desc䳣are -->
	<a class="sb-download" href="index.php?page=download"></a>
<!-- Sf㲺it Buton Desc䳣are -->

<!-- Ϯceput Buton Comunitate -->
	<a class="sb-community" href="http://board.EuropaMetin2.ro/" target="_blank"></a>
<!-- Sf㲺it Buton Comunitate -->

<!-- Ϯceput Buton Ghid -->
	<a class="sb-guide" href="index.php?page=ghiduri"></a>
<!-- Sf㲺it Buton Ghid -->
<div class="sb-ui sb-title">
		<h3>OBŢINE VIP</h3>
	</div>
	<div class="sb-ui sb-con">
		<div class="sb-wrap">
			<a href="index.php?page=doneaza" href="_blank.html"><img src="./resurse/imagini/vip.png"></a>
		</div>
	</div>
<div class="sb-ui sb-end"></div>
<div class="sb-ui sb-title">					
	<h3>CLASAMENT JUCĂTORI</h3>				
</div>    			
<div class="sb-ui sb-con">	
	<div class="sb-wrap">
		<div class="clearfix"></div>
			<div class="ranking">
				<div class="tr">
					<span class="t-rank1">#</span>
					<span class="t-name1">Jucător</span>
					<span class="t-lvl1">Regat</span>
				</div>	
				<div class="sep"></div>
											
				                  
										<?php include('inc/jucatori.php');?>
						
		
			<div class="sep2"></div>
			&nbsp;&nbsp;<a class="ilink" href="index.php?page=highscore">Clasament complet</a>
			<div class="clearfix"></div>
		</div>		
	</div>		
	</div>
<div class="sb-ui sb-end"></div>

<div class="sb-ui sb-title">					
	<h3>CLASAMENT BRESLE</h3>				
</div>    			
<div class="sb-ui sb-con">	
	<div class="sb-wrap">
		<div class="clearfix"></div>
			<div class="ranking">	
				<div class="tr">
					<span class="t-rank1">#</span>
					<span class="t-name1">Breasla</span>
					<span class="t-lvl1">Regat</span>
				</div>	
				<div class="sep"></div>
											
				                        			
				<?php include('inc/bresle.php');?>

		
			<div class="sep2"></div>
			&nbsp;&nbsp;<a class="ilink" href="index.php?page=guildhighscore">Clasament complet</a>
			<div class="clearfix"></div>
		</div>		
	</div>
</div>
<div class="sb-ui sb-end"></div> 	
<!-- Sfârşit Clasament Jucători -->

		</div>
	</div>
		
			
	<!-- Sfârşit Bară Laterală din Dreapta -->
	<div class="clearfix"></div>
</div>
<div id="main-btm"></div>

<!-- Început Footer -->
<div id="footer">
	<div class="wrap960">
		<!-- Început Informaţii Site -->
		<div class="left">
			<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creat de &copy; <a href="index.php">SFX</a> pentru EuropaMetin2. Toate drepturile rezervate.</p>
			
		
			
			
		</div>
		<!-- Sfârşit Informaţii Site -->
	
		
		
		
		
		<!-- Început Link-uri Footer -->
		<div class="right">
           <a href="#">Contact</a> &bull; <a href="#" target="_blank">Condiţii Generale de Utilizare</a>
		  
		</div>
		
		
		
				<br>
		



<!--/ GTop.ro - (begin) v2.1/-->
<script type="text/javascript" language="javascript">
var site_id = 72263;
var gtopSiteIcon = 20;
var _gtUrl = (("https:" == document.location.protocol) ? "https://secure." : "http://fx.");
document.write(unescape("%3Cscript src='" + _gtUrl + "gtop.ro/js/gTOP.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<!--/ GTop.ro - (end) v2.1/-->
		
		
		<!-- Sfârşit Link-uri Footer -->
		</div>
		</div>
		
	

<br><br>
<!-- Sfârșit Footer -->

	
</body>
</html>        