| 1 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
| 2 |
|
| 3 |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
| 4 |
<head>
|
| 5 |
|
| 6 |
<title><?php print $head_title; ?></title>
|
| 7 |
<?php print $head; ?>
|
| 8 |
<?php print $styles; ?>
|
| 9 |
<?php print $scripts; ?>
|
| 10 |
<?php
|
| 11 |
$mainwidth = theme_get_setting('cto_main_width');
|
| 12 |
if (($sidebar_left) && ($sidebar_right)) {
|
| 13 |
$sidebarwidth = (95 - $mainwidth) / 2; //100 -1%ie roundoff error minus 2+2 sidebar margins
|
| 14 |
} else {
|
| 15 |
$sidebarwidth = 97 - $mainwidth; //100 -1ie% roundoff error minus 2 sidebar
|
| 16 |
}
|
| 17 |
?>
|
| 18 |
<style type="text/css">
|
| 19 |
.container {width:<?php print theme_get_setting('cto_layout_width');print theme_get_setting('cto_fixedfluid'); ?>;}
|
| 20 |
#main {width:<?php print $mainwidth; ?>%;}
|
| 21 |
.sidebar {width:<?php print $sidebarwidth; ?>%;}
|
| 22 |
</style>
|
| 23 |
|
| 24 |
<?php if (theme_get_setting('cto_iepngfix')) { ?>
|
| 25 |
<!--[if lte IE 6]>
|
| 26 |
<script type="text/javascript">
|
| 27 |
$(document).ready(function(){
|
| 28 |
$(document).pngFix();
|
| 29 |
});
|
| 30 |
</script>
|
| 31 |
<![endif]-->
|
| 32 |
<?php } ?>
|
| 33 |
|
| 34 |
|
| 35 |
</head>
|
| 36 |
<body <?php if (arg(0) == 'admin') { print 'class="adminpage"'; } ?>>
|
| 37 |
|
| 38 |
<div id="header">
|
| 39 |
<div class="container">
|
| 40 |
<?php if ($logo) { ?><a id="logo" href="<?php print $base_path ?>" title="<?php print t('Home') ?>"><img src="<?php print $logo ?>" alt="<?php print t('Home') ?>" /></a><?php } ?>
|
| 41 |
<?php if (isset($primary_links)) { print theme('menu_links', $primary_links); } ?>
|
| 42 |
<?php if ($site_name) { ?><h1 id="logo-text"><a href="<?php print $base_path ?>" title=""><?php print $site_name ?></a></h1><?php } ?>
|
| 43 |
<?php if ($site_slogan) { ?><h2 id="slogan"><?php print $site_slogan ?></h2><?php } ?>
|
| 44 |
</div>
|
| 45 |
</div>
|
| 46 |
|
| 47 |
<?php if (theme_get_setting('cto_subheader') != 1) { ?>
|
| 48 |
<div id="teaser">
|
| 49 |
<div class="container">
|
| 50 |
<?php if ($header) { print $header; } ?>
|
| 51 |
</div>
|
| 52 |
</div>
|
| 53 |
<?php } ?>
|
| 54 |
|
| 55 |
<?php if (theme_get_setting('cto_navbar') != 1) { ?>
|
| 56 |
<div id="bar">
|
| 57 |
<div class="container">
|
| 58 |
<?php if (isset($secondary_links)) { ;print theme('menu_links', $secondary_links); } ?>
|
| 59 |
<?php if ($navbar) { print $navbar; } ?>
|
| 60 |
</div>
|
| 61 |
</div>
|
| 62 |
<?php } ?>
|
| 63 |
|
| 64 |
<div class="container">
|
| 65 |
<?php if ($sidebar_left) { ?><div class="sidebar left"><?php print $sidebar_left ?></div><?php } ?>
|
| 66 |
<div id="main">
|
| 67 |
<?php if ($mission) { ?><h3 id="mission"><?php print $mission ?></h3><?php } ?>
|
| 68 |
|
| 69 |
<?php print $breadcrumb ?>
|
| 70 |
<?php if ($title) { ?><h1 class="title"><?php print $title ?></h1><?php } ?>
|
| 71 |
<?php if ($tabs) { ?><div class="tabs"><?php print $tabs ?></div><?php } ?>
|
| 72 |
<?php print $help ?>
|
| 73 |
<?php print $messages ?>
|
| 74 |
<?php print $content; ?>
|
| 75 |
<?php print $feed_icons; ?>
|
| 76 |
|
| 77 |
</div><!-- end main -->
|
| 78 |
<?php if ($sidebar_right) { ?><div class="sidebar right" ><?php print $sidebar_right ?></div><?php } ?>
|
| 79 |
|
| 80 |
|
| 81 |
<div id="schoen">
|
| 82 |
<?php if ($footer_message) { print $footer_message; }
|
| 83 |
// leaving the credits below is not obligatory as per the license but it shows your appreciation and support :) ?>
|
| 84 |
<p>Design - <a href="http://www.solucija.com/" title="Information Architecture and Web Design">Luka Cvrk</a>. Drupal Port by ADT <a href="http://www.alldrupalthemes.com">Drupal Themes</a>.</p>
|
| 85 |
</div>
|
| 86 |
|
| 87 |
</div><!-- end container -->
|
| 88 |
|
| 89 |
<div style="visibility:hidden;"><?php print $closure;?>sfy39587f11</div>
|
| 90 |
|
| 91 |
</body>
|
| 92 |
</html>
|