%%C6^C6F^C6F508A8%%statics.tpl.php
13.5 KB
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
<?php /* Smarty version 2.6.16, created on 2015-07-24 14:05:36
compiled from statics.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'stripslashes', 'statics.tpl', 3, false),array('modifier', 'escape', 'statics.tpl', 10, false),)), $this); ?>
<h1><?php echo $this->_tpl_vars['rules_info_one']['name']; ?>
</h1>
<div class="itemsbox">
<?php echo ((is_array($_tmp=$this->_tpl_vars['statics_one']['text'])) ? $this->_run_mod_handler('stripslashes', true, $_tmp) : smarty_modifier_stripslashes($_tmp)); ?>
<?php if ($this->_tpl_vars['rules_info_one']['action'] == 'akcya'): ?>
<div class="title3"><div class="l"><div class="r"><div class="w"><div class="h1">Àêöèîííûå ïðåäëîæåíèÿ</div></div></div></div></div>
<?php if (count ( $this->_tpl_vars['newsAllData']['data'] )): ?>
<?php unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=$this->_tpl_vars['newsAllData']['data']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['i']['show'] = true;
$this->_sections['i']['max'] = $this->_sections['i']['loop'];
$this->_sections['i']['step'] = 1;
$this->_sections['i']['start'] = $this->_sections['i']['step'] > 0 ? 0 : $this->_sections['i']['loop']-1;
if ($this->_sections['i']['show']) {
$this->_sections['i']['total'] = $this->_sections['i']['loop'];
if ($this->_sections['i']['total'] == 0)
$this->_sections['i']['show'] = false;
} else
$this->_sections['i']['total'] = 0;
if ($this->_sections['i']['show']):
for ($this->_sections['i']['index'] = $this->_sections['i']['start'], $this->_sections['i']['iteration'] = 1;
$this->_sections['i']['iteration'] <= $this->_sections['i']['total'];
$this->_sections['i']['index'] += $this->_sections['i']['step'], $this->_sections['i']['iteration']++):
$this->_sections['i']['rownum'] = $this->_sections['i']['iteration'];
$this->_sections['i']['index_prev'] = $this->_sections['i']['index'] - $this->_sections['i']['step'];
$this->_sections['i']['index_next'] = $this->_sections['i']['index'] + $this->_sections['i']['step'];
$this->_sections['i']['first'] = ($this->_sections['i']['iteration'] == 1);
$this->_sections['i']['last'] = ($this->_sections['i']['iteration'] == $this->_sections['i']['total']);
?>
<div class="block3<?php if (! ( $this->_sections['i']['rownum'] % 2 )): ?> bn3<?php endif; ?>">
<?php if ($this->_tpl_vars['newsAllData']['data'][$this->_sections['i']['index']]['pic']): ?><a href="<?php echo @URL; ?>
catalogs/?akciiID=<?php echo $this->_tpl_vars['newsAllData']['data'][$this->_sections['i']['index']]['id']; ?>
"><img src="<?php echo @URL; ?>
uploaded/pic/news/<?php echo $this->_tpl_vars['newsAllData']['data'][$this->_sections['i']['index']]['pic']; ?>
" border="0" align="center" alt="<?php echo ((is_array($_tmp=$this->_tpl_vars['newsAllData']['data'][$this->_sections['i']['index']]['title'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
" title="<?php echo ((is_array($_tmp=$this->_tpl_vars['newsAllData']['data'][$this->_sections['i']['index']]['title'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
"></a><?php endif; ?>
</div>
<?php if (! ( $this->_sections['i']['rownum'] % 2 )): ?><div class="both"></div><?php endif; ?>
<?php endfor; endif; ?><div class="both"></div>
<br />
<?php if ($this->_tpl_vars['newsAllData']['links']): ?><div class="pager">Ñòðàíèöû: <?php echo $this->_tpl_vars['newsAllData']['links']; ?>
</div><?php endif; endif; ?>
<div class="title3"><div class="l"><div class="r"><div class="w"><div class="h1">Ñêèäêè</div></div></div></div></div>
<?php if (count ( $this->_tpl_vars['saleAllData']['data'] )): ?>
<?php unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=$this->_tpl_vars['saleAllData']['data']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['i']['show'] = true;
$this->_sections['i']['max'] = $this->_sections['i']['loop'];
$this->_sections['i']['step'] = 1;
$this->_sections['i']['start'] = $this->_sections['i']['step'] > 0 ? 0 : $this->_sections['i']['loop']-1;
if ($this->_sections['i']['show']) {
$this->_sections['i']['total'] = $this->_sections['i']['loop'];
if ($this->_sections['i']['total'] == 0)
$this->_sections['i']['show'] = false;
} else
$this->_sections['i']['total'] = 0;
if ($this->_sections['i']['show']):
for ($this->_sections['i']['index'] = $this->_sections['i']['start'], $this->_sections['i']['iteration'] = 1;
$this->_sections['i']['iteration'] <= $this->_sections['i']['total'];
$this->_sections['i']['index'] += $this->_sections['i']['step'], $this->_sections['i']['iteration']++):
$this->_sections['i']['rownum'] = $this->_sections['i']['iteration'];
$this->_sections['i']['index_prev'] = $this->_sections['i']['index'] - $this->_sections['i']['step'];
$this->_sections['i']['index_next'] = $this->_sections['i']['index'] + $this->_sections['i']['step'];
$this->_sections['i']['first'] = ($this->_sections['i']['iteration'] == 1);
$this->_sections['i']['last'] = ($this->_sections['i']['iteration'] == $this->_sections['i']['total']);
?>
<div>
<?php if ($this->_tpl_vars['saleAllData']['data'][$this->_sections['i']['index']]['pic']): ?><a href="<?php echo $this->_tpl_vars['saleAllData']['data'][$this->_sections['i']['index']]['url']; ?>
/"><img src="<?php echo @URL; ?>
uploaded/pic/news/<?php echo $this->_tpl_vars['saleAllData']['data'][$this->_sections['i']['index']]['pic']; ?>
" border="0" align="center" alt="<?php echo ((is_array($_tmp=$this->_tpl_vars['saleAllData']['data'][$this->_sections['i']['index']]['title'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
" title="<?php echo ((is_array($_tmp=$this->_tpl_vars['saleAllData']['data'][$this->_sections['i']['index']]['title'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
"></a><?php endif; ?>
</div><br />
<?php endfor; endif; ?><div class="both"></div>
<br />
<?php if ($this->_tpl_vars['newsAllData']['links']): ?><div class="pager">Ñòðàíèöû: <?php echo $this->_tpl_vars['newsAllData']['links']; ?>
</div><?php endif; endif; endif; ?>
<?php if ($this->_tpl_vars['rules_info_one']['action'] == 'shops'): ?>
<!--
<script src="http://maps.google.com/maps?file=api&v=2&hl=ru&key=ABQIAAAAtkNgCC6QZG59vEiUw-bydBQkLdXlNa_cWuB41EU_MUtQjqDW6RSyC5-cM55iBl-y3x6o2yDRafhFYQ"
type="text/javascript"></script>
<script src="<?php echo @URL; ?>
js/gmaps.js" type="text/javascript"></script>
<body alink="black" link="black" vlink="black" onload="load()" onunload="GUnload()">
<center><div id="map" class="map" style="width: 750px; height: 400px;margin-top:5px;"></div></center>
-->
<center>
<iframe width="750" height="450" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://maps.google.com.ua/maps/ms?t=m&msa=0&msid=207916492562637650115.0004f7c7476fe93c15d43&source=embed&ie=UTF8&ll=48.443778,33.42041&spn=5.397596,15.51123&output=embed"></iframe><br /><small>Ïðîñìîòðåòü <a href="https://maps.google.com.ua/maps/ms?t=m&msa=0&msid=207916492562637650115.0004f7c7476fe93c15d43&source=embed&ie=UTF8&ll=48.443778,33.42041&spn=8.397596,21.51123" style="color:#0000FF;text-align:left">ñåòü ìàãàçèíîâ extremstyle</a> íà êàðòå áîëüøåãî ðàçìåðà</small>
</center>
<?php endif; ?>
<?php if ($this->_tpl_vars['rules_info_one']['action'] == 'sites'): ?>
<div align="center"><a href="<?php echo @URL; ?>
site_equest/"><img src="<?php echo @URL; ?>
img/button_pac4et_s.gif" width="216" height="77" /></a></div>
<?php elseif ($this->_tpl_vars['rules_info_one']['action'] == 'site_portals'): ?>
<div align="center"><a href="<?php echo @URL; ?>
site_equest/"><img src="<?php echo @URL; ?>
img/button_pac4et_p.gif" width="216" height="77" /></a></div>
<?php elseif ($this->_tpl_vars['rules_info_one']['action'] == 'sites_shops'): ?>
<div align="center"><a href="<?php echo @URL; ?>
site_equest/"><img src="<?php echo @URL; ?>
img/button_pac4et_m.gif" width="216" height="77" /></a></div>
<?php endif; ?>
<?php unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=$this->_tpl_vars['rooms']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['i']['show'] = true;
$this->_sections['i']['max'] = $this->_sections['i']['loop'];
$this->_sections['i']['step'] = 1;
$this->_sections['i']['start'] = $this->_sections['i']['step'] > 0 ? 0 : $this->_sections['i']['loop']-1;
if ($this->_sections['i']['show']) {
$this->_sections['i']['total'] = $this->_sections['i']['loop'];
if ($this->_sections['i']['total'] == 0)
$this->_sections['i']['show'] = false;
} else
$this->_sections['i']['total'] = 0;
if ($this->_sections['i']['show']):
for ($this->_sections['i']['index'] = $this->_sections['i']['start'], $this->_sections['i']['iteration'] = 1;
$this->_sections['i']['iteration'] <= $this->_sections['i']['total'];
$this->_sections['i']['index'] += $this->_sections['i']['step'], $this->_sections['i']['iteration']++):
$this->_sections['i']['rownum'] = $this->_sections['i']['iteration'];
$this->_sections['i']['index_prev'] = $this->_sections['i']['index'] - $this->_sections['i']['step'];
$this->_sections['i']['index_next'] = $this->_sections['i']['index'] + $this->_sections['i']['step'];
$this->_sections['i']['first'] = ($this->_sections['i']['iteration'] == 1);
$this->_sections['i']['last'] = ($this->_sections['i']['iteration'] == $this->_sections['i']['total']);
?>
<table cellpadding="2" cellspacing="0"><tr>
<?php if ($this->_tpl_vars['rooms'][$this->_sections['i']['index']]['pic']): ?><td><a href="<?php echo @URL; echo $this->_tpl_vars['rules_info_one']['action']; ?>
/<?php echo $this->_tpl_vars['rooms'][$this->_sections['i']['index']]['id']; ?>
/"><img src="<?php echo @URL; ?>
uploaded/pic/gallery/rooms/<?php echo $this->_tpl_vars['rooms'][$this->_sections['i']['index']]['pic']; ?>
" border="0" alt="<?php echo $this->_tpl_vars['rooms'][$this->_sections['i']['index']]['title']; ?>
" title="<?php echo $this->_tpl_vars['rooms'][$this->_sections['i']['index']]['title']; ?>
" class="pic"></a></td><?php endif; ?>
<td>
<p><a href="<?php echo @URL; echo $this->_tpl_vars['rules_info_one']['action']; ?>
/<?php echo $this->_tpl_vars['rooms'][$this->_sections['i']['index']]['id']; ?>
/"><b><?php echo $this->_tpl_vars['rooms'][$this->_sections['i']['index']]['title']; ?>
</b></a></p>
<p><?php echo $this->_tpl_vars['rooms'][$this->_sections['i']['index']]['about']; ?>
<a href="<?php echo @URL; echo $this->_tpl_vars['rules_info_one']['action']; ?>
/<?php echo $this->_tpl_vars['rooms'][$this->_sections['i']['index']]['id']; ?>
/" class="link2">ïîäðîáíåå</a></p>
</td></tr>
</table>
<?php if ($this->_sections['i']['index'] < count ( $this->_tpl_vars['rooms'] ) -1): ?>
<div class="hr"><img src="spacer.gef" width="1" height="1" border="0"></div>
<?php endif; endfor; endif; ?>
<div class="both"></div>
<?php if ($this->_tpl_vars['rules_info_one']['action'] == 'contacts'): ?>
<div class="h_r2"></div>
<?php if ($_GET['send'] == 'ok'): ?>
<font color="red"><b>Âàøå ñîîáùåíèå îòïðàâëåíî!</b></font>
<?php else: ?>
<b>Ó Âàñ åñòü âîïðîñû èëè ïðåäëîæåíèÿ? </b><br>
Âû ìîæåòå çàäàòü íàì âîïðîñ(û) ñ ïîìîùüþ ñëåäóþùåé ôîðìû:
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "error.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
<div id="inputArea">
<form method="post" action="<?php echo @URL; echo $this->_tpl_vars['rules_info_one']['action']; ?>
/">
<label>Âàøå èìÿ: <span class="red">*</span></label>
<input type="text" name="name" class="idle" onblur="this.className='idle'" onfocus="this.className='activeField'" size="60" value="<?php echo ((is_array($_tmp=$_POST['name'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
" />
<label>Âàø òåëåôîí: <span class="red">*</span></label>
<input type="text" name="phone" class="idle" onblur="this.className='idle'" onfocus="this.className='activeField'" size="60" value="<?php echo ((is_array($_tmp=$_POST['phone'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
" />
<label>Âàøå e-mail:</label>
<input type="text" name="email" class="idle" onblur="this.className='idle'" onfocus="this.className='activeField'" size="60" value="<?php echo ((is_array($_tmp=$_POST['email'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
" />
<label>Òåêñò êîììåíòàðèÿ:</label>
<textarea rows="4" cols="30" name="text" class="idle" onblur = "this.className='idle'" onfocus = "this.className='activeField'"><?php echo ((is_array($_tmp=$_POST['text'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
</textarea>
<p>Ïîëÿ, âûäåëåííûå <span class="red">*</span>, çàïîëíèòå îáÿçàòåëüíî</p>
<input type="hidden" name="send"><input type="submit" value="Îòïðàâèòü" class="idle" onblur="this.className='idle'" onfocus="this.className='activeField'">
</form>
</div>
<?php endif; ?>
<?php endif; ?>
</div>