1
|
<?php
|
2
|
|
3
|
|
4
|
|
5
|
|
6
|
|
7
|
|
8
|
|
9
|
|
10
|
|
11
|
|
12
|
|
13
|
|
14
|
|
15
|
|
16
|
?>
|
17
|
|
18
|
<div id="page"><div id="page-inner">
|
19
|
<?php if ($secondary_menu): ?>
|
20
|
<div id="secondary"><div id="secondary-inner">
|
21
|
<?php if ($secondary_nav): print $secondary_nav; endif; ?>
|
22
|
</div></div>
|
23
|
<?php endif; ?>
|
24
|
<div id="header"><div id="header-inner" class="clearfix">
|
25
|
<?php if ($logo || $site_name || $site_slogan): ?>
|
26
|
<div id="logo-title">
|
27
|
<?php if ($logo): ?>
|
28
|
<div id="logo"><a href="<?php print $front_page; ?>" title="<?php print t('Home'); ?>" rel="home"><img src="<?php print $logo; ?>" alt="<?php print t('Home'); ?>" id="logo-image" /></a></div>
|
29
|
<?php endif; ?>
|
30
|
<div id="site-name-slogan">
|
31
|
<?php if ($site_name): ?>
|
32
|
<h1 id="site-name"><a href="<?php print $front_page; ?>" title="<?php print t('Home'); ?>" rel="home"><?php print $site_name; ?></a></h1>
|
33
|
<?php endif; ?>
|
34
|
<?php if ($site_slogan): ?>
|
35
|
<span id="site-slogan"><?php print $site_slogan; ?></span>
|
36
|
<?php endif; ?>
|
37
|
</div>
|
38
|
</div>
|
39
|
<?php endif; ?>
|
40
|
<?php if ($page['header']): ?>
|
41
|
<div id="header-blocks">
|
42
|
<?php print render($page['header']); ?>
|
43
|
</div>
|
44
|
<?php endif; ?>
|
45
|
</div></div>
|
46
|
|
47
|
<?php if ($main_menu || $page['primary_menu']): ?>
|
48
|
<div id="primary">
|
49
|
<div id="primary-inner" class="clearfix">
|
50
|
<?php if ($main_menu && !$page['primary_menu']): ?>
|
51
|
<?php print $primary_nav; ?>
|
52
|
<?php else: ?>
|
53
|
<span><?php print render($page['primary_menu']); ?></span>
|
54
|
<?php endif; ?>
|
55
|
</div>
|
56
|
</div>
|
57
|
<?php endif; ?>
|
58
|
|
59
|
<div id="main">
|
60
|
<div id="main-inner">
|
61
|
<div class="clearfix">
|
62
|
<?php if ($page['showcase']): ?>
|
63
|
<div id="showcase" ><div id="showcase-inner" class="clearfix">
|
64
|
<?php print render($page['showcase']); ?>
|
65
|
</div></div>
|
66
|
<?php endif; ?>
|
67
|
<div id="content">
|
68
|
<?php if ($breadcrumb && $breadcrumb != '<div class="breadcrumb"></div>'): print '<div id="breadcrumb">'.t('You are here: ').$breadcrumb.'</div>';
|
69
|
else: print '<div id="breadcrumb">'.t('You are here: ').'<a href="/">Home</a></div>';
|
70
|
endif; ?>
|
71
|
<div id="content-inner">
|
72
|
<?php if ($title || $tabs || $help || $messages): ?>
|
73
|
<div id="content-header">
|
74
|
<?php if ($title): ?>
|
75
|
<h1 class="title"><?php print $title; ?></h1>
|
76
|
<?php endif; ?>
|
77
|
<?php print $messages; ?>
|
78
|
<?php if ($tabs): ?>
|
79
|
<div class="tabs"><?php print render($tabs); ?></div>
|
80
|
<?php endif; ?>
|
81
|
<?php print render($page['help']); ?>
|
82
|
</div>
|
83
|
<?php endif; ?>
|
84
|
<?php print render($page['content']); ?>
|
85
|
</div>
|
86
|
</div>
|
87
|
|
88
|
<?php if ($page['sidebar_first']): ?>
|
89
|
<div id="sidebar-left">
|
90
|
<?php print render($page['sidebar_first']); ?>
|
91
|
</div>
|
92
|
<?php endif; ?>
|
93
|
|
94
|
<?php if ($page['sidebar_second']): ?>
|
95
|
<div id="sidebar-right">
|
96
|
<?php print render($page['sidebar_second']); ?>
|
97
|
</div>
|
98
|
<?php endif; ?>
|
99
|
</div>
|
100
|
|
101
|
<?php if ($page['main_bottom_one'] || $page['main_bottom_two'] || $page['main_bottom_three'] || $page['main_bottom_four']): ?>
|
102
|
<div id="main-bottom"><div id="main-bottom-inner" class="main_bottom-<?php print (bool) $page['main_bottom_one'] + (bool) $page['main_bottom_two'] + (bool) $page['main_bottom_three'] + (bool) $page['main_bottom_four']; ?> clearfix">
|
103
|
<?php if ($page['main_bottom_one']): ?>
|
104
|
<div id="main-bottom-one" class="column">
|
105
|
<?php print render($page['main_bottom_one']); ?>
|
106
|
</div>
|
107
|
<?php endif; ?>
|
108
|
<?php if ($page['main_bottom_two']): ?>
|
109
|
<div id="main-bottom-two" class="column">
|
110
|
<?php print render($page['main_bottom_two']); ?>
|
111
|
</div>
|
112
|
<?php endif; ?>
|
113
|
<?php if ($page['main_bottom_three']): ?>
|
114
|
<div id="main-bottom-three" class="column">
|
115
|
<?php print render($page['main_bottom_three']); ?>
|
116
|
</div>
|
117
|
<?php endif; ?>
|
118
|
<?php if ($page['main_bottom_four']): ?>
|
119
|
<div id="main-bottom-four" class="column">
|
120
|
<?php print render($page['main_bottom_four']); ?>
|
121
|
</div>
|
122
|
<?php endif; ?>
|
123
|
</div></div>
|
124
|
<?php endif; ?>
|
125
|
</div>
|
126
|
</div>
|
127
|
|
128
|
<?php if ($page['footer_one'] || $page['footer_two'] || $page['footer_three'] || $page['footer_four']): ?>
|
129
|
<div id="footer"><div id="footer-inner" class="footer-<?php print (bool) $page['footer_one'] + (bool) $page['footer_two'] + (bool) $page['footer_three'] + (bool) $page['footer_four']; ?> clearfix">
|
130
|
<?php if ($page['footer_one']): ?>
|
131
|
<div id="footer-one" class="column">
|
132
|
<?php print render($page['footer_one']); ?>
|
133
|
</div>
|
134
|
<?php endif; ?>
|
135
|
<?php if ($page['footer_two']): ?>
|
136
|
<div id="footer-two" class="column">
|
137
|
<?php print render($page['footer_two']); ?>
|
138
|
</div>
|
139
|
<?php endif; ?>
|
140
|
<?php if ($page['footer_three']): ?>
|
141
|
<div id="footer-three" class="column">
|
142
|
<?php print render($page['footer_three']); ?>
|
143
|
</div>
|
144
|
<?php endif; ?>
|
145
|
<?php if ($page['footer_four']): ?>
|
146
|
<div id="footer-four" class="column">
|
147
|
<?php print render($page['footer_four']); ?>
|
148
|
</div>
|
149
|
<?php endif; ?>
|
150
|
</div></div>
|
151
|
<?php endif; ?>
|
152
|
|
153
|
<div id="closure"><div id="closure-inner"><div id="designed-by"><small><a href="http://www.antsin.com/en/" title="Drupal Theme">Designed by Antsin.com</a></small></div><?php print render($page['footer']); ?></div></div>
|
154
|
</div></div>
|