IProSoft wszystko jest patrz:
plik dane.php
<!DOCTYPE html PUBLIC>
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=windows-1250">
<meta name="Description" content="...">
<meta name="Keywords" content="...">
<title>...</title>
<link rel="stylesheet" href="style/styl.css" type="text/css">
</head>
<body>
<?
$logged = $_SESSION['logged'];
if($logged == true) {
$id_user = $_SESSION['id'];
$user_dane = mysql_query("SELECT login, poziom FROM users WHERE id='$id_user'"); $user_login = $user_dane[0];
$user_admin = $user_dane[1];
$user_ip = $_SERVER['REMOTE_ADDR'];
$dane_update = "UPDATE users SET last_ip = '$user_ip', time = NOW() WHERE id = '$id_user' ";
}
?>
i potem dalej jest to:
<?
include('connect.php');
include('dane.php');
include('logo.php');
include('menu.php');
?>
<div class="content">
<?
$str_upload = mysql_query("SELECT upload FROM config WHERE id='1'"); $str_upload = $str_upload[0];
?>
</body>
<frameset cols="200,200">
<frame src="index.php" />
<noframes><body><a href="spis.html">spis treści</a></body></noframes>
</frameset>
<body>
</div>
<?
include('footer.php');
?>
</div>
</body>
</html>
a tam dałem </body> ponieważ w poniższym linku nie ma w ogóle body
http://www.kurshtml.edu.pl/html/gotowiec,ramki.htmlDobra już wiem, tamto jest do podziału ramek,
zrobiłem tak:
<iframe src="index.php" style="width:500px; height:300px;"/>