Amorfati's page.tpl.php

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php print $language ?>" lang="<?php print $language ?>">
  3.         <head>
  4.                 <title><?php print $head_title ?></title>
  5.         <?php print $head ?>
  6.         <?php print $styles ?>
  7.         <?php print $scripts ?>
  8.     </head>
  9.     <body<?php print phptemplate_body_class($sidebar_left, $sidebar_right); ?>>
  10.     <div id="top-links">
  11.       <?php if ($top_links): ?>
  12.        <?php print $top_links ?>
  13.       <?php endif; ?>
  14.       <div style="clear:both"></div>
  15.     </div>
  16.     <div id="header">
  17.       <div id="header-mask">
  18.         <div id="header-mid">
  19.           <div id="header-left">
  20.             <div id="header-wrap">
  21.               <div id="header-main">
  22.                 <?php if ($site_name): ?>
  23.                   <h2><?php if (isset($site_slogan)) print variable_get('site_slogan', ''); ?></h2>
  24.                   <h1><?php print $site_name ?></h1>
  25.                 <?php endif; ?>
  26.                 <div id="primary-menu">
  27.                   <?php if (isset($primary_links)) : ?>
  28.                     <?php print theme('links', $primary_links, array('class' => 'primary-links')) ?>
  29.                   <?php endif; ?>
  30.                 </div>
  31.                 <div id="secondary-menu">
  32.                   <?php if (isset($secondary_links)) : ?>
  33.                     <?php print theme('links', $secondary_links, array('class' => 'secondary-links')) ?>
  34.                   <?php endif; ?>
  35.                 </div>
  36.               </div>
  37.             </div>
  38.             <div id="header-logo">
  39.               <?php if ($site_name): ?>
  40.                 <?php if ($logo): ?>
  41.                 <a href="<?php print check_url($base_path) ?>" title="<?php print $site_name ?>"><img src="<?php print check_url($logo) ?>" alt="<?php print $site_name ?>" id="logo" /></a>
  42.                 <?php endif; ?>
  43.               <?php endif; ?>
  44.             </div>
  45.             <div id="header-menu">
  46.               <?php if (isset($header)) : ?>
  47.                 <?php print $header; ?>
  48.               <?php endif; ?>
  49.             </div>
  50.           </div>
  51.         </div>
  52.       </div>
  53.       <div style="clear:both"></div>
  54.     </div>
  55.     <div id="content-holder">
  56.       <div id="content-mask">
  57.         <div id="content-mid">
  58.           <div id="content-left">
  59.             <div id="content-wrap">
  60.               <div id="content">
  61.                 <?php if ($content_header): ?>
  62.                   <div id="content-header">
  63.                     <?php print $content_header ?>
  64.                   </div>
  65.                 <?php endif; ?>
  66.                 <?php if ($tabs): print '<div id="tabs-wrapper" class="clear-block">'; endif; ?>
  67.                 <?php if ($title): print '<h2'. ($tabs ? ' class="with-tabs"' : '') .'>'. $title .'</h2>'; endif; ?>
  68.                 <?php if ($tabs): print $tabs .'</div>'; endif; ?>
  69.                 <?php if (isset($tabs2)): print $tabs2; endif; ?>
  70.                
  71.                 <div class="node">
  72.                   <?php if ($messages): print $messages; endif; ?>
  73.                   <?php if ($help): print $help; endif; ?>
  74.                   <?php print $content ?>
  75.                 </div>
  76.               </div>
  77.             </div>
  78.            
  79.             <div id="sidebar-left">
  80.             <?php if ($sidebar_left): ?>
  81.               <?php print $sidebar_left ?>
  82.             <?php endif; ?>
  83.             </div>
  84.            
  85.             <div id="sidebar-right">
  86.             <?php if ($sidebar_right): ?>
  87.               <?php print $sidebar_right ?>
  88.             <?php endif; ?>
  89.             </div>
  90.           </div>
  91.         </div>
  92.       </div>
  93.         <div id="footer">
  94.                 <?php if ($footer_area): ?>
  95.                         <?php print $footer_area ?>
  96.                 <?php endif; ?>
  97.         </div>
  98.         <?php print $closure ?> 
  99.  
  100.     </body>
  101. </html>