| 1 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
| 2 |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php print $language ?>" lang="<?php print $language ?>">
|
| 3 |
<head>
|
| 4 |
<title><?php print $head_title ?></title>
|
| 5 |
<?php print $head ?>
|
| 6 |
<?php print $styles ?>
|
| 7 |
<?php print $scripts ?>
|
| 8 |
<!--[if lt IE 7]>
|
| 9 |
<link rel="stylesheet" href="ie-gif.css" type="text/css" />
|
| 10 |
<![endif]-->
|
| 11 |
</head>
|
| 12 |
<body>
|
| 13 |
<div id="page">
|
| 14 |
<div id="wrapper">
|
| 15 |
<div id="header">
|
| 16 |
<a href="<?php print check_url($base_path); ?>"><?php if ($logo) { print '<img src="'. check_url($logo) .'" alt="'. $site_title .'" id="logo" />'; } ?></a>
|
| 17 |
<h2><a href="<?php print check_url($base_path); ?>"><?php print check_plain($site_name); ?></a></h2>
|
| 18 |
<div class="slogan"><?php print check_plain($site_slogan); ?></div>
|
| 19 |
<?php if ($search_box): ?><?php print $search_box ?><?php endif; ?>
|
| 20 |
</div><!-- /header -->
|
| 21 |
<div id="left-col">
|
| 22 |
<div id="nav">
|
| 23 |
<ul>
|
| 24 |
<?php if (is_array($primary_links)) : ?>
|
| 25 |
<?php foreach($primary_links AS $links){ echo '<li class="page_item">'. l($links['title'], $links['href']). '</li>'; }
|
| 26 |
endif; ?>
|
| 27 |
</ul>
|
| 28 |
</div><!-- /nav -->
|
| 29 |
<div id="content">
|
| 30 |
<?php if ($mission != ""): ?>
|
| 31 |
<div class="mission"><?php print $mission ?></div>
|
| 32 |
<?php endif; ?>
|
| 33 |
<?php print $header; ?>
|
| 34 |
<?php if ($title != ""): ?>
|
| 35 |
<h1><?php print $title ?></h1>
|
| 36 |
<?php endif; ?>
|
| 37 |
<?php if ($tabs != ""): ?>
|
| 38 |
<?php print $tabs ?>
|
| 39 |
<?php endif; ?>
|
| 40 |
<?php if ($help != ""): ?>
|
| 41 |
<p id="help"><?php print $help ?></p>
|
| 42 |
<?php endif; ?>
|
| 43 |
<?php if ($messages != ""): ?>
|
| 44 |
<div id="message"><?php print $messages ?></div>
|
| 45 |
<?php endif; ?>
|
| 46 |
<?php print($content) ?>
|
| 47 |
</div><!--/content -->
|
| 48 |
<div id="footer"><?php print $footer_message ?> | Theme & Icons by <a href="http://www.ndesign-studio.com">N.Design Studio</a>, mod. <a href="http://www.salle.ru/">salle</a></div>
|
| 49 |
</div><!--/left-col -->
|
| 50 |
<div id="sidebar" class="dbx-group" >
|
| 51 |
<?php if ($sidebar_left): ?>
|
| 52 |
<?php print $sidebar_left ?>
|
| 53 |
<?php endif; ?>
|
| 54 |
<?php if ($sidebar_right): ?>
|
| 55 |
<?php print $sidebar_right ?>
|
| 56 |
<?php endif; ?>
|
| 57 |
</div><!--/sidebar -->
|
| 58 |
<hr class="hidden" />
|
| 59 |
</div><!--/wrapper -->
|
| 60 |
</div><!--/page -->
|
| 61 |
</body>
|
| 62 |
</html>
|