<?php
	session_start();

	include $_SERVER['DOCUMENT_ROOT']."/include/funkcje_podstawa.php";
	if($_SESSION['u_login']==NULL){
		jump("./");
	}

	include $_SERVER['DOCUMENT_ROOT']."/include/baza_danych.php";
	$logged_in = 0;
	include $_SERVER['DOCUMENT_ROOT']."/include/check_login.php";

?>
<html>
<head>

	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2" />

	<title>Panel zarządzania grą</title>

	<script type='text/javascript' src='include/cms/js/jquery.min.js'></script>
	<script type="text/javascript" src="include/cms/js/prototype.js"></script>
	<script type="text/javascript" src="include/cms/js/effects.js"></script>
	<script type="text/javascript" src="include/cms/js/window.js"></script>
	<script type="text/javascript" src="include/cms/js/window_effects.js"></script>

	<script type="text/javascript" src="include/cms/js/okienka.js"></script>
	<script type="text/javascript" src="include/cms/js/menu.js"></script>
	<script type="text/javascript" src="include/cms/js/sterowanie.js"></script>

	<link href="include/cms/css/default.css" rel="stylesheet" type="text/css">
	<link href="include/cms/css/mac_os_x.css" rel="stylesheet" type="text/css">

	<link href="include/cms/css/domyslne.css" rel="stylesheet" type="text/css">

</head>
<body>

	<iframe src="./" id="ramka" name="ramka" ></iframe>

	<script type="text/javascript">
		var f = parent.document.getElementById("ramka");
		var adres = parent.window.location.hash.substr(1);
		if(adres!=""){
			f.src = adres;
		}else{
			f.src = "./";
		}
	</script>

	<div id="admin-menu">
		<?	include"include/admin_menu.php";	?>
	</div>

	<div id='admin-taskbar'>
		<div style="width: 300px">
		<p><a href="javascript:Minimalizuj_wszystkie();"><img src="include/cms/images/minimize.gif" alt=""><b>minimalizuj</b></a></p>
		<p><a href="javascript:Przywroc_wszystkie();"><img src="include/cms/images/maximize.gif" alt=""><b>przywróć</b></a></p>
		<p><a href="javascript:Zamknij_wszystkie();"><img src="include/cms/images/cancel.png" alt=""><b>zamknij</b></a></p>
		</div>
		<div style="width: 300px">
		<p><a href="javascript:Odswiez_strone();"><img src="include/cms/images/arrow_refresh.png" alt=""><b>odśwież stronę</b></a></p>
		<p><a href="javascript:Ukryj_ikonki();"><img src="include/cms/images/magnifier.png" alt=""><b>widoczność ikonek</b></a></p>
		</div>
	</div>

</body>
</html>