forked from cybergestionnaire/gestionnaire
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlockscreen.php
More file actions
91 lines (80 loc) · 3.93 KB
/
Copy pathlockscreen.php
File metadata and controls
91 lines (80 loc) · 3.93 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
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
<?php
// D�sactivation du rapport d'erreur
//error_reporting(0);
// Affichage des erreurs pour le debuggage
error_reporting(E_ALL);
//demarrage de la session
session_start();
// Fichier inclus
include("include/fonction.php");
include("include/fonction2.php");
include("include/conf.php");
require_once("include/class/Utilisateur.class.php");
$iduser = isset($_GET["iduser"]) ? $_GET["iduser"] : '';
$utilisateur = Utilisateur::getUtilisateurById($iduser);
// $rowa = getAvatar($iduser);
// $avatar=$rowa["anim_avatar"];
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta charset="UTF-8">
<meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
<!-- Bootstrap 3.3.2 -->
<link href="template/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
<!-- Font Awesome Icons -->
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet" type="text/css" />
<!-- Theme style -->
<link href="template/dist/css/AdminLTE.min.css" rel="stylesheet" type="text/css" />
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
<![endif]-->
</head>
<body class="lockscreen">
<!-- Automatic element centering -->
<div class="lockscreen-wrapper">
<div class="lockscreen-logo"><?php //echo getconfigname(); ?></div>
<!-- User name -->
<div class="lockscreen-name"><?php echo $utilisateur->getPrenom(); ?> <?php echo $utilisateur->getNom(); ?></div>
<!-- START LOCK SCREEN ITEM -->
<div class="lockscreen-item">
<!-- lockscreen image -->
<div class="lockscreen-image">
<img src="img/avatar/<?php echo $utilisateur->getAvatar(); ?>"/>
</div>
<!-- /.lockscreen-image -->
<!-- lockscreen credentials (contains the form) -->
<form class="lockscreen-credentials" method="post" action="post_login.php">
<?php
if ($error != "") {
echo "Acces refusé veuillez vous identifier";
}
?>
<div class="input-group">
<input type="password" class="form-control" placeholder="password" name="pass" required />
<div class="input-group-btn">
<button class="btn" ><i class="fa fa-arrow-right text-muted" type="submit" name="submit"></i></button>
</div>
</div>
</form><!-- /.lockscreen credentials -->
</div><!-- /.lockscreen-item -->
<div class="help-block text-center">
Entrez votre mot de passe pour réactiver votre session
</div>
<div class='text-center'>
<a href="index.php?logout=yes">Ou connexion pour un nouvel utilisateur</a>
</div>
<!--<div class='lockscreen-footer text-center'>
Copyright © 2014-2015 <b><a href="http://almsaeedstudio.com" class='text-black'>Almsaeed Studio</a></b><br>
All rights reserved
</div>-->
</div><!-- /.lockscreen-wrapper -->
<!-- jQuery 2.1.3 -->
<script src="template/plugins/jQuery/jQuery-2.1.3.min.js"></script>
<!-- Bootstrap 3.3.2 JS -->
<script src="template/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>
</body>
</html>