-
Notifications
You must be signed in to change notification settings - Fork 3
/
layout.tpl
230 lines (195 loc) · 8.6 KB
/
layout.tpl
1
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
<!DOCTYPE html>
<html lang="{$core.language.iso}" dir="{$core.language.direction}">
<head>
{ia_hooker name='smartyFrontBeforeHeadSection'}
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<title>{ia_print_title}</title>
<meta name="description" content="{$core.page['meta-description']}">
<meta name="keywords" content="{$core.page['meta-keywords']}">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="generator" content="Subrion CMS - Open Source Content Management System">
<meta name="robots" content="index">
<meta name="robots" content="follow">
<meta name="revisit-after" content="1 day">
<base href="{$smarty.const.IA_URL}">
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
<link rel="shortcut icon" href="{if !empty($core.config.site_favicon)}{$core.page.nonProtocolUrl}uploads/{$core.config.site_favicon}{else}{$core.page.nonProtocolUrl}favicon.ico{/if}">
{ia_add_media files="jquery, subrion, js:bootstrap/js/bootstrap.min, css:iabootstrap-{$core.config.template_color_scheme}, css:user-style" order=0}
{ia_print_js files='_IA_TPL_parallax.min, _IA_TPL_wow.min, _IA_TPL_app' order=999}
{ia_hooker name='smartyFrontAfterHeadSection'}
{ia_print_css display='on'}
{ia_add_js}
intelli.pageName = '{$core.page.name}';
{foreach $core.customConfig as $key => $value}
intelli.config.{$key} = '{$value}';
{/foreach}
{/ia_add_js}
</head>
<body class="page-{$core.page.name}">
<header class="header" data-parallax="scroll" data-image-src="{if $core.config.website_bg}{$core.page.nonProtocolUrl}uploads/{$core.config.website_bg}{else}{$img}bg3.jpg{/if}">
<div class="inventory">
<div class="container">
<div class="inventory__info">
<span><span class="fa fa-map-pin"></span> {lang key='website_address'}</span>
<span><span class="fa fa-phone"></span> {lang key='website_phone'}</span>
</div>
{if $core.config.website_social_header}
<div class="social">
{if $core.config.website_social_t}<a href="{$core.config.website_social_t}" class="twitter"><span class="fa fa-twitter"></span></a>{/if}
{if $core.config.website_social_f}<a href="{$core.config.website_social_f}" class="facebook"><span class="fa fa-facebook"></span></a>{/if}
{if $core.config.website_social_g}<a href="{$core.config.website_social_g}" class="google-plus"><span class="fa fa-google-plus"></span></a>{/if}
{if $core.config.website_social_i}<a href="{$core.config.website_social_i}" class="linkedin"><span class="fa fa-linkedin"></span></a>{/if}
</div>
{/if}
{include 'language-selector.tpl'}
{ia_blocks block='inventory'}
{include 'currency-selector.tpl'}
</div>
</div>
<nav class="navbar navbar-default{if $core.config.sticky_nav} js-nav-sticky{/if}">
<div class="container">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-collapse" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand{if !$core.config.enable_text_logo} navbar-brand--img{/if}" href="{$smarty.const.IA_URL}">
{if $core.config.enable_text_logo}
{$words = explode(' ', $core.config.logo_text)}
{foreach $words as $word}
{if !$word@last}
{$word}
{else}
<span>{$word}</span>
{/if}
{/foreach}
{else}
{if !empty($core.config.site_logo)}
<img src="{$core.page.nonProtocolUrl}uploads/{$core.config.site_logo}" alt="{$core.config.site}">
{else}
<img src="{$img}logo.png" alt="{$core.config.site}">
{/if}
{/if}
</a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="navbar-collapse">
{ia_blocks block='account'}
{ia_blocks block='mainmenu'}
</div>
</div>
</nav>
{ia_blocks block='teaser'}
</header>
{ia_hooker name='smartyFrontBeforeBreadcrumb'}
{include file='breadcrumb.tpl'}
{if $core.config.enable_landing && 'index' == $core.page.name}
<div class="landing">
{ia_blocks block='landing'}
</div>
{else}
{if isset($iaBlocks.verytop)}
<div class="verytop">
<div class="container">{ia_blocks block='verytop'}</div>
</div>
{/if}
<div class="content">
<div class="container">
<div class="row">
<div class="{width section='content' position='left' tag='col-md-'} aside">
{ia_blocks block='left'}
</div>
<div class="{width section='content' position='center' tag='col-md-'}">
<div class="content__wrap">
{ia_hooker name='smartyFrontBeforeNotifications'}
{include file='notification.tpl'}
{ia_blocks block='top'}
<div class="content__header">
<h1>{$core.page.title}</h1>
<ul class="content__actions">
{foreach $core.actions as $name => $action}
<li>
{if 'action-favorites' == $name}
{printFavorites item=$item itemtype=$item.item}
{else}
<a data-toggle="tooltip" title="{$action.title}" {foreach $action.attributes as $key => $value}{$key}="{$value}" {/foreach}>
<span class="fa fa-{$name}"></span>
</a>
{/if}
</li>
{/foreach}
</ul>
</div>
{ia_hooker name='smartyFrontBeforeMainContent'}
<div class="content__body">
{$_content_}
</div>
{ia_hooker name='smartyFrontAfterMainContent'}
{ia_blocks block='bottom'}
</div>
</div>
<div class="{width section='content' position='right' tag='col-md-'} aside">
{ia_blocks block='right'}
</div>
</div>
</div>
</div>
{if isset($iaBlocks.verybottom)}
<div class="verybottom">
<div class="container">{ia_blocks block='verybottom'}</div>
</div>
{/if}
{/if}
{if isset($iaBlocks.footer1) || isset($iaBlocks.footer2) || isset($iaBlocks.footer3) || isset($iaBlocks.footer4)}
<div class="footer-blocks">
<div class="container">
<div class="row">
<div class="{width section='footer-blocks' position='footer1' tag='col-md-'}">{ia_blocks block='footer1'}</div>
<div class="{width section='footer-blocks' position='footer2' tag='col-md-'}">{ia_blocks block='footer2'}</div>
<div class="{width section='footer-blocks' position='footer3' tag='col-md-'}">{ia_blocks block='footer3'}</div>
<div class="{width section='footer-blocks' position='footer4' tag='col-md-'}">{ia_blocks block='footer4'}</div>
</div>
</div>
</div>
{/if}
<footer class="footer">
<div class="container">
{ia_hooker name='smartyFrontBeforeFooterLinks'}
<p class="copyright">© {$smarty.server.REQUEST_TIME|date_format:'%Y'} {lang key='powered_by_subrion'}</p>
<a href="#" class="back-to-top js-back-to-top" title="{lang key='back_to_top'}"><span class="fa fa-angle-up"></span></a>
{if $core.config.website_social_footer}
<div class="social">
{if $core.config.website_social_t}<a href="{$core.config.website_social_t}" class="twitter"><span class="fa fa-twitter"></span></a>{/if}
{if $core.config.website_social_f}<a href="{$core.config.website_social_f}" class="facebook"><span class="fa fa-facebook"></span></a>{/if}
{if $core.config.website_social_g}<a href="{$core.config.website_social_g}" class="google-plus"><span class="fa fa-google-plus"></span></a>{/if}
{if $core.config.website_social_i}<a href="{$core.config.website_social_i}" class="linkedin"><span class="fa fa-linkedin"></span></a>{/if}
</div>
{/if}
{ia_hooker name='smartyFrontAfterFooterLinks'}
</div>
</footer>
<a href="#" class="back-to-top js-back-to-top"><span class="fa fa-arrow-up"></span></a>
<!-- SYSTEM STUFF -->
{if $core.config.cron}
<div style="display: none;">
<img src="{$core.page.nonProtocolUrl}cron/?{randnum}" width="1" height="1" alt="">
</div>
{/if}
{if isset($manageMode)}
{include file='visual-mode.tpl'}
{/if}
{if isset($previewMode)}
<p>{lang key='youre_in_preview_mode'}</p>
{/if}
{ia_print_js display='on'}
{ia_hooker name='smartyFrontFinalize'}
</body>
</html>