| 1 |
<?php
|
| 2 |
// $Id: page.tpl.php,v 1.12.2.10 2009/04/25 06:42:27 hswong3i Exp $
|
| 3 |
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
| 4 |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php print $language->language ?>" lang="<?php print $language->language ?>" dir="<?php print $language->dir ?>">
|
| 5 |
|
| 6 |
<head profile="http://gmpg.org/xfn/11">
|
| 7 |
<title><?php print $head_title ?></title>
|
| 8 |
<?php print $head ?>
|
| 9 |
<?php print $styles ?>
|
| 10 |
<?php print $scripts ?>
|
| 11 |
<!--[if lt IE 7]>
|
| 12 |
<?php print phptemplate_get_ie_styles(); ?>
|
| 13 |
<![endif]-->
|
| 14 |
<script type="text/javascript"><?php /* Needed to avoid Flash of Unstyle Content in IE */ ?> </script>
|
| 15 |
</head>
|
| 16 |
|
| 17 |
<body class="<?php print $body_classes ?>">
|
| 18 |
<div id="header-region" class="clear-block"><?php print $header ?></div>
|
| 19 |
<div id="wrapper"><!-- begin wrapper -->
|
| 20 |
<div id="container" class="clear-block"><!-- begin container -->
|
| 21 |
<div id="header"><!-- begin header -->
|
| 22 |
<?php if ($logo): ?><div id="logo"><a href="<?php print $front_page ?>" title="<?php print $site_name ?>"><img src="<?php print $logo ?>" alt="<?php print $site_name ?>" /></a></div><?php endif; ?>
|
| 23 |
<div id="slogan-floater"><!-- begin slogan-floater -->
|
| 24 |
<?php if ($site_name): ?><h1 class='site-name'><a href="<?php print $front_page ?>" title="<?php print $site_name ?>"><?php print $site_name ?></a></h1><?php endif; ?>
|
| 25 |
<?php if ($site_slogan): ?><div class='site-slogan'><?php print $site_slogan ?></div><?php endif; ?>
|
| 26 |
</div><!-- end slogan-floater -->
|
| 27 |
</div><!-- end header -->
|
| 28 |
<?php if (isset($primary_links)) : ?><!-- begin primary_links -->
|
| 29 |
<?php print phptemplate_primary($primary_links); ?>
|
| 30 |
<?php endif; ?><!-- end primary_links -->
|
| 31 |
<?php if ($search_box): ?><div id="search-region" class="clear-block"><?php print $search_box; ?></div><?php endif; ?>
|
| 32 |
<?php if ($mission): print '<div id="mission">'. phptemplate_mission() .'</div>'; endif; ?>
|
| 33 |
<?php if ($left) { ?>
|
| 34 |
<div id="sidebar-left" class="sidebar"><!-- begin sidebar-left -->
|
| 35 |
<?php print $left ?>
|
| 36 |
</div><!-- end sidebar-left -->
|
| 37 |
<?php } ?>
|
| 38 |
<div id="center"><div id="squeeze"><!-- begin center -->
|
| 39 |
<div id="breadcrumb"><?php print $breadcrumb ?></div>
|
| 40 |
<?php if ($title): print '<h2 class="title'. ($tabs ? ' with-tabs' : '') .'">'. $title .'</h2>'; endif; ?>
|
| 41 |
<?php if ($tabs): print '<div class="tabs">'. $tabs .'</div>'; endif; ?>
|
| 42 |
<?php if ($show_messages && $messages): print $messages; endif; ?>
|
| 43 |
<?php print $help ?>
|
| 44 |
<div class="clear-block">
|
| 45 |
<?php print $content ?>
|
| 46 |
</div>
|
| 47 |
<?php print $feed_icons ?>
|
| 48 |
</div></div><!-- end center -->
|
| 49 |
<?php if ($right) { ?>
|
| 50 |
<div id="sidebar-right" class="sidebar"><!-- begin sidebar-right -->
|
| 51 |
<?php print $right ?>
|
| 52 |
</div><!-- end sidebar-right -->
|
| 53 |
<?php } ?>
|
| 54 |
<div id="footer"><!-- start footer -->
|
| 55 |
<?php print $footer_message ?>
|
| 56 |
<?php print $footer ?>
|
| 57 |
</div><!-- end footer -->
|
| 58 |
</div><!-- end wrapper -->
|
| 59 |
</div><!-- end container -->
|
| 60 |
<?php print $closure ?>
|
| 61 |
</body>
|
| 62 |
</html>
|