Kod
<?php
ob_start();
session_start();
if (!isset($page_title)) {
$page_title = 'PZW Koło Azoty Puławy';
}
?>
<?php
require_once ('rejestracja/authorisation/config.inc')
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="application/xhtml+xml; charset=iso-8859-2" />
<title><?php echo $page_title; ?></title>
<link rel="stylesheet" type="text/css" href="tekst.css">
<link rel="stylesheet" type="text/css" href="style.css" href="tekst.css">
<link rel="stylesheet" type="text/css" href="stylenrek.css" href="tekstnrek.css">
<link rel="stylesheet" type="text/css" href="newpage.css" href="newpage.css">
</head>
<body>
<?php
if ( ($url == "idnaszerekordy") ||($url == "idrekszczupak") )
{
include("index2.php");
}
else if ( ($url == "galglo")|| ($url == "idreggalerii") )
{
include("index3.php");
}
else if (($url == "idonas") ||($url == "idkontakt") )
{
include("index1.php");
}
else if (($url == "idzarzadpzw09")||($url == "idregister")||($url == "idlogin")|| )
{
include("index5.php");
}
else
{
include("index4.php");
}
?>
</body>
</html>
Problem tkwi w tym że do trj pory na gdy klikałem na dany link to pojawiał mi sie układ strony z danego index-u a teraz cały czas sie ładuje index4.php, proszę o podpowiedź.