| 1 |
|
| 2 |
<?php
|
| 3 |
// $Id$
|
| 4 |
|
| 5 |
|
| 6 |
global $base_url;
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
if ($sidebar_left && $sidebar_right)
|
| 11 |
$layoutstyle = "bothsidebars";
|
| 12 |
else if ($sidebar_left)
|
| 13 |
$layoutstyle = "leftsidebar";
|
| 14 |
else if ($sidebar_right)
|
| 15 |
$layoutstyle = "rightsidebar";
|
| 16 |
else
|
| 17 |
$layoutstyle = "nosidebars";
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
?>
|
| 22 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
| 23 |
|
| 24 |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
|
| 25 |
<head>
|
| 26 |
<title><?php print $head_title ?></title>
|
| 27 |
<?php print $head ?>
|
| 28 |
<?php print $styles ?>
|
| 29 |
<?php print $scripts; ?>
|
| 30 |
<style type="text/css" media="all">@import "<?php print $base_url . '/' . $directory . '/colorcss/' . $color ?>.css";</style>
|
| 31 |
<script type="text/javascript"><?php /* Needed to avoid Flash of Unstyle Content in IE */ ?> </script>
|
| 32 |
<!--[if IE]>
|
| 33 |
<style type="text/css">@import "<?php print base_path() . path_to_theme() ?>/fix-ie.css";</style>
|
| 34 |
<![endif]-->
|
| 35 |
</head>
|
| 36 |
|
| 37 |
<body class="<?php print $layoutstyle; ?>">
|
| 38 |
<div id="container">
|
| 39 |
<div id="sitename">
|
| 40 |
<div id="logoslogan">
|
| 41 |
<?php if ($logo) { ?><a href="<?php print $base_path ?>" title="<?php print t('Home') ?>"><img src="<?php print $logo ?>" id="logo" alt="<?php print t('Home') ?>" /></a><?php } ?>
|
| 42 |
<?php if ($site_name) { ?><h1><a href="<?php print $base_path ?>" title="<?php print t('Home') ?>"><?php print $site_name ?></a></h1><?php } ?>
|
| 43 |
<?php if ($site_slogan) { ?><h2><?php print $site_slogan ?></h2><?php } ?>
|
| 44 |
</div>
|
| 45 |
<div id="rightsecondary"> <?php if (isset($secondary_links)) { ?><?php print theme('links', $secondary_links, array('class' =>'links', 'id' => 'subnavlist')) ?><?php } ?></div></div>
|
| 46 |
<div id="mainmenu">
|
| 47 |
<?php if (isset($primary_links)) { ?><?php print theme('links', $primary_links, array('class' =>'primary_links')) ?><?php } ?>
|
| 48 |
</div>
|
| 49 |
<div id="wrap">
|
| 50 |
<div id="wrap2">
|
| 51 |
<div id="wrap3">
|
| 52 |
<?php if ($sidebar_left): ?>
|
| 53 |
<div id="leftside">
|
| 54 |
<?php print $sidebar_left; ?>
|
| 55 |
</div> <!-- /sidebar-left -->
|
| 56 |
<?php endif; ?>
|
| 57 |
|
| 58 |
|
| 59 |
<?php if ($sidebar_right): ?>
|
| 60 |
<div id="rightside">
|
| 61 |
<?php print $sidebar_right; ?>
|
| 62 |
</div> <!-- /sidebar-right -->
|
| 63 |
<?php endif; ?>
|
| 64 |
<?php if ($mission) { ?><div id="mission"><?php print $mission ?></div><br /><?php } ?>
|
| 65 |
<div id="content">
|
| 66 |
<?php if ($breadcrumb): print $breadcrumb; endif; ?>
|
| 67 |
<?php if ($title) { ?><h1><?php print $title ?></h1><?php } ?>
|
| 68 |
<div class="tabs"><?php print $tabs ?></div>
|
| 69 |
<?php print $help ?>
|
| 70 |
<?php print $messages ?>
|
| 71 |
<?php print $content; ?>
|
| 72 |
</div>
|
| 73 |
|
| 74 |
</div>
|
| 75 |
</div>
|
| 76 |
|
| 77 |
|
| 78 |
</div>
|
| 79 |
</div>
|
| 80 |
<div id="footer"><?php if (strlen($footer_message) > 2) { print $footer_message . ' '; } ?><br />
|
| 81 |
<!--Please dont think that credit lines effects your website's popularity. This is the only reason that encourage me further development of themes. Please do not remove it. Ask support to sakib.live (at) gmail.com. Sponsered by Angross-->
|
| 82 |
<span class="credits">Theme by <a href="http://www.worthapost.com/">Worthapost</a> and <a href="http://www.angross.com/">Angross</a> <a href="http://www.angross.com/">web design company</a></span> </div>
|
| 83 |
<?php print $closure ?>
|
| 84 |
</body>
|
| 85 |
</html>
|