_page_header.php 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  2. <!--
  3. Design by NodeThirtyThree <http://www.nodethirtythree.com>
  4. Published by Free CSS Templates <http://www.freecsstemplates.org/>
  5. Released for free under a Creative Commons Attribution 2.5 License
  6. Title : HyperGlass
  7. Version : 1.0
  8. Released : 20070718
  9. Description: A two-column, fixed-width template featuring a blue glass effect ideal for 1024x768 resolutions.
  10. -->
  11. <html xmlns="http://www.w3.org/1999/xhtml">
  12. <head>
  13. <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  14. <title><?php echo $CFG->pagetitle; ?></title>
  15. <meta name="keywords" content="" />
  16. <meta name="description" content="" />
  17. <link href="default.css" rel="stylesheet" type="text/css" />
  18. </head>
  19. <body>
  20. <div id="header">
  21. <div id="logo">
  22. <h1><a href="<?php echo $CFG->wwwroot; ?>">Sloodle Browser</a></h1>
  23. <h2>Collaborative browsing in <a href="http://www.secondlife.com" title="Official Second Life website">SL</a> &reg;</h2>
  24. </div>
  25. <div id="menu">
  26. <ul>
  27. <?php
  28. // Go through each menu item
  29. foreach ($CFG->navigation as $nav) {
  30. // Start the entry, and mark it as active if it's the current page
  31. if ($nav[0] == $CFG->curpage) echo "<li class=\"active\">";
  32. else echo "<li>";
  33. echo "<a href=\"{$CFG->wwwroot}{$nav[1]}\" title=\"{$nav[2]}\">{$nav[0]}</a>";
  34. echo "</li>\n";
  35. }
  36. ?>
  37. </ul>
  38. </div>
  39. </div>
  40. <hr />
  41. <div id="page">
  42. <div id="bg">