-
Notifications
You must be signed in to change notification settings - Fork 0
/
newpassEmpFrom.php
205 lines (158 loc) · 7.44 KB
/
newpassEmpFrom.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<link rel="stylesheet" type="text/css" href="acc.css" />
<title>Changer Mot De Passe</title>
</head>
<body data-pid="439319477" data-iid="" style="line-height: normal;">
<video id="videoBackground" autoplay muted preload="auto" loop poster="snowflakes.jpg"
style="position: fixed;min-width: 100%;min-height: 100%;width: auto;height: auto;z-index: -1;background-size: cover;">
<source src="snowflakes.mp4" />
<source src="snowflakes.webm" />
</video>
<div class="container-fluid site-wrapper"> <!-- this is the Sheet -->
<div class="container-fluid header-wrapper " id="header"> <!-- this is the Header Wrapper -->
<div class="container">
<div class="title-wrapper">
<div class="title-wrapper-inner">
<a class="logo " href="http://esi.dz/">
<img class="logo-img" src="EsiLogo.jpg" />
</a>
<div class="title ">
<a class="title title-link" href="Employe.php">
GPMesi
</a>
</div>
<div class="subtitle">
Gestion de soutenances de PFE/MASTER de l'esi
</div>
</div>
</div> <!-- these are the titles -->
<div class="navbar navbar-compact">
<div class="navbar-inner">
<div class="container">
<!-- .btn-navbar is used as the toggle for collapsed navbar content -->
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse" title="Toggle menu">
<span class="menu-name">Menu</span>
<span class="menu-bars">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</span>
</a>
<!-- Everything you want hidden at 940px or less, place within here -->
<div class="nav-collapse collapse">
<ul class="nav" id="topMenu" data-submenu="horizontal">
<li class=" active ">
<a href="Employe.php">Employe</a>
</li>
<li style="float :right">
<?php
try
{
$bdd = new PDO('mysql:host=localhost;dbname=bdd;charset=utf8', 'root', '');
}
catch (Exception $e)
{
die('Erreur : ' . $e->getMessage());
}
if(!isset($_SESSION))
{
session_start();
}
$req = $bdd->prepare('SELECT * FROM notification WHERE Etat = 0 AND IDcompte=:IDcompte');
$req->execute(array('IDcompte' => $_SESSION['compteID']));
$nombre= $req->rowCount();
if ($nombre>0)
{
?> <a href="fetchemp.php"><img style="width:30px;height:30px;-webkit-border-radius:15px;-moz-border-radius:15px;-o-border-radius:15px;border-radius:15px;" src="index33.png"></a></a> </a>
<?php
}
else
{
?> <a href="fetchemp.php"><img style="width:30px;height:30px;-webkit-border-radius:15px;-moz-border-radius:15px;-o-border-radius:15px;border-radius:15px;" src="index.png"></a></a>
<?php
}
?>
<a href="profileEmp.php"><img style="width:30px;height:30px;-webkit-border-radius:15px;-moz-border-radius:15px;-o-border-radius:15px;border-radius:15px;" src="login1.png"></a>
<a href="help.html"><img style="width:30px;height:30px;-webkit-border-radius:15px;-moz-border-radius:15px;-o-border-radius:15px;border-radius:15px;" src="help1.png"></a>
</li>
</ul>
</div>
</div>
</div>
</div>
<!-- this is the Menu content -->
</div>
</div> <!-- this is the Header content -->
<div class="container-fluid content-wrapper" id="content"> <!-- this is the Content Wrapper -->
<div class="container">
<div class="row-fluid content-inner">
<div id="left" class="span9"> <!-- ADD "span12" if no sidebar, or "span9" with sidebar -->
<div class="wrapper ">
<div class="content">
<div class="section article">
<p style="text-align: center;"><span style="color: #002e5b; font-size: 60px;"><strong><span style="font-family: 'Times New Roman',Times,serif;">Nouveau Mot De Passe</span></strong></span></p>
</div>
</div>
<div class="section article">
<div class="content">
<form method="post" action="newpassEmp.php">
<p style="text-align: center; " >
<span style="color: #155eab; font-family: Arial,Helvetica,sans-serif; font-size: 18px;">
<label for="oldpass">Mot de passe courant : <input type="password" name="oldpass" id="oldpass" maxlength="20" required /></label>
<br />
<label for="newpass">Nouveau mot de passe : <input type="password" name="newpass" id="newpass" maxlength="20" required /></label>
<br />
<label for="newpass2">Répéter mot de passe : <input type="password" name="newpass2" id="newpass2" maxlength="20" required /></label>
<br />
<input style="color: #155eab; font-family: Arial,Helvetica,sans-serif; font-size: 18px;" type="submit" value="Valider" />
</form>
</span><br>
<br />
<br /> </p> </div>
</div>
</div>
</div>
<div id="right" class="span3" style="position : relative; left:-50px;">
<div class="sidebar">
<div class="wrapper share-box">
<style> .wordwrapfix {
word-wrap:break-word;
}
</style>
<div class="heading wordwrapfix">
<h4>Employé</h4>
</div>
<div class="content" style="padding: 10px 10px 10px 25px; ">
<ul style="list-style-image: url('15243331418816739911.png'); ">
<li> <b> <a style="text-decoration: none;color: #002e5b;" href="Employe.php">Consulter </a></b>
<ol style="list-style-image: url('152433314188167399.png'); ">
<li><a style="text-decoration: none" href="rechercheparspecialiteEmp.php"><span>Les Fiches Descriptives</a></li>
</ol>
</li>
<li> <b> <a style="text-decoration: none;color: #002e5b;" href="staticformemp.php"> Statistiques </a> </b>
<ol style="list-style-image: url('152433314188167399.png'); ">
<li><a style="text-decoration: none" href="staticformemp.php"><span>Recherche</a></li>
<li><a style="text-decoration: none" href="graph.php"><span>Graphs</a></li>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- the controller has determined which view to be shown in the content -->
</div>
</div>
</div>
<footer>
<p>
</p>
</footer>
<div id="css_simplesite_com_fallback" class="hide"></div>
</div>
</body>
</html>