Oto plik index.php:
<?php include(\"mcon.inc\"); //polaczenie z baza danych $wartosci_cookie = $login.\"|\".$haslo; } else { $login = $wartosc_cookie[0]; $haslo = $wartosc_cookie[1]; $wartosci_cookie = $login.\"|\".$haslo; } } if ($wyloguj==\"tak\") { $wartosci_cookie = \"\"; } ?>
<html> <head> <META content=Seiya name=Author> <LINK href="style.css" type=text/css rel=stylesheet> <meta http-equiv="content-type" content="text/html; charset=iso-8859-2"> <META NAME="Keywords" CONTENT=""> </head> <body marginwidth="0" marginheight="0" leftMargin=0 topMargin=0> <center> <!-- LOGO --> <table border=0 background="gfx/gora.jpg" cellpadding=1 cellspacing=0 width="885"> <tr> </tr> <table border=0 cellpadding=1 cellspacing=0 width="759" background="gfx/tlo.jpg"> <tr> </td> </tr> </table> <!-- ********** --> <table border=0 cellpadding=1 cellspacing=0 width="759" background="gfx/tlo.jpg"> <tr> <td width="110" valign="top"> <!-- MENU --> <? include("menu.inc"); ?> <!-- ********** --> <br><!-- AKANET --> <? include("akanet.inc"); ?> <? include("cs.inc"); ?> <? include("inne.inc"); ?> </td> <!-- TREŚĆ STRONY --> <td width="649" valign="top">
<? include(\"newsy.php\"); $strona = $co.\".php\"; include($strona); } else { } } else { } ?>
Linkuję w ten sposób:
<a href="index.php?co=osieci">
PRZEPRASZAM JUZ POPRWIŁEM, jestem zielony
