-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathIndex.php
More file actions
57 lines (46 loc) · 1.2 KB
/
Copy pathIndex.php
File metadata and controls
57 lines (46 loc) · 1.2 KB
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
<?php
if (!isset($_SESSION))
session_start();
if (isset($_SESSION['unom']))
{
echo '<script type="text/javascript">'
, 'document.location.replace("View/Accueil.php");'
, '</script>';
}
?>
<!DOCTYPE html>
<html lang='en'>
<head>
<meta charset="UTF-8" />
<title>
Welcome
</title>
<link rel="stylesheet" type="text/css" href="View/css/style.css" />
</head>
<body>
<div id="wrapper">
<form name="login-form" class="login-form" action="Controlor/MainControlor.php?fun=auth" method="post">
<div class="header">
<h1>Login Form</h1>
<span style=" font-color: red;">
<?php
if(isset($_GET['form']))
echo $_GET['form'] . "</br>";
?>
</span>
</div>
<div class="content">
<input name="login" type="text" class="input username" placeholder="Username" />
<div class="user-icon"></div>
<input name="passwd" type="password" class="input password" placeholder="Password" />
<div class="pass-icon"></div>
</div>
<div class="footer">
<input type="submit" name="submit" value="Login" class="button" />
<a class="register" href="View/Inscription.php"> inscription </a>
</div>
</form>
</div>
<div class="gradient"></div>
</body>
</html>