31 lines
1.1 KiB
PHP
Executable File
31 lines
1.1 KiB
PHP
Executable File
<?php
|
|
session_start();
|
|
error_reporting(E_ERROR | E_PARSE);
|
|
?>
|
|
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>WillySoft Enterprise - Presento™</title>
|
|
<link rel="stylesheet" href="/static/css/style.css">
|
|
<link rel="icon" type="image/png" href="/static/img/brand.png">
|
|
</head>
|
|
<body class="animate-top">
|
|
<!-- Det er meningen at denne nettsiden skal være dårlig lagd -->
|
|
<nav>
|
|
<a href="/"><img style="height: 44px;" src="/static/img/brand.png" alt=""></a>
|
|
<?php
|
|
if ($_SESSION["admin"] === true) {
|
|
echo('<a href="/admin/logout.php" style="float:right;">Logg ut</a>');
|
|
echo('<a href="/admin/" style="float:right; padding-right: 7px;">Admin</a>');
|
|
} else {
|
|
echo('<a href="/admin/" style="float:right;">Admin</a>');
|
|
}
|
|
?>
|
|
<div style="padding-left: 80px">
|
|
<h2 style="display: inline; position: absolute; top: -20px; font-size: 30px;">Presento</h2>
|
|
<p style="display: inline; position: absolute; top: 21px;">Extreme Professional Edition</p>
|
|
</div>
|
|
<hr>
|
|
</nav>
|