- Timestamp:
- 2007/07/20 15:58:59 (17 years ago)
- Location:
- branches/feature-module-update
- Files:
-
- 1 edited
- 2 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/feature-module-update
-
Property
svn:ignore
set to
.cache
.settings
.projectOptions
-
Property
svn:ignore
set to
-
branches/feature-module-update/html/test/kakinaka/templates/script.tpl
r12157 r15078 6 6 <script type="text/javascript"> 7 7 <!-- 8 // ¥»¥ì¥¯¥È¥Ü¥Ã¥¯¥¹¤Ë¹àÌܤò³ä¤êÅö¤Æ¤ë¡£8 // セレクトボックスに項目を割り当てる。 9 9 function lnSetSelect(name1, name2, id, val) { 10 10 sele1 = document.form1[name1]; … … 16 16 index = sele1.selectedIndex; 17 17 18 // ¥»¥ì¥¯¥È¥Ü¥Ã¥¯¥¹¤Î¥¯¥ê¥¢18 // セレクトボックスのクリア 19 19 count = sele2.options.length; 20 20 for(i = count; i >= 0; i--) { … … 22 22 } 23 23 24 // ¥»¥ì¥¯¥È¥Ü¥Ã¥¯¥¹¤ËÃͤò³ä¤êÅö¤Æ¤ë24 // セレクトボックスに値を割り当てる 25 25 len = lists[index].length; 26 26 for(i = 0; i < len; i++) { … … 35 35 </script> 36 36 37 <!-- ¢§CONTENTS-->37 <!--▼CONTENTS--> 38 38 <table width="" cellspacing="0" cellpadding="0" summary=" "> 39 39 <tr> 40 40 <td bgcolor="#ffffff" align="left"> 41 <!-- ¢§MAIN CONTENTS-->41 <!--▼MAIN CONTENTS--> 42 42 <table cellspacing="0" cellpadding="0" summary=" " id="container"> 43 43 <tr valign="top"> … … 49 49 50 50 <td id="right"> 51 <!-- ¥¿¥¤¥È¥ë¤³¤³¤«¤é-->51 <!--タイトルここから--> 52 52 <table width="" border="0" cellspacing="0" cellpadding="0" summary=" "> 53 53 <tr><td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/products/title_top.gif" width="580" height="8" alt=""></td></tr> … … 57 57 <table width="546" border="0" cellspacing="0" cellpadding="0" summary=" "> 58 58 <tr valign="top"> 59 <td class="fs18"><span class="blackst"><!-- ¡ú¥¿¥¤¥È¥ë¡ú--><!--{$tpl_subtitle}--></span></td>59 <td class="fs18"><span class="blackst"><!--★タイトル★--><!--{$tpl_subtitle}--></span></td> 60 60 </tr> 61 61 </table> … … 66 66 <tr><td height="10"></td></tr> 67 67 </table> 68 <!-- ¥¿¥¤¥È¥ë¤³¤³¤Þ¤Ç-->69 70 <!-- ¸¡º÷¾ò·ï¤³¤³¤«¤é-->71 <!--{if $tpl_subtitle == " ¸¡º÷·ë²Ì"}-->68 <!--タイトルここまで--> 69 70 <!--検索条件ここから--> 71 <!--{if $tpl_subtitle == "検索結果"}--> 72 72 <table width="" border="0" cellspacing="0" cellpadding="0" summary=" "> 73 73 <tr><td><img src="<!--{$smarty.const.URL_DIR}-->img/products/flame_top.gif" width="580" height="8" alt=""></td></tr> … … 85 85 <tr><td height="10"></td></tr> 86 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>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 89 </tr> 90 90 <tr><td height="10"></td></tr> … … 100 100 </table> 101 101 <!--{/if}--> 102 <!-- ¸¡º÷¾ò·ï¤³¤³¤Þ¤Ç-->102 <!--検索条件ここまで--> 103 103 104 <!-- ·ï¿ô¤³¤³¤«¤é-->104 <!--件数ここから--> 105 105 <!--{if $tpl_linemax > 0}--> 106 106 <table width="" border="0" cellspacing="0" cellpadding="0" summary=" "> … … 110 110 <table width="560" border="0" cellspacing="0" cellpadding="0" summary=" "> 111 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>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 114 </tr> 115 115 </table> … … 119 119 <tr><td height="15"></td></tr> 120 120 </table> 121 <!-- ·ï¿ô¤³¤³¤Þ¤Ç-->121 <!--件数ここまで--> 122 122 <!--{else}--> 123 123 <!--{/if}--> … … 126 126 <!--{section name=cnt loop=$arrProducts}--> 127 127 <!--{assign var=id value=$arrProducts[cnt].product_id}--> 128 <!-- ¢§¾¦Éʤ³¤³¤«¤é-->128 <!--▼商品ここから--> 129 129 <tr valign="top"> 130 130 <td><a name="product<!--{$id}-->" id="product<!--{$id}-->"></a></td> 131 <td><!-- ¡ú²èÁü¡ú--><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}-->" width="130" height="130" alt="<!--{$arrProducts[cnt].name|escape}-->" /></a></div></td>131 <td><!--★画像★--><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}-->" width="130" height="130" alt="<!--{$arrProducts[cnt].name|escape}-->" /></a></div></td> 132 132 <td align="right"> 133 133 <table width="420" border="0" cellspacing="0" cellpadding="0" summary=" "> 134 <!-- ¥¢¥¤¥³¥ó-->134 <!--アイコン--> 135 135 <tr> 136 136 <td colspan="2"> 137 <!-- ¾¦ÉÊ¥¹¥Æ¡¼¥¿¥¹-->137 <!--商品ステータス--> 138 138 <!--{assign var=sts_cnt value=0}--> 139 139 <!--{section name=flg loop=$arrProducts[cnt].product_flag|count_characters}--> … … 143 143 <!--{/if}--> 144 144 <!--{/section}--> 145 <!-- ¾¦ÉÊ¥¹¥Æ¡¼¥¿¥¹-->146 </td> 147 </tr> 148 <!-- ¥¢¥¤¥³¥ó-->145 <!--商品ステータス--> 146 </td> 147 </tr> 148 <!--アイコン--> 149 149 <!--{if $sts_cnt > 0}--> 150 150 <tr><td height="8"></td></tr> … … 155 155 <tr><td height="5"></td></tr> 156 156 <tr> 157 <td class="fs14"><!-- ¡ú¾¦ÉÊ̾¡ú-->¡¡<a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrProducts[cnt].product_id}-->" class="over"><!--¾¦ÉÊ̾--><strong><!--{$arrProducts[cnt].name|escape}--></strong></a></td>157 <td class="fs14"><!--★商品名★--> <a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrProducts[cnt].product_id}-->" class="over"><!--商品名--><strong><!--{$arrProducts[cnt].name|escape}--></strong></a></td> 158 158 </tr> 159 159 <tr><td height="5"></td></tr> … … 164 164 <tr><td height="8"></td></tr> 165 165 <tr> 166 <td colspan="2" class="fs12"><!-- ¡ú¥³¥á¥ó¥È¡ú--><!--{$arrProducts[cnt].main_list_comment|escape|nl2br}--></td>166 <td colspan="2" class="fs12"><!--★コメント★--><!--{$arrProducts[cnt].main_list_comment|escape|nl2br}--></td> 167 167 </tr> 168 168 <tr><td height="8"></td></tr> 169 169 <tr> 170 170 <td> 171 <span class="red"><span class="fs12"> ²Á³Ê</span><span class="fs10">(Àǹþ)</span></span><span class="redst"><span class="fs12">¡§171 <span class="red"><span class="fs12">価格</span><span class="fs10">(税込)</span></span><span class="redst"><span class="fs12">: 172 172 <!--{if $arrProducts[cnt].price02_min == $arrProducts[cnt].price02_max}--> 173 173 <!--{$arrProducts[cnt].price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> 174 174 <!--{else}--> 175 <!--{$arrProducts[cnt].price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> ¡Á<!--{$arrProducts[cnt].price02_max|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->175 <!--{$arrProducts[cnt].price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->〜<!--{$arrProducts[cnt].price02_max|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> 176 176 <!--{/if}--> 177 ±ß</span></span>177 円</span></span> 178 178 </td> 179 179 <!--{assign var=name value="detail`$smarty.section.cnt.iteration`"}--> 180 <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>180 <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> 181 181 </tr> 182 182 <!--{if $arrProducts[cnt].stock_max == 0 && $arrProducts[cnt].stock_unlimited_max != 1}--> 183 183 <tr> 184 <td class="fs12"><span class="red"> ¿½¤·Ìõ¤´¤¶¤¤¤Þ¤»¤ó¤¬¡¢Âþº£ÉÊÀÚ¤ìÃæ¤Ç¤¹¡£</span></td>184 <td class="fs12"><span class="red">申し訳ございませんが、只今品切れ中です。</span></td> 185 185 </tr> 186 186 <!--{else}--> 187 <!-- ¢§Ç㤤ʪ¤«¤´-->187 <!--▼買い物かご--> 188 188 <tr><td height=5></td></tr> 189 189 <tr valign="top" align="right" id="price"> … … 196 196 <!--{assign var=class1 value=classcategory_id`$id`_1}--> 197 197 <!--{assign var=class2 value=classcategory_id`$id`_2}--> 198 <tr><td colspan="2" height="10" align="center" class="fs12"><span class="redst"><!--{if $arrErr[$class1] != ""}--> ¢¨ <!--{$tpl_class_name1[$id]}-->¤òÆþÎϤ·¤Æ²¼¤µ¤¤¡£<!--{/if}--></span></td></tr>198 <tr><td colspan="2" height="10" align="center" class="fs12"><span class="redst"><!--{if $arrErr[$class1] != ""}-->※ <!--{$tpl_class_name1[$id]}-->を入力して下さい。<!--{/if}--></span></td></tr> 199 199 <tr> 200 <td align="right" class="fs12st"><!--{$tpl_class_name1[$id]|escape}--> ¡§</td>200 <td align="right" class="fs12st"><!--{$tpl_class_name1[$id]|escape}-->: </td> 201 201 <td> 202 202 <select name="<!--{$class1}-->" style="<!--{$arrErr[$class1]|sfGetErrorColor}-->" onchange="lnSetSelect('<!--{$class1}-->', '<!--{$class2}-->', '<!--{$id}-->','');"> 203 <option value=""> ÁªÂò¤·¤Æ¤¯¤À¤µ¤¤</option>203 <option value="">選択してください</option> 204 204 <!--{html_options options=$arrClassCat1[$id] selected=$arrForm[$class1]}--> 205 205 </select> … … 208 208 <!--{/if}--> 209 209 <!--{if $tpl_classcat_find2[$id]}--> 210 <tr><td colspan="2" height="5" align="center" class="fs12"><span class="redst"><!--{if $arrErr[$class2] != ""}--> ¢¨ <!--{$tpl_class_name2[$id]}-->¤òÆþÎϤ·¤Æ²¼¤µ¤¤¡£<!--{/if}--></span></td></tr>210 <tr><td colspan="2" height="5" align="center" class="fs12"><span class="redst"><!--{if $arrErr[$class2] != ""}-->※ <!--{$tpl_class_name2[$id]}-->を入力して下さい。<!--{/if}--></span></td></tr> 211 211 <tr> 212 <td align="right" class="fs12st"><!--{$tpl_class_name2[$id]|escape}--> ¡§</td>212 <td align="right" class="fs12st"><!--{$tpl_class_name2[$id]|escape}-->: </td> 213 213 <td> 214 214 <select name="<!--{$class2}-->" style="<!--{$arrErr[$class2]|sfGetErrorColor}-->"> 215 <option value=""> ÁªÂò¤·¤Æ¤¯¤À¤µ¤¤</option>215 <option value="">選択してください</option> 216 216 </select> 217 217 </td> … … 221 221 <tr><td colspan="2" height="10" align="center" class="fs12"><span class="redst"><!--{$arrErr[$quantity]}--></span></td></tr> 222 222 <tr> 223 <td align="right" width="115" class="fs12st"> ¸Ä¿ô¡§223 <td align="right" width="115" class="fs12st">個数: 224 224 <!--{if $arrErr.quantity != ""}--><br/><span class="redst"><!--{$arrErr.quantity}--></span><!--{/if}--> 225 225 <input type="text" name="<!--{$quantity}-->" size="3" class="box3" value="<!--{$arrForm[$quantity]|default:1}-->" maxlength=<!--{$smarty.const.INT_LEN}--> style="<!--{$arrErr[$quantity]|sfGetErrorColor}-->" > 226 226 </td> 227 227 <td width="170" align="center"> 228 <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>228 <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> 229 229 </td> 230 230 </tr> … … 236 236 </td> 237 237 </tr> 238 <!-- ¢¥Ç㤤ʪ¤«¤´-->238 <!--▲買い物かご--> 239 239 <!--{/if}--> 240 240 </table> … … 245 245 </table> 246 246 247 <!-- ·ï¿ô¤³¤³¤«¤é-->247 <!--件数ここから--> 248 248 <!--{if $tpl_linemax > 0}--> 249 249 <table width="580" border="0" cellspacing="0" cellpadding="0" summary=" "> … … 253 253 <table width="560" border="0" cellspacing="0" cellpadding="0" summary=" "> 254 254 <tr> 255 <td class="fs12" align="left"><span class="redst"><!--{$tpl_linemax}--></span> ·ï¤Î¾¦Éʤ¬¤´¤¶¤¤¤Þ¤¹¡£<!--{$tpl_strnavi}--></td>256 <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>255 <td class="fs12" align="left"><span class="redst"><!--{$tpl_linemax}--></span>件の商品がございます。<!--{$tpl_strnavi}--></td> 256 <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> 257 257 </tr> 258 258 </table> … … 262 262 <tr><td height="15"></td></tr> 263 263 </table> 264 <!-- ·ï¿ô¤³¤³¤Þ¤Ç-->264 <!--件数ここまで--> 265 265 <!--{/if}--> 266 266 </form> 267 <!-- ¢¥RIGHT CONTENTS-->267 <!--▲RIGHT CONTENTS--> 268 268 </tr> 269 269 </table> 270 <!-- ¢¥MAIN CONTENTS-->270 <!--▲MAIN CONTENTS--> 271 271 </td> 272 272 </tr> 273 273 </table> 274 <!-- ¢¥CONTENTS-->274 <!--▲CONTENTS-->
Note: See TracChangeset
for help on using the changeset viewer.