-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
67 lines (60 loc) · 2.71 KB
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<?php
include('login.php'); // Includes Login Script
if(isset($_SESSION['login_user'])){
header("location: profile.php"); // Redirecting To Profile Page
}
?>
<!DOCTYPE html>
<html lang="fr">
<head>
<link rel="shortcut icon" href="medias/favicon.png"/>
<title>Login robots-ju.ch</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="css/login.css">
<link rel="stylesheet" href="css/uikit-rtl.css"/>
<link rel="stylesheet" href="css/uikit-rtl.min.css"/>
<link rel="stylesheet" href="css/uikit.css"/>
<link rel="stylesheet" href="css/uikit.min.css"/>
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/v/dt/dt-1.10.24/datatables.min.css"/>
<script type="text/javascript" src="https://cdn.datatables.net/v/dt/dt-1.10.24/datatables.min.js"></script>
<script src="js/uikit-icons.js"></script>
<script src="js/uikit-icons.min.js"></script>
<script src="js/uikit.js"></script>
<script src="js/uikit.min.js"></script>
</head>
<body style="padding-left: 5%; padding-right: 5%">
<header>
<div class="container">
<h1>Intranet Robots-JU</h1>
<p>Bienvenue sur la plateforme Membres de Robots-JU !</p>
</div>
</header>
<main>
<div class="uk-text-center" uk-grid>
<div class="uk-width-1-2@m">
<div class="uk-card uk-card-body">
<img data-src="medias/login/ImageFLL2019.jpg" uk-img>
</div>
</div>
<div class="uk-width-1-2@m">
<div class="uk-card uk-card-body">
<h1>Se connecter</h1>
<hr>
<p><a href="accueil.php">Accéder au site</a></p>
<div id="login">
<form action="" method="post">
<label>Nom d'utilisateur :</label>
<input id="name" name="username" placeholder="username" type="text"><br><br>
<label>Mot de passe :</label>
<input id="password" name="password" placeholder="**********" type="password"><br><br>
<input name="submit" type="submit" value=" Login ">
<span><?php echo $error; ?></span>
</form>
</div>
</div>
</div>
</div>
</main>
</body>
</html>