Compare commits
No commits in common. "bibliotheque.php" and "main" have entirely different histories.
bibliotheq
...
main
@ -1,53 +0,0 @@
|
|||||||
<?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