<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php print $language ?>" lang="<?php print $language ?>">
<head>
<title><?php
print $head_title ?></title>
</head>
<body<?php
print phptemplate_body_class
($sidebar_left,
$sidebar_right); ?>>
<div id="top-links">
<?php if ($top_links): ?>
<?php print $top_links ?>
<?php endif; ?>
<div style="clear:both"></div>
</div>
<div id="header">
<div id="header-mask">
<div id="header-mid">
<div id="header-left">
<div id="header-wrap">
<div id="header-main">
<?php if ($site_name): ?>
<h1><?php
print $site_name ?></h1>
<?php endif; ?>
<div id="primary-menu">
<?php if (isset($primary_links)) :
?>
<?php print theme('links',
$primary_links,
array('class' =>
'primary-links')) ?>
<?php endif; ?>
</div>
<div id="secondary-menu">
<?php if (isset($secondary_links)) :
?>
<?php print theme('links',
$secondary_links,
array('class' =>
'secondary-links')) ?>
<?php endif; ?>
</div>
</div>
</div>
<div id="header-logo">
<?php if ($site_name): ?>
<?php if ($logo): ?>
<a href="<?php print check_url($base_path) ?>" title="<?php print $site_name ?>"><img src="<?php print check_url($logo) ?>" alt="<?php print $site_name ?>" id="logo" /></a>
<?php endif; ?>
<?php endif; ?>
</div>
<div id="header-menu">
<?php if (isset($header)) :
?>
<?php endif; ?>
</div>
</div>
</div>
</div>
<div style="clear:both"></div>
</div>
<div id="content-holder">
<div id="content-mask">
<div id="content-mid">
<div id="content-left">
<div id="content-wrap">
<div id="content">
<?php if ($content_header): ?>
<div id="content-header">
<?php print $content_header ?>
</div>
<?php endif; ?>
<?php if ($tabs):
print '<div id="tabs-wrapper" class="clear-block">';
endif;
?>
<?php if ($title):
print '<h2'.
($tabs ?
' class="with-tabs"' :
'') .
'>'.
$title .
'</h2>';
endif;
?>
<?php if ($tabs):
print $tabs .
'</div>';
endif;
?>
<div class="node">
<?php if ($messages):
print $messages;
endif;
?>
<?php if ($help):
print $help;
endif;
?>
</div>
</div>
</div>
<div id="sidebar-left">
<?php if ($sidebar_left): ?>
<?php print $sidebar_left ?>
<?php endif; ?>
</div>
<div id="sidebar-right">
<?php if ($sidebar_right): ?>
<?php print $sidebar_right ?>
<?php endif; ?>
</div>
</div>
</div>
</div>
<div id="footer">
<?php if ($footer_area): ?>
<?php print $footer_area ?>
<?php endif; ?>
</div>
</body>
</html>