-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprofile.php
More file actions
52 lines (46 loc) · 1.73 KB
/
Copy pathprofile.php
File metadata and controls
52 lines (46 loc) · 1.73 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
<?php
error_reporting(E_ALL);
ini_set('display_errors', TRUE);
ini_set('display_startup_errors', TRUE);
session_start();
if (!isset($_SESSION['customer'])) {
header('Location: ./index.php');
}
require './class/customer-link.class.php';
require './customer-template.php';
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- CSS only -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta2/dist/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="./asset/ressources/css/reset.css">
<link rel="stylesheet" href="./asset/ressources/css/style.css">
<title>Votre profil</title>
</head>
<body>
<?php require './view/partials/nav.php' ?>
<main id="profil" role="main">
<div class="container">
<div class="row row-pb">
<h1 class="text-center mt-5">Mes informations</h1>
<div class="col-lg-12 mx-auto mt-5 pt-5">
<?php
echo_customers_table([$_SESSION["customer"]]);
?>
</div>
</div>
</div>
</main>
<?php require './view/partials/footer.html' ?>
<!-- JavaScript Bundle with Popper -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script src="./asset/ressources/js/jquery-ui-1.12.1.custom/jquery-ui.min.js"></script>
<script src="./asset/ressources/js/customer-fields-controls.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta2/dist/js/bootstrap.bundle.min.js"></script>
<script></script>
</body>
</html>