-
Notifications
You must be signed in to change notification settings - Fork 0
/
bblogout.php
executable file
·56 lines (51 loc) · 1.21 KB
/
bblogout.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
<?
include("header.php");
$flag = 0;
if ($_SESSION['loggedin']==true) $flag=1;
$_SESSION['loggedin'] = false;
$_SESSION['id']=NULL;
$_SESSION['season']=NULL;
$_SESSION['leagueId']=NULL;
$_SESSION['countryId']=NULL;
session_unregister('id');
session_unregister('bbusername');
session_unregister('bbaccesskey');
session_unregister('teamName');
session_unregister('teamAbbr');
session_unregister('owner');
session_unregister('supporter');
session_unregister('league');
session_unregister('leagueId');
session_unregister('leagueLevel');
session_unregister('leagueName');
session_unregister('country');
session_unregister('countryId');
?>
<div id="xsnazzy">
<b class="xtop"><b class="xb1"></b><b class="xb2"></b><b class="xb3"></b><b class="xb4"></b></b>
<div class="xboxcontent">
<p> </p>
<center>
<?
if ($flag=1)
{
?>
You have successfully Logged Out.<br>
Click <a href="bblogin.php">HERE</a> to login again.
<?
}
else
{
?>
Please login <a href="bblogin.php">HERE</a>.
<?
}
?>
</center>
<p> </p>
</div>
<b class="xbottom"><b class="xb4"></b><b class="xb3"></b><b class="xb2"></b><b class="xb1"></b></b>
</div>
<?
include("footer.php");
?>