| 1 |
<?php
|
| 2 |
// $Id $
|
| 3 |
?>
|
| 4 |
|
| 5 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
| 6 |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
| 7 |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
|
| 8 |
<head>
|
| 9 |
<title><?php print $head_title ?></title>
|
| 10 |
<meta http-equiv="Content-Style-Type" content="text/css" />
|
| 11 |
<?php print $head ?>
|
| 12 |
<?php print $styles ?>
|
| 13 |
<?php print $scripts ?>
|
| 14 |
</head>
|
| 15 |
<body <?php print theme("onload_attributes"); ?>>
|
| 16 |
<div id="wrapper">
|
| 17 |
|
| 18 |
<?php if ($search_box): ?>
|
| 19 |
<?php print $search_box ?>
|
| 20 |
<?php endif; ?>
|
| 21 |
|
| 22 |
<div id="header">
|
| 23 |
<?php
|
| 24 |
// prepare header
|
| 25 |
$site_fields = array();
|
| 26 |
if ($site_name) {
|
| 27 |
$site_fields[] = check_plain($site_name);
|
| 28 |
}
|
| 29 |
if ($site_slogan) {
|
| 30 |
$site_fields[] = check_plain($site_slogan);
|
| 31 |
}
|
| 32 |
$site_title = implode(' ', $site_fields);
|
| 33 |
?>
|
| 34 |
<?php if ($site_name) : ?>
|
| 35 |
<h1 id="site-name"><a href="<?php print url() ?>" title="<?php print $site_title ?>"><?php print($site_name) ?></a></h1>
|
| 36 |
<?php endif;?>
|
| 37 |
|
| 38 |
<?php if ($site_slogan) : ?>
|
| 39 |
<div class="site-slogan"><?php print($site_slogan) ?></div>
|
| 40 |
<?php endif;?>
|
| 41 |
|
| 42 |
<?php if (isset($primary_links)) : ?>
|
| 43 |
<div id="primary" class="<?php if ($site_slogan) { print "withslogan"; }?> menu">
|
| 44 |
<?php print theme('menu_links', $primary_links) ?>
|
| 45 |
</div>
|
| 46 |
<?php endif;?>
|
| 47 |
|
| 48 |
<?php if (isset($secondary_links)) : ?>
|
| 49 |
<?php
|
| 50 |
$secondary_class = "";
|
| 51 |
if ($primary_links && $site_slogan) {
|
| 52 |
$secondary_class = "withprimaryslogan";
|
| 53 |
}
|
| 54 |
elseif ($primary_links) {
|
| 55 |
$secondary_class = "withprimary";
|
| 56 |
}
|
| 57 |
elseif ($site_slogan) {
|
| 58 |
$secondary_class = "withslogan";
|
| 59 |
}
|
| 60 |
?>
|
| 61 |
<div id="secondary" class="<?php print $secondary_class; ?> menu">
|
| 62 |
<?php print theme('menu_links', $secondary_links) ?>
|
| 63 |
</div>
|
| 64 |
<?php endif;?>
|
| 65 |
</div>
|
| 66 |
|
| 67 |
|
| 68 |
<div id="content">
|
| 69 |
<?php if ($breadcrumb != ""): ?>
|
| 70 |
<div id="breadcrumb"><?php print $breadcrumb ?></div>
|
| 71 |
<?php endif; ?>
|
| 72 |
|
| 73 |
|
| 74 |
<?php if ($title != ""): ?>
|
| 75 |
<h2 class="content-title"><?php print $title ?></h2>
|
| 76 |
<?php endif; ?>
|
| 77 |
|
| 78 |
<?php if ($tabs != ""): ?>
|
| 79 |
<?php print $tabs ?>
|
| 80 |
<?php endif; ?>
|
| 81 |
|
| 82 |
<?php if ($mission != ""): ?>
|
| 83 |
<p id="mission"><?php print $mission ?></p>
|
| 84 |
<?php endif; ?>
|
| 85 |
|
| 86 |
<?php if ($help != ""): ?>
|
| 87 |
<p id="help"><?php print $help ?></p>
|
| 88 |
<?php endif; ?>
|
| 89 |
|
| 90 |
<?php if ($messages != ""): ?>
|
| 91 |
<div id="message"><?php print $messages ?></div>
|
| 92 |
<?php endif; ?>
|
| 93 |
|
| 94 |
|
| 95 |
<?php print($content) ?>
|
| 96 |
|
| 97 |
</div>
|
| 98 |
|
| 99 |
|
| 100 |
<div id="sidebar">
|
| 101 |
<ul>
|
| 102 |
<?php print $sidebar_left ?>
|
| 103 |
</ul>
|
| 104 |
|
| 105 |
<ul>
|
| 106 |
<?php print $sidebar_right ?>
|
| 107 |
</ul>
|
| 108 |
|
| 109 |
</div>
|
| 110 |
|
| 111 |
<div id="footer">
|
| 112 |
<p>
|
| 113 |
Design By: <a href="http://beccary.com" title="Theme designed by Beccary">Beccary</a>
|
| 114 |
and: <a href="http://scarto.abshost.net" title="Modified for Drupal by Scar_T">Scar_T</a>
|
| 115 |
and <a href="http://www.stellapowerdesign.net" title="Modified for Drupal5 by Stella Power">snpower</a>
|
| 116 |
<?php if ($footer_message) : ?>
|
| 117 |
-
|
| 118 |
<?php print $footer_message;?>
|
| 119 |
<?php endif; ?>
|
| 120 |
</p>
|
| 121 |
</div>
|
| 122 |
|
| 123 |
</div>
|
| 124 |
|
| 125 |
<?php print $closure;?>
|
| 126 |
|
| 127 |
</body>
|
| 128 |
</html>
|