<?PHP
 error_reporting(0); 
  session_start();
  require("inc/config.inc.php");
  require("inc/rights.inc.php");
  require("inc/functions.inc.php");
  
  $sqlHp = mysql_connect(SQL_HP_HOST, SQL_HP_USER, SQL_HP_PASS);
  $sqlServ = mysql_connect(SQL_HOST, SQL_USER, SQL_PASS);
  
  if(!is_resource($sqlServ) OR !is_resource($sqlHp)) {
	echo("<meta http-equiv=\"refresh\" content=\"0; url=/mentenance/\">");
	exit;

  }
?>
<!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" >

<head>


<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?PHP echo $serverSettings['titel_page']; ?></title>
<script type="text/javascript" src="http://hitx.statistics.ro/hitx2.js"></script>
<meta name="description" content="<?PHP echo $serverSettings['titel']; ?>" />
<meta name="keywords" content="Metin2, free, free games online, fun games, flash games, addicting games, fun free games, fun free games, free games, games online free, games free online, free car games, free internet games, free downloads, free stuff, cool games, fun games online, free samples, free arcade games, free downloadable games, kids free games, free online game, free fun games, car games, online free games, funny games, free horse games, kids online games, free math games, free kids games, free stuff online, get free stuff, play free games, arcade games, free dora games, free game downloads, shooting games, free game online, free game online, free games, free girl games, racing games, word games, all free games, online games free, free computer games, free racing games, puzzle games, kids games, google games free, disney games, cooking games, free online games, free word games, free music, on line games, math games, kids games online, free things, free cooking games, armor games, free music downloading, play games online, christmas games, mario games, free music player, free sample, games for kids, games for kids, sonic games, free shooting games, games for free, free online music, kids games free, free game, free typing games, free preschool games, cool games online, sports games, free tetris, free ringtones, free downloads music, free chess game, sonic games online, free bing games, free translation, free puzzle games, fun online games, skateboarding games online, free download music, primary games, scary maze game, cool math games, nickelodeon games, sports games online, board games online, bing games, educational games, wwwfree games, dark, revolutin, dr, dark revolution, mmorpg, dark mt2, mt dr, metin dark, dark metin, Revolutin, Dark, Metin2 Gratis, Metin2DR, Metin2 DR, Metin2 Dark Revolution, best mmorpg games, good mmorpg, online games free, mmo online games, gpotato, vampire mmorpg, best online mmorpg, space mmorpg, top mmorpg 2011, free to play mmo, online rpgs, mmorpg game, top mmorpg games, free browser mmorpg, mmorpg games list, mmorg, best free mmo, top online games, multiplayer games, best online game, best mmorpg free, multiplayer games online, top mmo, role playing games, google dark, online mmorpgs, new online games, free mmorpg list, mmo rpg, free online multiplayer games, free online mmo, mmog, top 10 mmorpg, mmorpg games online, fantasy mmorpg, new mmorpgs, mmo games online, best mmorpg 2011, top free mmorpg, new free mmorpg, best mmo, free rpg games, f2p mmorpg, best online games, free mmo games, 3d mmorpg, free online rpg, no download mmorpg, best mmorpg 2010, rpg, multiplayer online games, mmorpg no download, new mmo, rpg games online, online rpg games, online multiplayer games, free online mmorpg games, browser based mmorpg, browser mmorpg, online mmo, rpg games, best free mmorpg, free to play mmorpg, mmo games, new mmorpg 2011, rift mmo, online mmorpg, online rpg, mmorpg online games, online mmorpg games, 2d mmorpg, rpg online games, free mmorpgs, mmorpg free, new mmorpg, free mmo, free mmorpg games, free online mmorpg, top mmorpg, mmo, mmorpgs, best mmorpg, mmorpg games, free mmorpg, mmorpg list, online mmo games, Metin2DarkRevolution, DR ,Dark Revolution, Dark R, Metin2 Free, Free MT2,MMORPG, MMORP, MORPG, FREE DR, MUZICA, GAMES, JOCURI, MUSIC, COMMUNITY DARK, DARK COMMUNITY, DARK MT2, MT2 DR, MT DR, METIN DARK ,DARK METIN" /> 
<link rel="shortcut icon" href="img/favicon/favicon.ico" type="image/x-icon" />
<link href="css/reset.css" rel="stylesheet" type="text/css" media="all"/>
<link href="css/all.css" rel="stylesheet" type="text/css" media="all"/>
<link  href="css/plugins.css" rel="stylesheet" type="text/css" media="screen" />
<!--[if lt IE 7]><link rel="stylesheet" type="text/css" href="css/IE/ie6.css" media="screen"/><![endif]-->
<!--[if gte IE 6]><link rel="stylesheet" type="text/css" href="css/IE/ie7.css" media="screen"/><![endif]-->
<script type="text/javascript" src="js/jquery-latest.pack.js"></script>
<script>
var delay = "0";  //############# How long before window appears (seconds)
var winw = "510"; //############# How wide should your window be (pixels)
var winh = "600"; //############# How tall should the window be (pixels)
var repeat = "1"; //Do you want visitor to be able to re-open window after closing?


//############# published at: scripts.tropicalpcsolutions.com


var ie=(document.all);
var ns=(document.layers);
var ns6=(document.getElementById && !ie);
var calculate=ns? "" : "px"
function loadElement(){
if(!ns && !ie && !ns6) return;
if(ie) popup=eval('document.all.elementDiv.style');
else if(ns) popup=eval('document.layers["elementDiv"]');
else if(ns6) popup=eval('document.getElementById("elementDiv").style');
if (ie||ns6) popup.visibility="visible";
else popup.visibility ="show";
displayElement()
}
function displayElement(){
var agent=navigator.userAgent.toLowerCase();
if (ie){
	documentWidth = (centerElement().offsetWidth)/2+centerElement().scrollLeft-(winw/2);
	documentHeight = (centerElement().offsetHeight)/2+centerElement().scrollTop-(winh/2);
}
else if (ns){
	documentWidth=window.innerWidth/2+window.pageXOffset-(winw/2);
	documentHeight=window.innerHeight/2+window.pageYOffset-(winh/2);
}
else if (ns6){
	documentWidth=self.innerWidth/2+window.pageXOffset-(winw/2);
	documentHeight=self.innerHeight/2+window.pageYOffset-(winh/2);
}
popup.left = documentWidth+calculate;
popup.top = documentHeight+calculate;
setTimeout("displayElement()",100);
}
function centerElement(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}
function closeElement(){
	if (ie||ns6) { popup.display="none"; } 
	else { popup.visibility ="hide"; }
        if (repeat == 1) { location.replace; }
}
</script>
<script type="text/javascript" src="js/jquery.validationEngine.modified.js"></script>
<script type="text/javascript" src="js/jquery.validationEngine.rules.html"></script>
<script type="text/javascript" src="js/iepngfix_tilebg.js"></script>
<script type="text/javascript" src="js/jquery.tools.min.js"></script>
<script type="text/javascript" src="js/jquery.fancybox-1.3.1.pack.js"></script>
<script type="text/javascript" src="js/jquery.bgiframe.js"></script>
<script type="text/javascript" src="js/main.js"></script>
	<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
	<script>
		!window.jQuery && document.write('<script src="jquery-1.4.3.min.js"><\/script>');
	</script>
	<script type="text/javascript" src="./fancybox/jquery.mousewheel-3.0.4.pack.js"></script>
	<script type="text/javascript" src="./fancybox/jquery.fancybox-1.3.4.pack.js"></script>
	<link rel="stylesheet" type="text/css" href="./fancybox/jquery.fancybox-1.3.4.css" media="screen" />
	<script type="text/javascript">
		$(document).ready(function() {
			/*
			*   Examples - images
			*/

			$("a#example1").fancybox();
             
			$("a#example2").fancybox({
				'overlayShow'	: false,
				'transitionIn'	: 'elastic',
				'transitionOut'	: 'elastic'
			});

			$("a#example3").fancybox({
				'transitionIn'	: 'none',
				'transitionOut'	: 'none'	
			});

			$("a#example4").fancybox({
				'opacity'		: true,
				'overlayShow'	: false,
				'transitionIn'	: 'elastic',
				'transitionOut'	: 'none'
			});
			
			$("a#example_itemshop").fancybox({
				'opacity'		: true,
				'overlayShow'	: false,
				'transitionIn'	: 'elastic',
				'transitionOut'	: 'none'
			});
			
			$("a#example_profil").fancybox({
				'opacity'		: true,
				'overlayShow'	: false,
				'transitionIn'	: 'elastic',
				'transitionOut'	: 'none'
			});
			
			$("a#example5").fancybox();

			$("a#example6").fancybox({
				'titlePosition'		: 'outside',
				'overlayColor'		: '#000',
				'overlayOpacity'	: 0.9
			});

			$("a#example7").fancybox({
				'titlePosition'	: 'inside'
			});

			$("a#example8").fancybox({
				'titlePosition'	: 'over'
			});

			$("a[rel=example_group]").fancybox({
				'transitionIn'		: 'none',
				'transitionOut'		: 'none',
				'titlePosition' 	: 'over',
				'titleFormat'		: function(title, currentArray, currentIndex, currentOpts) {
					return '<span id="fancybox-title-over">Image ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? ' &nbsp; ' + title : '') + '</span>';
				}
			});

			/*
			*   Examples - various
			*/

			$("#various1").fancybox({
				'titlePosition'		: 'inside',
				'transitionIn'		: 'none',
				'transitionOut'		: 'none'
			});

			$("#various2").fancybox();

			$("#various3").fancybox({
				'width'				: '65%',
				'height'			: '70%',
				'autoScale'			: true,
				'transitionIn'		: 'elastic',
				'transitionOut'		: 'elastic',
				'type'				: 'iframe'
			});

			$("#various4").fancybox({
				'padding'			: 0,
				'autoScale'			: false,
				'transitionIn'		: 'none',
				'transitionOut'		: 'none'
			});
			$("#various_itemshop").fancybox({
				'width'				: '64%',
				'height'			: '78%',
				'autoScale'			: false,
				'transitionIn'		: 'elastic',
				'transitionOut'		: 'elastic',
				'type'				: 'iframe'
			});
			$("#various5").fancybox({
				'width'				: '46.2%',
				'height'			: '78%',
				'autoScale'			: false,
				'transitionIn'		: 'elastic',
				'transitionOut'		: 'elastic',
				'type'				: 'iframe'
			});
			$("#various_profil").fancybox({
				'width'				: '64%',
				'height'			: '78%',
				'autoScale'			: false,
				'transitionIn'		: 'elastic',
				'transitionOut'		: 'elastic',
				'type'				: 'iframe'
			});
		});
	</script>
	<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-24328441-2']);
  _gaq.push(['_setDomainName', '.metin2dr.ro']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>
</head>

<body onLoad="setTimeout('loadElement()',delay*1000)" class="netbar">

<!-- #MMO:NETBAR# -->
<div id="pagefoldtarget"></div>
<script type="text/javascript">
var mmoCSS = ' body {margin:0; padding:0;} #mmonetbar { background:transparent url(/img/netbar.bg.png) repeat-x; font:normal 11px Tahoma, Arial, Helvetica, sans-serif; height:32px; left:0; padding:0; position:absolute; text-align:center; top:0; width:100%; z-index:3000; } #mmonetbar #mmoContent { height:32px; margin:0 auto; width:1024px; position: relative; } #mmonetbar .mmosmallbar {width:585px !important;} #mmonetbar .mmosmallbar div.mmoBoxMiddle { width: 290px; } #mmonetbar .mmonewsout {width:800px !important;} #mmonetbar .mmouseronlineout {width:768px !important;} #mmonetbar .mmolangout {width:380px !important;} #mmonetbar .mmolangout .mmoGame { width: 265px; } #mmonetbar a { color:#000; font:normal 11px Tahoma, Arial, Helvetica, sans-serif; outline: none; text-decoration:none; white-space:nowrap; } #mmonetbar select { background-color:#000000 !important; border:1px solid #000 !important; color:#1E90FF !important; font:normal 11px Verdana, Arial, Helvetica, sans-serif; height:18px; margin-top:3px; width:100px; } #mmonetbar .mmoGames select {width:80px;} #mmonetbar option { background-color:#000 !important; color:#1E90FF !important; } #mmonetbar option:hover { background-color:#7a1801 !important; } #mmonetbar select#mmoCountry {width:120px;} #mmonetbar .mmoSelectbox { background-color:#000000; float:left; margin:3px 0 0 3px; position:relative; } * html #mmonetbar .mmoSelectbox {position:static;} *+html #mmonetbar .mmoSelectbox {position:static;} #mmonetbar #mmoOneGame {cursor:default; height:14px; margin-top:3px; padding-left:5px; width:80px;} #mmonetbar .label {float:left; font-weight:bold; margin-right:4px; overflow:hidden !important;} #mmonetbar #mmoUsers .label {font-size:10px;} #mmonetbar .mmoBoxLeft, #mmonetbar .mmoBoxRight { background:transparent url(img/netbar.sprites.png) no-repeat -109px -4px; float:left; width:5px; height:24px; } #mmonetbar .mmoBoxRight {background-position:-126px -4px;} #mmonetbar .mmoBoxMiddle { background:transparent url(img/netbar.bg.png) repeat-x 0 -36px; color:#1E90FF !important; float:left; height:24px; line-height:22px; text-align:left; white-space:nowrap; position: relative; z-index: 10000; } #mmonetbar #mmoGames, #mmonetbar #mmoLangs {margin:0px 4px 0 0;} #mmonetbar #mmoNews, #mmonetbar #mmoUsers, #mmonetbar #mmoGame, #mmonetbar .nojsGame {margin:4px 4px 0 0;} #mmonetbar #mmoLogo { background:transparent url() no-repeat top left; float:left; display:block; height:32px; width:108px; } #mmonetbar #mmoNews {float:left; width:252px;} #mmonetbar #mmoNews #mmoNewsContent {text-align:left; width:200px;} #mmonetbar #mmoNews #mmoNewsticker {overflow:hidden; width:240px;} #mmonetbar #mmoNews #mmoNewsticker ul { list-style-type: none; margin: 0; padding: 0px; } #mmonetbar #mmoNews #mmoNewsticker ul li { font:normal 11px/22px Tahoma, Arial, Helvetica, sans-serif !important; color:#1E90FF !important; padding: 0px; margin: 0; background: none; } #mmonetbar #mmoNews #mmoNewsticker ul li a img {border:0;} #mmonetbar #mmoNews #mmoNewsticker ul li a {color:#1E90FF !important;} #mmonetbar #mmoNews #mmoNewsticker ul li a:hover {text-decoration:underline;} #mmonetbar #mmoUsers {float:left; width:178px;} #mmonetbar #mmoUsers .mmoBoxLeft {width:17px;} #mmonetbar #mmoUsers .mmoBoxMiddle {padding-left:3px; width:150px;} #mmonetbar .mmoGame {display:none; float:left; width:432px;} #mmonetbar .mmoGame #mmoGames {float:left; width:206px;} #mmonetbar .mmoGame #mmoLangs {float:left; margin:0; width:252px;} #mmonetbar .mmoGame label { color:#00000 !important; float:left; font-weight:400 !important; line-height:22px; margin:0px; text-align:right !important; width:110px; font-size: 11px !important; } #mmonetbar .nojsGame {display:block; width:470px;} #mmonetbar .nojsGame .mmoBoxMiddle {width:450px;} #mmonetbar .nojsGame .mmoSelectbox {margin:0px 0 0 3px;} *+html #mmonetbar .nojsGame .mmoSelectbox {margin:2px 0 0 3px;} * html #mmonetbar .nojsGame .mmoSelectbox {margin:2px 0 0 3px;} #mmonetbar .nojsGame .mmoGameBtn { background:transparent url(img//netbar.sprites.png) no-repeat -162px -7px; border:none; cursor:pointer; float:left; height:18px; margin:3px 0 0 7px; padding:0; width:18px; } #mmonetbar .mmoSelectArea { border:1px solid #000; color:#1E90FF !important; display:block !important; float:none; font-weight:400 !important; font-size:11px; height:16px; line-height:13px; overflow:hidden !important; width:90px; } #mmonetbar #mmoLangSelect .mmoSelectArea {width:129px;} #mmonetbar #mmoLangSelect .mmoOptionsDivVisible {min-width:129px;} #mmonetbar .mmoSelectArea .mmoSelectButton { background: url(img//netbar.sprites.png) no-repeat -141px -8px; float:right; width:17px; height:16px; } #mmonetbar .mmoSelectText {cursor:pointer; float:left; overflow:hidden; padding:1px 2px; width:68px;} #mmonetbar #mmoLangSelect .mmoSelectText {width:107px;} #mmonetbar #mmoOneLang {cursor:default; height:14px;} #mmonetbar div.mmoOneLang { background: none; } #mmonetbar div.mmoOneLang #mmoOneLang { border: none; padding: 2px 3px; } #mmonetbar .mmoOptionsDivInvisible, #mmonetbar .mmoOptionsDivVisible { background-color: #611200 !important; border: 1px solid #000; position: absolute; min-width:90px; z-index: 3100; } * html #mmonetbar .mmoOptionsDivVisible .highlight {background-color:#7a1801 !important} #mmonetbar .mmoOptionsDivInvisible {display: none;} #mmonetbar .mmoOptionsDivVisible ul { border:0; font:normal 11px Tahoma, Arial, Helvetica, sans-serif; list-style: none; margin:0; padding:2px; overflow:auto; overflow-x:hidden; } #mmonetbar #mmoLangs .mmoOptionsDivVisible ul {min-width:125px;} #mmonetbar .mmoOptionsDivVisible ul li { background-color: #611200; height:14px; padding:2px 0; } #mmonetbar .mmoOptionsDivVisible a { color: #1E90FF !important; display: block; font-weight:400 !important; height:16px !important; min-width:80px; text-decoration: none; white-space:nowrap; width:100%; } #mmonetbar #mmoContent .mmoLangList a {min-width:102px;} #mmonetbar .mmoOptionsDivVisible li:hover {background-color: 	#000000;} #mmonetbar .mmoOptionsDivVisible li a:hover {color: #1E90FF !important;} #mmonetbar .mmoOptionsDivVisible li.mmoActive {background-color: #7a1801 !important;} #mmonetbar .mmoOptionsDivVisible li.mmoActive a {color: #1E90FF !important;} #mmonetbar .mmoOptionsDivVisible ul.mmoListHeight {height:240px} #mmonetbar .mmoOptionsDivVisible ul.mmoLangList.mmoListHeight li {padding-right:15px !important; width:100%;} #mmonetbar #mmoGameSelect ul.mmoListHeight a {min-width:85px;} #mmonetbar #mmoLangSelect ul.mmoListHeight a {min-width:105px;} #mmonetbar #mmoFocus {position:absolute;left:-2000px;top:-2000px;} #mmonetbar #mmoLangs .mmoSelectText span, #mmonetbar #mmoLangs .mmoflag { background: transparent url(http://gameforge.com/img/mmoflags.png) no-repeat; height:14px !important; padding-left:23px; } .mmo_AE {background-position:left 0px !important} .mmo_AR {background-position:left -14px !important} .mmo_BE {background-position:left -28px !important} .mmo_BG {background-position:left -42px !important} .mmo_BR {background-position:left -56px !important} .mmo_BY {background-position:left -70px !important} .mmo_CA {background-position:left -84px !important} .mmo_CH {background-position:left -98px !important} .mmo_CL {background-position:left -112px !important} .mmo_CN {background-position:left -126px !important} .mmo_CO {background-position:left -140px !important} .mmo_CZ {background-position:left -154px !important} .mmo_DE {background-position:left -168px !important} .mmo_DK {background-position:left -182px !important} .mmo_EE {background-position:left -196px !important} .mmo_EG {background-position:left -210px !important} .mmo_EN {background-position:left -224px !important} .mmo_ES {background-position:left -238px !important} .mmo_EU {background-position:left -252px !important} .mmo_FI {background-position:left -266px !important} .mmo_FR {background-position:left -280px !important} .mmo_GR {background-position:left -294px !important} .mmo_HK {background-position:left -308px !important} .mmo_HR {background-position:left -322px !important} .mmo_HU {background-position:left -336px !important} .mmo_ID {background-position:left -350px !important} .mmo_IL {background-position:left -364px !important} .mmo_IN {background-position:left -378px !important} .mmo_INTL {background-position:left -392px !important} .mmo_IR {background-position:left -406px !important} .mmo_IT {background-position:left -420px !important} .mmo_JP {background-position:left -434px !important} .mmo_KE {background-position:left -448px !important} .mmo_KR {background-position:left -462px !important} .mmo_LT {background-position:left -476px !important} .mmo_LV {background-position:left -490px !important} .mmo_ME {background-position:left -504px !important} .mmo_MK {background-position:left -518px !important} .mmo_MX {background-position:left -532px !important} .mmo_NL {background-position:left -546px !important} .mmo_NO {background-position:left -560px !important} .mmo_PE {background-position:left -574px !important} .mmo_PH {background-position:left -588px !important} .mmo_PK {background-position:left -602px !important} .mmo_PL {background-position:left -616px !important} .mmo_PT {background-position:left -630px !important} .mmo_RO {background-position:left -644px !important} .mmo_RS {background-position:left -658px !important} .mmo_RU {background-position:left -672px !important} .mmo_SE {background-position:left -686px !important} .mmo_SI {background-position:left -700px !important} .mmo_SK {background-position:left -714px !important} .mmo_TH {background-position:left -728px !important} .mmo_TR {background-position:left -742px !important} .mmo_TW {background-position:left -756px !important} .mmo_UA {background-position:left -770px !important} .mmo_UK {background-position:left -784px !important} .mmo_US {background-position:left -798px !important} .mmo_VE {background-position:left -812px !important} .mmo_VN {background-position:left -826px !important} .mmo_YU {background-position:left -840px !important} .mmo_ZA {background-position:left -854px !important} div#mmonetbar a:active { top: 0; } div#mmoGamesOverviewPanel { width: 582px; position: absolute; top: 0; right: 0; font: 12px Arial, sans-serif; } div#mmoGamesOverviewPanel h4, div#mmoGamesOverviewPanel h5 { margin: 0; font-size: 12px; font-weight: bold; text-align: left; } div#mmoGamesOverviewPanel a { text-decoration: none; } div#mmoGamesOverviewPanel a img { border: none; } div#mmoGamesOverviewToggle { width: 168px; padding: 4px 0 4px 414px; } div#mmoGamesOverviewToggle h4 { height: 18px; position: relative; background: url(img//netbar.bg.png) repeat-x 0 -36px; top: 0px; padding: 3px 20px; } div#mmoGamesOverviewToggle h4 a { display: block; width: 116px; height: 16px; line-height: 14px; text-align: left; font-weight: normal; outline: none; color: #1E90FF !important; font-size: 11px !important; position: relative; border: 1px solid #000; padding: 0 0 0 10px; } div#mmoGamesOverviewToggle h4 a.gameCountZero { cursor: default; text-align: center; padding: 0; width: 126px; } div#mmoGamesOverviewToggle h4 a span.mmoNbPseudoSelect_icon { display: block; position: absolute; top: 0; right: 0; width: 17px; height: 16px; background: url(img//netbar.sprites.png) no-repeat -141px -8px; } span.iconTriangle { display: block; position: absolute; top: 5px; right: 10px; width: 0px; border: 5px solid transparent; border-bottom-color: #1E90FF; } div#mmoGamesOverviewToggle h4 a.toggleHidden { } div#mmoGamesOverviewToggle h4 a.toggleHidden span.iconTriangle { top: 10px; border: 5px solid transparent; border-top-color: #1E90FF; } div#mmoGamesOverviewToggle h4 span.mmoNbBoxEdge { display: block; width: 5px; height: 24px; background: url(img//netbar.sprites.png) no-repeat -109px -4px; position: absolute; top: 0; } div#mmoGamesOverviewToggle h4 span.mmoNbBoxEdge_left { left: 0; } div#mmoGamesOverviewToggle h4 span.mmoNbBoxEdge_right { right: 0; background-position: -126px -4px; } div#mmoGamesOverviewLists { clear: both; background: #000000; width: 580px; border: 1px solid #000; float: left; position: relative; top: 0px; } div#mmoGamesOverviewLists h5 { clear: both; width: 544px; margin: 0; padding: 0 18px; height: 27px; line-height: 27px; color: #1E90FF; border-bottom: 1px solid #000; background: url(img//netbar.bg.png) repeat-x 0 -3px; font-family: inherit; } div#mmoGamesOverviewLists ul { margin: 0; padding: 5px 5px; list-style: none; width: 570px; float: left; text-align: left; } div#mmoGamesOverviewLists ul li { margin: 0; padding: 0; list-style: none; width: 190px; float: left; background: none; } div#mmoGamesOverviewLists ul li a { display: block; padding: 5px; font-weight: bold; line-height: 1; color: #1E90FF !important; font-size: 11px !important; } div#mmoGamesOverviewLists ul li a:focus, div#mmoGamesOverviewLists ul li a:hover { background-color: #7a1801; } div#mmoGamesOverviewLists ul li a span { display: block; width: 180px; height: 90px; background: none; margin: 0 0 4px 0; } div#mmoGamesOverviewLists ul li a span img { display: block; } div#mmoGamesOverviewLists div#mmoGamesOverviewCountry { width: 20px; height: 14px; position: absolute; top: 6px; right: 12px; background-image: url(http://gameforge.com/img/mmoflags.png); background-repeat: no-repeat; } #mmonetbar div.nojsGame { width: 432px !important; } #mmonetbar div.nojsGame div.mmoBoxMiddle { width: 422px; } #mmonetbar div.nojsGame label { width: 105px; } div#mmoPFstaticWrap { position: absolute; top: 0; left: 0; z-index: 999999; } div#mmoPFstaticWrap.mmoPageFoldStatic_rtl { left: auto; right: 0; } div#mmoPageFoldStatic a#mmoPFSfold { display: block; width: 110px; height: 95px; background: url(http://gameforge.com/img/bg_light_sprite.png) no-repeat; _background-image: url(http://gameforge.com/img/bg_light_sprite.gif); text-indent: -9999px; outline: none; text-decoration: none; } div#mmoPageFoldStatic.mmoPageFoldStatic_dark a#mmoPFSfold { background-image: url(http://gameforge.com/img/bg_dark_sprite.png); _background-image: url(http://gameforge.com/img/bg_dark_sprite.gif); } div#mmoPageFoldStatic a#mmoPFSfold.hover { width: 414px; height: 419px; background-position: 0 -129px !important; } div.mmoPFS_extra { position: absolute; background: url(http://gameforge.com/img/bg_light_sprite.png) no-repeat; _background: url(http://gameforge.com/img/bg_light_sprite.gif) no-repeat; } .mmoPageFoldStatic_rtl div#mmoPageFoldStatic a#mmoPFSfold, .mmoPageFoldStatic_rtl div#mmoPageFoldStatic.mmoPageFoldStatic_dark a#mmoPFSfold, .mmoPageFoldStatic_rtl div.mmoPFS_extra { background-position: top right; background-image: url(http://gameforge.com/img/bg_light_sprite_rtl.png); _background-image: url(http://gameforge.com/img/bg_light_sprite_rtl.gif); } .mmoPageFoldStatic_rtl div#mmoPageFoldStatic.mmoPageFoldStatic_dark a#mmoPFSfold { background-image: url(http://gameforge.com/img/bg_dark_sprite_rtl.png); _background-image: url(http://gameforge.com/img/bg_dark_sprite_rtl.gif); } div.mmoPFS_extra_h { left: 0; } div.mmoPFS_extra_v { top: 0; } div#mmoPFS_extra1 { width: 110px; height: 10px; top: 95px; background-position: 0 -95px; } div#mmoPFS_extra2 { width: 40px; height: 10px; top: 105px; background-position: 0 -105px; } div#mmoPFS_extra3 { width: 10px; height: 14px; top: 115px; background-position: 0 -115px; } div#mmoPFS_extra4 { width: 5px; height: 95px; left: 110px; background-position: -110px 0; } div#mmoPFS_extra5 { width: 13px; height: 15px; left: 115px; background-position: -115px 0; } .mmoPageFoldStatic_rtl div#mmoPFS_extra1 { background-position: 100% -95px; left: auto; right: 0; } .mmoPageFoldStatic_rtl div#mmoPFS_extra2 { background-position: 100% -105px; left: auto; right: 0; } .mmoPageFoldStatic_rtl div#mmoPFS_extra3 { background-position: 100% -115px; left: auto; right: 0; } .mmoPageFoldStatic_rtl div#mmoPFS_extra4 { background-position: -299px 0; left: auto; right: 110px; } .mmoPageFoldStatic_rtl div#mmoPFS_extra5 { background-position: -286px 0; left: auto; right: 115px; } a#hoverlink { display: block; width: 110px; height: 95px; position: absolute; top: 0; left: 0; outline: none; } .mmoPageFoldStatic_rtl a#hoverlink { left: auto; right: 0; } ';
var mmostyle = document.createElement('style');
if (navigator.appName == "Microsoft Internet Explorer") {
	mmostyle.setAttribute("type", "text/css");
	mmostyle.styleSheet.cssText = mmoCSS;
} else {
	var mmostyleTxt = document.createTextNode(mmoCSS);
	mmostyle.type = 'text/css';
	mmostyle.appendChild(mmostyleTxt);
}
document.getElementsByTagName('head')[0].appendChild(mmostyle);
</script>
<noscript>
<style type="text/css">
 body {margin:0; padding:0;} #mmonetbar { background:transparent url(../img/netbar.bg.png) repeat-x; font:normal 11px Tahoma, Arial, Helvetica, sans-serif; height:32px; left:0; padding:0; position:absolute; text-align:center; top:0; width:100%; z-index:3000; } #mmonetbar #mmoContent { height:32px; margin:0 auto; width:1024px; position: relative; } #mmonetbar #mmoLogo { background:transparent url() no-repeat top left; float:left; display:block; height:32px; width:108px; } #mmonetbar #mmoGame, #mmonetbar #mmoFocus, #pagefoldtarget { display:none !important; } </style>
</noscript>
<div id="mmonetbar" class="mmometin2">
<script type="text/javascript">
var mmoActive_select=null;function mmoInitSelect(){if(!document.getElementById)return false;document.getElementById('mmonetbar').style.display='block';document.getElementById('mmoGame').style.display='block';document.getElementById('mmoFocus').onkeyup=function(e){mmo_selid=mmoActive_select.id.replace('mmoOptionsDiv','');var e=e||window.event;if(e.keyCode)var thecode=e.keyCode;else if(e.which)var thecode=e.which;mmoSelectMe(mmo_selid,thecode);}}
function mmoSelectMe(selid,thecode){var mmolist=document.getElementById('mmoList'+selid);var mmoitems=mmolist.getElementsByTagName('li');switch(thecode){case 13:mmoShowOptions(selid);window.location=mmoActive_select.url;break;case 38:mmoActive_select.activeit.className='';var minus=((mmoActive_select.activeid-1)<=0)?'0':(mmoActive_select.activeid-1);mmoActive_select=mmoSetActive(selid,minus);break;case 40:mmoActive_select.activeit.className='';var plus=((mmoActive_select.activeid+1)>=mmoitems.length)?(mmoitems.length-1):(mmoActive_select.activeid+1);mmoActive_select=mmoSetActive(selid,plus);break;default:thecode=String.fromCharCode(thecode);var found=false;for(var i=0;i<mmoitems.length;i++){var _a=mmoitems[i].getElementsByTagName('a');if(navigator.appName.indexOf("Explorer")>-1){}
else{txtContent=_a[0].textContent;}
if(!found&&(thecode.toLowerCase()==txtContent.charAt(0).toLowerCase())){mmoActive_select.activeit.className='';mmoActive_select=mmoSetActive(selid,i);found=true;}}
break;}}
function mmoSetActive(selid,itemid){mmoActive_select=null;var mmolist=document.getElementById('mmoList'+selid);var mmoitems=mmolist.getElementsByTagName('li');mmoActive_select=document.getElementById('mmoOptionsDiv'+selid);;mmoActive_select.selid=selid;if(itemid!=undefined){var _a=mmoitems[itemid].getElementsByTagName('a');var textVar=document.getElementById("mmoMySelectText"+selid);textVar.innerHTML=_a[0].innerHTML;if(selid==1)textVar.className=_a[0].className;mmoitems[itemid].className='mmoActive';}
for(var i=0;i<mmoitems.length;i++){if(mmoitems[i].className=='mmoActive'){mmoActive_select.activeit=mmoitems[i];mmoActive_select.activeid=i;mmoActive_select.url=(mmoitems[i].getElementsByTagName('a'))?mmoitems[i].getElementsByTagName('a')[0].href:null;}}
return mmoActive_select;}
function mmoShowOptions(g){var _elem=document.getElementById("mmoOptionsDiv"+g);if((mmoActive_select)&&(mmoActive_select!=_elem)){mmoActive_select.className="mmoOptionsDivInvisible";document.getElementById('mmonetbar').focus();}
if(_elem.className=="mmoOptionsDivInvisible"){document.getElementById('mmoFocus').focus();mmoActive_select=mmoSetActive(g);if(document.documentElement){document.documentElement.onclick=mmoHideOptions;}else{window.onclick=mmoHideOptions;}
_elem.className="mmoOptionsDivVisible";}else if(_elem.className=="mmoOptionsDivVisible"){_elem.className="mmoOptionsDivInvisible";document.getElementById('mmonetbar').focus();}}
function mmoHideOptions(e){if(mmoActive_select){if(!e)e=window.event;var _target=(e.target||e.srcElement);if((_target.id.indexOf('mmoOptionsDiv')!=-1))return false;if(mmoisElementBefore(_target,'mmoSelectArea')==0&&(mmoisElementBefore(_target,'mmoOptionsDiv')==0)){mmoActive_select.className="mmoOptionsDivInvisible";mmoActive_select=null;}}else{if(document.documentElement)document.documentElement.onclick=function(){};else window.onclick=null;}}
function mmoisElementBefore(_el,_class){var _parent=_el;do _parent=_parent.parentNode;while(_parent&&(_parent.className!=null)&&(_parent.className.indexOf(_class)==-1))
return(_parent.className&&(_parent.className.indexOf(_class)!=-1))?1:0;}
var ua=navigator.userAgent.toLowerCase();var ie6browser=((ua.indexOf("msie 6")>-1)&&(ua.indexOf("opera")<0))?true:false;function highlight(el,mod){if(ie6browser){if(mod==1&&!el.className.match(/highlight/))el.className=el.className+' highlight';else if(mod==0)el.className=el.className.replace(/highlight/g,'');}}
var mmoToggleDisplay={init:function(wrapper){var wrapper=document.getElementById(wrapper);if(!wrapper)return;var headline=wrapper.getElementsByTagName("h4")[0],link=headline.getElementsByTagName("a")[0];if(link.className.indexOf("gameCountZero")!=-1)return false;var panel=document.getElementById(link.hash.substr(1));mmoToggleDisplay.hidePanel(panel,link);link.onclick=function(e){mmoToggleDisplay.loadImages();mmoToggleDisplay.toggle(this,panel);return false;};mmoToggleDisplay.outerClick(wrapper,link,panel);var timeoutID=null,delay=8000;wrapper.onmouseout=function(e){if(!e){var e=window.event;}
var reltg=(e.relatedTarget)?e.relatedTarget:e.toElement;if(reltg==wrapper||mmoToggleDisplay.isChildOf(reltg,wrapper)){return;}
timeoutID=setTimeout(function(){mmoToggleDisplay.hidePanel(panel,link);},delay);};wrapper.onmouseover=function(e){if(timeoutID){clearTimeout(timeoutID);}};},isChildOf:function(child,parent){while(child&&child!=parent){child=child.parentNode;}
if(child==parent){return true;}else{return false;}},hidePanel:function(panel,link){panel.style.display="none";link.className="toggleHidden";},toggle:function(link,panel){panel.style.display=panel.style.display=="none"?"block":"none";link.className=link.className=="toggleHidden"?"":"toggleHidden";},outerClick:function(wrapper,link,panel){document.body.onclick=function(e){if(!e){e=window.event};if(!(mmoToggleDisplay.isChildOf((e.target||e.srcElement),wrapper))&&panel.style.display!="none"){mmoToggleDisplay.toggle(link,panel);}}},loadImages:function(){var script=document.createElement("script");script.type="text/javascript";var jsonGameData_browser='[]',jsonGameData_client='{"":"4story","":"metin2"}';script.text='mmoToggleDisplay.callback('+jsonGameData_browser+', "browser"); mmoToggleDisplay.callback('+jsonGameData_client+', "client");';document.getElementsByTagName("head")[0].appendChild(script);mmoToggleDisplay.loadImages=function(){};},callback:function(data,gamesCat){var gameNames=[];for(var i in data){gameNames.push(data[i]);}
var gameslist=document.getElementById("mmoGamesOverview_"+gamesCat);if(!gameslist){return false;}
var imgContainers=gameslist.getElementsByTagName("span");for(var i=0;i<imgContainers.length;i++){var gameImg=document.createElement("img");gameImg.alt="";imgContainers[i].appendChild(gameImg);}}}
var staticPageFold={init:function(opts){var pagefoldHTML='';pagefoldHTML='<div id="" class="'+(opts.darkBG?'dark':'light')+'">';pagefoldHTML+='</div>';pagefoldHTML+='<div class="" id=""></div>';pagefoldHTML+='<div class="" id=""></div>';pagefoldHTML+='<div class="" id=""></div>';pagefoldHTML+='<div class="" id=""></div>';pagefoldHTML+='<div class="" id=""></div>';pagefoldHTML+='<a id="hoverlink" target="_blank" href="<?PHP echo $serverSettings['url']; ?>"></a>';var pagefoldWrapper=document.createElement("div");pagefoldWrapper.id="";if(opts.alignRight){pagefoldWrapper.className=""};pagefoldWrapper.innerHTML=pagefoldHTML;document.getElementById(opts.target).appendChild(pagefoldWrapper);var pagefoldLink=document.getElementById("");var extraDivs=staticPageFold.getElementsByClass("mmoPFS_extra");var hoverlink=document.getElementById("hoverlink");hoverlink.onmouseover=function(){for(var i=0;i<extraDivs.length;i++){extraDivs[i].style.display="none";}
this.style.cssText="width: 1px; height: 1px;";pagefoldLink.className="hover";};hoverlink.onmouseout=function(){for(var i=0;i<extraDivs.length;i++){extraDivs[i].style.display="block";}
this.style.cssText="";pagefoldLink.className="";};staticPageFold.adjustNetbar();},adjustNetbar:function(){var logo=document.getElementById("mmoLogo");logo.parentNode.removeChild(logo);var netbarContent=document.getElementById("mmoContent");switch(netbarContent.className){case"mmonewsout":var newWidth="692px";break;case"mmolangout":var newWidth="272px";break;case"mmosmallbar":var newWidth="477px";break;default:var newWidth="auto";break;}
if(newWidth!="auto"){netbarContent.style.cssText="width: "+newWidth+" !important";}},isNative:function(func){return/native code/.test(func);},getElementsByClass:function(className){if(document.getElementsByClassName&&staticPageFold.isNative(document.getElementsByClassName)){return document.getElementsByClassName(className);}
if(document.all){var allElements=document.all;}else{var allElements=document.getElementsByTagName("*");}
var foundElements=[];for(var i=0;i<allElements.length;i++){if(allElements[i].className.indexOf(className)!=-1){foundElements[foundElements.length]=allElements[i];}}
return foundElements;},addLoadEvent:function(func){var oldonload=window.onload;if(typeof window.onload!="function"){window.onload=func;}else{window.onload=function(){oldonload();func();}}}};</script>
	<div id="mmoContent" class="mmosmallbar">

		<a id="mmoLogo" href=""></a>



		<div id="mmoGame" class="mmoGame">
			<div class="mmoBoxLeft"></div>
			<div class="mmoBoxMiddle">

				<!--<div id="mmoGames"></div>-->

				<div id="mmoLangs">
					<label>Alege limba:</label>
					<div id="mmoLangSelect" class="mmoSelectbox">
						<div id="mmoSarea1" onclick="mmoShowOptions(1)" class="mmoSelectArea">
							<div class="mmoSelectText" id="mmoMySelectContent1">
<div id="mmoMySelectText1" class="mmoflag mmo_RO">Rom&#226;n&#259;</div>							</div>
							<div class="mmoSelectButton"></div>
						</div>
						<div class="mmoOptionsDivInvisible" id="mmoOptionsDiv1">
							<ul class="mmoLangList" id="mmoList1">

<li class="mmoActive"><a href="<?PHP echo $serverSettings['url']; ?>/" target="_top" class="mmoflag mmo_RO">Rom&#226;n&#259;</a></li>
<li><a href="<?PHP echo $serverSettings['url']; ?>/" target="_top" class="mmoflag mmo_US">Engleza</a></li>

							</ul>
						</div>
					</div>
				</div>
			</div>
			<div class="mmoBoxRight"></div>


			<div id="mmoGamesOverviewPanel">
				<div id="mmoGamesOverviewToggle">
					<h4>
						<a href="#mmoGamesOverviewLists">Parteneri<span class="mmoNbPseudoSelect_icon"></span></a>
						<span class="mmoNbBoxEdge mmoNbBoxEdge_left"></span>
						<span class="mmoNbBoxEdge mmoNbBoxEdge_right"></span>
					</h4>
					
				</div>
				<div id="mmoGamesOverviewLists">
					<div id="mmoGamesOverviewCountry" class="mmo_RO"></div>
					<h5>Parteneri</h5>
					<ul id="mmoGamesOverview_client">
							<li>
							<a target="_blank" href="" title="Serverul t&#259;u aici!"><img src="img\parteners-img\\big1.png"><br/>Serverul t&#259;u aici!</a>
						    </li>
							<li>
							<a target="_blank" href="" title="Serverul t&#259;u aici!"><img src="img\parteners-img\big2.png"><br/>Serverul t&#259;u aici!</a>
						    </li>
							<li>
							<a target="_blank" href="" title="Serverul t&#259;u aici!"><img src="img\parteners-img\big3.png"><br/>Serverul t&#259;u aici!</a>
						    </li>

					</ul>
				</div>
			</div>

		</div>

		<input id="mmoFocus" type="text" size="5" />
	</div>
</div>

<!-- metin2/ro game 11.06.2011 16:42 -->
<script type="text/javascript">
mmoInitSelect();
mmoToggleDisplay.init("mmoGamesOverviewPanel");
	staticPageFold.addLoadEvent(function() {
		if (location.href.indexOf("board") == -1) {
			staticPageFold.init({
				"target": "pagefoldtarget",
				"darkBG": true,
				"langcode": "ro",
				"kid": "5-29833-02033-1105-1011213e",
				"alignRight": true			});
		}
	});
</script>
<!-- #/MMO:NETBAR# -->
<div id="page">
	<div class="header-wrapper">
		<div id="header"><a class="logo" style="margin-top:45;" href="index.php?s=home"></a>

		<?php
session_start ();

	if($_SESSION['id'] == "") {
		include('user/downloadmenu.php'); }
		else {
		
		$coins = $_SESSION['coins'];

		
echo "<center>";

		include('user/upmenu.php'); 
		
}
?>

</div>
</div>
</div>
</center>
	<!-- left column - navigation -->
	<div class="container-wrapper">
		<div class="container">
			<div class="col-1">
				<div class="boxes-top">&nbsp;</div>
				<div class="modul-box">
					<div class="modul-box-bg">
						<div class="modul-box-bg-bottom">
							<!-- main navigation -->
							<ul class="main-nav">
								<li class="active"><a href="index.php?s=home">Start</a></li>
								<li><a href="index.php?s=thegame">Jocul</a></li>
								<?php
session_start ();
if($_SESSION['id'] == ""){
}
else
{
echo "
<li><a href='http://chat.metin2tm.ro/index.php?L=Chat'>Chat</a></li>";
}
?>	
								<li><a href="index.php?s=media">Galerie</a></li>

								
<li><a href="index.php?s=pillory">Lista Ban</a></li>
								
							<?php
session_start ();
if($_SESSION['id'] == ""){
}
else
{
echo "
<!-- <li><a href='index.php?s=news'>Nout&#259;&#355;i</a></li>-->";
}
?>		
<li><a href="index.php?s=howto">Primii pa&#351;i</a></li>
<li><a href="index.php?s=download">Desc&#259;rcare</a></li>
<li><a href="index.php?s=community">Comunitate</a></li>															
<li><a href="http://board.metin2tm.ro" target="_blank">Forum</a></li>
<?PHP
  if(isset($_SESSION['user_admin']) && checkInt($_SESSION['user_admin']) && $_SESSION['user_admin']>=0) {
?>
<?php 
if($_SESSION['user_admin']>0) 
	echo "<li><a href='index_adm.php?s=admin'>Administrare</a></li>";?>
<?PHP	
}
?>
</ul>
</div>
</div>
</div>

	<div class="boxes-middle">&nbsp;</div>
								<div class="modul-box modul-box-2">
					<div class="modul-box-bg">
						<div class="modul-box-bg-bottom">
														<h3>Informa&#355;ii</h3>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<strong>Experien&#355;&#259; :</strong> 100%<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<strong>Drop Yang :</strong> 100%<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<strong>Drop Iteme :</strong> 100%<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<strong>Data lans&#259;rii :</strong><br /><center>01.01.2012</center><br /> </div>
                   	<?PHP
include 'inc/dbsettings.php';
$ip = gethostbyname($serverip);
$portlist=array(3306 ,11002, 13000, 13001);
$onliner=array("mysql", "login", "char", "world");
$server=array("Mysql", "Login", "Char", "World");
$i=0;
foreach  ($portlist as $port){
	$online = @fsockopen($ip, $port, $errno, $errstr, 1);
	if (!$online)
	{
		echo "<center><img src=\"img/status/Off.png \" title=\"$server[$i]-Server Offline\"></center>";
		$$onliner[$i] = "0";
	}
	else
	{
		echo "<center><img src=\"img/status/On.png \" title=\"$server[$i]-Server Online\"></center>";
		$$onliner[$i] = "1";
	}
	@fclose($online);
$i++;
}
?>	
	</div>
				</div>
					<div class="boxes-middle">&nbsp;</div>
								<div class="modul-box modul-box-2">
					<div class="modul-box-bg">
						<div class="modul-box-bg-bottom">
				<h3>Urm&#259;re&#351;te-ne pe :</h3>
<center>
<br/>
    <td width="20%">&nbsp;</td>
    <td width="20%"><a href="http://youtube.com/"><img src="http://metin2tm.ro/img/youtube.png"></a></td>
    <td width="20%"><a href="http://www.facebook.com/TmMetin2"><img src="http://metin2tm.ro/img/fb.png"></a></td>
    <td width="15%">&nbsp;</td>
</div>



					
					</div>
				</div>
</center>
												<div class='boxes-bottom'></div>
</div>	
<!-- center column -->		
		<?PHP
			$includeDir = ".".DIRECTORY_SEPARATOR."main".DIRECTORY_SEPARATOR;
			$includeDefault = $includeDir."home.php";
			
			if(isset($_GET['s']) && !empty($_GET['s']))
			{
			
				$_GET['s'] = str_replace("\0", '', $_GET['s']);
				$includeFile = basename(realpath($includeDir.$_GET['s'].".php"));
				$includePath = $includeDir.$includeFile;
				
				if(!empty($includeFile) && file_exists($includePath)) 
				{
					include($includePath);
				}
				else 
				{
				include($includeDefault);
				}

			} 
			else 
			{
				include($includeDefault);
			}
		?>
<!-- right column -->
<?php
include("./user/right_column.php");
?>
<!-- footer -->
<?php
include("./user/footer.php");
?>	
