Sample page.tpl.php

  1. <?php
  2. // $Id: page.tpl.php,v 1.28 2008/01/24 09:42:52 goba Exp $
  3. ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  4. <html xmlns="http://www.w3.org/1999/xhtml" lang="<?php print $language->language ?>" xml:lang="<?php print $language->language ?>" dir="<?php print $language->dir ?>">
  5.  
  6. <head>
  7.   <title><?php print $head_title ?></title>
  8.   <?php print $head ?>
  9.   <?php print $styles ?>
  10.   <?php print $scripts ?>
  11.  
  12.  
  13. </script>
  14.  
  15. </head>
  16.  
  17. <!-- <body<?php print phptemplate_body_class($left, $right); ?>> -->
  18. <body>
  19. <!-- <?php
  20. print '<pre>';
  21. print '</pre>';
  22. ?>
  23. <?php
  24. echo '<pre>';
  25. echo '</pre>';
  26. ?>-->
  27. <div id="page">
  28.  
  29.         <div id="sidebar-left">
  30.         <?php print $left ?>
  31.       </div> <!-- /sidebar-left -->
  32.  
  33. <div id="curve-left">
  34. </div> <!-- /curve-left -->
  35.  
  36.         <div id="scroller">
  37.           <?php print $right ?>
  38.         </div><!-- /scroller -->
  39.  
  40. <div id="curve-right">
  41. </div><!-- /curve-right -->
  42. <div id="container">
  43. <div id="header">
  44. </div> <!-- /header -->
  45. <div id="content">
  46. <?php print $help ?>
  47. <?php print $tabs ?>
  48. <?php print $messages ?>
  49. <?php print $content ?>
  50. </div> <!-- /content -->
  51. <div id="footer">
  52. <?php print $footer_message ?>
  53. <?php print $feed_icons ?>
  54. </div> <!-- /footer -->
  55. </div> <!-- /container -->  
  56.  
  57. </div> <!-- /page -->
  58. <p class="tiny">Footer 123</p>
  59.  
  60.  
  61. <?php print $closure ?>
  62. </body>
  63. </html>