1
|
<?php
|
2
|
|
3
|
|
4
|
|
5
|
|
6
|
|
7
|
|
8
|
|
9
|
|
10
|
|
11
|
|
12
|
|
13
|
|
14
|
|
15
|
|
16
|
|
17
|
|
18
|
|
19
|
|
20
|
|
21
|
|
22
|
|
23
|
|
24
|
|
25
|
|
26
|
|
27
|
|
28
|
|
29
|
|
30
|
|
31
|
|
32
|
|
33
|
|
34
|
|
35
|
|
36
|
|
37
|
|
38
|
|
39
|
|
40
|
|
41
|
|
42
|
|
43
|
|
44
|
|
45
|
|
46
|
|
47
|
|
48
|
|
49
|
|
50
|
|
51
|
|
52
|
|
53
|
|
54
|
|
55
|
|
56
|
|
57
|
|
58
|
|
59
|
|
60
|
|
61
|
|
62
|
|
63
|
|
64
|
|
65
|
|
66
|
?>
|
67
|
|
68
|
<div class="container">
|
69
|
|
70
|
<header id="head" role="banner">
|
71
|
<hgroup class="five columns alpha">
|
72
|
<div id="logo">
|
73
|
<?php if ($logo): ?><a href="<?php print $front_page; ?>" title="<?php print t('Home'); ?>"><img src="<?php print $logo; ?>" alt="<?php print t('Home'); ?>"/></a><?php endif; ?>
|
74
|
<?php if ($site_slogan): ?><div class="site-slogan"><?php print $site_slogan; ?></div><?php endif; ?>
|
75
|
</div>
|
76
|
</hgroup>
|
77
|
|
78
|
<div class="eleven columns omega" id="headright">
|
79
|
<?php if (theme_get_setting('socialicon_display', 'responsive')): ?>
|
80
|
<?php
|
81
|
$twitter_url = check_plain(theme_get_setting('twitter_url', 'responsive'));
|
82
|
$facebook_url = check_plain(theme_get_setting('facebook_url', 'responsive'));
|
83
|
$googleplus_url = check_plain(theme_get_setting('googleplus_url', 'responsive'));
|
84
|
$linkedin_url = check_plain(theme_get_setting('linkedin_url', 'responsive'));
|
85
|
$theme_path_social = base_path() . drupal_get_path('theme', 'responsive');
|
86
|
?>
|
87
|
<div id="socialbar">
|
88
|
<ul class="social">
|
89
|
<?php if ($twitter_url): ?><li> <a href="<?php print $twitter_url; ?>" target="_blank"> <img src="<?php print $theme_path_social; ?>/images/twitter.png"> </a> </li> <?php endif; ?>
|
90
|
<?php if ($facebook_url): ?><li> <a href="<?php print $facebook_url; ?>" target="_blank"> <img src="<?php print $theme_path_social; ?>/images/facebook.png"> </a> </li> <?php endif; ?>
|
91
|
<?php if ($googleplus_url): ?><li> <a href="<?php print $googleplus_url; ?>" target="_blank"> <img src="<?php print $theme_path_social; ?>/images/gplus.png"> </a> </li> <?php endif; ?>
|
92
|
<?php if ($linkedin_url): ?><li> <a href="<?php print $linkedin_url; ?>" target="_blank"> <img src="<?php print $theme_path_social; ?>/images/in.png"> </a> </li> <?php endif; ?>
|
93
|
<li> <a href="<?php print $front_page; ?>rss.xml"> <img src="<?php print $theme_path_social; ?>/images/rss.png"> </a> </li>
|
94
|
</ul>
|
95
|
</div>
|
96
|
<?php endif; ?>
|
97
|
|
98
|
<nav id="navigation" role="navigation">
|
99
|
<div id="main-menu">
|
100
|
<?php
|
101
|
if (module_exists('i18n')) {
|
102
|
$main_menu_tree = i18n_menu_translated_tree(variable_get('menu_main_links_source', 'main-menu'));
|
103
|
} else {
|
104
|
$main_menu_tree = menu_tree(variable_get('menu_main_links_source', 'main-menu'));
|
105
|
}
|
106
|
print drupal_render($main_menu_tree);
|
107
|
?>
|
108
|
</div>
|
109
|
</nav>
|
110
|
</div>
|
111
|
</header>
|
112
|
</div>
|
113
|
|
114
|
<div class="container" id="content-contain">
|
115
|
|
116
|
<?php if ($is_front): ?>
|
117
|
<div class="container">
|
118
|
<?php if (theme_get_setting('slideshow_display', 'responsive')): ?>
|
119
|
|
120
|
<?php
|
121
|
$url1 = check_plain(theme_get_setting('slide1_url','responsive')); $cap1 = check_markup(theme_get_setting('slide1_desc','responsive'), 'full_html');
|
122
|
$url2 = check_plain(theme_get_setting('slide2_url','responsive')); $cap2 = check_markup(theme_get_setting('slide2_desc','responsive'), 'full_html');
|
123
|
$url3 = check_plain(theme_get_setting('slide3_url','responsive')); $cap3 = check_markup(theme_get_setting('slide3_desc','responsive'), 'full_html');
|
124
|
?>
|
125
|
<div class="flexslider">
|
126
|
<ul class="slides">
|
127
|
<li>
|
128
|
<a href="<?php print url($url1); ?>"><img src="<?php print base_path() . drupal_get_path('theme', 'responsive') . '/images/slide-image-1.jpg'; ?>"/></a>
|
129
|
<?php if ($cap1): ?> <div class="flex-caption"> <h3> <?php print $cap1; ?> </h3> </div> <?php endif; ?>
|
130
|
</li>
|
131
|
<li>
|
132
|
<a href="<?php print url($url2); ?>"><img src="<?php print base_path() . drupal_get_path('theme', 'responsive') . '/images/slide-image-2.jpg'; ?>"/></a>
|
133
|
<?php if ($cap2): ?> <div class="flex-caption"> <h3> <?php print $cap2; ?> </h3> </div> <?php endif; ?>
|
134
|
</li>
|
135
|
<li>
|
136
|
<a href="<?php print url($url3); ?>"><img src="<?php print base_path() . drupal_get_path('theme', 'responsive') . '/images/slide-image-3.jpg'; ?>"/></a>
|
137
|
<?php if ($cap3): ?> <div class="flex-caption"> <h3> <?php print $cap3; ?> </h3> </div> <?php endif; ?>
|
138
|
</li>
|
139
|
</ul>
|
140
|
</div>
|
141
|
<?php endif; ?>
|
142
|
|
143
|
<?php if ($page['front_welcome']): ?>
|
144
|
<div id="front-welcome"> <?php print render($page['front_welcome']); ?></div>
|
145
|
<?php endif; ?>
|
146
|
</div>
|
147
|
<?php endif; ?>
|
148
|
|
149
|
|
150
|
|
151
|
<?php if ($page['header']): ?>
|
152
|
<div id="header" class="sixteen columns">
|
153
|
<?php print render($page['header']); ?>
|
154
|
</div>
|
155
|
<div class="clear"></div>
|
156
|
<?php endif; ?>
|
157
|
|
158
|
<?php if($page['sidebar_first']) { $contentwid= "eleven"; } else { $contentwid= "sixteen"; } ?>
|
159
|
|
160
|
<div id="content" class="<?php print $contentwid; ?> columns">
|
161
|
<div id="breadcrumbs"><?php if (theme_get_setting('breadcrumbs', 'responsive')): ?><?php if ($breadcrumb): print $breadcrumb; endif;?><?php endif; ?></div>
|
162
|
<section id="post-content" role="main">
|
163
|
<?php print $messages; ?>
|
164
|
<?php if ($page['content_top']): ?><div id="content_top"><?php print render($page['content_top']); ?></div><?php endif; ?>
|
165
|
<?php print render($title_prefix); ?>
|
166
|
<?php if ($title): ?><h1 class="page-title"><?php print $title; ?></h1><?php endif; ?>
|
167
|
<?php print render($title_suffix); ?>
|
168
|
<?php if (!empty($tabs['#primary'])): ?><div class="tabs-wrapper"><?php print render($tabs); ?></div><?php endif; ?>
|
169
|
<?php print render($page['help']); ?>
|
170
|
<?php if ($action_links): ?><ul class="action-links"><?php print render($action_links); ?></ul><?php endif; ?>
|
171
|
<?php print render($page['content']); ?>
|
172
|
</section>
|
173
|
</div>
|
174
|
|
175
|
<?php if ($page['sidebar_first']): ?>
|
176
|
<aside id="sidebar-first" role="complementary" class="sidebar five columns">
|
177
|
<?php print render($page['sidebar_first']); ?>
|
178
|
</aside>
|
179
|
<?php endif; ?>
|
180
|
|
181
|
<div class="clear"></div>
|
182
|
|
183
|
<?php if ($page['footer']): ?>
|
184
|
<div id="foot" class="sixteen columns">
|
185
|
<?php print render($page['footer']) ?>
|
186
|
</div>
|
187
|
<?php endif; ?>
|
188
|
|
189
|
</div>
|
190
|
|
191
|
<?php if ($page['footer_first'] || $page['footer_second'] || $page['footer_third'] || $page['footer_fourth']): ?>
|
192
|
<div id="bottom" class="container">
|
193
|
<?php $botomwid = "four"; $bottom = ((bool) $page['footer_first'] + (bool) $page['footer_second'] + (bool) $page['footer_third'] + (bool) $page['footer_fourth']);
|
194
|
switch ($bottom) {
|
195
|
case 1: $botomwid = "sixteen"; break; case 2: $botomwid = "eight"; break;
|
196
|
case 3: $botomwid = "five"; break; case 4: $botomwid = "four";
|
197
|
} ?>
|
198
|
<?php if ($page['footer_first']): ?>
|
199
|
<div class="<?php print $botomwid; ?> columns botblck"><?php print render($page['footer_first']); ?></div>
|
200
|
<?php endif; ?>
|
201
|
<?php if ($page['footer_second']): ?>
|
202
|
<div class="<?php print $botomwid; ?> columns botblck"><?php print render($page['footer_second']); ?></div>
|
203
|
<?php endif; ?>
|
204
|
<?php if ($page['footer_third']): ?>
|
205
|
<div class="<?php print $botomwid; ?> columns botblck"><?php print render($page['footer_third']); ?></div>
|
206
|
<?php endif; ?>
|
207
|
<?php if ($page['footer_fourth']): ?>
|
208
|
<div class="<?php print $botomwid; ?> columns botblck"><?php print render($page['footer_fourth']); ?></div>
|
209
|
<?php endif; ?>
|
210
|
</div>
|
211
|
<?php endif; ?>
|
212
|
|
213
|
<div id="copyright" class="container">
|
214
|
<div class="credit"><?php print t('Copyright'); ?> © <?php echo date("Y"); ?>, <?php print $site_name; ?> <br/> <?php print t('Developed by'); ?> <a href="http://www.devsaran.com" target="_blank">Devsaran</a>.</div>
|
215
|
<div class="clear"></div>
|
216
|
</div>
|