| 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 |
</head>
|
| 9 |
<body>
|
| 10 |
<div id="container">
|
| 11 |
<div id="header">
|
| 12 |
<a href="<?php print check_url($base_path); ?>"><?php if ($logo) { print '<img src="'. check_url($logo) .'" alt="'. $site_title .'" id="logo" />'; } ?></a>
|
| 13 |
<h2><a href="<?php print check_url($base_path); ?>"><?php print check_plain($site_name); ?></a> <?php print check_plain($site_slogan); ?></h2>
|
| 14 |
<div id="meta-nav">
|
| 15 |
<ul>
|
| 16 |
<?php if (is_array($secondary_links)) : ?>
|
| 17 |
<?php foreach($secondary_links AS $links){ echo '<li class="page_item">'. l($links['title'], $links['href']). '</li>'; }
|
| 18 |
endif; ?>
|
| 19 |
</ul>
|
| 20 |
</div>
|
| 21 |
<ul id="nav">
|
| 22 |
<?php if (is_array($primary_links)) : ?>
|
| 23 |
<?php foreach($primary_links AS $links){ echo '<li class="page_item">'. l($links['title'], $links['href']). '</li>'; }
|
| 24 |
endif; ?>
|
| 25 |
</ul>
|
| 26 |
<hr>
|
| 27 |
<div id="search">
|
| 28 |
<?php if ($search_box): ?><?php print $search_box ?><?php endif; ?>
|
| 29 |
</div>
|
| 30 |
</div>
|
| 31 |
<div id="content-wrap">
|
| 32 |
<div id="content">
|
| 33 |
<?php if ($mission != ""): ?>
|
| 34 |
<div id="mission"><?php print $mission ?></div>
|
| 35 |
<?php endif; ?>
|
| 36 |
<?php if ($breadcrumb): print $breadcrumb; endif; ?>
|
| 37 |
<?php if ($title != ""): ?>
|
| 38 |
<h1><?php print $title ?></h1>
|
| 39 |
<?php endif; ?>
|
| 40 |
<?php print $header; ?>
|
| 41 |
<?php if ($tabs != ""): ?>
|
| 42 |
<?php print $tabs ?>
|
| 43 |
<?php endif; ?>
|
| 44 |
<?php if ($help != ""): ?>
|
| 45 |
<p id="help"><?php print $help ?></p>
|
| 46 |
<?php endif; ?>
|
| 47 |
<?php if ($messages != ""): ?>
|
| 48 |
<div id="message"><?php print $messages ?></div>
|
| 49 |
<?php endif; ?>
|
| 50 |
<?php print($content) ?>
|
| 51 |
</div>
|
| 52 |
<div id="sidebar">
|
| 53 |
<?php if ($sidebar_left): ?>
|
| 54 |
<?php print $sidebar_left ?>
|
| 55 |
<?php endif; ?>
|
| 56 |
<?php if ($sidebar_right): ?>
|
| 57 |
<?php print $sidebar_right ?>
|
| 58 |
<?php endif; ?>
|
| 59 |
</div>
|
| 60 |
</div>
|
| 61 |
</div>
|
| 62 |
<hr>
|
| 63 |
<div id="footer-outer">
|
| 64 |
<div id="footer">
|
| 65 |
<?php print $footer_message ?>
|
| 66 |
<p class="copy"><a href="http://www.ihom.ru">tech</a></p>
|
| 67 |
</div>
|
| 68 |
</div>
|
| 69 |
</body></html>
|