Show sourcecode
The following files exists in this folder. Click to view.
webbsrvprg/exercises/projekt/incl/
addfilters.php
dbconnection.php
default.php
footer.php
header.php
playertable.php
protected.php
sort.php
stylesheet.css
header.php
37 lines UTF-8 Windows (CRLF)
<!DOCTYPE html>
<html lang="sv">
<head>
<meta charset="utf-8">
<title><?php echo $title; ?></title>
<link rel="stylesheet" href="incl/stylesheet.css" title="General stylesheet">
<!-- <link rel="shortcut icon" href="img/favicon_pb.png"> -->
<?php if(isset($pageStyle)) { ?>
<style>
<?php echo $pageStyle; ?>
</style>
<?php } ?>
</head>
<!-- The body id helps with highlighting current menu choice -->
<body<?php if(isset($pageId)) echo " id='$pageId' "; ?>>
<!-- header -->
<header id="top">
<span class="logga">EA FC 25 DB</span>
<!-- navigation menu -->
<nav class="navmenu">
<a id="index" href="index.php">Hemsida</a>
<a id="lineup" href="lineup.php">Uppställning</a>
<a id="database" href="database.php">Databas</a>
<a id="createcard" href="createcard.php">Skapa kort</a>
<a id="leaderboard" href="leaderboard.php">Rankningslista</a>
<?php
if (isset($_SESSION["logIn"])){
echo "<a id=\"log\" href=\"logout.php\">Logga ut</a>";
}
else{
echo "<a id=\"log\" href=\"login.php\">Logga in</a>";
}
?>
</nav>
</header>