<?php // include files // require("session.php"); include('_mysql.php'); function ShowLogin($komunikat=""){ } if($_GET["wyloguj"]=="tak"){$_SESSION["zalogowany"]=0;echo "Zostałeś wylogowany z serwisu";} if($_SESSION["zalogowany"]!=1){ if(mysql_num_rows(mysql_query("select * from users where user_login = '".htmlspecialchars($_POST["login"])."' AND user_haslo = '".htmlspecialchars($_POST["haslo"])."'"))){ $_SESSION["user"]=1; } } else ShowLogin(); } else {} // Cascading Style Sheets // // Construction site // include('head.php'); include('headlinks.php'); include('leftsite.php'); include('rightsite.php'); include('site.php'); include('top.php'); ?>