-
Notifications
You must be signed in to change notification settings - Fork 0
/
MonRDV.php
223 lines (195 loc) · 11 KB
/
MonRDV.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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
<!-- ___________________________ CODE PHP _____________________________ -->
<?php
include 'SqlConDatabase.php';
// ***************************** FORM SE CONNECTER PHP ***********************
// if (isset($_POST["Se_Connecter"])) {
// $username = $_POST["username"];
// $password = $_POST["password"];
{
$sql_MDP = "SELECT MDP_client AS toto FROM client WHERE Id_client = ".$_COOKIE[''];
$result_MDP= mysqli_query($db_handle, $sql_MDP);
while ($row_RDV = mysqli_fetch_assoc($result_MDP)) {
$MDP = $row_RDV['toto'];
// ICI FAIRE LA COMPARAISON
}
}
?>
<!--____________________________ CODE HTML _____________________________-->
<!DOCTYPE html>
<html lang="fr">
<head>
<title>Base</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, text/html; charset=utf-8" />
<!-- main css -->
<link rel="stylesheet" href="style_base.css">
<link rel="stylesheet" media="screen and (min-width: 981px)" href="MonRDV.css">
<!-- css for different device -->
<link rel="stylesheet" media="screen and (max-width: 980px)" href="ProfilClient_mobile.css">
<script type="text/javascript" src="ProfilClient.js"></script>
<script type="text/javascript" src="script_base.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<script src="https://code.iconify.design/2/2.2.1/iconify.min.js"></script>
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
</head>
<body>
<div class="page" id="page">
<div class="haut">
<div class="logo_slogan">
<div class="logo">
<img id="img_logo" src="Image/Logo_Omnes_Sport_bordure.png">
</div>
<div class="slogan" id="slogan">
<span class="text_slogan">Omnes Sport</span>
</div>
</div>
<div class="div_button">
<button class="nav-button" id="accueil"><a class="nav-page" href="accueil.html">Accueil</a></button>
<button class="nav-button" id="parcourir"><a class="nav-page" href="toutParcourir.html">Tout parcourir</a></button>
<button class="nav-button" id="rdv"><a class="nav-page" href="#">Rendez vous</a></button>
</div>
<div class="search-box-co">
<div class="search-box">
<input type="text" name="input" id="search-bar" class="search" placeholder="Recherche">
<button type="submit" id="searchbutton" class="search"><i class="iconify" id="loupe" data-icon="simple-line-icons:magnifier"></i></button>
</div>
<div class="btnRegLog">
<button class="reg-log" id="reg-log" onclick="openForm()"><i class="iconify" id="compte" data-icon="uil:user"></i></button>
</div>
</div>
</div>
<div class="milieu" id="content">
<div class="InfoCoachRDV">
<div class="TitreCoachInfo"><b>INFORMATIONS COACH</b></div>
<div class="form-group">
<label class="form-label">Nom du Coach :</label>
<div class="relative"><?php echo "<output class='form-control'>" . $Nom . "</output>"; ?></div>
</div>
<div class="form-group">
<label class="form-label">Prenom du Coach :</label>
<div class="relative"><?php echo "<output class='form-control'>" . $Prenom . "</output>"; ?></div>
</div>
<div class="form-group">
<label class="form-label">Domaine d'activité :</label>
<div class="relative"><?php echo "<output class='form-control'>" . $Domaine . "</output>"; ?></div>
</div>
<div class="form-group">
<label class="form-label">N° du Bureau :</label>
<div class="relative"><?php echo "<output class='form-control'>" . $Bureau . "</output>"; ?></div>
</div>
<div class="form-group">
<label class="form-label">Téléphone :</label>
<div class="relative"><?php echo "<output class='form-control'>" . $Tel . "</output>"; ?></div>
</div>
<div class="form-group">
<label class="form-label">Email :</label>
<div class="relative"><?php echo "<output class='form-control'>" . $Email . "</output>"; ?></div>
</div>
</div>
<div class="infos_rdv">
<div class="infos_rdv_horaires">
<div class="TitreRDVInfo"><b>INFORMATIONS RDV</b></div>
<div class="form-group">
<label class="form-label">Date du RDV : :</label>
<div class="relative"><?php echo "<output class='form-control'>" . $Date . "</output>"; ?></div>
</div>
<div class="form-group">
<label class="form-label">Heure du RDV :</label>
<div class="relative"><?php echo "<output class='form-control'>" . $Heure . "</output>"; ?></div>
</div>
<div class="form-group">
<label class="form-label">Adresse :</label>
<div class="relative"><output class='form-control'>37 Quai de Grenelle, 75015 Paris</output></div>
</div>
</div>
<div class="InfosSuppl">
<div class="TitreInfoSupl"><b>INFORMATIONS SUPPLEMENTAIRES</b></div>
<ul>
<li>N'oubliez pas d'apporter votre convocation ou justificatif, ainsi que votre carte d'identité.</li>
<li>Vous devrez saisir le digicode suivant : 9875D . Ne le partagez pas à autrui</li>
</ul>
</div>
</div>
</div>
<div class="footer" id="footer">
<div class="copyright">
<p>ceci est un copyright</p>
</div>
<div class="text">
<p>footer</p>
</div>
</div>
</div>
<!--Form de Connection/Inscription-->
<div id="CoIns-window">
<div class="section" id="section-form">
<div id="img-CoIns"><img id="imgCoIns" src="Image/marbreblanc.jpg" width="100%" height="100%"></div>
<div class="CoIns">
<div id="closeForm-container">
<button class="closeForm"><i class="iconify" id="close" data-icon="eva:close-circle-outline" onclick="closeForm()"></i></button>
</div>
<nav class="nav nav-tabs" id="myTab">
<a class="nav-item nav-link active" id="tab-co" href="#Co" data-toggle="tab">Connexion</a>
<a class="nav-item nav-link" id="tab-ins" href="#Ins" data-toggle="tab">Inscription</a>
</nav>
<div class="tab-content">
<div class="tab-pane active" id="Co">
<form action="Connexion.php" method="post">
<div class="form-input">
<input type="email" name="mail" class="form-style" placeholder="Votre e-mail" id="mail" autocomplete="off">
<i class="input-icon uil uil-at"></i>
</div>
<div class="form-input mt-2">
<input type="password" name="password" class="form-style" placeholder="Votre Mot de passe" id="mdp" autocomplete="off">
<i class="input-icon uil uil-lock-alt"></i>
</div>
<input type="submit" class="btnValid" name="Se_Connecter" value="Envoyer">
<div class="mdp-forget-container">
<p class="mdp-forget"><a href="#0" class="link">Mot de passe oublié ?</a></p>
</div>
</form>
</div>
<div class="tab-pane" id="Ins">
<form action="Connexion.php" method="post">
<div class="form-input">
<input type="text" name="nom" class="form-style" placeholder="Votre nom" id="nom" autocomplete="off">
<i class="input-icon uil uil-user"></i>
</div>
<div class="form-input">
<input type="email" name="mail" class="form-style" placeholder="Votre e-mail" id="mail" autocomplete="off">
<i class="input-icon uil uil-at"></i>
</div>
<div class="form-input">
<input type="password" name="mdp" class="form-style" placeholder="Votre mot de passe" id="mdp" autocomplete="off">
<i class="input-icon uil uil-lock-alt"></i>
</div>
<input type="submit" class="btnValid" name="creer_Compte" value="Validate">
</form>
</div>
</div>
</div>
</div>
</div>
<!--Fin du Form de Connection/Inscription-->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/lib/darkmode-js.min.js"></script>
<script>
const options = {
bottom: '32px', // default: '32px'
right: '32px', // default: '32px'
left: 'unset', // default: 'unset'
time: '0.5s', // default: '0.3s'
mixColor: '#fff', // default: '#fff'
backgroundColor: '#fff', // default: '#fff'
buttonColorDark: '#100f2c', // default: '#100f2c'
buttonColorLight: '#fff', // default: '#fff'
saveInCookies: true, // default: true,
label: '🌓', // default: ''
autoMatchOsTheme: true // default: true
}
const darkmode = new Darkmode(options);
darkmode.showWidget();
</script>
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
</body>