| 1 |
<?php |
<?php |
| 2 |
// $Id$ |
// $Id: page.tpl.php,v 1.1 2008/05/29 02:40:09 crashtest Exp $ |
| 3 |
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" |
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" |
| 4 |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
| 5 |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php print $language->language ?>" lang="<?php print $language->language ?>" dir="<?php print $language->dir ?>"> |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php print $language->language ?>" lang="<?php print $language->language ?>" dir="<?php print $language->dir ?>"> |
| 13 |
<![endif]--> |
<![endif]--> |
| 14 |
</head> |
</head> |
| 15 |
|
|
| 16 |
<body class="<?php print $body_classes; ?>"> |
<body class="<?php print $body_classes ?>"> |
| 17 |
<div class="whitebar"> |
<div class="whitebar"> |
| 18 |
<div class="centered"> |
<div class="centered"> |
| 19 |
<div id="slogan"> |
<div id="slogan"> |
| 20 |
<?php |
<?php if ($messages): ?> |
| 21 |
if ($messages) { |
<?php print $messages ?> |
| 22 |
print $messages; |
<?php elseif ($search_box): ?> |
| 23 |
} else if ($search_box) |
<?php print $search_box ?> |
| 24 |
{ |
<?php endif; ?> |
| 25 |
print $search_box; |
<?php if ($site_slogan): ?><h3><?php print $site_slogan ?></h3><?php endif; ?> |
| 26 |
} |
</div> |
| 27 |
?> |
</div> |
| 28 |
<?php if ($site_slogan) { print '<h3>' . $site_slogan . '</h3>'; } ?> |
</div> |
| 29 |
</div> |
|
| 30 |
</div> |
<div id="menubar"> |
| 31 |
</div> |
<div id="navigation"> |
| 32 |
|
<?php if (isset($primary_links)): ?> |
| 33 |
<div id="menubar"> |
<?php print theme('links', $primary_links) ?> |
| 34 |
<div id="navigation"> |
<?php endif; ?> |
| 35 |
<?php if (isset($primary_links)) : ?> |
</div> |
| 36 |
<?php print theme('links', $primary_links) ?> |
</div> |
|
<?php endif; ?> |
|
|
</div> |
|
|
</div> |
|
| 37 |
|
|
| 38 |
<div id="bluebar"> |
<div id="bluebar"> |
| 39 |
<div class="centered"> |
<div class="centered"> |
| 40 |
<div id="logo"> |
<div id="logo"> |
| 41 |
<a href="<?php print $base_path; ?>"><img src="<?php print $logo; ?>" alt="logo" /></a><?php if ($site_name) { print '<h1><a href="'. $base_path .'">'. $site_name .'</a>' . '</h1>'; } ?> |
<?php if ($logo): ?> |
| 42 |
<?php print '<h3 class="mission">' . $mission . '</h3>'; ?> |
<a href="<?php print $base_path ?>"><img src="<?php print $logo ?>" alt="logo" /></a> |
| 43 |
<?php print '<div id="mission-region">' . $mission_region . '</div>'; ?> |
<?php endif; ?> |
| 44 |
</div> |
<?php if ($site_name): ?><h1><a href="<?php print $base_path ?>"><?php print $site_name ?></a></h1><?php endif; ?> |
| 45 |
</div> |
<?php if ($mission): ?><h3 class="mission"><?php print $mission ?></h3><?php endif; ?> |
| 46 |
</div> |
<?php if ($mission_region): ?><div id="mission-region"><?php print $mission_region ?></div><?php endif; ?> |
| 47 |
|
</div> |
| 48 |
<?php if ($breadcrumb || $secondary_links): ?> |
</div> |
| 49 |
<div class="whitebar"> |
</div> |
| 50 |
<div class="centered"> |
|
| 51 |
<div id="crumbbar"> |
<?php if ($breadcrumb || $secondary_links): ?> |
| 52 |
<?php |
<div class="whitebar"> |
| 53 |
if ($breadcrumb) { print '<div id="breadcrumb">' . $breadcrumb . '</div>'; } |
<div class="centered"> |
| 54 |
if ($secondary_links) { print '<div id="secondary">' . theme('links', $secondary_links) . '</div>'; } ?> |
<div id="crumbbar"> |
| 55 |
</div> |
<?php if ($breadcrumb): ?><div id="breadcrumb"><?php print $breadcrumb ?></div><?php endif; ?> |
| 56 |
</div> |
<?php if ($secondary_links): ?><div id="secondary"><?php print theme('links', $secondary_links) ?></div><?php endif; ?> |
| 57 |
</div> |
</div> |
| 58 |
<?php endif; ?> |
</div> |
| 59 |
|
</div> |
| 60 |
<?php if ($callout_left || $callout_right): ?> |
<?php endif; ?> |
| 61 |
<div class="whitebar"> |
|
| 62 |
<div class="centered"> |
<?php if ($callout_left || $callout_right): ?> |
| 63 |
<div id="callout"> |
<div class="whitebar"> |
| 64 |
<?php if ($callout_left): ?> |
<div class="centered"> |
| 65 |
<div id="callout-left"> |
<div id="callout"> |
| 66 |
<?php print $callout_left; ?> |
<?php if ($callout_left): ?> |
| 67 |
</div> |
<div id="callout-left"> |
| 68 |
<?php endif; ?> |
<?php print $callout_left ?> |
| 69 |
<?php if ($callout_right) { |
</div> |
| 70 |
print '<div id="callout-right">'.$callout_right.'</div>'; |
<?php endif; ?> |
| 71 |
} else |
<?php if ($callout_right): ?> |
| 72 |
{ |
<div id="callout-right"><?php print $callout_right ?></div> |
| 73 |
print '<div id="callout-right-empty"> </div>'; |
<?php else: ?> |
| 74 |
} |
<div id="callout-right-empty"> </div> |
| 75 |
?> |
<?php endif; ?> |
| 76 |
</div> |
</div> |
| 77 |
</div> |
</div> |
| 78 |
</div> |
</div> |
| 79 |
<?php endif; ?> |
<?php endif; ?> |
| 80 |
|
|
| 81 |
<div id="greybar"> |
<div id="greybar"> |
| 82 |
<div class="centered"> |
<div class="centered"> |
| 83 |
<?php if ($tabs) { print '<div id="tabs-wrapper"><ul class="tabs primary">'. $tabs. '</ul></div>'; } ?> |
<?php if ($tabs): ?><div id="tabs-wrapper"><ul class="tabs primary"><?php print $tabs ?></ul><?php endif; ?> |
| 84 |
<?php |
<?php if ($tabs2): ?><ul class="tabs secondary"><?php print $tabs2 ?></ul><?php endif; ?> |
| 85 |
if ($content_left && $content_right) { print '<div id="three-content-columns">'; } |
<?php if ($tabs): ?></div><?php endif; ?> |
| 86 |
else if ($content_left || $content_right) { print '<div id="two-content-columns">'; } |
<?php if ($content_left && $content_right): ?> |
| 87 |
if ($content_left) { print '<div id="content-left">'. $content_left. '</div>'; } |
<div id="three-content-columns"> |
| 88 |
print '<div id="content">'; |
<?php elseif ($content_left || $content_right): ?> |
| 89 |
if ($title) { print '<h2>'. $title . '</h2>'; } |
<div id="two-content-columns"> |
| 90 |
print $content. '</div>'; |
<?php endif; ?> |
| 91 |
if ($content_right) { print '<div id="content-right">'. $content_right. '</div>'; } |
<?php if ($content_left): ?> |
| 92 |
if ($content_left || $content_right) { print '</div>'; } |
<div id="content-left"><?php print $content_left ?></div> |
| 93 |
?> |
<?php endif; ?> |
| 94 |
</div> |
<div id="content"> |
| 95 |
</div> |
<?php if ($title): ?> |
| 96 |
|
<h2><?php print $title ?></h2> |
| 97 |
|
<?php endif; ?> |
| 98 |
<div id="lightbluebar"> |
<?php print $content ?> |
| 99 |
<div class="centered"> |
</div> |
| 100 |
<div id="footerinner"> |
<?php if ($content_right): ?> |
| 101 |
<p>Refresco designed by <a href="http://brauerranch.com">Patrick Teglia</a></p> |
<div id="content-right"><?php print $content_right ?></div> |
| 102 |
<?php if($footer) { print $footer; } ?> |
<?php endif; ?> |
| 103 |
|
<?php if ($content_left || $content_right): ?> |
| 104 |
</div> |
</div> |
| 105 |
</div> |
<?php endif; ?> |
| 106 |
</div> |
</div> |
| 107 |
|
</div> |
| 108 |
</body> |
|
| 109 |
|
<div id="lightbluebar"> |
| 110 |
|
<div class="centered"> |
| 111 |
|
<div id="footerinner"> |
| 112 |
|
<p>Refresco designed by <a href="http://brauerranch.com">Patrick Teglia</a></p> |
| 113 |
|
<?php if($footer) { print $footer; } ?> |
| 114 |
|
</div> |
| 115 |
|
</div> |
| 116 |
|
</div> |
| 117 |
|
|
| 118 |
|
</body> |
| 119 |
</html> |
</html> |