-
Notifications
You must be signed in to change notification settings - Fork 1
/
logoff.php
68 lines (51 loc) · 1.54 KB
/
logoff.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
<?php
/*
$Id$
osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com
Copyright (c) 2010 osCommerce
Released under the GNU General Public License
*/
require('includes/application_top.php');
require('includes/languages/' . $language . '/logoff.php');
$breadcrumb->add(NAVBAR_TITLE);
tep_session_unregister('customer_id');
tep_session_unregister('customer_default_address_id');
tep_session_unregister('customer_first_name');
tep_session_unregister('customer_country_id');
tep_session_unregister('customer_zone_id');
if ( tep_session_is_registered('sendto') ) {
tep_session_unregister('sendto');
}
if ( tep_session_is_registered('billto') ) {
tep_session_unregister('billto');
}
if ( tep_session_is_registered('shipping') ) {
tep_session_unregister('shipping');
}
if ( tep_session_is_registered('payment') ) {
tep_session_unregister('payment');
}
if ( tep_session_is_registered('comments') ) {
tep_session_unregister('comments');
}
$cart->reset();
require('includes/template_top.php');
?>
<div class="page-header">
<h1><?php echo HEADING_TITLE; ?></h1>
</div>
<div class="contentContainer">
<div class="contentText">
<div class="alert alert-danger">
<?php echo TEXT_MAIN; ?>
</div>
</div>
<div class="buttonSet">
<div class="text-right"><?php echo tep_draw_button(IMAGE_BUTTON_CONTINUE, 'fa fa-angle-right', tep_href_link('index.php'), null, null, 'btn-danger'); ?></div>
</div>
</div>
<?php
require('includes/template_bottom.php');
require('includes/application_bottom.php');
?>