-
Notifications
You must be signed in to change notification settings - Fork 0
/
staticform.php
272 lines (218 loc) · 9.01 KB
/
staticform.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
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
<!DOCTYPE html>
<html>
<head>
<title> Responsable </title>
<meta charset="utf-8" />
<meta http-equiv="Content-Type" content="text/html"; charset="utf-8">
<link rel="stylesheet" type="text/css" href="acc.css" />
</head>
<body>
<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="Responsable.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="Responsable.php">Responsable</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="fetch.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="fetch.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="profile.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">
<div class="heading">
<p style="text-align: center;"><span style="color: #002e5b; font-size: 60px;"><strong><span style="font-family: 'Times New Roman',Times,serif;">Statistiques</span></strong></span></p><br/>
</div>
</div>
<div class="section article">
<div class="content">
<script>
function surligne(champ, erreur)
{
if(erreur)
champ.style.backgroundColor = "#fba";
else
champ.style.backgroundColor = "";
}
function verifAge(champ)
{
var age = parseInt(champ.value);
if(isNaN(age) || age<0)
{
surligne(champ, true);
return false;
}
else
{
surligne(champ, false);
return true;
}
}
function verifForm(f)
{
var ageOk = verifAge(f.nombre);
if( ageOk)
return true;
else
{
alert("Veuillez remplir correctement les champs");
return false;
}
}
/*var text = document.getElementById('text');
text.addEventListener('focus', function(e) {
e.target.value = "Vous avez le focus !";
});
text.addEventListener('blur', function(e) {
e.target.value = "Vous n'avez pas le focus !";
});*/
</script>
<form method="post" action="static.php" onsubmit="return verifForm(this)">
<p> Visualiser les Sujets Master/Pfe choisis par
<select name="type">
<option value="moins de" > moins de </option>
<option value="plus de" > plus de </option>
<option value="exactement" > exactement </option>
</select>
<input id="text type="number" name="nombre" onblur="verifAge(this)">
enseignants
<input type="submit" value="Recherche" />
</p>
</form>
</div>
</div>
</div>
</div>
</div>
<div id="right" class="span3">
<div class="sidebar">
<div class="wrapper share-box">
<style> .wordwrapfix {
word-wrap:break-word;
}
</style>
<div class="heading wordwrapfix">
<h4>Responsable</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="Responsable.php">Ajouter </a></b>
<ol style="list-style-image: url('152433314188167399.png'); ">
<li><a style="text-decoration: none" href="signup1.php"><span>Un Compte</a></li>
<li><a style="text-decoration: none" href="inscription_soutenance .php"><span>Une Fiche Descriptive</a></li>
</ol>
</li>
<li> <b> <a style="text-decoration: none;color: #002e5b;" href="Responsable.php"> Consulter </a> </b>
<ol style="list-style-image: url('152433314188167399.png');"">
<li><a style="text-decoration: none" href="rechercheparspecialiteresponsable.php"><span>Les Fiches Descriptives </span></a></li>
<li><a style="text-decoration: none" href="affichage_responsable.php"><span>Les Fiches De voeux</span></a></li>
<li><a style="text-decoration: none" href="proposition_jury.php"><span>La Proposition de Jurys</span></a></li>
<li><a style="text-decoration: none" href="Enseignants_Retardataires.php"><span>Enseignants en retard</span></a></li>
</ol>
</li>
<li> <b> <a style="text-decoration: none;color: #002e5b;" href="staticform.php"> Statistiques </a> </b>
<ol style="list-style-image: url('152433314188167399.png'); ">
<li><a style="text-decoration: none" href="staticform.php"><span>Recherche</a></li>
<li><a style="text-decoration: none" href="graphres.php"><span>Graphs</a></li>
</li>
</ol>
<li><a style="text-decoration: none;color: #002e5b;" href="diffuser.php"><span><b>Diffuser les fiches</b></span></a></li>
</ul>
</div>
</div>
</div>
</div>
<!-- the controller has determined which view to be shown in the content -->
</div>
</div>
</div>
<!-- the controller has determined which view to be shown in the content -->
<div class="container-fluid footer-wrapper" id="footer">
<!-- this is the Footer Wrapper -->
<div class="container">
<div class="footer-info">
<!-- <div class="footer-info-text">
Ce site a été créé avec SimpleSite
</div>-->
<div id="css_simplesite_com_fallback" class="hide"></div>
</div>
</div>
</div>
</div>
</body>
</html>