<?php
$chpu = 1;
include('settings.php');
include('db_connect.php');
include('functions.php');
include('getCHPU.php');
$query = mysql_query("SELECT * FROM `articles` WHERE id='".(int)$id_chpu."' ") or die($db_error);
if ($result = mysql_fetch_assoc($query)) {$urlsite = $server_root . "article/" . $result['nameurl'];} else {die();}
?>
<!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="text/html; charset=utf8" />
<title><?php echo htmlspecialchars(stripslashes($result['name'])). " - " . $_siteName ?></title>
<meta name="description" content=<?=htmlspecialchars(stripslashes($result['name'])) ?>>
<meta name="keywords" content="">
<base href="<?=$urlsite?>">
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<?php
include('header.php');
$name = htmlspecialchars(stripslashes($result['name']));
$url_articles = $server_root . "articles.html";
echo "<div style='width:800px;height:50px;margin:0 auto;margin-bottom:5px;'><h1>" . $name . "</h1></div>";
echo "<div style='width:800px;height:10px;margin:0 auto;margin-bottom:20px;'><a href=$url_articles>Назад к статьям</a></div>";
$article = htmlspecialchars($result['article']);
$article = stripslashes($article);
$article = nl2br($article);
echo "<div style='width:800px;height:500px;margin:0 auto;'>" . $article . "</div>";
?>
</body>
</html>
в файле header.php содержится меню. Но вот стили не работают, и меню выводится просто ссылками. На других страницах все работает.