| 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 ?>" xml:lang="<?php print $language ?>">
|
| 3 |
<head>
|
| 4 |
<title><?php print $head_title ?></title>
|
| 5 |
<?php
|
| 6 |
print $head;
|
| 7 |
print theme('stylesheet_import', base_path() . path_to_theme() . '/style.php', 'all');
|
| 8 |
print $styles;
|
| 9 |
?>
|
| 10 |
<script type="text/javascript"><?php /* Needed to avoid Flash of Unstyle Content in IE */ ?> </script>
|
| 11 |
<link rel="stylesheet" type="text/css" href="<?php print $base_path.$directory ?>/NiftyCube/niftyCorners.css">
|
| 12 |
<script type="text/javascript">
|
| 13 |
if (isJsEnabled()) {
|
| 14 |
addLoadEvent(function(){
|
| 15 |
Nifty("div.comment,div#footer,div.node","big");
|
| 16 |
Nifty("div#menu a","medium");
|
| 17 |
Nifty("div.block","tl bottom big");
|
| 18 |
})
|
| 19 |
}
|
| 20 |
</script>
|
| 21 |
|
| 22 |
</head>
|
| 23 |
<body>
|
| 24 |
<table border="0" cellpadding="0" cellspacing="0" id="header">
|
| 25 |
<tr>
|
| 26 |
<td id="logo">
|
| 27 |
<?php if ($logo) { ?><a href="<?php print $base_path ?>" title="<?php print t('Home') ?>"><img src="<?php print $logo ?>" alt="<?php print t('Home') ?>" /></a><?php } ?>
|
| 28 |
<?php if ($site_name) { ?><h1 class='site-name'><a href="<?php print $base_path ?>" title="<?php print t('Home') ?>"><?php print $site_name ?></a></h1><?php } ?>
|
| 29 |
<?php if ($site_slogan) { ?><div class='site-slogan'><?php print $site_slogan ?></div><?php } ?>
|
| 30 |
</td>
|
| 31 |
<td class="search">
|
| 32 |
<?php print $search_box ?>
|
| 33 |
</td>
|
| 34 |
</tr><tr><td id="breadcrumb"><?php print $breadcrumb ?></td><td id="menu">
|
| 35 |
<?php if ($primary_links) : ?>
|
| 36 |
<ul id="nav">
|
| 37 |
<?php foreach ($primary_links as $link): ?>
|
| 38 |
<li><?php print $link; ?></li>
|
| 39 |
<?php endforeach; ?>
|
| 40 |
</ul>
|
| 41 |
<?php elseif ($secondary_links) : ?>
|
| 42 |
<ul id="nav">
|
| 43 |
<?php foreach ($secondary_links as $link): ?>
|
| 44 |
<li><?php print $link; ?></li>
|
| 45 |
<?php endforeach; ?>
|
| 46 |
</ul>
|
| 47 |
<?php endif; ?></td>
|
| 48 |
</tr>
|
| 49 |
<tr>
|
| 50 |
<td colspan="2"><div><?php print $header ?></div></td>
|
| 51 |
</tr>
|
| 52 |
</table>
|
| 53 |
<table border="0" cellpadding="0" cellspacing="0" id="content">
|
| 54 |
<tr>
|
| 55 |
<?php if ($sidebar_left) { ?><td id="sidebar-left">
|
| 56 |
<?php print $sidebar_left ?>
|
| 57 |
</td><?php } ?>
|
| 58 |
<td valign="top">
|
| 59 |
<?php if ($mission) { ?><div id="mission"><?php print $mission ?></div><?php } ?>
|
| 60 |
<div id="main">
|
| 61 |
|
| 62 |
<h1 class="title"><?php print $title ?></h1>
|
| 63 |
<div class="tabs"><?php print $tabs ?></div>
|
| 64 |
<?php print $help ?>
|
| 65 |
<?php print $messages ?>
|
| 66 |
<?php print $content; ?>
|
| 67 |
</div>
|
| 68 |
</td>
|
| 69 |
<?php if ($sidebar_right) { ?><td id="sidebar-right">
|
| 70 |
<?php print $sidebar_right ?>
|
| 71 |
</td><?php } ?>
|
| 72 |
</tr>
|
| 73 |
</table>
|
| 74 |
<?php if ($footer_message) { ?>
|
| 75 |
<div id="footer">
|
| 76 |
<?php print $footer_message ?>
|
| 77 |
</div>
|
| 78 |
<?php } ?>
|
| 79 |
|
| 80 |
<?php print $closure;?>
|
| 81 |
</body>
|
| 82 |
</html>
|