1 |
85ad3d82
|
Assos Assos
|
<?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 ($page['highlighted']): ?><div id="mission-wrapper"><div id="mission"><?php print render ($page['highlighted']); ?></div></div><?php endif; ?>
|
71 |
|
|
|
72 |
|
|
<?php if($page['preface_first'] || $page['preface_middle'] || $page['preface_last']) : ?>
|
73 |
|
|
<div style="clear:both"></div>
|
74 |
|
|
<div id="preface-wrapper" class="in<?php print (bool) $page['preface_first'] + (bool) $page['preface_middle'] + (bool) $page['preface_last']; ?>">
|
75 |
|
|
<?php if($page['preface_first']) : ?>
|
76 |
|
|
<div class="column A">
|
77 |
|
|
<?php print render ($page['preface_first']); ?>
|
78 |
|
|
</div>
|
79 |
|
|
<?php endif; ?>
|
80 |
|
|
<?php if($page['preface_middle']) : ?>
|
81 |
|
|
<div class="column B">
|
82 |
|
|
<?php print render ($page['preface_middle']); ?>
|
83 |
|
|
</div>
|
84 |
|
|
<?php endif; ?>
|
85 |
|
|
<?php if($page['preface_last']) : ?>
|
86 |
|
|
<div class="column C">
|
87 |
|
|
<?php print render ($page['preface_last']); ?>
|
88 |
|
|
</div>
|
89 |
|
|
<?php endif; ?>
|
90 |
|
|
<div style="clear:both"></div>
|
91 |
|
|
</div>
|
92 |
|
|
<?php endif; ?>
|
93 |
|
|
|
94 |
|
|
<div style="clear:both"></div>
|
95 |
|
|
<div id="wrapper">
|
96 |
|
|
|
97 |
|
|
<?php if ($page['sidebar_first']): ?>
|
98 |
|
|
<div id="sidebar-left" class="column sidebar"><div class="section">
|
99 |
|
|
<?php print render($page['sidebar_first']); ?>
|
100 |
|
|
</div></div>
|
101 |
|
|
<?php endif; ?>
|
102 |
|
|
|
103 |
|
|
<div id="content">
|
104 |
|
|
<a id="main-content"></a>
|
105 |
|
|
<?php if ($page['content_top']) : ?><div class="content-top"><?php print render ($page['content_top']); ?></div>
|
106 |
|
|
<?php endif; ?>
|
107 |
|
|
<?php if (!$is_front) print $breadcrumb; ?>
|
108 |
|
|
<?php if ($show_messages) { print $messages; }; ?>
|
109 |
|
|
<?php print render($title_prefix); ?>
|
110 |
|
|
<?php if ($title): ?>
|
111 |
|
|
<h1 class="title" id="page-title">
|
112 |
|
|
<?php print $title; ?>
|
113 |
|
|
</h1>
|
114 |
|
|
<?php endif; ?>
|
115 |
|
|
<?php print render($title_suffix); ?>
|
116 |
|
|
<?php if ($tabs): ?>
|
117 |
|
|
<div class="tabs">
|
118 |
|
|
<?php print render($tabs); ?>
|
119 |
|
|
</div>
|
120 |
|
|
<?php endif; ?>
|
121 |
|
|
<?php print render($page['help']); ?>
|
122 |
|
|
<?php if ($action_links): ?>
|
123 |
|
|
<ul class="action-links">
|
124 |
|
|
<?php print render($action_links); ?>
|
125 |
|
|
</ul>
|
126 |
|
|
<?php endif; ?>
|
127 |
|
|
<?php if ($page['content']) : ?><div class="content-middle"><?php print render ($page['content']); ?></div>
|
128 |
|
|
<?php endif; ?>
|
129 |
|
|
<?php if ($page['content_bottom']) : ?><div class="content-bottom"><?php print render ($page['content_bottom']); ?></div>
|
130 |
|
|
<?php endif; ?>
|
131 |
|
|
|
132 |
|
|
</div>
|
133 |
|
|
|
134 |
|
|
<?php if ($page['sidebar_second']): ?>
|
135 |
|
|
<div id="sidebar-right" class="column sidebar"><div class="section">
|
136 |
|
|
<?php print render($page['sidebar_second']); ?>
|
137 |
|
|
</div></div>
|
138 |
|
|
<?php endif; ?>
|
139 |
|
|
<div style="clear:both"></div>
|
140 |
|
|
</div>
|
141 |
|
|
|
142 |
|
|
|
143 |
|
|
<?php if($page['bottom_first'] || $page['bottom_middle'] || $page['bottom_last']) : ?>
|
144 |
|
|
<div style="clear:both"></div>
|
145 |
|
|
<div id="bottom-teaser" class="in<?php print (bool) $page['bottom_first'] + (bool) $page['bottom_middle'] + (bool) $page['bottom_last']; ?>">
|
146 |
|
|
<?php if($page['bottom_first']) : ?>
|
147 |
|
|
<div class="column A">
|
148 |
|
|
<?php print render ($page['bottom_first']); ?>
|
149 |
|
|
</div>
|
150 |
|
|
<?php endif; ?>
|
151 |
|
|
<?php if($page['bottom_middle']) : ?>
|
152 |
|
|
<div class="column B">
|
153 |
|
|
<?php print render ($page['bottom_middle']); ?>
|
154 |
|
|
</div>
|
155 |
|
|
<?php endif; ?>
|
156 |
|
|
<?php if($page['bottom_last']) : ?>
|
157 |
|
|
<div class="column C">
|
158 |
|
|
<?php print render ($page['bottom_last']); ?>
|
159 |
|
|
</div>
|
160 |
|
|
<?php endif; ?>
|
161 |
|
|
<div style="clear:both"></div>
|
162 |
|
|
</div>
|
163 |
|
|
<?php endif; ?>
|
164 |
|
|
|
165 |
|
|
|
166 |
|
|
<?php if($page['bottom_1'] || $page['bottom_2'] || $page['bottom_3'] || $page['bottom_4']) : ?>
|
167 |
|
|
<div style="clear:both"></div>
|
168 |
|
|
<div id="bottom-wrapper" class="in<?php print (bool) $page['bottom_1'] + (bool) $page['bottom_2'] + (bool) $page['bottom_3'] + (bool) $page['bottom_4']; ?>">
|
169 |
|
|
<?php if($page['bottom_1']) : ?>
|
170 |
|
|
<div class="column A">
|
171 |
|
|
<?php print render ($page['bottom_1']); ?>
|
172 |
|
|
</div>
|
173 |
|
|
<?php endif; ?>
|
174 |
|
|
<?php if($page['bottom_2']) : ?>
|
175 |
|
|
<div class="column B">
|
176 |
|
|
<?php print render ($page['bottom_2']); ?>
|
177 |
|
|
</div>
|
178 |
|
|
<?php endif; ?>
|
179 |
|
|
<?php if($page['bottom_3']) : ?>
|
180 |
|
|
<div class="column C">
|
181 |
|
|
<?php print render ($page['bottom_3']); ?>
|
182 |
|
|
</div>
|
183 |
|
|
<?php endif; ?>
|
184 |
|
|
<?php if($page['bottom_4']) : ?>
|
185 |
|
|
<div class="column D">
|
186 |
|
|
<?php print render ($page['bottom_4']); ?>
|
187 |
|
|
</div>
|
188 |
|
|
<?php endif; ?>
|
189 |
|
|
<div style="clear:both"></div>
|
190 |
|
|
</div>
|
191 |
|
|
<?php endif; ?>
|
192 |
|
|
|
193 |
|
|
<div style="clear:both"></div>
|
194 |
|
|
<div id="footer-wrapper">
|
195 |
|
|
<?php if ($page['footer']): ?>
|
196 |
|
|
<div id="footer">
|
197 |
|
|
<?php print render ($page['footer']); ?>
|
198 |
|
|
</div>
|
199 |
|
|
<?php endif; ?>
|
200 |
|
|
<?php if($secondary_menu) : ?>
|
201 |
|
|
<div id="subnav-wrapper">
|
202 |
|
|
<?php print theme('links__system_secondary_menu', array('links' => $secondary_menu, 'attributes' => array('id' => 'subnav', 'class' => array('links', 'clearfix')))); ?>
|
203 |
|
|
</div>
|
204 |
|
|
<?php endif; ?>
|
205 |
|
|
</div>
|
206 |
|
|
|
207 |
|
|
<div style="clear:both"></div>
|
208 |
|
|
<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>
|
209 |
|
|
</div> |