-
Notifications
You must be signed in to change notification settings - Fork 0
/
add_filiere.php
53 lines (50 loc) · 2.08 KB
/
add_filiere.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
<?php
session_start();
?>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Ajout d'une filière</title>
<base href="/">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="favicon.ico">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
</head>
<body>
<nav class="navbar navbar-default">
<?php include('navigation.php') ?>
</nav>
<div class="container">
<div style="text-align: right;">
<h5>Vous êtes connecté M/Mlle <?php echo $_SESSION['nom'].' '.$_SESSION['prenom']; ?></h5>
<a href="examen/deconnexion.php">
<button type="button" class="btn rounded-pill btn-info">Deconnectez-vous !</button>
</a>
</div>
<h2>Ajout d'une filière</h2>
<a href="examen/filiere.php"><button type="button" class="btn rounded-pill btn-success">Retour</button></a>
<form class="form-horizontal" method="post" action="examen/add_filiere_db.php">
<div class=" form-group ">
<label class="control-label col-sm-2 " for="code">Code :</label>
<div class="col-sm-10 ">
<input type="text" class="form-control " id="code" name="code" placeholder="Code" required>
</div>
</div>
<div class="form-group ">
<label class="control-label col-sm-2 " for="libelle">Libelle :</label>
<div class="col-sm-10 ">
<input type="text" class="form-control " id="libelle" name="libelle" placeholder="Libelle" required>
</div>
</div>
<div class="form-group button">
<div class="col-sm-offset-2 col-sm-10 ">
<button type="submit" name="ajouter" class="btn btn-primary">Ajouter</button>
</div>
</div>
</form>
</div>
</body>
</html>