function getmicrotime(){ list($usec, $sec) = explode(" ",microtime()); return ((float)$usec + (float)$sec); } $time_start = getmicrotime(); //$adres=$_SERVER[REQUEST_URI]; //if (strpos($adres,"pl/")) { $lang="pl";} //if (strpos($adres,"en/")) { $lang="en";} //if (!strpos($adres,"en/") && !strpos($adres,"pl/")) {$lang = $_SERVER['HTTP_ACCEPT_LANGUAGE'];} $text="inc/main.php"; $menu="inc/menu.php"; $foot="inc/foot.php"; $go=$_REQUEST["go"]; $lang=$_REQUEST["lang"]; if ($go=="main") { $text="inc/main.php"; } if ($go=="misja") { $text="inc/misja.php"; } if ($go=="pierwszy") { $text="inc/pierwszy.php"; } if ($go=="trzeci") { $text="inc/trzeci.php"; } if ($go=="drugi") { $text="inc/drugi.php"; } if ($go=="partner") { $text="inc/partner.php"; } if ($go=="oferty") { $text="inc/oferty.php"; } if ($go=="kontakt") { $text="inc/kontakt.php"; } if ($go=="private") { $text="inc/private.php"; } if ($go=="praca") { $text="inc/praca.php"; } if ($go=="varia") { $text="inc/varia.php"; } if ($go=="platnosc") { $text="inc/platnosc.php"; } if ($go=="guestbook") { $text="inc/guestbook.php"; } if ($go=="wynik") { $text="inc/wynik.php"; } //$lang = substr($lang, 0, 2); if ($lang=="en") { $language="en"; } else { $language="pl"; } //$lang=$_REQUEST["lang"]; if ($language=="pl") { ?>