Show sourcecode

The following files exists in this folder. Click to view.

test/incl/

blokket/
blokket2/
byline.php
config.php
default.php
footer.php
header.php
header_original.php
report-aside.php
reports/
style-aside.php
test/

header.php

1 lines ASCII Unix (LF)
1
<!doctype html>
<html lang='sv'>
<head>
    <title> <?php echo $pageTitle; ?> </title>

    <?php
    if(isset($_SESSION['stylesheet'])): ?>
        <link rel="stylesheet" href="style/<?php echo $_SESSION['stylesheet']; ?>">
    <?php else: ?>
        <link rel="stylesheet" href="style/gotham-steel.css" title="General stylesheet">
        <link rel="alternate stylesheet" href="style/debug.css" title="Debug stylesheet">
    <?php endif;
    ?>

    <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(); ?>

        </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"><div id="logo"></div></a>
        <!-- Navigeringsmeny -->
        <nav class="navmenu">
            <a id="me-"         href="me.php">Me</a>
            <a id="favorites-"  href="favorites.php">Favorites</a>
            <a id="blokket-"    href="blokket.php">The Blokk</a>
            <a id="blokket2-"    href="blokket2.php">The Blokk 2</a>
            <a id="style-"      href="style.php">Style</a>
            <a id="test-"       href="test.php">Tests</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 -->