Ajouter ma biblioteque
This commit is contained in:
parent
0288df0785
commit
df0887294f
53
ma biblioteque
Normal file
53
ma biblioteque
Normal file
@ -0,0 +1,53 @@
|
|||||||
|
<?php
|
||||||
|
session_start();
|
||||||
|
include("modele/Client.php");
|
||||||
|
if (!isset($_SESSION['connecter'])) $_SESSION['connecter'] = false;
|
||||||
|
?>
|
||||||
|
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>Biblioweb</title>
|
||||||
|
<link rel="stylesheet" href="CSS/bootstrap/css/bootstrap.min.css">
|
||||||
|
<link rel="stylesheet" href="CSS/theme.css">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div class="jumbotron">
|
||||||
|
<div class="col-lg-8"><span class="biblio-logo">Biblioweb<span class="dot">.JBF</span></span></div>
|
||||||
|
<div class="col-lg-4" id="logoright">Bibliothèque du web</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-lg-6">
|
||||||
|
<ul class="nav nav-pills">
|
||||||
|
<li><a href="index.php">Accueil</a></li>
|
||||||
|
<?php if (!$_SESSION['connecter']) echo '<li><a href="inscription.php">Inscription</a></li>'; ?>
|
||||||
|
<li><a href="reglement.php">Règlement</a></li>
|
||||||
|
<li class="active"><a href="bibliotheque.php">La bibliothèque</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-lg-6" id="iscri">
|
||||||
|
<?php if (!$_SESSION['connecter']): ?>
|
||||||
|
<form method="post" action="index.php">
|
||||||
|
<input type="text" name="email" placeholder="Email ou Username" required>
|
||||||
|
<input type="password" name="pwd" placeholder="Password" required>
|
||||||
|
<input type="submit" value="Login">
|
||||||
|
</form>
|
||||||
|
<?php else: ?>
|
||||||
|
<ul class="nav nav-pills">
|
||||||
|
<li class="active"><a href="profil.php">Profil</a></li>
|
||||||
|
<li><a href="index.php?d=true">Déconnecter</a></li>
|
||||||
|
</ul>
|
||||||
|
<?php endif; ?>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="text-center">
|
||||||
|
<img src="IMG/depositphotos_151050472.jpg" class="img-fluid" alt="Coffee morning in the workplace">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<footer class="footer col-lg-12">
|
||||||
|
<?php include('composant/footer.php'); ?>
|
||||||
|
</footer>
|
||||||
|
</body>
|
||||||
|
</html>
|
Loading…
x
Reference in New Issue
Block a user