source: branches/comu/html/user_data/include/bloc/category.tpl @ 2

Revision 2, 2.9 KB checked in by root, 17 years ago (diff)

new import

Line 
1<!--{*
2 * Copyright(c) 2000-2006 LOCKON CO.,LTD. All Rights Reserved.
3 *
4 * http://www.lockon.co.jp/
5 *}-->
6<!--¢§¾¦ÉÊ¥«¥Æ¥´¥ê¡¼¤³¤³¤«¤é-->
7<table width="166" border="0" cellspacing="0" cellpadding="0" summary=" ">
8    <tr>
9        <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/side/title_cat.jpg" width="166" height="35" alt="¾¦ÉÊ¥«¥Æ¥´¥ê¡¼"></td>
10    </tr>
11    <tr>
12        <td bgcolor="#cccccc"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>
13
14        <td align="center" bgcolor="#fff1e3">
15            <table width="146" border="0" cellspacing="0" cellpadding="0" summary=" ">
16                <tr>
17                    <td height="10"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="15" height="1" alt=""></td>
18                    <td><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="131" height="1" alt=""></td>
19                </tr>
20               
21                <!--{section name=cnt loop=$arrTree}-->
22                <!--{assign var=level value="`$arrTree[cnt].level`}-->
23               
24                <!--{* ¶èÀÚ¤êÀþɽ¼¨ *}-->               
25                <!--{if $level == 1 && !$smarty.section.cnt.first}-->
26                <tr><td colspan="2" height="15"><img src="<!--{$smarty.const.URL_DIR}-->img/side/line_146.gif" width="146" height="1" alt=""></td></tr>
27                <!--{/if}-->
28                <!--{* ¥«¥Æ¥´¥ê̾ɽ¼¨ *}-->
29                <!--{assign var=disp_name value="`$arrTree[cnt].category_name`"}-->
30                <!--{if $arrTree[cnt].display == 1}-->
31                <tr>
32                    <td colspan="2" class="fs12">
33                        <!--{if $tpl_category_id == $arrTree[cnt].category_id || $root_parent_id == $arrTree[cnt].category_id}-->
34                            <!--{section name=n loop=`$level-1`}-->&nbsp;&nbsp;<!--{/section}--><!--{if $level == 1}--><img src="<!--{$smarty.const.URL_DIR}-->img/common/arrow_red.gif" width="11" height="14" alt=""><!--{/if}-->
35                        <!--{else}-->
36                            <!--{section name=n loop=`$level-1`}-->&nbsp;&nbsp;<!--{/section}--><!--{if $level == 1}--><img src="<!--{$smarty.const.URL_DIR}-->img/common/arrow_blue.gif" width="11" height="14" alt=""><!--{/if}-->
37                        <!--{/if}-->
38                        <!--{if $tpl_category_id == $arrTree[cnt].category_id }-->
39                            <a href="<!--{$smarty.const.URL_DIR}-->products/list.php?category_id=<!--{$arrTree[cnt].category_id}-->"><span class="redst"><!--{$disp_name|sfCutString:20|escape}-->(<!--{$arrTree[cnt].product_count|default:0}-->)</span></a>                       
40                        <!--{else}-->                           
41                            <a href="<!--{$smarty.const.URL_DIR}-->products/list.php?category_id=<!--{$arrTree[cnt].category_id}-->"><!--{$disp_name|sfCutString:20|escape}-->(<!--{$arrTree[cnt].product_count|default:0}-->)</a>
42                        <!--{/if}-->
43                    </td>
44                </tr>
45                <!--{/if}-->
46                <!--{/section}-->
47            </table>
48        </td>
49        <td bgcolor="#cccccc"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>
50    </tr>
51    <tr>
52        <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/side/flame_bottom02.gif" width="166" height="15" alt=""></td>
53    </tr>
54    <tr><td height="10"></td></tr>
55</table>
56<!--¢¥¾¦ÉÊ¥«¥Æ¥´¥ê¡¼¤³¤³¤Þ¤Ç-->
Note: See TracBrowser for help on using the repository browser.