%%91^91B^91B212F7%%catalogs_brends.tpl.php
6.53 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
<?php /* Smarty version 2.6.16, created on 2012-01-27 10:19:46
compiled from catalogs_brends.tpl */ ?>
<div class="title mt"><div class="l"><div class="r">Ïðîèçâîäèòåëè</div></div></div>
<div class="rbk mt">
<?php unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=$this->_tpl_vars['catalogs_rubrics_begin']) ? 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="row <?php if (! ( $this->_sections['i']['rownum'] % 4 )): ?>n<?php endif; ?>">
<div class="title2"><div class="l"><div class="r"><?php echo $this->_tpl_vars['catalogs_rubrics_begin'][$this->_sections['i']['index']]['name']; ?>
</div></div></div>
<div class="box2">
<img src="<?php echo @URL; ?>
uploaded/pic/catalogs/rubrics/<?php echo $this->_tpl_vars['catalogs_rubrics_begin'][$this->_sections['i']['index']]['pic']; ?>
" align="left" /> <?php unset($this->_sections['j']);
$this->_sections['j']['name'] = 'j';
$this->_sections['j']['loop'] = is_array($_loop=$this->_tpl_vars['catalogs_rubrics_begin'][$this->_sections['i']['index']]['brends']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['j']['show'] = true;
$this->_sections['j']['max'] = $this->_sections['j']['loop'];
$this->_sections['j']['step'] = 1;
$this->_sections['j']['start'] = $this->_sections['j']['step'] > 0 ? 0 : $this->_sections['j']['loop']-1;
if ($this->_sections['j']['show']) {
$this->_sections['j']['total'] = $this->_sections['j']['loop'];
if ($this->_sections['j']['total'] == 0)
$this->_sections['j']['show'] = false;
} else
$this->_sections['j']['total'] = 0;
if ($this->_sections['j']['show']):
for ($this->_sections['j']['index'] = $this->_sections['j']['start'], $this->_sections['j']['iteration'] = 1;
$this->_sections['j']['iteration'] <= $this->_sections['j']['total'];
$this->_sections['j']['index'] += $this->_sections['j']['step'], $this->_sections['j']['iteration']++):
$this->_sections['j']['rownum'] = $this->_sections['j']['iteration'];
$this->_sections['j']['index_prev'] = $this->_sections['j']['index'] - $this->_sections['j']['step'];
$this->_sections['j']['index_next'] = $this->_sections['j']['index'] + $this->_sections['j']['step'];
$this->_sections['j']['first'] = ($this->_sections['j']['iteration'] == 1);
$this->_sections['j']['last'] = ($this->_sections['j']['iteration'] == $this->_sections['j']['total']);
?><a href="<?php echo @URL; ?>
catalogs/brends/<?php echo $this->_tpl_vars['catalogs_rubrics_begin'][$this->_sections['i']['index']]['brends'][$this->_sections['j']['index']]['name']; ?>
/"><?php echo $this->_tpl_vars['catalogs_rubrics_begin'][$this->_sections['i']['index']]['brends'][$this->_sections['j']['index']]['name']; ?>
</a><?php if ($this->_sections['j']['index'] < count ( $this->_tpl_vars['catalogs_rubrics_begin'][$this->_sections['i']['index']]['brends'] ) -1): ?>, <?php endif; endfor; endif; ?>
</div>
</div><?php if (! ( $this->_sections['i']['rownum'] % 4 )): ?><div class="both"></div><?php endif; ?>
<?php endfor; endif; ?><div class="both"></div>
</div>
<?php unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=$this->_tpl_vars['brends_a']) ? 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="box_brend">
<a href="<?php echo @URL; ?>
catalogs/brends/<?php echo $this->_tpl_vars['brends_a'][$this->_sections['i']['index']]['name']; ?>
/" title="<?php echo $this->_tpl_vars['brends_a'][$this->_sections['i']['index']]['name']; ?>
"><img src="<?php echo @URL; ?>
uploaded/pic/catalogs/brends/<?php echo $this->_tpl_vars['brends_a'][$this->_sections['i']['index']]['pic']; ?>
" border="0" alt="<?php echo $this->_tpl_vars['brends_a'][$this->_sections['i']['index']]['name']; ?>
" /></a>
</div><?php if (! ( $this->_sections['i']['rownum'] % 5 )): ?><div class="both"></div><?php endif; endfor; endif; ?>