Initial commit
Création de tous les dossiers et fichiers avec mise à part des constantes
This commit is contained in:
commit
4c71fb59b4
42 changed files with 2544 additions and 0 deletions
5
static/entete.php
Normal file
5
static/entete.php
Normal file
|
@ -0,0 +1,5 @@
|
|||
<header>
|
||||
<h1><a href= "index.php">
|
||||
Cuisine et pâtisserie
|
||||
</a></h1>
|
||||
</header>
|
5
static/footer.php
Normal file
5
static/footer.php
Normal file
|
@ -0,0 +1,5 @@
|
|||
<footer>
|
||||
<p>Réalisé par <a href="https://timotheehuneau.fr">Timothée Huneau</a></p>
|
||||
<p>@2022</p>
|
||||
<p>Icons from <a href="https://www.flaticon.com/" title="Flaticon"> www.flaticon.com</a></p>
|
||||
</footer>
|
16
static/menu.php
Normal file
16
static/menu.php
Normal file
|
@ -0,0 +1,16 @@
|
|||
<nav>
|
||||
<a href="index.php" title="Retour à la liste des recettes"><p>Accueil</p></a>
|
||||
<a href="index.php?page=recette&id=0"><p>Ajouter une recette</p></a>
|
||||
<a href="index.php?page=ajouterElement" title="Les ingrédients, unités et ustensiles déjà enregistrés"><p>Les éléments déjà présents</p></a>
|
||||
<a href="index.php?page=statistiques"><p>Statistiques</p></a>
|
||||
<a href="index.php?page=connexion" title="Se connecter permet d'ajouter et de modifier des recettes">
|
||||
<p>
|
||||
<?= !$_SESSION['auth'] ? 'Se connecter' : 'Se déconnecter'?>
|
||||
<span class="<?= $_SESSION['auth'] ? 'lock' : 'unlock' ?>">
|
||||
<img
|
||||
src="contenus/<?= $_SESSION['auth'] ? 'closed_lock' : 'open_lock' ?>.svg"
|
||||
/>
|
||||
</span>
|
||||
</p>
|
||||
</a>
|
||||
</nav>
|
Loading…
Add table
Add a link
Reference in a new issue