index.php 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <?php
  2. // Include PHP before any content is generated to we can set cookies
  3. // Sets the $content variable with the dynamic page content
  4. include "./action.php";
  5. ?>
  6. <!doctype html>
  7. <!--[if lt IE 7 ]> <html lang="en" class="no-js ie6"> <![endif]-->
  8. <!--[if IE 7 ]> <html lang="en" class="no-js ie7"> <![endif]-->
  9. <!--[if IE 8 ]> <html lang="en" class="no-js ie8"> <![endif]-->
  10. <!--[if IE 9 ]> <html lang="en" class="no-js ie9"> <![endif]-->
  11. <!--[if (gt IE 9)|!(IE)]><!--> <html lang="en" class="no-js"> <!--<![endif]-->
  12. <head>
  13. <meta charset="utf-8">
  14. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  15. <title>Rememberme PHP library test</title>
  16. <meta name="author" content="Gabriel Birke">
  17. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  18. <link rel="stylesheet" href="css/style.css?v=2">
  19. </head>
  20. <body>
  21. <div id="container">
  22. <header>
  23. <h1>Rememberme PHP library test</h1>
  24. </header>
  25. <div id="main">
  26. <?php
  27. // Output generated content
  28. echo $content;
  29. ?>
  30. </div>
  31. <footer>
  32. </footer>
  33. </div> <!-- end of #container -->
  34. </body>
  35. </html>