%%52^520^5207CD86%%promo.tpl.php
8.55 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
<?php /* Smarty version 2.6.16, created on 2012-02-03 14:58:55
compiled from promo.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'default', 'promo.tpl', 4, false),array('modifier', 'stripslashes', 'promo.tpl', 74, false),)), $this); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title><?php echo ((is_array($_tmp=@$this->_tpl_vars['meta']['title'])) ? $this->_run_mod_handler('default', true, $_tmp, 'Ëûæè, ñíîóáîðäû, êîíüêè, âåëîñèïåäû, ïàëàòêè, ðþêçàêè, ñêåéòû, ðîëèêè (ðîëèêîâûå êîíüêè), âèíäñåðôèíã') : smarty_modifier_default($_tmp, 'Ëûæè, ñíîóáîðäû, êîíüêè, âåëîñèïåäû, ïàëàòêè, ðþêçàêè, ñêåéòû, ðîëèêè (ðîëèêîâûå êîíüêè), âèíäñåðôèíã')); ?>
</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1251">
<meta name="author" content="ArtWeb Studio">
<meta name="description" content="<?php echo ((is_array($_tmp=@$this->_tpl_vars['meta']['description'])) ? $this->_run_mod_handler('default', true, $_tmp, 'ExtrimStyle') : smarty_modifier_default($_tmp, 'ExtrimStyle')); ?>
" />
<meta name="keywords" content="<?php echo ((is_array($_tmp=@$this->_tpl_vars['meta']['keywords'])) ? $this->_run_mod_handler('default', true, $_tmp, 'ExtrimStyle') : smarty_modifier_default($_tmp, 'ExtrimStyle')); ?>
" />
<link rel="shortcut icon" href="http://extremstyle.ua/img/favicon.ico" type="image/x-icon" />
<script type="text/javascript" src="http://code.jquery.com/jquery-1.6.2.min.js"></script>
<script type="text/javascript" src="js/promo/code.js"></script>
<script type="text/javascript" src="js/promo/jquery.jcarousel.min.js"></script>
<link rel="stylesheet" type="text/css" href="js/promo/skin.css" />
<link rel="stylesheet" type="text/css" href="js/promo/skin2.css" />
<?php echo '
<script type="text/javascript">
jQuery(document).ready(function() {
jQuery(\'#mycarousel\').jcarousel({scroll: 1});
jQuery(\'#mycarousel2\').jcarousel({scroll: 1});
});
</script>
<style>
html, body {
margin: 0px;
padding: 0px;
width: 100%;
min-width:1000px;
height:100%;
}BODY{font-family:Arial,tahoma;}
#opacity{width:100%;height:100%;background:#000000;opacity: 0.5;position:absolute;}
#content{background:#ffffff url('; ?>
'uploaded/pic/promo/bg/<?php echo $this->_tpl_vars['news']['bgpic']; ?>
'<?php echo ') no-repeat;position:absolute;width:1000px;height:700px;}
#content .wrp{padding:150px 0px 0px 50px;}
.leftbar{float:left;width:450px;}
.rightbar{float:right;width:470px;}
.info{background:#000000;padding:10px;color:#ffffff;margin-bottom:20px;-moz-border-radius: 10px;-webkit-border-radius: 10px;}
.info h1{color:#e51e26;margin:0px 0px 5px 0px;padding:0px;font-size:25px;}
.cost_last{display:inline-block;background:#000000;color:#ffffff;padding:5px 10px;margin-right:20px;}
.cost{display:inline-block;background:#ffffff;color:#e51e26;padding:5px 10px;font-weight:bold;margin-right:20px;}
.bay{display:inline-block;background:#e51e26;color:#ffffff;padding:5px 10px;font-weight:bold;margin-right:20px;}
.bay a{color:#ffffff;text-decoration:none;}
.picone{height:360px;}
</style>
'; ?>
</head>
<body>
<div id="opacity"></div>
<div id="content"><div class="wrp">
<div class="leftbar">
<div class="picone">
<?php if ($this->_tpl_vars['foto']['id'] > 0): ?>
<img src="uploaded/pic/promo/foto/<?php echo $this->_tpl_vars['foto']['pic']; ?>
" border="0" alt="<?php echo $this->_tpl_vars['foto']['title']; ?>
" />
<?php else: ?><img src="uploaded/pic/promo/<?php echo $this->_tpl_vars['news']['pic']; ?>
" border="0" alt="<?php echo $this->_tpl_vars['news']['title']; ?>
" /><?php endif; ?>
</div>
<ul id="mycarousel2" class="jcarousel-skin-tango2">
<?php unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=$this->_tpl_vars['list']) ? 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']);
?>
<li><a href="promo.php?prefix=<?php echo $this->_tpl_vars['list'][$this->_sections['i']['index']]['prefix']; ?>
"><img src="uploaded/pic/promo/ico/<?php echo $this->_tpl_vars['list'][$this->_sections['i']['index']]['icopic']; ?>
" width="150" height="150" alt="<?php echo $this->_tpl_vars['list'][$this->_sections['i']['index']]['title']; ?>
" border="0" /></a></li>
<?php endfor; endif; ?>
</ul>
</div>
<div class="rightbar">
<div class="info">
<h1><?php echo $this->_tpl_vars['news']['title']; ?>
</h1>
<?php echo ((is_array($_tmp=$this->_tpl_vars['news']['about'])) ? $this->_run_mod_handler('stripslashes', true, $_tmp) : smarty_modifier_stripslashes($_tmp)); ?>
</div>
<span class="cost_last"><strike><?php echo $this->_tpl_vars['news']['cost_last']; ?>
ãðí.</strike></span>
<span class="cost"><?php echo $this->_tpl_vars['news']['cost']; ?>
ãðí.</span>
<span class="bay"><a href="<?php echo $this->_tpl_vars['news']['link']; ?>
">êóïèòü</a></span>
<?php if (count ( $this->_tpl_vars['fotos'] ) > 0): ?>
<ul id="mycarousel" class="jcarousel-skin-tango">
<?php unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=$this->_tpl_vars['fotos']) ? 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']);
?>
<li><a href="promo.php?prefix=<?php echo $_GET['prefix']; ?>
&fotoID=<?php echo $this->_tpl_vars['fotos'][$this->_sections['i']['index']]['id']; ?>
"><img src="uploaded/pic/promo/foto/ico/<?php echo $this->_tpl_vars['fotos'][$this->_sections['i']['index']]['icopic']; ?>
" width="75" height="75" alt="<?php echo $this->_tpl_vars['fotos'][$this->_sections['i']['index']]['title']; ?>
" border="0" /></a></li>
<?php endfor; endif; ?>
</ul>
<?php endif; ?>
<?php echo ((is_array($_tmp=$this->_tpl_vars['news']['code'])) ? $this->_run_mod_handler('stripslashes', true, $_tmp) : smarty_modifier_stripslashes($_tmp)); ?>
</div><div style="clear:both"></div>
</div></div>
</body>
</html>