<? 
//kontrola a start sesion s uzivatelovymi udaji
session_start();
if (!$_SESSION['nick'] )
{
 header("Location:index.php");
 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" xml:lang="en" lang="en">

<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-2"/>
<meta name="description" content="description"/>
<meta name="keywords" content="keywords"/> 
<meta name="author" content="author"/> 
<link rel="stylesheet" type="text/css" href="default.css" media="screen"/>
<title>SCadmin 1.1</title>
</head>

<body>

<div class="container">

	<div class="header">
		
		<div class="title">
			<h1></h1>
		</div>

		<div class="navigation">
			<a href="main.php">Home</a>
			<a href="main.php?title=newserver">Add New Server</a>
			<a href="main.php?title=statistics">Statistics</a>
			<a href="main.php?title=account">Account</a>
			<a href="logout.php">Log Out</a>
			<div class="clearer"><span></span></div>
		</div>

	</div>

	<div class="main">
		
		<div class="content"><br />
<? 
if (!$title)
 include "./home.php";
else 
 include "./$title."."php";
?> 
<br /><br />
		</div>

	
	
		<div class="clearer"><span></span></div>

	</div>

</div>

<div class="footer">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &copy; 2006 <a href="index2.php">www.linux.nepomucenus.com</a>. Valid <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a> &amp; <a href="http://validator.w3.org/check?uri=referer">XHTML</a>. Template modified by <a href=" mailto:mjany@seznam.cz">Janek</a>. Original is Indigo by <a href="http://arcsin.se">Viktor Persson</a>
</div>

</body>

</html>