| 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 |
|
| 4 |
<head>
|
| 5 |
<title><?php print $head_title ?></title>
|
| 6 |
<?php print $head ?>
|
| 7 |
<?php print $styles ?>
|
| 8 |
<?php print $scripts ?>
|
| 9 |
<script type="text/javascript"><?php /* Needed to avoid Flash of Unstyle Content in IE */ ?> </script>
|
| 10 |
</head>
|
| 11 |
|
| 12 |
<body>
|
| 13 |
<div class="content">
|
| 14 |
<div class="top_header"><?php print $header ?></div>
|
| 15 |
|
| 16 |
<div class="header_right">
|
| 17 |
<div class="top_info">
|
| 18 |
<div class="top_info_right">
|
| 19 |
<p>
|
| 20 |
<?php
|
| 21 |
global $user;
|
| 22 |
if ($user->uid) {
|
| 23 |
print t('<b>You are logged in as !name', array('!name' => theme('username', $user))) .'</b> | '. l(t('Log out'), 'logout');
|
| 24 |
}
|
| 25 |
else {
|
| 26 |
print t('<b>You are not Logged in!</b> ' . l("Log in", "user/login", array(), drupal_get_destination()) . ' or ' . l("register", "user/register") . '.');
|
| 27 |
}
|
| 28 |
?>
|
| 29 |
</p>
|
| 30 |
</div>
|
| 31 |
</div>
|
| 32 |
|
| 33 |
<div class="bar">
|
| 34 |
<?php if (isset($primary_links)) { ?><?php print theme('links', $primary_links) ?><?php } ?>
|
| 35 |
</div>
|
| 36 |
</div>
|
| 37 |
|
| 38 |
<?php if ($logo || $site_name) { ?>
|
| 39 |
<div class="logo">
|
| 40 |
<h1><a href="<?php print $base_path ?>" title="<?php print check_plain($site_name) ?>"><img src="<?php print $logo ?>" alt="<?php print check_plain($site_name) ?>" /><? print check_plain($site_name) ?></a></h1>
|
| 41 |
<?php if ($site_slogan) { ?><p><span class='site-slogan'><?php print $site_slogan ?></span></p><?php } ?>
|
| 42 |
</div>
|
| 43 |
<?php } ?>
|
| 44 |
|
| 45 |
<div class="search_field">
|
| 46 |
<?php if ($search_box) { print $search_box; } ?>
|
| 47 |
</div>
|
| 48 |
|
| 49 |
<div class="newsletter">
|
| 50 |
<p>Subscribe for Newsletter!</p>
|
| 51 |
</div>
|
| 52 |
|
| 53 |
<div class="subheader">
|
| 54 |
<?php if ($mission) { ?><div id="mission"><?php print $mission ?></div><?php } ?>
|
| 55 |
<?php print $breadcrumb ?>
|
| 56 |
</div>
|
| 57 |
|
| 58 |
<div class="left">
|
| 59 |
<?php if ($content_top) { ?>
|
| 60 |
<div class="content_top">
|
| 61 |
<?php print $content_top ?>
|
| 62 |
</div>
|
| 63 |
<?php } ?>
|
| 64 |
<div class="left_articles">
|
| 65 |
<?php if ($title) { ?>
|
| 66 |
<h1 class="title"><?php print $title ?></h1>
|
| 67 |
<?php } ?>
|
| 68 |
<?php if ($tabs) { ?>
|
| 69 |
<div class="tabs"><?php print $tabs ?></div>
|
| 70 |
<?php } ?>
|
| 71 |
<?php print $help ?>
|
| 72 |
<?php print $messages ?>
|
| 73 |
<?php print $content; ?>
|
| 74 |
</div>
|
| 75 |
<?php if ($content_bottom) { ?>
|
| 76 |
<div class="content_bottom">
|
| 77 |
<?php print $content_bottom ?>
|
| 78 |
</div>
|
| 79 |
<?php } ?>
|
| 80 |
</div>
|
| 81 |
<div class="right">
|
| 82 |
<?php if ($sidebar_plain) print $sidebar_plain ?>
|
| 83 |
<?php if ($sidebar_right) print $sidebar_right ?>
|
| 84 |
</div>
|
| 85 |
<div class="footer">
|
| 86 |
<?php if ($feed_icons) print $feed_icons; ?>
|
| 87 |
<?php print $footer_message ?>
|
| 88 |
</div>
|
| 89 |
</div>
|
| 90 |
<?php print $closure ?>
|
| 91 |
</body>
|
| 92 |
</html>
|