| 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" lang="<?php print $language->language ?>" xml:lang="<?php print $language->language ?>">
|
| 3 |
|
| 4 |
<head>
|
| 5 |
<title><?php print $head_title; ?></title>
|
| 6 |
<?php print $head; ?>
|
| 7 |
<?php print $styles; ?>
|
| 8 |
<?php print $scripts; ?>
|
| 9 |
<!--[if lt IE 7]>
|
| 10 |
<style type="text/css" media="all">@import "<?php print base_path() . path_to_theme() ?>/fix-ie6.css";</style>
|
| 11 |
<![endif]-->
|
| 12 |
<!--[if gt IE 5]>
|
| 13 |
<style type="text/css" media="all">@import "<?php print base_path() . path_to_theme() ?>/fix-ie.css";</style>
|
| 14 |
<![endif]-->
|
| 15 |
</head>
|
| 16 |
|
| 17 |
<body class="<?php print $body_classes; ?>">
|
| 18 |
|
| 19 |
<?php if (!empty($header)): ?>
|
| 20 |
<div id="header-region" class="clear-block"><?php print $header; ?></div>
|
| 21 |
<?php endif; ?>
|
| 22 |
|
| 23 |
<div id="container" class="clear-block">
|
| 24 |
|
| 25 |
<div id="header">
|
| 26 |
<div id="top-bar">
|
| 27 |
<?php if (isset($secondary_links)) : ?>
|
| 28 |
<div class="region-content">
|
| 29 |
<?php print theme('links', $secondary_links, array('class' => 'links secondary-links')) ?>
|
| 30 |
</div>
|
| 31 |
<?php endif; ?>
|
| 32 |
</div>
|
| 33 |
|
| 34 |
<div class="region-content">
|
| 35 |
<?php
|
| 36 |
if ($logo || $site_title) {
|
| 37 |
print '<h1><a href="'. check_url($base_path) .'" title="'. $site_title .'">';
|
| 38 |
if ($logo) {
|
| 39 |
print '<img src="'. check_url($logo) .'" alt="'. $site_title .'" id="logo" />';
|
| 40 |
}
|
| 41 |
print ($logo ? '' : $site_title_html) .'</a></h1>';
|
| 42 |
}
|
| 43 |
?>
|
| 44 |
|
| 45 |
<?php if (isset($primary_links)) : ?>
|
| 46 |
<?php print theme('links', $primary_links, array('class' => 'links primary-links')) ?>
|
| 47 |
<?php endif; ?>
|
| 48 |
</div>
|
| 49 |
</div> <!-- /header -->
|
| 50 |
|
| 51 |
<div id="center">
|
| 52 |
<div id="featured">
|
| 53 |
<?php if ($mission || $featured): ?>
|
| 54 |
<div class="region-content">
|
| 55 |
<?php if ($mission): print '<div id="mission">'. $mission .'</div>'; endif; ?>
|
| 56 |
<?php if ($featured): print $featured; endif; ?>
|
| 57 |
</div>
|
| 58 |
<?php endif; ?>
|
| 59 |
</div>
|
| 60 |
|
| 61 |
<div id="breadcrumb"><div class="region-content">
|
| 62 |
<?php if ($breadcrumb): print $breadcrumb; endif; ?>
|
| 63 |
</div></div>
|
| 64 |
|
| 65 |
<div id="main">
|
| 66 |
<div id="sidebar-wrapper">
|
| 67 |
<?php if (!$sidebar_triple): ?><div class="top-corners"><div class="bottom-corners"><?php endif; ?>
|
| 68 |
<?php if ($sidebar_left): ?>
|
| 69 |
<div id="sidebar-left" class="sidebar">
|
| 70 |
<?php print $sidebar_left ?>
|
| 71 |
</div> <!-- /sidebar-left -->
|
| 72 |
<?php endif; ?>
|
| 73 |
|
| 74 |
<?php if (!$sidebar_triple): ?>
|
| 75 |
<div id="content">
|
| 76 |
<div id="squeeze">
|
| 77 |
<?php if ($pre_content) { print $pre_content; } ?>
|
| 78 |
<?php print phptemplate_render_content($content, $tabs, $title, $help, $show_messages, $messages, $feed_icons, $body_classes) ?>
|
| 79 |
</div>
|
| 80 |
</div> <!-- /content -->
|
| 81 |
<?php endif; ?>
|
| 82 |
|
| 83 |
<?php if ($sidebar_right_sec): ?>
|
| 84 |
<div id="sidebar-right-sec" class="sidebar">
|
| 85 |
<?php print $sidebar_right_sec ?>
|
| 86 |
</div> <!-- /sidebar-right-sec -->
|
| 87 |
<?php endif; ?>
|
| 88 |
|
| 89 |
<?php if ($sidebar_right): ?>
|
| 90 |
<div id="sidebar-right" class="sidebar">
|
| 91 |
<?php print $sidebar_right ?>
|
| 92 |
</div> <!-- /sidebar-right -->
|
| 93 |
<?php endif; ?>
|
| 94 |
|
| 95 |
<?php if ($sidebar_triple): ?>
|
| 96 |
<div id="content">
|
| 97 |
<?php print phptemplate_render_content($content, $tabs, $title, $help, $show_messages, $messages, $feed_icons, $body_classes) ?>
|
| 98 |
</div>
|
| 99 |
<?php endif; ?>
|
| 100 |
|
| 101 |
<span class="clear"></span>
|
| 102 |
</div><?php if (!$sidebar_triple): ?></div></div><?php endif; ?> <!-- /sidebar_wrapper -->
|
| 103 |
</div> <!-- /main -->
|
| 104 |
|
| 105 |
<div id="content-bottom">
|
| 106 |
<?php if ($content_bottom): print '<div class="region-content clear-block">'.$content_bottom.'</div>'; endif; ?>
|
| 107 |
</div>
|
| 108 |
|
| 109 |
</div> <!-- /center -->
|
| 110 |
|
| 111 |
<div id="footer"><div class="top-border"><div class="bottom-border">
|
| 112 |
<div class="region-content">
|
| 113 |
<?php if (isset($footer_region)) { print $footer_region; } ?>
|
| 114 |
<?php if (isset($primary_links)) : ?>
|
| 115 |
<?php print theme('links', $primary_links, array('class' => 'links primary-links')) ?>
|
| 116 |
<?php endif; ?>
|
| 117 |
<?php if (isset($footer_message)) { print '<p id="footer-message">'.$footer_message.'</p>'; } ?>
|
| 118 |
<span class="clear"></span>
|
| 119 |
</div>
|
| 120 |
</div></div></div> <!-- /footer -->
|
| 121 |
</div> <!-- /container -->
|
| 122 |
<?php print $closure ?>
|
| 123 |
</body>
|
| 124 |
</html>
|