$lang = $_COOKIE["lang"];
define ("_kortlagt2", "");
define ("_kortlagt0", "");
define ("_kortlagt1", "");
define ("_highway2", "");
define ("_highway0", "");
define ("_highway1", "");
define ("_building2", "");
define ("_building0", "");
define ("_building1", "");
define ("_imagery2", "");
define ("_imagery0", "");
define ("_imagery1", "");
//ef við fáum tungumál sent inn annars staðar frá:
if ($_REQUEST["ling"] != "") {
$ling = strtoupper($_REQUEST["ling"]);
// setcookie("lang", $_REQUEST["ling"],time()+360000);
$ling = strtolower($_REQUEST["ling"]);
include("includes/language_$ling.php");
}
else
{
//ef ekkert tungumál valið eða til
switch($lang)
{
case "ENG":
include "./includes/language_eng.php";
break;
case "ISL":
include "./includes/language_isl.php";
break;
default:
include "./includes/language_eng.php";
$lang = "ENG";
break;
}
}
?>
Arajuno
Only one of the windows below needs to show usable imagery, not both.
You can use keyboard shortcuts instead of clicking. |
|
|
|
|
|
|