1 | <?php /* Smarty version 2.6.13, created on 2007-01-10 13:54:21 |
---|
2 | compiled from /home/web/beta.ec-cube.net/html/user_data/include/bloc/category.tpl */ ?> |
---|
3 | <?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php'); |
---|
4 | smarty_core_load_plugins(array('plugins' => array(array('modifier', 'sfCutString', '/home/web/beta.ec-cube.net/html/user_data/include/bloc/category.tpl', 39, false),array('modifier', 'escape', '/home/web/beta.ec-cube.net/html/user_data/include/bloc/category.tpl', 39, false),array('modifier', 'default', '/home/web/beta.ec-cube.net/html/user_data/include/bloc/category.tpl', 39, false),)), $this); ?> |
---|
5 | <!--¢§¾¦ÉÊ¥«¥Æ¥´¥ê¡¼¤³¤³¤«¤é-->
|
---|
6 | <table width="166" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
7 | <tr>
|
---|
8 | <td colspan="3"><img src="<?php echo @URL_DIR; ?> |
---|
9 | img/side/title_cat.jpg" width="166" height="35" alt="¾¦ÉÊ¥«¥Æ¥´¥ê¡¼"></td>
|
---|
10 | </tr>
|
---|
11 | <tr>
|
---|
12 | <td bgcolor="#cccccc"><img src="<?php echo @URL_DIR; ?> |
---|
13 | img/common/_.gif" width="1" height="10" alt=""></td>
|
---|
14 |
|
---|
15 | <td align="center" bgcolor="#fff1e3">
|
---|
16 | <table width="146" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
17 | <tr>
|
---|
18 | <td height="10"><img src="<?php echo @URL_DIR; ?> |
---|
19 | img/common/_.gif" width="15" height="1" alt=""></td>
|
---|
20 | <td><img src="<?php echo @URL_DIR; ?> |
---|
21 | img/common/_.gif" width="131" height="1" alt=""></td>
|
---|
22 | </tr>
|
---|
23 |
|
---|
24 | <?php unset($this->_sections['cnt']); |
---|
25 | $this->_sections['cnt']['name'] = 'cnt'; |
---|
26 | $this->_sections['cnt']['loop'] = is_array($_loop=$this->_tpl_vars['arrTree']) ? count($_loop) : max(0, (int)$_loop); unset($_loop); |
---|
27 | $this->_sections['cnt']['show'] = true; |
---|
28 | $this->_sections['cnt']['max'] = $this->_sections['cnt']['loop']; |
---|
29 | $this->_sections['cnt']['step'] = 1; |
---|
30 | $this->_sections['cnt']['start'] = $this->_sections['cnt']['step'] > 0 ? 0 : $this->_sections['cnt']['loop']-1; |
---|
31 | if ($this->_sections['cnt']['show']) { |
---|
32 | $this->_sections['cnt']['total'] = $this->_sections['cnt']['loop']; |
---|
33 | if ($this->_sections['cnt']['total'] == 0) |
---|
34 | $this->_sections['cnt']['show'] = false; |
---|
35 | } else |
---|
36 | $this->_sections['cnt']['total'] = 0; |
---|
37 | if ($this->_sections['cnt']['show']): |
---|
38 | |
---|
39 | for ($this->_sections['cnt']['index'] = $this->_sections['cnt']['start'], $this->_sections['cnt']['iteration'] = 1; |
---|
40 | $this->_sections['cnt']['iteration'] <= $this->_sections['cnt']['total']; |
---|
41 | $this->_sections['cnt']['index'] += $this->_sections['cnt']['step'], $this->_sections['cnt']['iteration']++): |
---|
42 | $this->_sections['cnt']['rownum'] = $this->_sections['cnt']['iteration']; |
---|
43 | $this->_sections['cnt']['index_prev'] = $this->_sections['cnt']['index'] - $this->_sections['cnt']['step']; |
---|
44 | $this->_sections['cnt']['index_next'] = $this->_sections['cnt']['index'] + $this->_sections['cnt']['step']; |
---|
45 | $this->_sections['cnt']['first'] = ($this->_sections['cnt']['iteration'] == 1); |
---|
46 | $this->_sections['cnt']['last'] = ($this->_sections['cnt']['iteration'] == $this->_sections['cnt']['total']); |
---|
47 | ?>
|
---|
48 | <?php $this->assign('level', ($this->_tpl_vars['arrTree'][$this->_sections['cnt']['index']]['level'])); ?>
|
---|
49 |
|
---|
50 |
|
---|
51 | <?php if ($this->_tpl_vars['level'] == 1 && ! $this->_sections['cnt']['first']): ?>
|
---|
52 | <tr><td colspan="2" height="15"><img src="<?php echo @URL_DIR; ?> |
---|
53 | img/side/line_146.gif" width="146" height="1" alt=""></td></tr>
|
---|
54 | <?php endif; ?>
|
---|
55 | <?php $this->assign('disp_name', ($this->_tpl_vars['arrTree'][$this->_sections['cnt']['index']]['category_name'])); ?>
|
---|
56 | <?php if ($this->_tpl_vars['arrTree'][$this->_sections['cnt']['index']]['display'] == 1): ?>
|
---|
57 | <tr>
|
---|
58 | <td colspan="2" class="fs12">
|
---|
59 | <?php if ($this->_tpl_vars['tpl_category_id'] == $this->_tpl_vars['arrTree'][$this->_sections['cnt']['index']]['category_id'] || $this->_tpl_vars['root_parent_id'] == $this->_tpl_vars['arrTree'][$this->_sections['cnt']['index']]['category_id']): ?>
|
---|
60 | <?php unset($this->_sections['n']); |
---|
61 | $this->_sections['n']['name'] = 'n'; |
---|
62 | $this->_sections['n']['loop'] = is_array($_loop=($this->_tpl_vars['level']-1)) ? count($_loop) : max(0, (int)$_loop); unset($_loop); |
---|
63 | $this->_sections['n']['show'] = true; |
---|
64 | $this->_sections['n']['max'] = $this->_sections['n']['loop']; |
---|
65 | $this->_sections['n']['step'] = 1; |
---|
66 | $this->_sections['n']['start'] = $this->_sections['n']['step'] > 0 ? 0 : $this->_sections['n']['loop']-1; |
---|
67 | if ($this->_sections['n']['show']) { |
---|
68 | $this->_sections['n']['total'] = $this->_sections['n']['loop']; |
---|
69 | if ($this->_sections['n']['total'] == 0) |
---|
70 | $this->_sections['n']['show'] = false; |
---|
71 | } else |
---|
72 | $this->_sections['n']['total'] = 0; |
---|
73 | if ($this->_sections['n']['show']): |
---|
74 | |
---|
75 | for ($this->_sections['n']['index'] = $this->_sections['n']['start'], $this->_sections['n']['iteration'] = 1; |
---|
76 | $this->_sections['n']['iteration'] <= $this->_sections['n']['total']; |
---|
77 | $this->_sections['n']['index'] += $this->_sections['n']['step'], $this->_sections['n']['iteration']++): |
---|
78 | $this->_sections['n']['rownum'] = $this->_sections['n']['iteration']; |
---|
79 | $this->_sections['n']['index_prev'] = $this->_sections['n']['index'] - $this->_sections['n']['step']; |
---|
80 | $this->_sections['n']['index_next'] = $this->_sections['n']['index'] + $this->_sections['n']['step']; |
---|
81 | $this->_sections['n']['first'] = ($this->_sections['n']['iteration'] == 1); |
---|
82 | $this->_sections['n']['last'] = ($this->_sections['n']['iteration'] == $this->_sections['n']['total']); |
---|
83 | ?> <?php endfor; endif; if ($this->_tpl_vars['level'] == 1): ?><img src="<?php echo @URL_DIR; ?> |
---|
84 | img/common/arrow_red.gif" width="11" height="14" alt=""><?php endif; ?>
|
---|
85 | <?php else: ?>
|
---|
86 | <?php unset($this->_sections['n']); |
---|
87 | $this->_sections['n']['name'] = 'n'; |
---|
88 | $this->_sections['n']['loop'] = is_array($_loop=($this->_tpl_vars['level']-1)) ? count($_loop) : max(0, (int)$_loop); unset($_loop); |
---|
89 | $this->_sections['n']['show'] = true; |
---|
90 | $this->_sections['n']['max'] = $this->_sections['n']['loop']; |
---|
91 | $this->_sections['n']['step'] = 1; |
---|
92 | $this->_sections['n']['start'] = $this->_sections['n']['step'] > 0 ? 0 : $this->_sections['n']['loop']-1; |
---|
93 | if ($this->_sections['n']['show']) { |
---|
94 | $this->_sections['n']['total'] = $this->_sections['n']['loop']; |
---|
95 | if ($this->_sections['n']['total'] == 0) |
---|
96 | $this->_sections['n']['show'] = false; |
---|
97 | } else |
---|
98 | $this->_sections['n']['total'] = 0; |
---|
99 | if ($this->_sections['n']['show']): |
---|
100 | |
---|
101 | for ($this->_sections['n']['index'] = $this->_sections['n']['start'], $this->_sections['n']['iteration'] = 1; |
---|
102 | $this->_sections['n']['iteration'] <= $this->_sections['n']['total']; |
---|
103 | $this->_sections['n']['index'] += $this->_sections['n']['step'], $this->_sections['n']['iteration']++): |
---|
104 | $this->_sections['n']['rownum'] = $this->_sections['n']['iteration']; |
---|
105 | $this->_sections['n']['index_prev'] = $this->_sections['n']['index'] - $this->_sections['n']['step']; |
---|
106 | $this->_sections['n']['index_next'] = $this->_sections['n']['index'] + $this->_sections['n']['step']; |
---|
107 | $this->_sections['n']['first'] = ($this->_sections['n']['iteration'] == 1); |
---|
108 | $this->_sections['n']['last'] = ($this->_sections['n']['iteration'] == $this->_sections['n']['total']); |
---|
109 | ?> <?php endfor; endif; if ($this->_tpl_vars['level'] == 1): ?><img src="<?php echo @URL_DIR; ?> |
---|
110 | img/common/arrow_blue.gif" width="11" height="14" alt=""><?php endif; ?>
|
---|
111 | <?php endif; ?>
|
---|
112 | <?php if ($this->_tpl_vars['tpl_category_id'] == $this->_tpl_vars['arrTree'][$this->_sections['cnt']['index']]['category_id']): ?>
|
---|
113 | <a href="<?php echo @URL_DIR; ?> |
---|
114 | products/list.php?category_id=<?php echo $this->_tpl_vars['arrTree'][$this->_sections['cnt']['index']]['category_id']; ?> |
---|
115 | "><span class="redst"><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['disp_name'])) ? $this->_run_mod_handler('sfCutString', true, $_tmp, 20) : sfCutString($_tmp, 20)))) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?> |
---|
116 | (<?php echo ((is_array($_tmp=@$this->_tpl_vars['arrTree'][$this->_sections['cnt']['index']]['product_count'])) ? $this->_run_mod_handler('default', true, $_tmp, 0) : smarty_modifier_default($_tmp, 0)); ?> |
---|
117 | )</span></a>
|
---|
118 | <?php else: ?>
|
---|
119 | <a href="<?php echo @URL_DIR; ?> |
---|
120 | products/list.php?category_id=<?php echo $this->_tpl_vars['arrTree'][$this->_sections['cnt']['index']]['category_id']; ?> |
---|
121 | "><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['disp_name'])) ? $this->_run_mod_handler('sfCutString', true, $_tmp, 20) : sfCutString($_tmp, 20)))) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?> |
---|
122 | (<?php echo ((is_array($_tmp=@$this->_tpl_vars['arrTree'][$this->_sections['cnt']['index']]['product_count'])) ? $this->_run_mod_handler('default', true, $_tmp, 0) : smarty_modifier_default($_tmp, 0)); ?> |
---|
123 | )</a>
|
---|
124 | <?php endif; ?>
|
---|
125 | </td>
|
---|
126 | </tr>
|
---|
127 | <?php endif; ?>
|
---|
128 | <?php endfor; endif; ?>
|
---|
129 | </table>
|
---|
130 | </td>
|
---|
131 | <td bgcolor="#cccccc"><img src="<?php echo @URL_DIR; ?> |
---|
132 | img/common/_.gif" width="1" height="10" alt=""></td>
|
---|
133 | </tr>
|
---|
134 | <tr>
|
---|
135 | <td colspan="3"><img src="<?php echo @URL_DIR; ?> |
---|
136 | img/side/flame_bottom02.gif" width="166" height="15" alt=""></td>
|
---|
137 | </tr>
|
---|
138 | <tr><td height="10"></td></tr>
|
---|
139 | </table>
|
---|
140 | <!--¢¥¾¦ÉÊ¥«¥Æ¥´¥ê¡¼¤³¤³¤Þ¤Ç-->
|
---|