<?php include('classes.php'); 

define('PREV', "");

//print_r_pre($_POST, "POST");

$manager->renvoi();
$manager->getPage();

?>
<!DOCTYPE html>
<html>
    <head>
        <title><?php echo $titre; ?></title>
		<meta charset="utf-8" />
		<link rel="stylesheet" href="prog/styles.css" type="text/css" />
		<link rel="icon" type="image/png" href="img/favicon.png" />
    </head>
	
    <body class="simple-ecran">
		<section id="contenu"><?php echo $contenu; ?></section>
		
		<aside>
			<a href="liste">Afficher un chant</a>
			<a href="rech-chant">Rechercher un chant</a>
			<a href="choix-b">Lecture Biblique</a>
			<a href="rech-b">Rechercher un verset</a>
			<a href="parametres">Paramètres</a>
			<a href="" id="lien_double_ecran">Double écran</a>
		</aside>
		
		<nav <?php if (isset($_GET['double'])) echo 'style="display:none;"' ?>>
			<div id="nav-gauche">
				<img id="menu" class="icone" src="img/menu.svg" title="Menu" alt="menu"/>
				<form method="POST" id="form_code" action="redirige">
					<label>Code du chant :</label><input type="text" id="code" name="code" autocomplete="off" title="Code du chant" />
					<input type="hidden" id="double_ecran" name="double_ecran" />
					<img id="open-new" class="icone" src="img/open_new.svg" title="Afficher" alt="Afficher" onClick="submit()"/>
				</form>
				<img id="droite" class="icone" src="img/droite.svg" title="Avancer" alt="Avancer"/>
			</div>
			<div id="numero"><?php echo $numero; ?></div>
			<div id="nav-droite"><?php echo $liens; ?></div>
		</nav>
    
		<script type="text/javascript" src="prog/jquery-1.11.2.js"></script>
		<script type="text/javascript" src="prog/jquery.js"></script>
	</body>
</html>