|
|
|
@ -3,28 +3,59 @@
|
|
|
|
|
<head>
|
|
|
|
|
<title>Ajouter une Liste</title>
|
|
|
|
|
<link rel="stylesheet" href="Style/bootstrap.css">
|
|
|
|
|
<link rel="stylesheet" href="Style/seeListStyle.css">
|
|
|
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
|
|
|
|
|
<link rel="stylesheet" href="Style/listStyle.css">
|
|
|
|
|
</head>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="sidenav">
|
|
|
|
|
<a href="#">About</a>
|
|
|
|
|
<a href="#">Services</a>
|
|
|
|
|
<a href="#">Clients</a>
|
|
|
|
|
<a href="#">Contact</a>
|
|
|
|
|
<form method="POST" name="goBackHome" id="GoHome">
|
|
|
|
|
<input type="submit" value="Public lists"/>
|
|
|
|
|
<input type="hidden" name="action" value="goHome"/>
|
|
|
|
|
</form>
|
|
|
|
|
|
|
|
|
|
<?php
|
|
|
|
|
if(isset($_SESSION['login'])){
|
|
|
|
|
?>
|
|
|
|
|
<form method="POST" name="goBackHome" id="GoHome">
|
|
|
|
|
<input type="submit" value="Private lists"/>
|
|
|
|
|
<input type="hidden" name="action" value="viewPrivateList"/>
|
|
|
|
|
</form>
|
|
|
|
|
<?php
|
|
|
|
|
}
|
|
|
|
|
?>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="main">
|
|
|
|
|
|
|
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
if(!isset($_SESSION['login'])){
|
|
|
|
|
?>
|
|
|
|
|
<div class="topnav">
|
|
|
|
|
<a href="#home">Se connecter</a>
|
|
|
|
|
<form method="post" name="connection" id="connection">
|
|
|
|
|
<input class="connection" type="submit" value="Connection"/>
|
|
|
|
|
<input type="hidden" name="action" value="accessSignIn"/>
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
|
<?php
|
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
?>
|
|
|
|
|
<div class="topnav">
|
|
|
|
|
<form method="post" name="deconnection" id="deconnection">
|
|
|
|
|
<input class="connection" type="submit" value="Deconnection"/>
|
|
|
|
|
<input type="hidden" name="action" value="deconnection"/>
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
|
<?php
|
|
|
|
|
}
|
|
|
|
|
?>
|
|
|
|
|
|
|
|
|
|
<h2>List details</h2>
|
|
|
|
|
|
|
|
|
|