-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeconnexion.php
101 lines (81 loc) · 2.21 KB
/
deconnexion.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
<?php session_start(); ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<link rel="stylesheet" href="css/style.css" type="text/css">
<script type="text/javascript" src="scripts/jquery.js"></script>
<link rel="stylesheet" href="css/jquery-ui.min.css" type="text/css" />
<script src="scripts/jquery.qtip.min.js"></script>
<link rel="stylesheet" href="scripts/jquery.qtip.min.css" />
<script type="text/javascript" src="scripts/jquery-ui.min.js"></script>
<script>
$(document).ready(function()
{
$('[title!=""]').qtip(
{
position: {
my:'center left',
at:'center right',
},
style : {
classes: 'qtip-bootstrap'
}
});
});
</script>
<script src="scripts/script_checkform.js"></script>
<title>Ulike : S'enregistrer</title>
</head>
<body>
<?php
//ici on efface tous les elements de la session
$_SESSION['login_entreprise'] = null;
$_SESSION['pseudo_membre'] = null;
?>
<?php include("include/entete.php"); ?>
<div id="bodycentered">
<h2>Session</h2>
<p>Vous avez été bien déconnecté.</p>
<div class="bouton header">
<a href="index.php"> Accueil </a>
</div>
</div>
<?php include("include/footer.php");?>
</body>
<script type="text/javascript">
$('#userCas').click( function() {
$('#infoUser').slideDown( "slow", function() {
// Animation complete.
});
$('#categorie').slideUp( "slow", function() {
// Animation complete.
});
//$('#categorie').hide();
});
$('#entrepriseCas').click( function() {
$('#infoEntreprise').slideDown( "slow", function() {
// Animation complete.
});
$('#categorie').slideUp( "slow", function() {
// Animation complete.
});
//$('#info').hide();
});
$('#accueil').click( function() {
$( "#bodycentered" ).fadeOut( "slow", function() {
// Animation complete.
document.location.href="accueil.php";
//???
$( "#bodycentered" ).fadeIn( "slow", function() {
});
});
//$('#categorie').hide();
});
window.onload = function() {
$( "#bodycentered" ).fadeIn( "slow", function() {
// Animation complete.
});
};
</script>
</html>