<!DOCTYPE html>
<html lang="en">
<head>
	<title><?php if ($page) { ?><?php echo ucwords($page);?> - <?php } echo JAK_TITLE;?></title>
	<meta charset="utf-8">
	<meta name="description" content="Drag and Drop Shop from JAKWEB" />
	<meta name="keywords" content="Drag and Drop Shop" />
	<meta name="author" content="JAKWEB" />
	<?php if ($page == 'success' or $page == 'logout' or $page == '404' or $page == 'error') { ?>
	<meta http-equiv="refresh" content="1;URL=<?php if ($page == '404') { echo BASE_URL_ADMIN; } else { echo $_SERVER['HTTP_REFERER']; } ?>" />
	<?php } ?>
	<link rel="shortcut icon" href="../favicon.ico" type="image/x-icon" />
	<link rel="stylesheet" href="css/screen.css" type="text/css" media="screen" />
	<link rel="stylesheet" href="css/lightness/style.css" type="text/css" media="screen" />
	
	<script type="text/javascript" src="../js/jquery.js"></script>
	<script type="text/javascript" src="../js/functions.js"></script>
	<script type="text/javascript" src="../js/colorbox-min.js"></script>
	
	<!--[if lt IE 10]>
		<script type="text/javascript" src="../js/ie.js"></script>
	<![endif]-->
	
	<!--[if lt IE 9]>
		<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
	<![endif]-->
	 
</head>
<body>
<div id="container">

<?php if ($JAK_PROVED) { echo '<div class="content">';?>

<header>
	<h1><a href="<?php echo BASE_URL_ADMIN;?>"><img src="<?php echo BASE_URL_ADMIN;?>img/logo.png" width="128" height="128" alt="logo" class="img" /></a><?php echo JAK_TITLE;?></h1>
	<div class="logout"><?php echo $JAK_WELCOME_NAME;?>&nbsp;|&nbsp;<a href="<?php echo BASE_URL_ORIG;?>" target="_blank"><?php echo $tl["shop"]["m58"];?></a>&nbsp;|&nbsp;<a href="index.php?p=logout" title="<?php echo $tl["logout"]["l"];?>" onclick="if(!confirm('<?php echo $tl["logout"]["l2"];?>'))return false;"><?php echo $tl["logout"]["l"];?></a></div>
<nav>
<?php include_once APP_PATH.'admin/template/navbar.php';?>
</nav>

</header><!-- #header -->

<?php } ?>

<div class="clear"></div>