Wiec:
<?php ?>
i wyskakuje taki blad: Warning: Cannot modify header information - headers already sent by.
Od czego to zalezy, bo na innych stronach mi to działa a na tej nie
<?php ?>
<? include('functions.php'); function menu1(){ include('menu1.php'); } function strona(){ $dir = "./"; if($_GET['name'] == $_GET['name']){ $plik = $_GET['name'].'.php'; //echo $plik; //echo "<br>"; if($file == $plik){ $inc = include(''.$plik.''); } } if(!$inc && $_GET['name'] != ""){ <tr><th class=naglowek></th></tr> <tr><th>Ta Strona Nie Znajduje Się Na Serwerze</th></tr></table>'); } } //if($get_name != "" && $get_name == $get_name){ //include(''.$get_name.'.php'); //} if($_GET['news'] == "" && $_GET['name'] == "" && $_GET['user'] == ""){ include('news.php'); } if($_GET['user'] == $_GET['user']){ if($suma == 1){ <tr> <th>'.$row[1].'</th> </tr> </table>'); } }} if($_GET['news'] == $_GET['news']){ echo('<table class="tabela2" align="center" cellspacing="0" cellpadding="0"><tr><th><a href="index.php?news='.$_GET['news'].'&id='.$new1[0].'">'.$new1[3].'</a></th><th>'.$new1[2].'</th></tr></table>'); } } } function menu2(){ include('menu2.php'); } ?> <html> <head> <meta http-equiv="Content-type" content="text/html; charset=iso-8859-2"> <link rel="stylesheet" href="style.css" type="text/css"> <script type="text/javascript" src="menu.js"></script> <link rel="Shortcut icon" href="pictures/favicon.ico"> </head> <table class="tabela" align="center" cellspacing="1" cellpadding="0"> <tr> <td colspan="3" class="logo" valign="bottom" align="right"> </td> </tr> <tr> <th class="menu" valign="top"><?php menu1();?></th> <th class="page" valign="top"><?php strona();?></th> <th class="menu" valign="top"><?php menu2();?></th> </tr> </table> </html></form>
<?php ?>