Show sourcecode
The following files exists in this folder. Click to view.
blokket/
blokket2/
byline.php
config.php
default.php
footer.php
header.php
header_original.php
report-aside.php
reports/
style-aside.php
test/
header_original.php
1 lines ASCII Unix (LF)
<?php
if(isset($_POST['stylesheet-selection']))
{
$_SESSION['stylesheet'] = strip_tags($_POST['stylesheet-selection']);
$selectedStylesheet = $_SESSION['stylesheet'];
}
else if(isset($_SESSION['stylesheet']))
$selectedStylesheet = $_SESSION['stylesheet'];
else
$selectedStylesheet = "gotham.css";
?>
<!doctype html>
<html lang='sv'>
<head>
<title> <?php echo $pageTitle; ?> </title>
<link rel="stylesheet" href=<?php echo "style/" . $selectedStylesheet; ?> title="General stylesheet">
<!-- Added this to add an optional (for Firefox: View -> Page style) stylesheet (Debug stylesheet) -->
<link rel="alternate stylesheet" href="style/debug.css" title="Debug stylesheet">
<link rel="shortcut icon" href="img/BatmanFavicon.ico">
<!-- <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> --> <!-- Lined commented away because the W3C Internationalization Checker thought that for HTML5 it'd be better to just have the <meta charset="utf-8"> line. -->
<meta charset="utf-8">
<meta name="keywords" content="Nicolas, Dubray">
<meta name="author" content="Nicolas Dubray">
<!-- Each page can set $pageStyle to create additional style -->
<?php if(isset($pageStyle)) : ?>
<style type="text/css">
<?php echo $pageStyle; ?>
</style>
<?php endif; ?>
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
</head>
<!-- changed <body> to the line below. The body id helps with highlighting current menu choice -->
<body<?php if(isset($pageId)) echo " id='$pageId' "; ?>>
<!-- Headers -->
<header id="above">
<!-- login/logout menu -->
<?php echo userLoginMenu(); ?>
<nav class="related">
<a href="../kmom1/me.php">kmom01</a>
<a href="../kmom2/me.php">kmom02</a>
</nav>
</header>
<!-- REPLACED WITH "top"
<div id="top">
<img src="img/logo.png" alt="htmlphp logo" width=300 height=70>
</div> -->
<header id="top">
<a href="me.php"><img class="center" width="550" alt="Batman's symbol" src="img/logo.png"></a>
<!-- Navigeringsmeny -->
<nav class="navmenu">
<a id="me-" href="me.php">Me</a>
<a id="favorites-" href="favorites.php">Favorites</a>
<a id="test-" href="test.php">Tests</a>
<a id="style-" href="style.php">Style</a>
<a id="report-" href="report.php">Reports</a>
<a id="source-" href="viewsource.php">Sourcecode</a> <!-- Added to integrated source-showing into the menu and not just the footer, where it was linked to in KMOM1. -->
<!-- add page for the guides? -->
</nav>
</header>
<div id="content"> <!-- start of #content -->