-
Notifications
You must be signed in to change notification settings - Fork 0
/
logout.php
38 lines (27 loc) · 875 Bytes
/
logout.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
<?php
include_once('resources/init.php');
?>
<!--Header-->
<?php require_once 'header.php'; ?>
<!-- Content
================================================== -->
<div id="content-wrap">
<div class="row">
<div id="main" class="eight columns">
<article class="entry">
<?php
session_unset();
session_destroy();
//echo "<br><b> Thank you for visiting our site</b><br>";
header('location:login.php');
?>
</article> <!-- end entry -->
</div> <!-- end main -->
<!-- start sidebar -->
<?php require_once 'sidebar.php'; ?>
<!-- end sidebar -->
</div> <!-- end row -->
</div> <!-- end content-wrap -->
<!-- Footer
================================================== -->
<?php require_once 'footer.php'; ?>