source: branches/comu/html/install/user_data/templates/default1/templates/list.tpl @ 2

Revision 2, 14.0 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<script type="text/javascript">
7<!--
8// ¥»¥ì¥¯¥È¥Ü¥Ã¥¯¥¹¤Ë¹àÌܤò³ä¤êÅö¤Æ¤ë¡£
9function lnSetSelect(name1, name2, id, val) {
10    sele1 = document.form1[name1];
11    sele2 = document.form1[name2];
12    lists = eval('lists' + id);
13    vals = eval('vals' + id);
14   
15    if(sele1 && sele2) {
16        index = sele1.selectedIndex;
17       
18        // ¥»¥ì¥¯¥È¥Ü¥Ã¥¯¥¹¤Î¥¯¥ê¥¢
19        count = sele2.options.length;
20        for(i = count; i >= 0; i--) {
21            sele2.options[i] = null;
22        }
23       
24        // ¥»¥ì¥¯¥È¥Ü¥Ã¥¯¥¹¤ËÃͤò³ä¤êÅö¤Æ¤ë
25        len = lists[index].length;
26        for(i = 0; i < len; i++) {
27            sele2.options[i] = new Option(lists[index][i], vals[index][i]);
28            if(val != "" && vals[index][i] == val) {
29                sele2.options[i].selected = true;
30            }
31        }
32    }
33}
34//-->
35</script>
36
37<!--¢§CONTENTS-->
38<table width="" cellspacing="0" cellpadding="0" summary=" ">
39    <tr>
40        <td bgcolor="#ffffff" align="left">
41        <!--¢§MAIN CONTENTS-->
42        <table cellspacing="0" cellpadding="0" summary=" " id="container">
43            <tr valign="top">
44                <form name="form1" id="form1" method="post" action="<!--{$smarty.server.REQUEST_URI|escape}-->">
45                <input type="hidden" name="pageno" value="<!--{$tpl_pageno}-->">
46                <input type="hidden" name="mode" value="">
47                <input type="hidden" name="orderby" value="<!--{$orderby}-->">
48                <input type="hidden" name="product_id" value="">
49
50                <td id="right">
51                <!--¥¿¥¤¥È¥ë¤³¤³¤«¤é-->
52                <table width="" border="0" cellspacing="0" cellpadding="0" summary=" ">
53                    <tr><td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/products/title_top.gif" width="580" height="8" alt=""></td></tr>
54                    <tr bgcolor="#ffebca">
55                        <td><img src="<!--{$smarty.const.URL_DIR}-->img/products/title_icon.gif" width="29" height="24" alt=""></td>
56                        <td>
57                        <table width="546" border="0" cellspacing="0" cellpadding="0" summary=" ">
58                            <tr valign="top">
59                                <td class="fs18"><span class="blackst"><!--¡ú¥¿¥¤¥È¥ë¡ú--><!--{$tpl_subtitle}--></span></td>
60                            </tr>
61                        </table>
62                        </td>
63                        <td><img src="<!--{$smarty.const.URL_DIR}-->img/products/title_left.gif" width="5" height="24" alt=""></td>
64                    </tr>
65                    <tr><td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/products/title_under.gif" width="580" height="8" alt=""></td></tr>
66                    <tr><td height="10"></td></tr>
67                </table>
68                <!--¥¿¥¤¥È¥ë¤³¤³¤Þ¤Ç-->
69
70                <!--¸¡º÷¾ò·ï¤³¤³¤«¤é-->
71                <!--{if $tpl_subtitle == "¸¡º÷·ë²Ì"}-->
72                <table width="" border="0" cellspacing="0" cellpadding="0" summary=" ">
73                    <tr><td><img src="<!--{$smarty.const.URL_DIR}-->img/products/flame_top.gif" width="580" height="8" alt=""></td></tr>
74                    <tr>
75                        <td align="center" bgcolor="#f3f3f3">
76                        <table width="" border="0" cellspacing="0" cellpadding="0" summary=" ">
77                            <tr bgcolor="#9e9e9e">
78                                <td rowspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>
79                                <td bgcolor="#9e9e9e"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="558" height="1" alt=""></td>
80                                <td rowspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>
81                            </tr>
82                            <tr>
83                                <td align="center" bgcolor="#ffffff">
84                                <table width="540" border="0" cellspacing="0" cellpadding="0" summary=" ">
85                                    <tr><td height="10"></td></tr>
86                                    <tr>
87                                        <td class="fs12"><!--¡ú¸¡º÷·ë²Ì¡ú--><span class="blackst">¾¦ÉÊ¥«¥Æ¥´¥ê¡§</span><span class="black"><!--{$arrSearch.category|escape}--></span><br>
88                                        <span class="blackst">¾¦ÉÊ̾¡§</span><span class="black"><!--{$arrSearch.name|escape}--></span>
89                                    </tr>
90                                    <tr><td height="10"></td></tr>
91                                </table>
92                                </td>
93                            </tr>
94                            <tr><td bgcolor="#9e9e9e"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="558" height="1" alt=""></td></tr>
95                        </table>
96                        </td>
97                    </tr>
98                    <tr><td><img src="<!--{$smarty.const.URL_DIR}-->img/products/flame_top.gif" width="580" height="8" alt=""></td></tr>
99                    <tr><td height="15"></td></tr>
100                </table>
101                <!--{/if}-->
102                <!--¸¡º÷¾ò·ï¤³¤³¤Þ¤Ç-->
103               
104                <!--·ï¿ô¤³¤³¤«¤é-->
105                <!--{if $tpl_linemax > 0}-->
106                <table width="" border="0" cellspacing="0" cellpadding="0" summary=" ">
107                    <tr><td><img src="<!--{$smarty.const.URL_DIR}-->img/products/flame_top.gif" width="580" height="8" alt=""></td></tr>
108                    <tr>
109                        <td align="center" bgcolor="#f3f3f3">
110                        <table width="560" border="0" cellspacing="0" cellpadding="0" summary=" ">
111                            <tr>
112                                <td class="fs12" align="left"><span class="redst"><!--{$tpl_linemax}--></span>·ï¤Î¾¦Éʤ¬¤´¤¶¤¤¤Þ¤¹¡£<!--{$tpl_strnavi}--></td>
113                                <td class="fs12" align="right"><!--{if $orderby != 'price'}--><a href="#" onclick="fnModeSubmit('', 'orderby', 'price')">²Á³Ê½ç</a><!--{else}--><strong>²Á³Ê½ç</strong><!--{/if}-->¡¡<!--{if $orderby != "date"}--><a href="#" onclick="fnModeSubmit('', 'orderby', 'date')">¿·Ãå½ç</a><!--{else}--><strong>¿·Ãå½ç</strong><!--{/if}--></td>
114                            </tr>
115                        </table>
116                        </td>
117                    </tr>
118                    <tr><td><img src="<!--{$smarty.const.URL_DIR}-->img/products/flame_top.gif" width="580" height="8" alt=""></td></tr>
119                    <tr><td height="15"></td></tr>
120                </table>
121                <!--·ï¿ô¤³¤³¤Þ¤Ç-->
122                <!--{else}-->
123                <!--{include file="frontparts/search_zero.tpl"}-->
124                <!--{/if}-->
125
126                <table width="580" cellspacing="0" cellpadding="0" summary=" " id="contents">
127                <!--{section name=cnt loop=$arrProducts}-->
128                <!--{assign var=id value=$arrProducts[cnt].product_id}-->
129                <!--¢§¾¦Éʤ³¤³¤«¤é-->
130                <tr valign="top">
131                    <td><a name="product<!--{$id}-->" id="product<!--{$id}-->"></a></td>
132                    <td align="center" valign="middle"><!--¡ú²èÁü¡ú--><div id="picture"><a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrProducts[cnt].product_id}-->"><!--¾¦Éʼ̿¿--><img src="<!--{$smarty.const.IMAGE_SAVE_URL|sfTrimURL}-->/<!--{$arrProducts[cnt].main_list_image}-->" alt="<!--{$arrProducts[cnt].name|escape}-->" /></a></div></td>
133                    <td align="right">
134                        <table width="420" border="0" cellspacing="0" cellpadding="0" summary=" ">
135                            <!--¥¢¥¤¥³¥ó-->
136                            <tr>
137                                <td colspan="2">
138                                <!--¾¦ÉÊ¥¹¥Æ¡¼¥¿¥¹-->
139                                <!--{assign var=sts_cnt value=0}-->
140                                <!--{section name=flg loop=$arrProducts[cnt].product_flag|count_characters}-->
141                                    <!--{if $arrProducts[cnt].product_flag[flg] == "1"}-->
142                                        <!--{assign var=key value="`$smarty.section.flg.iteration`"}--><img src="<!--{$arrSTATUS_IMAGE[$key]}-->" width="65" height="17" alt="<!--{$arrSTATUS[$key]}-->"/>
143                                        <!--{assign var=sts_cnt value=$sts_cnt+1}-->
144                                    <!--{/if}-->
145                                <!--{/section}-->
146                                <!--¾¦ÉÊ¥¹¥Æ¡¼¥¿¥¹-->
147                                </td>
148                            </tr>
149                            <!--¥¢¥¤¥³¥ó-->
150                            <!--{if $sts_cnt > 0}-->
151                            <tr><td height="8"></td></tr>
152                            <!--{/if}-->
153                            <tr>
154                                <td colspan="2" align="center" bgcolor="#f9f9ec">
155                                <table width="440" border="0" cellspacing="0" cellpadding="0" summary=" ">
156                                    <tr><td height="5"></td></tr>
157                                    <tr>
158                                        <td class="fs14"><!--¡ú¾¦ÉÊ̾¡ú-->¡¡<a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrProducts[cnt].product_id}-->" class="over"><!--¾¦ÉÊ̾--><strong><!--{$arrProducts[cnt].name|escape}--></strong></a></td>
159                                    </tr>
160                                    <tr><td height="5"></td></tr>
161                                </table>
162                                </td>
163                            </tr>
164                            <tr><td colspan="2" bgcolor="#ebebd6"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="2" alt=""></td></tr>
165                            <tr><td height="8"></td></tr>
166                            <tr>
167                                <td colspan="2" class="fs12"><!--¡ú¥³¥á¥ó¥È¡ú--><!--{$arrProducts[cnt].main_list_comment|escape|nl2br}--></td>
168                            </tr>
169                            <tr><td height="8"></td></tr>
170                            <tr>
171                                <td>
172                                    <span class="red"><span class="fs12">²Á³Ê</span><span class="fs10">(Àǹþ)</span></span><span class="redst"><span class="fs12">¡§
173                                    <!--{if $arrProducts[cnt].price02_min == $arrProducts[cnt].price02_max}-->
174                                        <!--{$arrProducts[cnt].price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->
175                                    <!--{else}-->
176                                        <!--{$arrProducts[cnt].price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->¡Á<!--{$arrProducts[cnt].price02_max|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->
177                                    <!--{/if}-->
178                                    ±ß</span></span>
179                                </td>
180                                <!--{assign var=name value="detail`$smarty.section.cnt.iteration`"}-->
181                                <td align="right"><a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrProducts[cnt].product_id}-->" onmouseover="chgImg('<!--{$smarty.const.URL_DIR}-->img/products/b_detail_on.gif','<!--{$name}-->');" onmouseout="chgImg('<!--{$smarty.const.URL_DIR}-->img/products/b_detail.gif','<!--{$name}-->');"><img src="<!--{$smarty.const.URL_DIR}-->img/products/b_detail.gif" width="115" height="25" alt="¾Ü¤·¤¯¤Ï¤³¤Á¤é" name="<!--{$name}-->" id="<!--{$name}-->" /></a></td>
182                            </tr>
183                            <!--{if $arrProducts[cnt].stock_max == 0 && $arrProducts[cnt].stock_unlimited_max != 1}-->
184                                <tr>
185                                    <td class="fs12"><span class="red">¿½¤·Ìõ¤´¤¶¤¤¤Þ¤»¤ó¤¬¡¢Âþº£ÉÊÀÚ¤ìÃæ¤Ç¤¹¡£</span></td>
186                                </tr>
187                            <!--{else}-->
188                                <!--¢§Ç㤤ʪ¤«¤´-->
189                                <tr><td height=5></td></tr>
190                                <tr valign="top" align="right" id="price">
191                                    <td id="right" colspan=2>
192                                        <table cellspacing="0" cellpadding="0" summary=" " id="price">
193                                            <tr>
194                                                <td align="center">
195                                                <table width="285" cellspacing="0" cellpadding="0" summary=" ">
196                                                    <!--{if $tpl_classcat_find1[$id]}-->
197                                                    <!--{assign var=class1 value=classcategory_id`$id`_1}-->
198                                                    <!--{assign var=class2 value=classcategory_id`$id`_2}-->
199                                                    <tr><td colspan="2" height="10" align="center" class="fs12"><span class="redst"><!--{if $arrErr[$class1] != ""}-->¢¨ <!--{$tpl_class_name1[$id]}-->¤òÆþÎϤ·¤Æ²¼¤µ¤¤¡£<!--{/if}--></span></td></tr>
200                                                    <tr>
201                                                        <td align="right" class="fs12st"><!--{$tpl_class_name1[$id]|escape}-->¡§ </td>
202                                                        <td>
203                                                            <select name="<!--{$class1}-->" style="<!--{$arrErr[$class1]|sfGetErrorColor}-->" onchange="lnSetSelect('<!--{$class1}-->', '<!--{$class2}-->', '<!--{$id}-->','');">
204                                                            <option value="">ÁªÂò¤·¤Æ¤¯¤À¤µ¤¤</option>
205                                                            <!--{html_options options=$arrClassCat1[$id] selected=$arrForm[$class1]}-->
206                                                            </select>
207                                                        </td>
208                                                    </tr>
209                                                    <!--{/if}-->
210                                                    <!--{if $tpl_classcat_find2[$id]}-->
211                                                    <tr><td colspan="2" height="5" align="center" class="fs12"><span class="redst"><!--{if $arrErr[$class2] != ""}-->¢¨ <!--{$tpl_class_name2[$id]}-->¤òÆþÎϤ·¤Æ²¼¤µ¤¤¡£<!--{/if}--></span></td></tr>
212                                                    <tr>
213                                                        <td align="right" class="fs12st"><!--{$tpl_class_name2[$id]|escape}-->¡§ </td>
214                                                        <td>
215                                                            <select name="<!--{$class2}-->" style="<!--{$arrErr[$class2]|sfGetErrorColor}-->">
216                                                            <option value="">ÁªÂò¤·¤Æ¤¯¤À¤µ¤¤</option>
217                                                            </select>
218                                                        </td>
219                                                    </tr>
220                                                    <!--{/if}-->
221                                                    <!--{assign var=quantity value=quantity`$id`}-->       
222                                                    <tr><td colspan="2" height="10" align="center" class="fs12"><span class="redst"><!--{$arrErr[$quantity]}--></span></td></tr>
223                                                    <tr>
224                                                        <td align="right" width="115" class="fs12st">¸Ä¿ô¡§
225                                                            <!--{if $arrErr.quantity != ""}--><br/><span class="redst"><!--{$arrErr.quantity}--></span><!--{/if}-->
226                                                            <input type="text" name="<!--{$quantity}-->" size="3" class="box3" value="<!--{$arrForm[$quantity]|default:1}-->" maxlength=<!--{$smarty.const.INT_LEN}--> style="<!--{$arrErr[$quantity]|sfGetErrorColor}-->" >
227                                                        </td>
228                                                        <td width="170" align="center">
229                                                            <a href="" onclick="fnChangeAction('<!--{$smarty.server.REQUEST_URI|escape}-->#product<!--{$id}-->'); fnModeSubmit('cart','product_id','<!--{$id}-->'); return false;" onmouseover="chgImg('<!--{$smarty.const.URL_DIR}-->img/products/b_cartin_on.gif','cart<!--{$id}-->');" onmouseout="chgImg('<!--{$smarty.const.URL_DIR}-->img/products/b_cartin.gif','cart<!--{$id}-->');"><img src="<!--{$smarty.const.URL_DIR}-->img/products/b_cartin.gif" width="115" height="25" alt="¥«¥´¤ËÆþ¤ì¤ë" name="cart<!--{$id}-->" id="cart<!--{$id}-->" /></a>
230                                                        </td>
231                                                    </tr>
232                                                    <tr><td height="10"></td></tr>
233                                                </table>
234                                                </td>
235                                            </tr>
236                                        </table>
237                                    </td>
238                                </tr>
239                                <!--¢¥Ç㤤ʪ¤«¤´-->
240                            <!--{/if}-->                   
241                        </table>
242                    </td>
243                </tr>
244                <tr><td colspan=3 height="40"><img src="<!--{$smarty.const.URL_DIR}-->img/common/line_580.gif" width="580" height="1" alt=""></td></tr>
245                <!--{/section}-->
246                </table>
247
248                <!--·ï¿ô¤³¤³¤«¤é-->
249                <!--{if $tpl_linemax > 0}-->
250                <table width="580" border="0" cellspacing="0" cellpadding="0" summary=" ">
251                    <tr><td><img src="<!--{$smarty.const.URL_DIR}-->img/products/flame_top.gif" width="580" height="8" alt=""></td></tr>
252                    <tr>
253                        <td align="center" bgcolor="#f3f3f3">
254                        <table width="560" border="0" cellspacing="0" cellpadding="0" summary=" ">
255                            <tr>
256                                <td class="fs12" align="left"><span class="redst"><!--{$tpl_linemax}--></span>·ï¤Î¾¦Éʤ¬¤´¤¶¤¤¤Þ¤¹¡£<!--{$tpl_strnavi}--></td>
257                                <td class="fs12" align="right"><!--{if $orderby != 'price'}--><a href="#" onclick="fnModeSubmit('', 'orderby', 'price')">²Á³Ê½ç</a><!--{else}--><strong>²Á³Ê½ç</strong><!--{/if}-->¡¡<!--{if $orderby != "date"}--><a href="#" onclick="fnModeSubmit('', 'orderby', 'date')">¿·Ãå½ç</a><!--{else}--><strong>¿·Ãå½ç</strong><!--{/if}--> </td>
258                            </tr>
259                        </table>
260                        </td>
261                    </tr>
262                    <tr><td><img src="<!--{$smarty.const.URL_DIR}-->img/products/flame_top.gif" width="580" height="8" alt=""></td></tr>
263                    <tr><td height="15"></td></tr>
264                </table>
265                <!--·ï¿ô¤³¤³¤Þ¤Ç-->
266                <!--{/if}-->
267                </form>
268                <!--¢¥RIGHT CONTENTS-->
269            </tr>
270        </table>
271        <!--¢¥MAIN CONTENTS-->
272        </td>
273    </tr>
274</table>
275<!--¢¥CONTENTS-->
Note: See TracBrowser for help on using the repository browser.