| 1 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> |
|
<meta name="distribution" content="global" /> |
|
|
<meta name="robots" content="follow, all" /> |
|
|
<meta name="language" content="en, sv" /> |
|
|
|
|
| 3 |
<title><?php print $head_title ?></title> |
<title><?php print $head_title ?></title> |
| 4 |
<?php print $head ?> |
<?php print $head ?> |
| 5 |
<?php print $styles ?> |
<?php print $styles ?> |
| 6 |
<?php print $scripts ?> |
<?php print $scripts ?> |
|
<!-- leave this for stats please --> |
|
|
|
|
| 7 |
</head> |
</head> |
| 8 |
|
|
| 9 |
<body <?php print theme("onload_attribute"); ?>> |
<body <?php print theme("onload_attribute"); ?>> |
| 10 |
<div id="navbar"> |
<div id="header"> |
| 11 |
<div id="navbarright"> |
<div id="navbar" class="sqsh"> |
| 12 |
<?php if (is_array($primary_links)) : ?> |
<?php if (is_array($primary_links)): ?> |
| 13 |
<?php |
<div id="navbarright"> |
| 14 |
foreach($primary_links AS $links){ |
<?php |
| 15 |
echo l($links['title'], $links['href']) .' | '; |
foreach($primary_links AS $links){ |
| 16 |
} |
$formatted_primary_links[] = l($links['title'], $links['href']); |
| 17 |
endif; |
} |
| 18 |
?> |
echo implode($formatted_primary_links, ' | '); |
| 19 |
|
?> |
| 20 |
|
</div> |
| 21 |
|
<?php endif; ?> |
| 22 |
|
<?php if ($logo): ?> |
| 23 |
|
<div id="logobg"> |
| 24 |
|
<?php |
| 25 |
|
$text = '<img src="'. check_url($logo) .'" alt="'. $site_title .'" id="logo" />'; |
| 26 |
|
print l($text, '<front>', array(), NULL, NULL, FALSE, TRUE); |
| 27 |
|
?> |
| 28 |
|
</div> |
| 29 |
|
<?php endif; ?> |
| 30 |
|
<div id="site_info"> |
| 31 |
|
<?php if ($site_name): ?> |
| 32 |
|
<div id="site_name"><?php print l($site_name, '<front>'); ?></div> |
| 33 |
|
<?php endif; ?> |
| 34 |
|
<?php if ($site_slogan): ?> |
| 35 |
|
<div id="site_slogan"><?php print $site_slogan; ?></div> |
| 36 |
|
<?php endif; ?> |
| 37 |
|
</div> |
| 38 |
</div> |
</div> |
| 39 |
</div> |
</div> |
| 40 |
|
|
| 41 |
<!-- The main column ends --> |
<div id="content" class="sqsh"> |
| 42 |
|
<div id="contentleft" class="<? print vertigo_content_class($sidebar_left, $sidebar_right); ?>"> |
| 43 |
<div id="content"> |
<div class="pad"> |
|
|
|
|
<div id="contentleft"> |
|
| 44 |
<?php if ($title != ""): ?> |
<?php if ($title != ""): ?> |
| 45 |
<h2 class="content-title"><?php print $title ?></h2> |
<h1 class="content-title"><?php print $title ?></h1> |
| 46 |
<?php endif; ?> |
<?php endif; ?> |
| 47 |
<?php if ($tabs != ""): ?> |
<?php if ($tabs != ""): ?> |
| 48 |
<?php print $tabs ?> |
<?php print $tabs ?> |
| 49 |
<?php endif; ?> |
<?php endif; ?> |
| 50 |
|
|
| 51 |
<?php if ($mission != ""): ?> |
<?php if ($mission != ""): ?> |
| 52 |
<p id="mission"><?php print $mission ?></p> |
<p id="mission"><?php print $mission ?></p> |
| 53 |
<?php endif; ?> |
<?php endif; ?> |
| 54 |
|
|
| 55 |
<?php if ($help != ""): ?> |
<?php if ($help != ""): ?> |
| 56 |
<p id="help"><?php print $help ?></p> |
<p id="help"><?php print $help ?></p> |
| 57 |
<?php endif; ?> |
<?php endif; ?> |
| 58 |
|
|
| 59 |
<?php if ($messages != ""): ?> |
<?php if ($messages != ""): ?> |
| 60 |
<div id="message"><?php print $messages ?></div> |
<div id="message"><?php print $messages ?></div> |
| 61 |
<?php endif; ?> |
<?php endif; ?> |
| 62 |
|
|
| 63 |
<!-- start main content --> |
<?php print $content; ?> |
| 64 |
<?php print($content) ?> |
</div></div> |
| 65 |
<!-- end main content --> |
|
|
|
|
|
</div> |
|
|
|
|
| 66 |
<?php if ($sidebar_left != ""): ?> |
<?php if ($sidebar_left != ""): ?> |
| 67 |
<div id="l_sidebar"> |
<div class="sidebar"><div class="pad"> |
| 68 |
<?php print $sidebar_left ?> |
<?php print $sidebar_left ?> |
| 69 |
</div> |
</div></div> |
| 70 |
<?php endif; ?> |
<?php endif; ?> |
| 71 |
|
|
| 72 |
<?php if ($sidebar_right != ""): ?> |
<?php if ($sidebar_right != ""): ?> |
| 73 |
<div id="r_sidebar"> |
<div class="sidebar"><div class="pad"> |
| 74 |
<?php print $sidebar_right ?> |
<?php print $sidebar_right ?> |
| 75 |
</div> |
</div></div> |
| 76 |
<?php endif; ?> |
<?php endif; ?> |
|
</div> |
|
|
|
|
|
<!-- The main column ends --> |
|
|
<!-- begin footer --> |
|
| 77 |
|
|
| 78 |
<div style="clear:both;"></div> |
<div class="clearer"> </div> |
| 79 |
<div style="clear:both;"></div> |
</div> |
| 80 |
|
|
| 81 |
<div id="footerbg"> |
<div id="ftrbg"> |
| 82 |
<div id="footer"> |
<div id="ftr" class="sqsh"> |
| 83 |
|
<?php |
| 84 |
<div id="footerleft"> |
// Need the space so that if the content is empty, layout is still correct |
| 85 |
<?php print $footerleft; ?> |
// Need two div's so that the width can be set exactly to 25% and the padding applied within a sub box, makes for perfect layout |
| 86 |
</div> |
?> |
| 87 |
|
<div class="ftrpanel"><div class="pad"> <?php print $footerleft; ?></div></div> |
| 88 |
<div id="footermiddle1"> |
<div class="ftrpanel"><div class="pad"> <?php print $footermiddle1; ?></div></div> |
| 89 |
<?php print $footermiddle1; ?> |
<div class="ftrpanel"><div class="pad"> <?php print $footermiddle2; ?></div></div> |
| 90 |
</div> |
<div class="ftrpanel"><div class="pad"> <?php print $footerright; ?></div></div> |
| 91 |
|
<div style="clear: both;"> </div> |
|
<div id="footermiddle2"> |
|
|
<?php print $footermiddle2; ?> |
|
|
</div> |
|
|
|
|
|
<div id="footerright"> |
|
|
<?php print $footerright; ?> |
|
|
</div> |
|
|
|
|
|
<div style="clear: both;"> |
|
|
|
|
|
</div> |
|
| 92 |
</div> |
</div> |
| 93 |
</div> |
</div> |
| 94 |
|
|
| 95 |
<?php print $closure;?> |
<?php print $closure;?> |
| 96 |
</body> |
</body> |
| 97 |
</html> |
</html> |
|
|
|