include 'config.php'; if (!$_POST['login']) { echo'<form method=\"POST\" action=\"index.php\"><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\"> <tr><td><b>Zaloguj się do administracji lfc.pl</b></td></tr> <tr><td> Login: <input type=\"text\" name=\"login\" size=\"20\"><br> Hasło: <input type=\"text\" name=\"pass\" size=\"20\"><br> <input type=\"submit\" value=\"Zaloguj\" name=\"Submit\"></td> </tr> <tr><td><p align=\"center\"><b>Football Admin v.'.$wersja.'</b> by <b><a href=\"mailto:wievior@tlen.pl\">Wieviór</a></b> for <b>www.lfc.pl</b></td></tr> </table></form>'; } else { $sql = \"SELECT * FROM uzytkownicy WHERE login = '\".$_POST['login'].\"'\"; if (!$_POST['pass'] == $login['haslo']) } else { $_SESSION['login'] = $login['login']; } } ?>
admin.php:
include 'config.php'; function getDirAndFileName($URL) { } ?> <head> <title>Administracja lfc.pl</title> <script type=\"text/javascript\"> function windowOpen() { window.open('obrazki.php', 'whdWindow', 'toolbar=yes, status=yes, scrollbars=yes, location=yes, menubar=yes, directories= es, width=500, height=400') } </script> <meta http-equiv=\"Content-type\" content=\"text/html; charset=iso-8859-2\"> <link rel=\"stylesheet\" type=\"text/css\" href=\"style.css\"></head> <body background=\"img/tlo.gif\"> <? if (!$_SESSION['login']) { exit; } else { cośtam dalej
No i teraz po zalogowaniu się i przejściu dalej pokazuje mi się biała strona, refresh i już jest normalnie treść admin.php. Ale dlaczego na początku pokazuje mi się biała?

