PHP MVC

Show sourcecode

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

kmom01/

.gitattributes
.gitignore
404.html
CHANGELOG.md
LICENSE.md
README.md
apple-touch-icon-114x114-precomposed.png
apple-touch-icon-144x144-precomposed.png
apple-touch-icon-57x57-precomposed.png
apple-touch-icon-72x72-precomposed.png
apple-touch-icon-precomposed.png
apple-touch-icon.png
crossdomain.xml
css/
doc/
favicon.ico
footer.php
header.php
humans.txt
img/
index.php
js/
report.php
robots.txt
src/
viewsource.php

header.php

1 lines
1
<!DOCTYPE html>
<!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>         <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>         <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
    <head>
        <meta charset="utf-8">
        <title><?php echo $title; ?></title>
        <meta name="description" content="">
        <meta name="viewport" content="width=device-width">

        <!-- Place favicon.ico and apple-touch-icon.png in the root directory -->

        <link rel="stylesheet" href="css/normalize.css">
        <link rel="stylesheet" href="css/main.css">
        <script src="js/vendor/modernizr-2.6.1.min.js"></script>
<?php
if(isset($pageStyle)) { 
  // Each page can set $pageStyle to create add style
    ?>
        <style type="text/css">
           <?php echo $pageStyle ?>
        </style>
<?php
}
?>
    </head>
    <body>
        <!--[if lt IE 7]>
            <p class="chromeframe">You are using an outdated browser. <a href="http://browsehappy.com/">Upgrade your browser today</a> or <a href="http://www.google.com/chromeframe/?redirect=true">install Google Chrome Frame</a> to better experience this site.</p>
        <![endif]-->

        <!-- Add your site or application content here -->
    <header>
    <h1>PHP MVC</h1>
    <nav class="navmenu">
      <a href="me.php">Om mig</a>
      <a href="report.php#mom01">Redovisning</a>
      <a href="viewsource.php">Visa källkod</a>
    </nav>
  </header>