Webbserverprogrammering 1

Show sourcecode

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

webbsrvprg/exercises/include/

footer.php
header.php
hejsvejs.php

header.php

33 lines UTF-8 Windows (CRLF)
<!doctype html>
<html lang="sv">
<head>
    <meta charset="utf-8">
    <title><?php echo $title?></title>
    <link rel="stylesheet" href="style/stylesheet.css" 
    title="General stylesheet">
    <link rel="shortcut icon" href="img/favicon_pb.png">

    <!-- Each page can set $pageStyle to create additional style -->
    <?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">Webbserverprogrammering 1</span>
    
        <!-- navigation menu -->
        <nav class="navmenu">
            <a id="sida 1-"     href="sida1.php">Start</a>
            <a id="comments-" href="sida2.php">Reflektioner</a>
            <a id="exercises-" href="sida3.php">Övningar</a>
        </nav>
    </header>