|
|
@ -1,12 +1,12 @@
|
|
|
|
<!DOCTYPE html>
|
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8" />
|
|
|
|
<meta charset="utf-8" />
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
|
|
|
|
<meta name="description" content="" />
|
|
|
|
<meta name="description" content="" />
|
|
|
|
<meta name="author" content="" />
|
|
|
|
<meta name="author" content="" />
|
|
|
|
<!-- Core theme CSS (includes Bootstrap)-->
|
|
|
|
<!-- Core theme CSS (includes Bootstrap)-->
|
|
|
|
<link href="../view/css/home.css" rel="stylesheet" />
|
|
|
|
<link href="view/css/home.css" rel="stylesheet" />
|
|
|
|
</head>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<body>
|
|
|
|
<div class="d-flex" id="wrapper">
|
|
|
|
<div class="d-flex" id="wrapper">
|
|
|
@ -14,14 +14,14 @@
|
|
|
|
<div class="border-end bg-white" id="sidebar-wrapper">
|
|
|
|
<div class="border-end bg-white" id="sidebar-wrapper">
|
|
|
|
<div class="sidebar-heading border-bottom bg-light">2do</div>
|
|
|
|
<div class="sidebar-heading border-bottom bg-light">2do</div>
|
|
|
|
<div class="list-group list-group-flush">
|
|
|
|
<div class="list-group list-group-flush">
|
|
|
|
<a class="list-group-item list-group-item-action list-group-item-light p-3" href="#!">Home</a>
|
|
|
|
<a class="list-group-item list-group-item-action list-group-item-light p-3" href="index.php">Home</a>
|
|
|
|
<a class="list-group-item list-group-item-action list-group-item-light p-3" href="#!">New List +</a>
|
|
|
|
<a class="list-group-item list-group-item-action list-group-item-light p-3" href="index.php?action=pageListe">New List +</a>
|
|
|
|
<?php
|
|
|
|
<?php
|
|
|
|
if($user){
|
|
|
|
if($user){
|
|
|
|
echo '<a class="list-group-item list-group-item-action list-group-item-light p-3" href="#!">My Lists 🔒</a>';
|
|
|
|
echo '<a class="list-group-item list-group-item-action list-group-item-light p-3" href="index.php?action=voirListePriv">My Lists 🔒</a>';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
?>
|
|
|
|
?>
|
|
|
|
<a class="list-group-item list-group-item-action list-group-item-light p-3" href="#!">About</a>
|
|
|
|
<a class="list-group-item list-group-item-action list-group-item-light p-3" href="index.php?action=pageAbout">About</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- Page content wrapper-->
|
|
|
|
<!-- Page content wrapper-->
|
|
|
@ -35,10 +35,10 @@
|
|
|
|
<ul class="navbar-nav ms-auto mt-2 mt-lg-0">
|
|
|
|
<ul class="navbar-nav ms-auto mt-2 mt-lg-0">
|
|
|
|
<?php
|
|
|
|
<?php
|
|
|
|
if($user){
|
|
|
|
if($user){
|
|
|
|
echo '<li class="nav-item"><a class="nav-link" href="#!">Log out</a></li>';
|
|
|
|
echo '<li class="nav-item"><a class="nav-link" href="index.php?action=deconnecter">Log out</a></li>';
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
echo '<li class="nav-item"><a class="nav-link" href="#!">Log In</a></li>';
|
|
|
|
echo '<li class="nav-item"><a class="nav-link" href="index.php?action=pageConnection">Log In</a></li>';
|
|
|
|
echo '<li class="nav-item"><a class="nav-link" href="#!">Register</a></li>';
|
|
|
|
echo '<li class="nav-item"><a class="nav-link" href="index.php?action=pageRegister">Register</a></li>';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
?>
|
|
|
|
?>
|
|
|
|
</ul>
|
|
|
|
</ul>
|
|
|
|