<?php
session_name("log");
session_start();
//
echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>[FRAKTON] Logs</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body><h1>Logs</h1>';
//
if (!isset($_SESSION['user'], $_SESSION['pw']))
{
echo '<b>Du musst dich erst <a href="index.php">hier</a> einloggen um in den Geschützen Bereich zu kommen!</b>';
}
if (isset($_SESSION['user'], $_SESSION['pw']))
{
include 'function1.inc.php';
}
echo '</body>
</html>';
?>