forked from mangostools/aowow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathforum.php
41 lines (38 loc) · 878 Bytes
/
forum.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
<?php
/*
* UDWBase: WOWDB Web Interface
*
* © UDW 2009-2011
*
* Released under the terms and conditions of the
* GNU General Public License (http://gnu.org).
*
*/
$board = $_REQUEST['board'];
$lang = $_SESSION['locale'];
if ($board < 0) {
switch ($lang) :
// english
case 0:
switch ($board) :
// tools
case -1:
header('Location: http://yourboardurl');
break;
endswitch;
endswitch;
}
else
switch ($lang) :
//english
case 0:
//wow general
switch ($board):
case 0:
header('Location: http://yourboardurl');
break;
endswitch;
default:
header('Location: Location: http://yourboardurl');
break;
endswitch;