No tak, niby powinno, jednak chyba to jeszcze nie dziala jak powinno...
<?
$languages = array('pl', 'en', 'de');
$cookie = $_COOKIE['lang'];
$lang = $_GET['lang'];
$lang = $cookie;
}
else {
if (in_array($_GET['lang'], $languages)) { $lang = $_GET['lang'];
}
else {
$lang = 'pl';
}
}
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>I Liceum Ogólnokształcace im. Marii Skłodowskiej-Curie w Ostrzeszowie</title>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-2">
<meta http-equiv="content-language" content="pl">
<meta name="rating" content="general">
<meta name="robots" content="index, follow">
<meta name="generator" content="notepad">
<meta name="keywords" content="ostrzeszów, ostrzeszów lo, ostrzeszow, liceum, ostrzeszów liceum, I LO Ostr
zeszów, I Liceum Ogólnokształc?ce w Ostrzeszowie">
<meta name="author" content="(c) matinfy '89">
<meta name="revisit-after" content="7 days"><link rel="shortcut icon" href="">
<html>
<center>
<script language="javascript">
function onColor(blah)
{
blah.style.backgroundColor='#CDCDCD';
}
function offColor(blah)
{
blah.style.backgroundColor='#F0F0F0';
}
function displayWindow(url, width, height) {
var Win = window.open(url,"displayWindow",'width=' + width + ',height=' + height +
',left=50,top=50,resizable=1,scrollbars=yes,menubar=no' );
}
</script>
<link href="index_files/styl.css" rel="stylesheet" type="text/css">
<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" marginwidth="0" marginheight="0" bgcolor="#F2F2F2"
background="index_files/bg.gif"><img src="index_files/logo.jpg" align="top">
<table align="top" border="0" cellpadding="0" cellspacing="0" width="700">
<tbody><tr><td bgcolor="silver" height="1"></td></tr>
<tr><td background="index_files/tlo.gif" height="25"> <font color="#ffffff"><b>Witamy na stronie głównej I
Liceum Ogólnokształc�cego w Ostrzeszowie!</b></font></td><td background="index_files/tlo.gif" height="25"> <font color="#ffffff">
<a href=index.php?page=glowna&lang=pl> <img width=20 height=15 src="http://www.eu07.pl/images/language/polski.gif"></a> <a href=index.php?page=glowna&lang=en><img width=20 height=15 src="http://www.eu07.pl/images/language/english.gif"></a> <a href=index.php?page=glowna&lang=de><img width=20 height=15 src="http://www.eu07.pl/images/language/german.gif"></a>
</td></tr></tbody></table>
<?
if ($lang == 'en') {
$menupl = file('./pages_en/menu.php'); foreach($menupl as $line) {
}
}
else if ($lang == 'de') {
$menupl = file('./pages_de/menu.php'); foreach($menupl as $line) {
}
}
else {
$menupl = file('./pages/menu.php'); foreach($menupl as $line) {
}
}
?>
<td bgcolor="#efefef" valign="top">
<?
$page = $_GET['page'];
$sPage = 'glowna.php';
}
else {
$sPage = basename($_GET['page']).'.php'; }
if ($lang == 'pl') {
include('./pages/'.$sPage);
}
else if ($lang == 'en') {
include('./pages_en/'.$sPage);
}
else if ($lang == 'de') {
include('./pages_de/'.$sPage);
}
else {
?>error<br /><?
}
?>
</td></tr></tbody></table></center>
</td> </tr>
</tbody></table>
<table align="top" border="0" cellpadding="0" cellspacing="0" width="700">
<tbody><tr><td bgcolor="silver" height="1"></td></tr>
<tr><td background="index_files/tlo.gif" height="25"><font color="#ffffff"><center> ciapy z pierwszejbe.
09.07.06 16:38</b></center></font></td></tr></tbody></table>
</body></html>
http://dyzurny.rwi.pl/index.php tak to dziala