@header("Expires: ".gmdate("D, d M Y H:i:s",time()+7200)." GMT"); session_start(); include "config.inc.php"; include 'login_lib.php'; $file=fopen("head.inc","r"); $output_head=fread($file,filesize("head.inc")); fclose($file); if (!isset($_SESSION["login"])) $output_head = str_replace('----loguj----','loguj',$output_head); else { $page = $_REQUEST['page']; if (isset($_REQUEST['page'])) header("Location: ".$page); else header("Location: post.php"); } $output_head = str_replace('topSub','topSub'.rand(1, 8),$output_head); $output_head = str_replace('----tytul----','Logowanie',$output_head); $output_head = str_replace('----tytul_keywords----',"Logowanie",$output_head); print $output_head; $page = str_replace ( '&' , '&', $_REQUEST['page']); echo '