<!DOCTYPE html>
<html lang="<?php echo $tpl['lang']; ?>">

<head>
	<title><?php echo $tpl['page']['title']; ?> - <?php echo $tpl['app']['name']; ?></title>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width">
	<link rel="stylesheet" type="text/css" media="screen" title="style" href="<?php echo $tpl['admin']['style']['path']; ?>/style.css">
</head>

<body>
	<div id="content_connection">
		<div id="connection">
			<h1><?php echo $tpl['app']['name']; ?></h1>
			<form action="<?php echo $tpl['current_url']; ?>" method="post">
				<div>
<?php include('report.tpl.php'); ?>
<?php include($tpl['template']['file']); ?>
				</div>
			</form>
		</div>
	</div>

<?php $tpl['print']('logs'); ?>

<?php $tpl['print']('errors'); ?>

<?php $tpl['print']('sql'); ?>

	<script type="text/javascript" src="<?php echo $tpl['gallery']['path']; ?>/js/jquery/jquery.js"></script>
	<script type="text/javascript" src="<?php echo $tpl['admin']['template']['path']; ?>/js/admin.js"></script>
</body>

</html>