| 1 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
| 2 |
<html xmlns="http://www.w3.org/1999/xhtml">
|
| 3 |
|
| 4 |
<head>
|
| 5 |
<title><?php print $head_title ?></title>
|
| 6 |
<?php print $head ?>
|
| 7 |
|
| 8 |
|
| 9 |
<?php print $styles ?>
|
| 10 |
|
| 11 |
<!--[if IE 6]>
|
| 12 |
<link rel="stylesheet" type="text/css" href="<?php print base_path(). path_to_theme(); ?>/iestyles/ie6.css" />
|
| 13 |
<![endif]-->
|
| 14 |
|
| 15 |
<!--[if IE 7]>
|
| 16 |
<link rel="stylesheet" type="text/css" href="<?php print base_path(). path_to_theme(); ?>/iestyles/ie7.css" />
|
| 17 |
<![endif]-->
|
| 18 |
|
| 19 |
|
| 20 |
<?php print $scripts ?>
|
| 21 |
</head>
|
| 22 |
|
| 23 |
|
| 24 |
<body>
|
| 25 |
|
| 26 |
|
| 27 |
<div id="page">
|
| 28 |
<div id="utilities">
|
| 29 |
<div id="utilities_corner">
|
| 30 |
|
| 31 |
|
| 32 |
<?php if (isset($primary_links)) : ?>
|
| 33 |
<?php print '<div id="plinks">'; ?>
|
| 34 |
<?php print theme('links', $primary_links, array('class' => 'links primary-links')) ?>
|
| 35 |
<?php print '</div>'; ?>
|
| 36 |
<?php endif; ?>
|
| 37 |
<?php print $search_box ?>
|
| 38 |
</div> </div>
|
| 39 |
|
| 40 |
<div id="header">
|
| 41 |
|
| 42 |
|
| 43 |
|
| 44 |
<?php if ($logo) {
|
| 45 |
print '<a href="'. $base_path .'" title="'. t('Home') .'"><img src="'. check_url($logo) .'" alt="'. $site_name .'" id="logo" /></a>';
|
| 46 |
}
|
| 47 |
?>
|
| 48 |
<?php if ($site_name) : ?>
|
| 49 |
<?php if ($is_front) : /* if we are on the front page use <h1> for site title */ ?>
|
| 50 |
<h1 class="sitetitle"> <a href="<?php print $base_path ?>" title="<?php print t('Home') ?>">
|
| 51 |
<?php print $site_name ?>
|
| 52 |
</a>
|
| 53 |
</h1>
|
| 54 |
<?php endif; ?>
|
| 55 |
|
| 56 |
<?php if (!$is_front) : /* otherwise use <p> and let node title use <h1> for SEO */ ?>
|
| 57 |
<p class="sitetitle">
|
| 58 |
<a href="<?php print $base_path ?>" title="<?php print t('Home') ?>">
|
| 59 |
<?php print $site_name ?>
|
| 60 |
</a>
|
| 61 |
</p>
|
| 62 |
|
| 63 |
<?php endif; ?>
|
| 64 |
<?php endif; ?>
|
| 65 |
|
| 66 |
<?php if ($site_slogan){?>
|
| 67 |
<p class="slogan"><?php print $site_slogan ?></p>
|
| 68 |
<?php } ?>
|
| 69 |
|
| 70 |
</div>
|
| 71 |
|
| 72 |
|
| 73 |
<?php if (($secondary_links)) : ?>
|
| 74 |
<?php print '<div id="submenu"><div id="submenu_lc">' ?>
|
| 75 |
<?php print theme('links', $secondary_links, array('class' => 'links secondary-links')) ?>
|
| 76 |
<?php print '</div></div><div class="stopfloat"></div>' ?>
|
| 77 |
<?php endif; ?>
|
| 78 |
|
| 79 |
|
| 80 |
|
| 81 |
|
| 82 |
<div class="wrapper"><!--wrapper:defines whole content margins-->
|
| 83 |
|
| 84 |
|
| 85 |
<div id="primary" style=<?php print '"width:'.sanqreal_width( $left, $right).'px;">' ?>
|
| 86 |
<div class="singlepage"><div class="singlepage-1">
|
| 87 |
|
| 88 |
|
| 89 |
<?php if ($mission): print '<div id="sitemission"><p>'. $mission .'</p></div>'; endif; ?>
|
| 90 |
<?php print $breadcrumb; ?>
|
| 91 |
|
| 92 |
<?php if ($content_top): ?>
|
| 93 |
|
| 94 |
<?php print $content_top; ?>
|
| 95 |
<!-- /#content-top -->
|
| 96 |
<?php endif; ?>
|
| 97 |
|
| 98 |
|
| 99 |
|
| 100 |
<?php
|
| 101 |
if ($title):
|
| 102 |
|
| 103 |
if ($is_front){/* if we are on the front page use <h2> for title */
|
| 104 |
|
| 105 |
print '<h2'. ($tabs ? ' class="with-tabs"' : '') .'>'. $title .'</h2>';
|
| 106 |
|
| 107 |
}
|
| 108 |
else {print '<h1'. ($tabs ? ' class="with-tabs"' : '') .'>'. $title .'</h1>'; /* otherwise use <h1> for node title */
|
| 109 |
}
|
| 110 |
|
| 111 |
endif; ?>
|
| 112 |
|
| 113 |
<?php if ($tabs): print '<div class="tabs">'.$tabs.'</div>'; endif; ?>
|
| 114 |
<?php if ($help) { ?><div class="help"><?php print $help ?></div><?php } ?>
|
| 115 |
<?php if ($messages) { ?><div class="messages"><?php print $messages ?></div><?php } ?>
|
| 116 |
<div class="drdot">
|
| 117 |
<hr />
|
| 118 |
</div>
|
| 119 |
|
| 120 |
|
| 121 |
<?php print $content ?>
|
| 122 |
<div class="corntl"></div><div class="corntr"></div><div class="cornbl"></div><div class="cornbr"></div>
|
| 123 |
</div>
|
| 124 |
</div>
|
| 125 |
</div>
|
| 126 |
|
| 127 |
|
| 128 |
|
| 129 |
|
| 130 |
|
| 131 |
|
| 132 |
<!-- left -->
|
| 133 |
<?php if ($left) { ?>
|
| 134 |
<div class="lsidebar">
|
| 135 |
|
| 136 |
|
| 137 |
<?php print $left ?>
|
| 138 |
|
| 139 |
</div><!-- end left -->
|
| 140 |
<?php } ?>
|
| 141 |
|
| 142 |
<!-- right -->
|
| 143 |
<?php if ($right) { ?>
|
| 144 |
<div class="rsidebar">
|
| 145 |
|
| 146 |
<?php print $right ?>
|
| 147 |
|
| 148 |
</div><!-- end right -->
|
| 149 |
<?php } ?>
|
| 150 |
|
| 151 |
|
| 152 |
|
| 153 |
<div class="clear"></div>
|
| 154 |
|
| 155 |
</div>
|
| 156 |
</div>
|
| 157 |
<!-- Close Page -->
|
| 158 |
<div id="footer">
|
| 159 |
<span><?php print $footer_message ?><p>
|
| 160 |
<?php print $footer ?>
|
| 161 |
</span></div></p>
|
| 162 |
<?php print $closure ?>
|
| 163 |
</body>
|
| 164 |
</html>
|