| 1 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
| 2 |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
| 3 |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php print $language ?>" lang="<?php print $language ?>">
|
| 4 |
<head>
|
| 5 |
<title><?php print $head_title ?></title>
|
| 6 |
<?php print $head ?>
|
| 7 |
<?php print $styles ?>
|
| 8 |
<?php print $scripts ?>
|
| 9 |
<style type="text/css" media="print">@import "<?php print base_path() . path_to_theme() ?>/print.css";</style>
|
| 10 |
</head>
|
| 11 |
<body<?php print phptemplate_body_class($sidebar_left, $sidebar_right); ?>>
|
| 12 |
<div class="main">
|
| 13 |
<div class="heada">
|
| 14 |
<div class="headMenu">
|
| 15 |
<?php if (isset($primary_links)) : ?>
|
| 16 |
<?php print theme('links', $primary_links, array('class' => 'links primary-links')) ?>
|
| 17 |
<?php endif; ?>
|
| 18 |
</div>
|
| 19 |
<div class="search">
|
| 20 |
<?php if ($search_box): ?><?php print $search_box ?><?php endif; ?>
|
| 21 |
</div>
|
| 22 |
</div>
|
| 23 |
<div class="headb">
|
| 24 |
<div class="logo"><?php
|
| 25 |
if ($logo) {
|
| 26 |
print '<a href="'. check_url($base_path) .'" title="'. $site_title .'">';
|
| 27 |
if ($logo) {
|
| 28 |
print '<img src="'. check_url($logo) .'" alt="'. $site_title .'" id="logo" />';
|
| 29 |
}
|
| 30 |
print $site_html .'</a>'; } ?>
|
| 31 |
</div>
|
| 32 |
<div class="welcome"><h1><?php
|
| 33 |
$site_fields = array();
|
| 34 |
if ($site_name) {
|
| 35 |
$site_fields[] = check_plain($site_name);
|
| 36 |
}
|
| 37 |
if ($site_slogan) {
|
| 38 |
$site_fields[] = check_plain($site_slogan);
|
| 39 |
}
|
| 40 |
$site_title = implode(' ', $site_fields);
|
| 41 |
$site_fields[0] = '<span>'. $site_fields[0] .'</span>';
|
| 42 |
$site_html = implode(' ', $site_fields);
|
| 43 |
if ($site_title) {
|
| 44 |
print '<a href="'. check_url($base_path) .'" title="'. $site_title .'">';
|
| 45 |
print $site_html .'</a>'; } ?></h1>
|
| 46 |
<p><?php print $footer_message ?></p>
|
| 47 |
</div>
|
| 48 |
</div>
|
| 49 |
<div class="cont">
|
| 50 |
<div class="leftColumn">
|
| 51 |
<?php print $sidebar_left ?>
|
| 52 |
</div>
|
| 53 |
<div class="center">
|
| 54 |
<?php if ($mission): print '<div class="mission">'. $mission .'</div>'; endif; ?>
|
| 55 |
<?php if ($breadcrumb): print $breadcrumb; endif; ?>
|
| 56 |
<?php print $header; ?>
|
| 57 |
<?php if ($title): print '<h1'. ($tabs ? ' class="with-tabs"' : '') .'>'. $title .'</h1>'; endif; ?>
|
| 58 |
<?php if ($tabs): print $tabs; endif; ?>
|
| 59 |
<?php if (isset($tabs2)): print $tabs2; endif; ?>
|
| 60 |
<?php if ($help): print $help; endif; ?>
|
| 61 |
<?php if ($messages): print $messages; endif; ?>
|
| 62 |
<?php print $content ?>
|
| 63 |
</div>
|
| 64 |
</div>
|
| 65 |
<div class="bottom">
|
| 66 |
<?php if (isset($secondary_links)) : ?>
|
| 67 |
<?php print theme('links', $secondary_links, array('class' => 'links secondary-links')) ?>
|
| 68 |
<?php endif; ?>
|
| 69 |
<?php print $feed_icons ?>
|
| 70 |
</div>
|
| 71 |
<div class="copy">
|
| 72 |
<p>Powered by <a href="http://www.drupal.org/">Drupal</a> - <!-- Please do not remove this command line --> Design by <a href="http://www.artinet.ru/">Artinet</a></p>
|
| 73 |
</div>
|
| 74 |
</div>
|
| 75 |
<?php print $closure ?>
|
| 76 |
</body>
|
| 77 |
</html>
|