-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprof_log.php
More file actions
43 lines (38 loc) · 1.29 KB
/
Copy pathprof_log.php
File metadata and controls
43 lines (38 loc) · 1.29 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
<?php
session_start();
if (isset($_SESSION['ProfesseurID'])) {
header('location: prof_espace.php');
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Enseignant login</title>
<link rel="stylesheet" type="text/css" href="css/log.css?v=1.0">
</head>
<body>
<div class="wrapper">
<div class="container">
<img src="img/logo_min.png" alt="Logo" class="logo">
<h1>Willkommen</h1>
<form action="prof_controller.php" class="form" method="POST">
<?php
if (isset($_SESSION['status']) && $_SESSION['status'] != '') {
echo '<h6 class="bg-danger text-white"> ' . $_SESSION['status'] . ' </h6>';
unset($_SESSION['status']);
}
?>
<input type="text" name="cin" id="" placeholder="CIN"> <br>
<input type="password" name="password" id="" placeholder="Password"> <br>
<button type="submit" name="login_btn" id="login">Log In</button>
</form>
</div>
</div>
<script src="script.js" src="js/log.js"></script>
</body>
</html>
<?php
include 'includes/scripts.php';
?>