-
Notifications
You must be signed in to change notification settings - Fork 1
/
Account.php
56 lines (53 loc) · 3.12 KB
/
Account.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>OMNES Santé : Mon compte</title>
<meta name="description" content="Mon compte Omnes Santé">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<link rel="stylesheet" href="Index.css">
<link rel="stylesheet" href="Account.css">
<link rel="icon" href="images/Decor/LogoOmnesSante2.ico">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"></script>
<script src="https://kit.fontawesome.com/c6c9e611bb.js" crossorigin="anonymous"></script>
<?php include_once 'const.php' ?>
</head>
<body>
<div id="Wrapper">
<header id="Header">
<?php include 'navBar.php' ?>
<?php include 'NavBarStatique.php' ?>
<div id="Darkmode"><button onclick="switchTheme()" title="Changer de thème de couleur">◐</button></div>
</header>
<section id="Milieu">
<?php if (!isset($_SESSION["LOGGED"]) && !isset($_COOKIE["LOGGED_USER"])) : ?>
<div class="Boites">
<div class="SousBoites" style="max-width: 600px;">
<nav>
<div class="nav nav-tabs" id="nav-tab" role="tablist">
<a class="nav-link active" id="nav-home-tab" data-bs-toggle="tab" href="#nav-home" role="tab" aria-controls="nav-home" aria-selected="true"><i class="fas fa-user-check"></i> Connection</a>
<a class="nav-link" id="nav-profile-tab" data-bs-toggle="tab" href="#nav-profile" role="tab" aria-controls="nav-profile" aria-selected="false"><i class="fas fa-user-plus"></i> Inscription</a>
<a class="nav-link" id="nav-profile-tab" data-bs-toggle="tab" href="#nav-doctor" role="tab" aria-controls="nav-profile" aria-selected="false"><i class="fa-solid fa-user-doctor"></i> Médecin</a>
<a class="nav-link" id="nav-profile-tab" data-bs-toggle="tab" href="#nav-admin" role="tab" aria-controls="nav-profile" aria-selected="false"><i class="fa-solid fa-user-gear"></i> Admin</a>
</div>
</nav>
<div class="tab-content" id="ex-with-icons-content">
<?php include 'loginU.php' ?>
<?php include 'createAccountU.php' ?>
<?php include 'loginM.php' ?>
<?php include 'loginA.php' ?>
</div>
</div>
</div>
<?php elseif (isset($_SESSION["LOGGED"]) || isset($_COOKIE["LOGGED_USER"])) : ?>
<?php include 'MyAccount.php' ?>
<?php if(isset($_COOKIE["ADMIN"])){include 'Admin.php';};?>
<?php if(isset($_SESSION["Medecin"])){include 'MedecinA.php';};?>
<?php endif; ?>
</section>
</div>
<?php include 'footer.php' ?>
<script src="Index.js"></script>
</body>
</html>