| 1 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
| 2 |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
| 3 |
<html xmlns="http://www.w3.org/1999/xhtml" lang="<?php print $language ?>" xml:lang="<?php print $language ?>">
|
| 4 |
<head>
|
| 5 |
<title><?php print $head_title ?></title>
|
| 6 |
<meta http-equiv="Content-Style-Type" content="text/css" />
|
| 7 |
<?php print $head ?>
|
| 8 |
<?php print $styles ?>
|
| 9 |
</head>
|
| 10 |
<body <?php print theme("onload_attribute"); ?>>
|
| 11 |
<div id="header">
|
| 12 |
<?php print $search_box ?>
|
| 13 |
<?php if ($logo) : ?>
|
| 14 |
<a href="<?php print url() ?>" title="Index Page"><img src="<?php print($logo) ?>" alt="Logo" /></a>
|
| 15 |
<?php endif; ?>
|
| 16 |
<?php if ($site_name) : ?>
|
| 17 |
<h1 id="site-name"><a href="<?php print url() ?>" title="Index Page"><?php print($site_name) ?></a></h1>
|
| 18 |
<?php endif;?>
|
| 19 |
<?php if ($site_slogan) : ?>
|
| 20 |
<span id="site-slogan"><?php print($site_slogan) ?></span>
|
| 21 |
<?php endif;?>
|
| 22 |
<br class="clear" />
|
| 23 |
<?php print $header ?>
|
| 24 |
</div>
|
| 25 |
<table id="content">
|
| 26 |
<tr>
|
| 27 |
<?php if ($sidebar_right != ""): ?>
|
| 28 |
<td class="sidebar" id="sidebar-right">
|
| 29 |
<?php print $sidebar_right ?>
|
| 30 |
</td>
|
| 31 |
<?php endif; ?>
|
| 32 |
<td class="main-content" id="content-<?php print $layout ?>">
|
| 33 |
<?php if ($title != ""): ?>
|
| 34 |
<h2 class="content-title"><?php print $title ?></h2>
|
| 35 |
<?php endif; ?>
|
| 36 |
<?php if ($tabs != ""): ?>
|
| 37 |
<?php print $tabs ?>
|
| 38 |
<?php endif; ?>
|
| 39 |
|
| 40 |
<?php if ($mission != ""): ?>
|
| 41 |
<div id="mission"><?php print $mission ?></div>
|
| 42 |
<?php endif; ?>
|
| 43 |
|
| 44 |
<?php if ($help != ""): ?>
|
| 45 |
<p id="help"><?php print $help ?></p>
|
| 46 |
<?php endif; ?>
|
| 47 |
|
| 48 |
<?php if ($messages != ""): ?>
|
| 49 |
<div id="message"><?php print $messages ?></div>
|
| 50 |
<?php endif; ?>
|
| 51 |
|
| 52 |
<!-- start main content -->
|
| 53 |
<?php print($content) ?>
|
| 54 |
<!-- end main content -->
|
| 55 |
</td><!-- mainContent -->
|
| 56 |
<td class="sidebar" id="sidebar-left">
|
| 57 |
<?php if (count($primary_links)) : ?>
|
| 58 |
<div id="nav"><ul id="primary">
|
| 59 |
<?php foreach ($primary_links as $link): ?>
|
| 60 |
<li><?php print $link?></li>
|
| 61 |
<?php endforeach; ?>
|
| 62 |
</ul></div>
|
| 63 |
<?php endif; ?>
|
| 64 |
<?php if ($sidebar_left != ""): ?>
|
| 65 |
<?php print $sidebar_left ?>
|
| 66 |
<?php endif; ?>
|
| 67 |
</td>
|
| 68 |
</tr>
|
| 69 |
</table>
|
| 70 |
<div id="footer">
|
| 71 |
<?php if ($footer_message) : ?>
|
| 72 |
<p><?php print $footer_message;?></p>
|
| 73 |
<?php endif; ?>
|
| 74 |
</div><!-- footer -->
|
| 75 |
|
| 76 |
<?php print $closure;?>
|
| 77 |
</body>
|
| 78 |
</html>
|
| 79 |
|