1
|
<?php
|
2
|
|
3
|
?>
|
4
|
<div <?php print danland_page_class($page['sidebar_first'], $page['sidebar_second']); ?>>
|
5
|
<div id="header">
|
6
|
<div id="header-wrapper">
|
7
|
<?php if ($logo): ?>
|
8
|
<div id="logo-wrapper">
|
9
|
<div class="logo">
|
10
|
<a href="<?php print $base_path ?>" title="<?php print t('Home') ?>"><img src="<?php print $logo ?>" alt="<?php print t('Home') ?>" /></a>
|
11
|
</div>
|
12
|
</div>
|
13
|
<?php endif; ?>
|
14
|
<?php if ($site_name || $site_slogan) : ?>
|
15
|
<div id="branding-wrapper">
|
16
|
<?php if ($site_name) : ?>
|
17
|
<?php if ($is_front) : ?>
|
18
|
<h1 class="site-name"><a href="<?php print $base_path ?>" title="<?php print $site_name ?>"><?php print $site_name ?></a></h1>
|
19
|
<?php endif; ?>
|
20
|
<?php if (!$is_front) : ?>
|
21
|
<h2 class="site-name"><a href="<?php print $base_path ?>" title="<?php print $site_name ?>"><?php print $site_name ?></a></h2>
|
22
|
<?php endif; ?>
|
23
|
<?php endif; ?>
|
24
|
<?php if ($site_slogan) : ?>
|
25
|
<div class='site-slogan'><?php print $site_slogan; ?></div>
|
26
|
<?php endif; ?>
|
27
|
</div>
|
28
|
<?php endif; ?>
|
29
|
|
30
|
<?php if ($page['search_box']): ?>
|
31
|
<div id="search-box">
|
32
|
<?php print render ($page['search_box']); ?>
|
33
|
</div>
|
34
|
<?php endif; ?>
|
35
|
|
36
|
<?php if ($feed_icons): ?>
|
37
|
<div class="feed-wrapper">
|
38
|
<?php print $feed_icons; ?>
|
39
|
</div>
|
40
|
<?php endif; ?>
|
41
|
|
42
|
<?php if (!$is_admin): ?>
|
43
|
<div id="authorize">
|
44
|
<ul><?php global $user; if ($user->uid != 0) { print '<li class="first">' .t('Logged in as '). '<a href="' .url('user/'.$user->uid). '">' .$user->name. '</a></li>'; print '<li><a href="' .url('user/logout'). '">' .t('Logout'). '</a></li>'; } else { print '<li class="first"><a href="' .url('user'). '">' .t('Login'). '</a></li>'; print '<li><a href="' .url('user/register'). '">' .t('Register'). '</a></li>'; } ?></ul>
|
45
|
</div>
|
46
|
<?php endif; ?>
|
47
|
|
48
|
</div>
|
49
|
</div>
|
50
|
<div style="clear:both"></div>
|
51
|
|
52
|
<div id="menu">
|
53
|
<div id="rounded-menu-left"></div>
|
54
|
<?php if ($main_menu || $page['superfish_menu']): ?>
|
55
|
<div id="<?php print $main_menu ? 'nav' : 'superfish' ; ?>">
|
56
|
<?php
|
57
|
if ($main_menu) {
|
58
|
print theme('links__system_main_menu', array('links' => $main_menu));
|
59
|
}
|
60
|
elseif (!empty($page['superfish_menu'])) {
|
61
|
print render ($page['superfish_menu']);
|
62
|
}
|
63
|
?>
|
64
|
</div>
|
65
|
<?php endif; ?>
|
66
|
<div id="rounded-menu-right"></div>
|
67
|
</div>
|
68
|
<div style="clear:both"></div>
|
69
|
|
70
|
<?php if($is_front): ?>
|
71
|
<div id="slideshow-wrapper">
|
72
|
<div class="slideshow-inner">
|
73
|
<div id="slideshow-preface">
|
74
|
<?php if ($page['preface']): ?>
|
75
|
<div id="preface">
|
76
|
<?php print render ($page['preface']); ?>
|
77
|
</div>
|
78
|
<?php endif; ?>
|
79
|
</div>
|
80
|
<?php if ($page['highlighted']) : ?><div id="slideshow-bottom">
|
81
|
<div id="mission"><?php print render ($page['highlighted']); ?></div></div><?php endif; ?>
|
82
|
<div class="slideshow">
|
83
|
<img src="<?php print $base_path . $directory; ?>/images/slideshows/sea.jpg" width="950" height="355" alt="slideshow 1"/>
|
84
|
<img src="<?php print $base_path . $directory; ?>/images/slideshows/noon.jpg" width="950" height="355" alt="slideshow 2"/>
|
85
|
<img src="<?php print $base_path . $directory; ?>/images/slideshows/snow.jpg" width="950" height="355" alt="slideshow 3"/>
|
86
|
</div>
|
87
|
</div>
|
88
|
</div>
|
89
|
<?php endif; ?>
|
90
|
|
91
|
<?php if($page['preface_first'] || $page['preface_middle'] || $page['preface_last']) : ?>
|
92
|
<div style="clear:both"></div>
|
93
|
<div id="preface-wrapper" class="in<?php print (bool) $page['preface_first'] + (bool) $page['preface_middle'] + (bool) $page['preface_last']; ?>">
|
94
|
<?php if($page['preface_first']) : ?>
|
95
|
<div class="column A">
|
96
|
<?php print render ($page['preface_first']); ?>
|
97
|
</div>
|
98
|
<?php endif; ?>
|
99
|
<?php if($page['preface_middle']) : ?>
|
100
|
<div class="column B">
|
101
|
<?php print render ($page['preface_middle']); ?>
|
102
|
</div>
|
103
|
<?php endif; ?>
|
104
|
<?php if($page['preface_last']) : ?>
|
105
|
<div class="column C">
|
106
|
<?php print render ($page['preface_last']); ?>
|
107
|
</div>
|
108
|
<?php endif; ?>
|
109
|
<div style="clear:both"></div>
|
110
|
</div>
|
111
|
<?php endif; ?>
|
112
|
|
113
|
<div style="clear:both"></div>
|
114
|
<div id="wrapper">
|
115
|
|
116
|
<?php if ($page['sidebar_first']): ?>
|
117
|
<div id="sidebar-left" class="column sidebar"><div class="section">
|
118
|
<?php print render($page['sidebar_first']); ?>
|
119
|
</div></div>
|
120
|
<?php endif; ?>
|
121
|
<div id="content">
|
122
|
<a id="main-content"></a>
|
123
|
<?php if ($page['content_top']) : ?><div class="content-top"><?php print render ($page['content_top']); ?></div>
|
124
|
<?php endif; ?>
|
125
|
<?php if (!$is_front) print $breadcrumb; ?>
|
126
|
<?php if ($show_messages) { print $messages; }; ?>
|
127
|
<?php print render($title_prefix); ?>
|
128
|
<?php if ($title): ?>
|
129
|
<h1 class="title" id="page-title">
|
130
|
<?php print $title; ?>
|
131
|
</h1>
|
132
|
<?php endif; ?>
|
133
|
<?php print render($title_suffix); ?>
|
134
|
<?php if ($tabs): ?>
|
135
|
<div class="tabs">
|
136
|
<?php print render($tabs); ?>
|
137
|
</div>
|
138
|
<?php endif; ?>
|
139
|
<?php print render($page['help']); ?>
|
140
|
<?php if ($action_links): ?>
|
141
|
<ul class="action-links">
|
142
|
<?php print render($action_links); ?>
|
143
|
</ul>
|
144
|
<?php endif; ?>
|
145
|
<?php if ($page['content']) : ?><div class="content-middle"><?php print render ($page['content']); ?></div>
|
146
|
<?php endif; ?>
|
147
|
<?php if ($page['content_bottom']) : ?><div class="content-bottom"><?php print render ($page['content_bottom']); ?></div>
|
148
|
<?php endif; ?>
|
149
|
|
150
|
</div>
|
151
|
|
152
|
<?php if ($page['sidebar_second']): ?>
|
153
|
<div id="sidebar-right" class="column sidebar"><div class="section">
|
154
|
<?php print render($page['sidebar_second']); ?>
|
155
|
</div></div>
|
156
|
<?php endif; ?>
|
157
|
<div style="clear:both"></div>
|
158
|
</div>
|
159
|
|
160
|
|
161
|
<?php if($page['bottom_first'] || $page['bottom_middle'] || $page['bottom_last']) : ?>
|
162
|
<div style="clear:both"></div>
|
163
|
<div id="bottom-teaser" class="in<?php print (bool) $page['bottom_first'] + (bool) $page['bottom_middle'] + (bool) $page['bottom_last']; ?>">
|
164
|
<?php if($page['bottom_first']) : ?>
|
165
|
<div class="column A">
|
166
|
<?php print render ($page['bottom_first']); ?>
|
167
|
</div>
|
168
|
<?php endif; ?>
|
169
|
<?php if($page['bottom_middle']) : ?>
|
170
|
<div class="column B">
|
171
|
<?php print render ($page['bottom_middle']); ?>
|
172
|
</div>
|
173
|
<?php endif; ?>
|
174
|
<?php if($page['bottom_last']) : ?>
|
175
|
<div class="column C">
|
176
|
<?php print render ($page['bottom_last']); ?>
|
177
|
</div>
|
178
|
<?php endif; ?>
|
179
|
<div style="clear:both"></div>
|
180
|
</div>
|
181
|
<?php endif; ?>
|
182
|
|
183
|
|
184
|
<?php if($page['bottom_1'] || $page['bottom_2'] || $page['bottom_3'] || $page['bottom_4']) : ?>
|
185
|
<div style="clear:both"></div>
|
186
|
<div id="bottom-wrapper" class="in<?php print (bool) $page['bottom_1'] + (bool) $page['bottom_2'] + (bool) $page['bottom_3'] + (bool) $page['bottom_4']; ?>">
|
187
|
<?php if($page['bottom_1']) : ?>
|
188
|
<div class="column A">
|
189
|
<?php print render ($page['bottom_1']); ?>
|
190
|
</div>
|
191
|
<?php endif; ?>
|
192
|
<?php if($page['bottom_2']) : ?>
|
193
|
<div class="column B">
|
194
|
<?php print render ($page['bottom_2']); ?>
|
195
|
</div>
|
196
|
<?php endif; ?>
|
197
|
<?php if($page['bottom_3']) : ?>
|
198
|
<div class="column C">
|
199
|
<?php print render ($page['bottom_3']); ?>
|
200
|
</div>
|
201
|
<?php endif; ?>
|
202
|
<?php if($page['bottom_4']) : ?>
|
203
|
<div class="column D">
|
204
|
<?php print render ($page['bottom_4']); ?>
|
205
|
</div>
|
206
|
<?php endif; ?>
|
207
|
<div style="clear:both"></div>
|
208
|
</div>
|
209
|
<?php endif; ?>
|
210
|
|
211
|
<div style="clear:both"></div>
|
212
|
<div id="footer-wrapper">
|
213
|
<?php if($page['footer']): ?>
|
214
|
<div id="footer">
|
215
|
<?php print render ($page['footer']); ?>
|
216
|
</div>
|
217
|
<?php endif; ?>
|
218
|
<?php if($secondary_menu) : ?>
|
219
|
<div id="subnav-wrapper">
|
220
|
<?php print theme('links__system_secondary_menu', array('links' => $secondary_menu, 'attributes' => array('id' => 'subnav', 'class' => array('links', 'clearfix')))); ?>
|
221
|
</div>
|
222
|
<?php endif; ?>
|
223
|
</div>
|
224
|
|
225
|
<div style="clear:both"></div>
|
226
|
<div id="notice"><p>Theme by <a href="http://www.danetsoft.com">Danetsoft</a> and <a href="http://www.danpros.com">Danang Probo Sayekti</a> inspired by <a href="http://www.maksimer.no">Maksimer</a></p></div>
|
227
|
</div>
|