<!-- Header navigation -->
		<header>
			<div id="Hcontent">
				<a href="<?=$config['rel_root_folder']?>" id="logo">
					<img alt="Kabano logo" src="<?=$config['views_url'].'img/'?>header.svg">
				</a>
				<nav>
					<!-- Main menu -->
					<input type="checkbox" id="togglemenu"><label for="togglemenu" class="hamburger on-bar"><i class="icon fas fa-bars"></i></label>
					<ul id="menu">
 						<li class="on-bar has-sub with-subtitle"><a class="on-bar" href="#">Restauration<br>
 							<span class="subtitle">de refuges pastoraux</span></a>
 							<ul>
 								<li><a href="<?=$config['rel_root_folder']?>wiki/restauration-de-refuges">Activités</a></li>
 								<li><a href="<?=$config['rel_root_folder']?>wiki/portfolio-restauration">Réalisations</a></li>
 							</ul>
 						</li>
						<li class="on-bar has-sub with-subtitle"><a class="on-bar" href="#">Métallerie<br>
							<span class="subtitle">agricole</span></a>
 							<ul>
 								<li><a href="<?=$config['rel_root_folder']?>wiki/metallerie">Prestations</a></li>
 								<li><a href="<?=$config['rel_root_folder']?>wiki/fours-a-pain">Fours à pain</a></li>
 							</ul></li>
						<li class="on-bar has-sub with-subtitle">
							<a class="on-bar" href="#">Inventaire<br>
								<span class="subtitle">des cabanes de montagne</span></a>
							<ul>
								<li><a href="<?=$config['rel_root_folder']?>map">Carte</a></li>
								<li><a href="<?=$config['rel_root_folder']?>community">Contribuer</a></li>
							</ul>
						</li>
 						<li class="on-bar has-sub menu-icon">
 							<?php if ($user->id == 0) { ?>
 							<a class="on-bar" href="#"><i class="icon fas fa-user"></i></a>
 							<?php } elseif ($user->is_avatar_present == 't') { ?>
 							<a class="on-bar" href="#"><img alt="Avatar" class="icon avatar" src="<?=$config['rel_root_folder']?>medias/avatars/<?=$user->id?>_s.jpg"></a>
 							<?php } else { ?>
							<a class="on-bar" href="#"><i class="icon fas fa-user-secret"></i></a>
 							<?php } ?>
 							<ul>
								<!-- Account actions -->
 								<?php if($user->rank == 'visitor') { ?>
 								<li id="connectform">
 									<form action="<?=$config['rel_root_folder']?>user/login" method="post">
 										<input type="text" name="login" placeholder="Nom d'utilisateur">
 										<input type="password" name="password" placeholder="Mot de passe">
										<input type="submit" name="submit" value="Se connecter">
									</form>
								</li>
								<li><a href="<?=$config['rel_root_folder']?>user/signin">S'inscrire</a></li>
								<?php } else { ?>
								<li><a href="<?=$config['rel_root_folder']?>user/p">Mon profil</a></li>
								<li><a href="<?=$config['rel_root_folder']?>user/member_list">Liste des membres</a></li>
								<?php if($user->rankIsHigher('moderator')) { ?>
								<li><a href="<?=$config['rel_root_folder']?>admin">Administration</a></li>
								<?php } ?>
								<li><a href="<?=$config['rel_root_folder']?>user/logout">Se déconnecter</a></li>
 								<?php } ?>
 							</ul>
 						</li>
 						<li class="on-bar has-sub menu-icon"><a class="on-bar" href="#"><i class="icon fas fa-question"></i></a>
 							<ul>
								<!-- Help and info -->
								<li><a href="<?=$config['rel_root_folder']?>blog">Blog</a></li>
								<li><a href="<?=$config['rel_root_folder']?>contact">Contact</a></li>
								<li><a href="<?=$config['rel_root_folder']?>wiki/about">À propos</a></li>
 							</ul>
 						</li>
 					</ul>
				</nav>
			</div>
		</header>
