| 1 |
<?php
|
| 2 |
// $Id: page.tpl.php,v 1.1 2008/04/26 19:03:57 sakib000 Exp $
|
| 3 |
|
| 4 |
|
| 5 |
if ($sidebar_left && $sidebar_right)
|
| 6 |
$layoutstyle = "bothsidebars";
|
| 7 |
else if ($sidebar_left)
|
| 8 |
$layoutstyle = "leftsidebar";
|
| 9 |
else if ($sidebar_right)
|
| 10 |
$layoutstyle = "rightsidebar";
|
| 11 |
else
|
| 12 |
$layoutstyle = "nosidebars";
|
| 13 |
|
| 14 |
?>
|
| 15 |
|
| 16 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
| 17 |
<html xmlns="http://www.w3.org/1999/xhtml">
|
| 18 |
<head>
|
| 19 |
<title><?php print $head_title ?></title>
|
| 20 |
<?php print $head ?>
|
| 21 |
<?php print $styles ?>
|
| 22 |
<?php print $scripts; ?>
|
| 23 |
<style type="text/css" media="all">@import "<?php print $base_url . '/' . $directory . '/colorcss/' . $color ?>.css";</style>
|
| 24 |
<script type="text/javascript"><?php ?> </script>
|
| 25 |
<!--[if IE]>
|
| 26 |
<style type="text/css">@import "<?php print base_path() . path_to_theme() ?>/fix-ie.css";</style>
|
| 27 |
<![endif]-->
|
| 28 |
<link href="<?php print base_path() . path_to_theme() ?>/SpryAssets/SpryTabbedPanels.css" rel="stylesheet" type="text/css" />
|
| 29 |
</head>
|
| 30 |
|
| 31 |
<body class="<?php print $layoutstyle; ?>">
|
| 32 |
<div id="container">
|
| 33 |
<div id="sitename">
|
| 34 |
<div id="logocontainer"><a href="<?php print base_path() ?>"><img src="<?php print base_path() . path_to_theme() ?>/img/logo.gif" alt="North College Thessaloniki" title="North College Thessaloniki" /></a></div>
|
| 35 |
|
| 36 |
<div id="titlearea">
|
| 37 |
<?php if ($site_name) { ?><h1><a href="<?php print $base_path ?>" title="<?php print t('Home') ?>"><?php print $site_name ?></a></h1><?php } ?>
|
| 38 |
<?php if ($site_slogan) { ?><h2><?php print $site_slogan ?></h2><?php } ?>
|
| 39 |
</div>
|
| 40 |
|
| 41 |
|
| 42 |
<?php if ($searchblock): ?>
|
| 43 |
<div id="searchcontainer">
|
| 44 |
<?php print $searchblock; ?>
|
| 45 |
</div>
|
| 46 |
<?php endif; ?>
|
| 47 |
</div>
|
| 48 |
<div id="mainmenu">
|
| 49 |
<?php if (isset($primary_links)) { ?><?php print theme('links', $primary_links, array('class' =>'primary_links')) ?><?php } ?>
|
| 50 |
</div>
|
| 51 |
<?php if (isset($secondary_links)) : ?>
|
| 52 |
<div id="secondary_items">
|
| 53 |
|
| 54 |
<?php print theme('links', $secondary_links, array('class' => 'links secondary-links')) ?>
|
| 55 |
|
| 56 |
</div><?php endif; ?>
|
| 57 |
|
| 58 |
|
| 59 |
<div id="wrap">
|
| 60 |
<div id="wraprow">
|
| 61 |
<div id="wrapcell">
|
| 62 |
<?php if ($sidebar_left): ?>
|
| 63 |
<div id="leftside">
|
| 64 |
<?php print $sidebar_left; ?>
|
| 65 |
</div> <!-- /sidebar-left -->
|
| 66 |
<?php endif; ?>
|
| 67 |
|
| 68 |
|
| 69 |
<?php if ($sidebar_right): ?>
|
| 70 |
<div id="rightside">
|
| 71 |
<?php print $sidebar_right; ?>
|
| 72 |
</div> <!-- /sidebar-right -->
|
| 73 |
<?php endif; ?>
|
| 74 |
<?php if ($mission) { ?><div id="mission"><?php print $mission ?></div><br /><?php } ?>
|
| 75 |
<div id="content">
|
| 76 |
|
| 77 |
|
| 78 |
<?php if ($breadcrumb): ?>
|
| 79 |
<span class="bread" >You are here </span><?php print $breadcrumb; ?>
|
| 80 |
<?php endif; ?>
|
| 81 |
<?php if ($title) { ?><h1><?php print $title ?></h1><?php } ?>
|
| 82 |
<div class="tabs"><?php print $tabs ?></div>
|
| 83 |
<?php print $help ?>
|
| 84 |
<?php print $messages ?>
|
| 85 |
<?php print $content; ?>
|
| 86 |
</div>
|
| 87 |
<br class="clear" />
|
| 88 |
</div>
|
| 89 |
</div>
|
| 90 |
|
| 91 |
</div>
|
| 92 |
</div>
|
| 93 |
|
| 94 |
<div id="footer"><?php if (strlen($footer_message) > 2) { print $footer_message . ' '; } ?><br />
|
| 95 |
|
| 96 |
<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/">Affordable web design company</a></span>
|
| 97 |
</div>
|
| 98 |
<?php print $closure ?>
|
| 99 |
|
| 100 |
</body>
|
| 101 |
</html>
|