| 1 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
| 2 |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
| 3 |
<html xmlns="http://www.w3.org/1999/xhtml">
|
| 4 |
|
| 5 |
<head>
|
| 6 |
<title><?php print $head_title ?></title>
|
| 7 |
<?php print $head ?>
|
| 8 |
<?php print $styles ?>
|
| 9 |
<?php print $scripts ?>
|
| 10 |
<!--[if IE 7]>
|
| 11 |
<link rel="stylesheet" href="<?php print $base_path . $directory; ?>/css/ie7.css" type="text/css">
|
| 12 |
<![endif]-->
|
| 13 |
<!--[if IE 6]>
|
| 14 |
<link rel="stylesheet" href="<?php print $base_path . $directory; ?>/css/ie6.css" type="text/css">
|
| 15 |
<script defer type="text/javascript" src="<?php print $base_path . $directory; ?>/js/pngfix.js"></script>
|
| 16 |
<![endif]-->
|
| 17 |
</head>
|
| 18 |
|
| 19 |
<body>
|
| 20 |
|
| 21 |
<!-- leaderboard -->
|
| 22 |
<div id="leaderboard">
|
| 23 |
<?php if ($leaderboard): ?>
|
| 24 |
<?php print $leaderboard; ?>
|
| 25 |
<?php endif; ?><!-- endif $leaderboard -->
|
| 26 |
</div><!-- end leaderboard -->
|
| 27 |
|
| 28 |
<!-- header -->
|
| 29 |
<div id="header">
|
| 30 |
<?php if ($header): ?>
|
| 31 |
<?php print $header; ?>
|
| 32 |
<?php endif; ?><!-- endif $header -->
|
| 33 |
</div><!-- end header -->
|
| 34 |
|
| 35 |
<!-- custom login links -->
|
| 36 |
<div id="custom-login">
|
| 37 |
<?php global $user; ?>
|
| 38 |
<?php if ($user->uid) : ?>
|
| 39 |
<span class="login_text">Welcome, </span><b><?php print l($user->name,'user/'.$user->uid); ?> |
|
| 40 |
<?php print l("logout","logout"); ?> </b>
|
| 41 |
<?php else : ?>
|
| 42 |
<b><?php print l("Login","user/login"); ?> / <?php print l("Create an Account","user/register"); ?></b>
|
| 43 |
<?php endif; ?>
|
| 44 |
</div>
|
| 45 |
|
| 46 |
<div id="page-wrapper">
|
| 47 |
|
| 48 |
<!-- header-wrapper -->
|
| 49 |
<div id="header-wrapper">
|
| 50 |
|
| 51 |
<div id="logo-name">
|
| 52 |
|
| 53 |
<!-- site logo -->
|
| 54 |
<div id="site-logo">
|
| 55 |
<?php if ($logo): ?>
|
| 56 |
<a href="<?php print $base_path; ?>" title="<?php print t('return to the home page'); ?>">
|
| 57 |
<img src="<?php print $logo; ?>" alt="<?php print t('return to the home page'); ?>"/></a>
|
| 58 |
<?php endif; ?><!-- endif $logo -->
|
| 59 |
</div><!-- end site-logo -->
|
| 60 |
|
| 61 |
<!-- site name -->
|
| 62 |
<div id="site-name-slogan">
|
| 63 |
|
| 64 |
<div id="site-name">
|
| 65 |
<?php if ($site_name): ?>
|
| 66 |
<h1><a href="<?php print $base_path; ?>" title="<?php print t('Home'); ?>"><?php print $site_name; ?></a></h1>
|
| 67 |
<?php endif; ?><!-- endif $site_name -->
|
| 68 |
</div>
|
| 69 |
|
| 70 |
<!-- site slogan -->
|
| 71 |
<div id="site-slogan">
|
| 72 |
<?php if ($site_slogan): ?>
|
| 73 |
<?php print $site_slogan; ?>
|
| 74 |
<?php endif; ?><!-- endif $site_slogan -->
|
| 75 |
</div>
|
| 76 |
|
| 77 |
</div><!-- end site name -->
|
| 78 |
|
| 79 |
</div> <!-- end logo-name -->
|
| 80 |
|
| 81 |
<!-- theme search box -->
|
| 82 |
<div id="search-box">
|
| 83 |
<?php if ($search_box): ?>
|
| 84 |
<?php print $search_box; ?>
|
| 85 |
<?php endif; ?><!-- endif $search_box -->
|
| 86 |
</div>
|
| 87 |
|
| 88 |
</div><!-- end header-wrapper -->
|
| 89 |
|
| 90 |
<!-- main wrapper -->
|
| 91 |
|
| 92 |
<!-- primary links -->
|
| 93 |
<div id="primary">
|
| 94 |
<?php if (isset($primary_links)) { ?>
|
| 95 |
<div id="nav">
|
| 96 |
<?php print menu_tree('primary-links'); ?>
|
| 97 |
</div>
|
| 98 |
<?php } ?>
|
| 99 |
</div>
|
| 100 |
<!-- end primary links -->
|
| 101 |
|
| 102 |
<!-- end primary links -->
|
| 103 |
|
| 104 |
<div id="main-wrapper-top"></div>
|
| 105 |
<div id="main-wrapper">
|
| 106 |
|
| 107 |
<?php if($ad_position_a && $top_data) : ?>
|
| 108 |
<div id="banner-top">
|
| 109 |
<div id="top-blocks">
|
| 110 |
<?php print $top_data; ?>
|
| 111 |
</div>
|
| 112 |
<div id="ad-position-a">
|
| 113 |
<?php print $ad_position_a; ?>
|
| 114 |
</div>
|
| 115 |
<br class="clear" />
|
| 116 |
</div>
|
| 117 |
<?php endif; ?>
|
| 118 |
|
| 119 |
<!-- tabs and secondary links -->
|
| 120 |
<div class="tabs">
|
| 121 |
<div class="secondary">
|
| 122 |
<?php print theme('links', $secondary_links); ?>
|
| 123 |
</div>
|
| 124 |
<?php if ($tabs): ?>
|
| 125 |
<?php print $tabs; ?>
|
| 126 |
<?php endif; ?>
|
| 127 |
</div>
|
| 128 |
<!-- end tabs -->
|
| 129 |
|
| 130 |
<!-- breadcrumbs -->
|
| 131 |
<?php if ($breadcrumb): ?>
|
| 132 |
<div id="breadcrumbs">
|
| 133 |
<?php print $breadcrumb; ?>
|
| 134 |
<div class="delimit"><?php print '<div class="delimit-1">ยป</div>' ?></div>
|
| 135 |
<div class="bread-title"><?php print $title; ?></div>
|
| 136 |
</div><!-- end breadcrumb -->
|
| 137 |
<?php endif; ?><!-- endif $breadcrumbs -->
|
| 138 |
|
| 139 |
<!-- messages -->
|
| 140 |
<?php if ($messages): ?>
|
| 141 |
<div id="help-messages">
|
| 142 |
<div id="messages">
|
| 143 |
<?php print $messages; ?>
|
| 144 |
</div><!-- end messages -->
|
| 145 |
</div>
|
| 146 |
<?php endif; ?><!-- endif $messages -->
|
| 147 |
|
| 148 |
<!-- section top -->
|
| 149 |
<div id="section-top">
|
| 150 |
<?php if ($section_top): ?>
|
| 151 |
<?php print $section_top; ?>
|
| 152 |
<?php endif; ?><!-- endif $section_top -->
|
| 153 |
</div><!-- end section top -->
|
| 154 |
|
| 155 |
<?php if ($left): ?>
|
| 156 |
<div id="sidebar-left-region">
|
| 157 |
<?php print $left; ?>
|
| 158 |
</div><!-- end sidebar-left-region -->
|
| 159 |
<?php endif; ?><!-- endif $sidebar_left -->
|
| 160 |
|
| 161 |
<!-- sidebar right -->
|
| 162 |
<?php if ($right): ?>
|
| 163 |
<div id="sidebar-right-region">
|
| 164 |
<?php print $right ?>
|
| 165 |
</div><!-- end sidebar right -->
|
| 166 |
<?php endif; ?><!-- endif $right -->
|
| 167 |
|
| 168 |
<!-- content -->
|
| 169 |
|
| 170 |
<div id="content-region-<?php print $layout ?>">
|
| 171 |
|
| 172 |
<!-- content top -->
|
| 173 |
<?php if ($content_top): ?>
|
| 174 |
<div id="content-top">
|
| 175 |
<?php print $content_top; ?>
|
| 176 |
</div><!-- end content-top -->
|
| 177 |
<?php endif; ?><!-- endif $content_top -->
|
| 178 |
|
| 179 |
<!-- help -->
|
| 180 |
<?php if ($help): ?>
|
| 181 |
<div id="help">
|
| 182 |
<?php print $help; ?>
|
| 183 |
</div><!-- help -->
|
| 184 |
<?php endif; ?><!-- endif help -->
|
| 185 |
|
| 186 |
<!-- site mission -->
|
| 187 |
<?php if ($mission): ?>
|
| 188 |
<div id="site-mission">
|
| 189 |
<?php print $mission; ?>
|
| 190 |
</div>
|
| 191 |
<?php endif; ?><!-- endif $mission -->
|
| 192 |
|
| 193 |
<!-- title -->
|
| 194 |
<h2 class="content-title"><?php print $title; ?></h2>
|
| 195 |
|
| 196 |
<!-- node content -->
|
| 197 |
<div class="node-content"><?php print $content; ?></div>
|
| 198 |
|
| 199 |
<!-- content bottom -->
|
| 200 |
<?php if ($content_bottom): ?>
|
| 201 |
<div id="content-bottom">
|
| 202 |
<?php print $content_bottom; ?>
|
| 203 |
</div><!-- end content-bottom -->
|
| 204 |
<?php endif; ?><!-- endif $content_bottom -->
|
| 205 |
|
| 206 |
</div><!-- end content -->
|
| 207 |
|
| 208 |
<!-- section bottom -->
|
| 209 |
<div id="section-bottom">
|
| 210 |
<?php if ($section_bottom): ?>
|
| 211 |
<?php print $section_bottom; ?>
|
| 212 |
<?php endif; ?><!-- endif $section_bottom -->
|
| 213 |
</div><!-- end section bottom -->
|
| 214 |
|
| 215 |
<div class="clear"></div>
|
| 216 |
|
| 217 |
</div><!-- end main-wrapper -->
|
| 218 |
|
| 219 |
<div id="main-wrapper-bottom"></div>
|
| 220 |
|
| 221 |
<div id="footer-region">
|
| 222 |
|
| 223 |
<!-- feed icons -->
|
| 224 |
<div id="feed-icons">
|
| 225 |
<?php print $feed_icons; ?>
|
| 226 |
</div>
|
| 227 |
|
| 228 |
<!-- footer text -->
|
| 229 |
<div id="credits">
|
| 230 |
<div class="credit-text">Designed by <a href="http://www.davidfugate.com">David Plutado Fugate</a>
|
| 231 |
</div>
|
| 232 |
</div><!-- end footer-text -->
|
| 233 |
|
| 234 |
<!-- footer text -->
|
| 235 |
<div id="footer-text">
|
| 236 |
<?php print $footer_message; ?>
|
| 237 |
</div><!-- end footer-text -->
|
| 238 |
|
| 239 |
</div><!-- end footer-region -->
|
| 240 |
|
| 241 |
<!-- footer ad -->
|
| 242 |
<?php if ($footer_ad): ?>
|
| 243 |
<div id="footer-ad">
|
| 244 |
<?php print $footer_ad; ?>
|
| 245 |
</div>
|
| 246 |
<?php endif; ?>
|
| 247 |
|
| 248 |
</div><!-- end page-wrapper -->
|
| 249 |
|
| 250 |
<?php print $closure ?>
|
| 251 |
|
| 252 |
</body>
|
| 253 |
|
| 254 |
</html>
|