Revision 1599
Added by Dietmar over 12 years ago
index.php | ||
---|---|---|
55 | 55 |
|
56 | 56 |
<body> |
57 | 57 |
|
58 |
<table cellpadding="0" cellspacing="0" border="0" align="center" class="main" width="750"> |
|
58 |
<table summary="" cellpadding="0" cellspacing="0" border="0" align="center" class="main" width="750">
|
|
59 | 59 |
<tr> |
60 | 60 |
<td colspan="2" class="header" height="80"> |
61 | 61 |
<a href="<?php echo WB_URL; ?>"> |
62 |
<img src="<?php echo TEMPLATE_DIR; ?>/images/banner.jpg" border="0" width="750" height="80" alt="<?php
|
|
62 |
<img src="<?php echo TEMPLATE_DIR; ?>/images/banner.jpg" border="0" width="750" height="80" alt="<?php |
|
63 | 63 |
page_title('', '[WEBSITE_TITLE]'); ?>" /> |
64 | 64 |
</a> |
65 | 65 |
</td> |
... | ... | |
70 | 70 |
if(SHOW_MENU) { |
71 | 71 |
?> |
72 | 72 |
<td style="padding: 10px; background-color: #FFF;" valign="top"> |
73 |
<table cellpadding="0" cellspacing="0" border="0" width="150" align="center" class="menu"> |
|
73 |
<table summary="" cellpadding="0" cellspacing="0" border="0" width="150" align="center" class="menu">
|
|
74 | 74 |
<tr> |
75 | 75 |
<td class="border"> |
76 | 76 |
<img src="<?php echo TEMPLATE_DIR; ?>/images/menu_top.gif" border="0" alt="" /> |
... | ... | |
94 | 94 |
<form name="search" action="<?php echo WB_URL; ?>/search/index.php" method="get"> |
95 | 95 |
<input type="hidden" name="referrer" value="<?php |
96 | 96 |
echo defined('REFERRER_ID') ? REFERRER_ID : PAGE_ID; ?>" /> |
97 |
<table cellpadding="0" cellspacing="0" border="0" width="150" align="center" style="margin-top: 10px;"> |
|
97 |
<table summary="" cellpadding="0" cellspacing="0" border="0" width="150" align="center" style="margin-top: 10px;">
|
|
98 | 98 |
<tr> |
99 | 99 |
<td class="border"> |
100 | 100 |
<img src="<?php echo TEMPLATE_DIR; ?>/images/menu_top.gif" border="0" alt="" /> |
... | ... | |
121 | 121 |
|
122 | 122 |
<?php |
123 | 123 |
if(FRONTEND_LOGIN AND !$wb->is_authenticated() AND VISIBILITY != 'private' ) { |
124 |
$redirect_url = ((isset($_SERVER['HTTP_REFERER']) && $_SERVER['HTTP_REFERER'] != '') ? $_SERVER['HTTP_REFERER'] : WB_URL );
|
|
124 |
$redirect_url = ((isset($_SESSION['HTTP_REFERER']) && $_SESSION['HTTP_REFERER'] != '') ? $_SESSION['HTTP_REFERER'] : WB_URL );
|
|
125 | 125 |
$redirect_url = (isset($thisApp->redirect_url) ? $thisApp->redirect_url : $redirect_url ); |
126 | 126 |
?> |
127 | 127 |
<form name="login" action="<?php echo LOGIN_URL; ?>" method="post"> |
128 | 128 |
<input type="hidden" name="redirect" value="<?php echo $redirect_url;?>" /></p> |
129 |
<table cellpadding="0" cellspacing="0" border="0" width="150" align="center" style="margin-top: 10px;"> |
|
129 |
<table summary="" cellpadding="0" cellspacing="0" border="0" width="150" align="center" style="margin-top: 10px;">
|
|
130 | 130 |
<tr> |
131 | 131 |
<td class="border"> |
132 | 132 |
<img src="<?php echo TEMPLATE_DIR; ?>/images/menu_top.gif" border="0" alt="" /> |
... | ... | |
184 | 184 |
?> |
185 | 185 |
<form name="logout" action="<?php echo LOGOUT_URL; ?>" method="post"> |
186 | 186 |
|
187 |
<table cellpadding="0" cellspacing="0" border="0" width="150" align="center" style="margin-top: 10px;"> |
|
187 |
<table summary="" cellpadding="0" cellspacing="0" border="0" width="150" align="center" style="margin-top: 10px;">
|
|
188 | 188 |
<tr> |
189 | 189 |
<td class="border"> |
190 | 190 |
<img src="<?php echo TEMPLATE_DIR; ?>/images/menu_top.gif" border="0" alt="" /> |
Also available in: Unified diff
update all used files with redirect_url to $_SESSION['HTTP_REFERER']