| 1 |
<?php
|
| 2 |
// Copyright 2008 Avioso Limited
|
| 3 |
|
| 4 |
// This file is part of .AD Novus.
|
| 5 |
|
| 6 |
// .AD Novus is free software: you can redistribute it and/or modify
|
| 7 |
// it under the terms of the GNU General Public License as published by
|
| 8 |
// the Free Software Foundation, either version 3 of the License, or
|
| 9 |
// (at your option) any later version.
|
| 10 |
|
| 11 |
// .AD Novus is distributed in the hope that it will be useful,
|
| 12 |
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 13 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
| 14 |
// GNU General Public License for more details.
|
| 15 |
|
| 16 |
// You should have received a copy of the GNU General Public License
|
| 17 |
// along with .AD Novus. If not, see <http://www.gnu.org/licenses/>.
|
| 18 |
?>
|
| 19 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/2002/REC-xhtml1-20020801/DTD/xhtml1-transitional.dtd">
|
| 20 |
<html xmlns="http://www.w3.org/1999/xhtml" lang="<?php print $language->language ?>" xml:lang="<?php print $language->language ?>">
|
| 21 |
<head>
|
| 22 |
<title><?php print $head_title ?></title>
|
| 23 |
<?php print $head ?>
|
| 24 |
<?php print $styles ?>
|
| 25 |
<?php if ($right);else echo "<style type=\"text/css\" media=\"all\">#main {margin-right:0;}</style>"; ?>
|
| 26 |
<?php if ($left);else echo "<style type=\"text/css\" media=\"all\">#main {margin-left:0;}</style>"; ?>
|
| 27 |
<?php if ($right);elseif($left);else echo "<style type=\"text/css\" media=\"all\">#main {margin:0;}</style>"; ?>
|
| 28 |
<!--[if IE]>
|
| 29 |
<style>#sidebar-right {position:relative;left:-1px;}
|
| 30 |
body {background-position: 0 242px;}
|
| 31 |
#header {min-width:950px;}
|
| 32 |
#primary {min-width:950px;}
|
| 33 |
#main,#sidebar-left,#sidebar-right {
|
| 34 |
_display: inline; /* display inline or double your floated margin! [1] */
|
| 35 |
_overflow: hidden; /* in ie6, overflow auto is broken [2] and so is overflow visible [3] */
|
| 36 |
_overflow-y: visible;
|
| 37 |
}
|
| 38 |
</style>
|
| 39 |
<![endif]-->
|
| 40 |
<?php print $scripts ?>
|
| 41 |
<script type="text/javascript"></script>
|
| 42 |
</head>
|
| 43 |
|
| 44 |
<body class="<?php print $body_classes; ?>">
|
| 45 |
<?php if (isset($primary_links)) { ?>
|
| 46 |
<div id="primary">
|
| 47 |
<?php print preg_replace('/<a (.*?)>(.*?)<\\/a>/i','<a \\1><span>\\2</span></a>',theme('links', $primary_links, array('class' =>'links', 'id' => 'navlist'))); ?></div>
|
| 48 |
<?php } ?>
|
| 49 |
|
| 50 |
<div id="header-region">
|
| 51 |
<?php print $header ?>
|
| 52 |
</div>
|
| 53 |
<div id="header"><div id="h2">
|
| 54 |
<?php if ($logo) { ?><a href="<?php print $front_page ?>" title="<?php print t('Home') ?>"><img src="<?php print $logo ?>" alt="<?php print t('Home') ?>" /></a><?php } ?>
|
| 55 |
|
| 56 |
<?php if ($search_box) : ?>
|
| 57 |
<div class="search-box"><?php print $search_box ?></div>
|
| 58 |
<?php endif; ?>
|
| 59 |
|
| 60 |
<h1 class='site-name'><a href="<?php print $front_page ?>" title="<?php print t('Home') ?>"><?php print $site_name ?></a></h1>
|
| 61 |
|
| 62 |
<span class="clear"></span>
|
| 63 |
<?php if ($site_slogan) { ?>
|
| 64 |
<div class='site-slogan'><?php print $site_slogan ?></div>
|
| 65 |
<?php } ?>
|
| 66 |
</div></div>
|
| 67 |
<div id="wrapper">
|
| 68 |
|
| 69 |
<?php if ($left) { ?>
|
| 70 |
<div id="sidebar-left" class="clearfix">
|
| 71 |
<?php print $left ?>
|
| 72 |
</div>
|
| 73 |
<?php } ?>
|
| 74 |
<div id="main" class="clearfix">
|
| 75 |
<?php if ($mission) { ?><div id="mission"><?php print $mission ?></div><?php } ?>
|
| 76 |
<div class="inner">
|
| 77 |
<?php print $breadcrumb ?>
|
| 78 |
<h1 class="title"><?php print $title ?></h1>
|
| 79 |
<?php if ($tabs){ ?><div class="tabs"><?php print $tabs ?></div><?php } ?>
|
| 80 |
<?php print $help ?>
|
| 81 |
<?php if ($show_messages && $messages) print $messages; ?>
|
| 82 |
<?php print $content; ?>
|
| 83 |
<?php print $feed_icons; ?>
|
| 84 |
</div>
|
| 85 |
</div>
|
| 86 |
<?php if ($right): ?>
|
| 87 |
<div id="sidebar-right" class="clearfix">
|
| 88 |
<?php print $right ?>
|
| 89 |
</div>
|
| 90 |
<?php endif; ?>
|
| 91 |
<br clear="all"/>
|
| 92 |
<span class="clear"></span>
|
| 93 |
</div>
|
| 94 |
|
| 95 |
<br clear="all"/>
|
| 96 |
<div id="footer">
|
| 97 |
<?php print $footer_message;?><br/>
|
| 98 |
<a href="http://www.rockettheme.com/Templates/Free_Templates/Novus_-_Free_Joomla_Template/">Theme</a> <a href="http://www.avioso.com">port</a> sponsored by Duplika <a href="http://www.duplika.com">Web Hosting</a>.
|
| 99 |
<?php print $closure ?>
|
| 100 |
</div>
|
| 101 |
</body>
|
| 102 |
</html>
|