mirror of
https://github.com/brian8544/turtle-wow.git
synced 2024-12-27 18:04:35 +00:00
32 lines
712 B
PHP
32 lines
712 B
PHP
<?php
|
|
|
|
$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;
|