@@ -37,6 +37,7 @@ $message[6]='
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>EcoMonde</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" href="./img/favicon.png" type="image/x-icon" />
<link rel="stylesheet" href="./css/bootstrap.css" media="screen">
<link rel="stylesheet" href="./css/bootswatch.min.css">
<link rel="stylesheet" href="./css/ionicons.min.css">
@@ -46,7 +47,7 @@ $message[6]='
<div class="container-fluid">
<div class="col-lg-1"></div>
<div class="col-lg-3">
<a href="index.php"><img class="img-responsive" src="./img/logo_<?php echo rand(1, 6); ?> .png" alt="logo" /></a>
<a href="index.php"><img class="img-responsive" src="./img/logo_0 .png" alt="logo" /></a>
</div>
<div class="col-lg-6">
<div class="navbar navbar-default">
@@ -69,6 +70,7 @@ $message[6]='
<a href="logout.php" class="btn btn-danger btn-xs"><i class="ionicons ion-power"></i></a>
<?php elseif($status == 0): ?>
<a class="btn btn-success btn-xs" data-toggle="modal" data-target="#register"><i class="ionicons ion-plus"></i> INSCRIPTION</a>
<a class="btn btn-info btn-xs" data-toggle="modal" data-target="#modal_login"><i class="ionicons ion-power"></i> CONNEXION</a>
<?php endif; ?>
</ul>
@@ -282,34 +284,7 @@ $message[6]='
<p class="text-danger">Un <a href="http://wiki.ecomonde.land" target="_blank"><i class="ionicons ion-android-book"></i> WIKI</a> est à disposition pour un plus grand partage des ressources.</p>
</div>
<div class="col-lg-5">
<h2>Créer un compte</h2>
<form class="form-horizontal well" role="form" method="post" action="register.php" enctype="multipart/form-data">
<fieldset>
<div class="form-group">
<label for="pseudo" class="col-lg-3 control-label">Pseudo</label>
<div class="col-lg-9">
<input type="text" class="form-control" name="pseudo" placeholder="Pseudo">
</div>
</div>
<div class="form-group">
<label for="Email" class="col-lg-3 control-label">E-mail</label>
<div class="col-lg-9">
<input type="text" class="form-control" name="email" placeholder="E-mail">
</div>
</div>
<div class="form-group">
<label for="password" class="col-lg-3 control-label">Mot de passe</label>
<div class="col-lg-9">
<input type="password" class="form-control" name="pass" placeholder="Mot de passe">
</div>
</div>
<div class="form-group">
<div class="col-lg-9 col-lg-offset-3">
<button type="submit" class="btn btn-primary"><i class="ionicons ion-checkmark"></i> OK</button>
</div>
</div>
</fieldset>
</form>
<iframe width="560" height="315" src="//www.youtube-nocookie.com/embed/yYkinIyzkww?rel=0&showinfo=0" frameborder="0" allowfullscreen></iframe>
</div>
<div class="col-lg-1"></div>
</div>
@@ -341,10 +316,40 @@ $message[6]='
</div>
</div>
<div class="modal fade" id="register">
<div class="modal-dialog">
<div class="modal-content">
<form class="form-horizontal well" role="form" method="post" action="register.php" enctype="multipart/form-data">
<div class="modal-header">
<a type="button" class="close" data-dismiss="modal" aria-hidden="true" style="color:black;">X</a>
<h4 class="modal-title"><i class="ionicons ion-plus"></i> INSCRIPTION</h4>
</div>
<div class="modal-body">
<div class="form-group">
<label class="control-label" for="focusedInput">Pseudo :</label>
<input class="form-control" id="focusedInput" type="text" name="pseudo">
</div>
<div class="form-group">
<label class="control-label" for="focusedInput">E-mail :</label>
<input class="form-control" id="focusedInput" type="text" name="email">
</div>
<div class="form-group">
<label class="control-label" for="focusedInput">Mot de passe :</label>
<input class="form-control" id="focusedInput" type="password" name="password">
</div>
</div>
<div class="modal-footer">
<button type="submit" class="btn btn-primary"><i class="ionicons ion-checkmark"></i> OK</button>
</div>
</form>
</div>
</div>
</div>
<?php endif; ?>
<script src="./js/jquery-1.10.2.min.js"></script>
<script src="./js/bootstrap.min.js"></script>
<script src="./js/bootswatch.js"></script>
</body>
</html>
</html>