W linijkach 56-60 jest link, a w linijkach 66-68 jest miejsce gdzie ma się wyswietlic news.php
<?php require_once( '../getUsers.php' ); // wylogowanie { exit; } { if ( $_GET[ 'site' ] == $_SESSION[ 'Logged' ] ) { $arr = getUsers( 'users.dat' ); $You = $arr[ $_SESSION[ 'Name' ] ]; ?> <html> <head> <meta http-equiv="content-type" content="text/html; charset=windows-1250"> <title> tytuł </title> <STYLE TYPE="text/css"> #Load {POSITION:Absolute; VISIBILITY:Visible; TOP:0; LEFT:0; WIDTH:100%; HEIGHT:100%; BACKGROUND-COLOR:White; LAYER-BACKGROUND-COLOR:White} </STYLE> <script LANGUAGE="JavaScript"> //Skrypt pochodzi z biblioteki http://javascript.reporter.pl/ function Ukryj() { if (document.layers) document.layers["Load"].visibility="hidden"; if (document.all) document.all["Load"].style.visibility="hidden"; } </SCRIPT> </head> <body onLoad="Ukryj()" background="img/background.jpg"> <table border=1 cellpadding="0" cellspacing="0" align="center" width="630" height="650"> <tr width=100% height="100"> <td colspan=2> <?php ?> </td></tr> <tr width=100% height="520"> <td width="100"><?php include "left.php"; ?></td> <td width="530"> <?php include( $_GET['main'] ); ?> </td></tr> <tr width=100% height="30"> <td colspan=2><?php include "buttom.php"; ?></td></tr> </table> </body> </html> <?php } else { } } else { } ?>