na adres zapisany w Twoim profilu iWork.pl":"Nie znaleziono danych"; header("Location: login.php"); exit; } break; case "Wyloguj": LogoutUser(); header("Location: ".($_GET["ret"]?$_GET["ret"]:"/")); exit; break; } $przypomnij_message = $_SESSION["przypomnij_message"]; $_SESSION["przypomnij_message"]=""; $smarty->assign("przypomnij_message", $przypomnij_message); $smarty->assign("error", $error); $smarty->assign("login", $login?$login:$_COOKIE["login"]); $smarty->assign("page_content_filename",SCRIPT_NAME. ".tpl"); $smarty->display("template.tpl"); ?>