| 1 | <!--{* |
---|
| 2 | * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved. |
---|
| 3 | * |
---|
| 4 | * http://www.lockon.co.jp/ |
---|
| 5 | *}--> |
---|
| 6 | <script type="text/javascript"> |
---|
| 7 | <!-- |
---|
| 8 | // セレクトボックスに項目を割り当てる。 |
---|
| 9 | function 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 | <div id="undercolumn"> |
---|
| 39 | <form name="form1" id="form1" method="post" action="<!--{$smarty.server.REQUEST_URI|escape}-->"> |
---|
| 40 | <input type="hidden" name="pageno" value="<!--{$tpl_pageno}-->" /> |
---|
| 41 | <input type="hidden" name="mode" value="" /> |
---|
| 42 | <input type="hidden" name="orderby" value="<!--{$orderby}-->" /> |
---|
| 43 | <input type="hidden" name="product_id" value="" /> |
---|
| 44 | <div id="listtitle"><h2><!--★タイトル★--><!--{$tpl_subtitle}--></h2></div> |
---|
| 45 | <!--検索条件ここから--> |
---|
| 46 | <!--{if $tpl_subtitle == "検索結果"}--> |
---|
| 47 | <ul class="pagecondarea"> |
---|
| 48 | <li><strong>商品カテゴリ:</strong><!--{$arrSearch.category|escape}--></li> |
---|
| 49 | <li><strong>商品名:</strong><!--{$arrSearch.name|escape}--></li> |
---|
| 50 | </ul> |
---|
| 51 | <!--{/if}--> |
---|
| 52 | <!--検索条件ここまで--> |
---|
| 53 | |
---|
| 54 | <!--件数ここから--> |
---|
| 55 | <!--{if $tpl_linemax > 0}--> |
---|
| 56 | <ul class="pagenumberarea"> |
---|
| 57 | <li class="left"><span class="pagenumber"><!--{$tpl_linemax}--></span>件の商品がございます。</li> |
---|
| 58 | <li class="center"><!--{$tpl_strnavi}--></li> |
---|
| 59 | <li class="right"><!--{if $orderby != 'price'}--> |
---|
| 60 | <a href="javascript:fnModeSubmit('', 'orderby', 'price')">価格順</a> |
---|
| 61 | <!--{else}--> |
---|
| 62 | <strong>価格順</strong> |
---|
| 63 | <!--{/if}--> |
---|
| 64 | <!--{if $orderby != "date"}--> |
---|
| 65 | <a href="javascript:fnModeSubmit('', 'orderby', 'date')">新着順</a> |
---|
| 66 | <!--{else}--> |
---|
| 67 | <strong>新着順</strong> |
---|
| 68 | <!--{/if}--> |
---|
| 69 | </li> |
---|
| 70 | </ul><!--件数ここまで--> |
---|
| 71 | <!--{else}--> |
---|
| 72 | <!--{include file="frontparts/search_zero.tpl"}--> |
---|
| 73 | <!--{/if}--> |
---|
| 74 | |
---|
| 75 | <!--{section name=cnt loop=$arrProducts}--> |
---|
| 76 | <!--{assign var=id value=$arrProducts[cnt].product_id}--> |
---|
| 77 | <!--▼商品ここから--> |
---|
| 78 | <div class="listarea"> |
---|
| 79 | <div class="listphoto"> |
---|
| 80 | <!--★画像★--> |
---|
| 81 | <a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrProducts[cnt].product_id}-->" class="over"><!--商品写真--><img src="<!--{$smarty.const.IMAGE_SAVE_URL|sfTrimURL}-->/<!--{$arrProducts[cnt].main_list_image}-->" alt="<!--{$arrProducts[cnt].name|escape}-->" class="picture" /></a> |
---|
| 82 | </div> |
---|
| 83 | <div class="listrightblock"> |
---|
| 84 | <!--アイコン--> |
---|
| 85 | <!--商品ステータス--> |
---|
| 86 | <!--{if count($arrProducts[cnt].product_flag) > 0}--> |
---|
| 87 | <ul> |
---|
| 88 | <!--{section name=flg loop=$arrProducts[cnt].product_flag|count_characters}--> |
---|
| 89 | <!--{if $arrProducts[cnt].product_flag[flg] == "1"}--> |
---|
| 90 | <!--{assign var=key value="`$smarty.section.flg.iteration`"}--> |
---|
| 91 | <li><img src="<!--{$TPL_DIR}--><!--{$arrSTATUS_IMAGE[$key]}-->" width="65" height="17" alt="<!--{$arrSTATUS[$key]}-->"/></li> |
---|
| 92 | <!--{assign var=sts_cnt value=$sts_cnt+1}--> |
---|
| 93 | <!--{/if}--> |
---|
| 94 | <!--{/section}--> |
---|
| 95 | </ul> |
---|
| 96 | <!--{/if}--> |
---|
| 97 | <!--商品ステータス--> |
---|
| 98 | <!--アイコン--> |
---|
| 99 | <!--★商品名★--> |
---|
| 100 | <h3> |
---|
| 101 | <a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrProducts[cnt].product_id}-->"><!--{$arrProducts[cnt].name|escape}--></a> |
---|
| 102 | </h3> |
---|
| 103 | <p class="listcomment"><!--★コメント★--><!--{$arrProducts[cnt].main_list_comment|escape|nl2br}--></p> |
---|
| 104 | <p> |
---|
| 105 | <span class="pricebox">価格<span class="mini">(税込)</span>: |
---|
| 106 | <span class="price"> |
---|
| 107 | <!--{if $arrProducts[cnt].price02_min == $arrProducts[cnt].price02_max}--> |
---|
| 108 | <!--{$arrProducts[cnt].price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> |
---|
| 109 | <!--{else}--> |
---|
| 110 | <!--{$arrProducts[cnt].price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->〜<!--{$arrProducts[cnt].price02_max|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> |
---|
| 111 | <!--{/if}-->円</span></span> |
---|
| 112 | <span class="btnbox"><!--★詳細ボタン★--> |
---|
| 113 | <!--{assign var=name value="detail`$smarty.section.cnt.iteration`"}--> |
---|
| 114 | <a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrProducts[cnt].product_id}-->" onmouseover="chgImg('<!--{$TPL_DIR}-->img/products/b_detail_on.gif','<!--{$name}-->');" onmouseout="chgImg('<!--{$TPL_DIR}-->img/products/b_detail.gif','<!--{$name}-->');"> |
---|
| 115 | <img src="<!--{$TPL_DIR}-->img/products/b_detail.gif" width="115" height="25" alt="詳しくはこちら" name="<!--{$name}-->" id="<!--{$name}-->" /> |
---|
| 116 | </a> |
---|
| 117 | </span> |
---|
| 118 | </p> |
---|
| 119 | |
---|
| 120 | <!--{if $arrProducts[cnt].stock_max == 0 && $arrProducts[cnt].stock_unlimited_max != 1}--> |
---|
| 121 | <p>申し訳ございませんが、只今品切れ中です。</p> |
---|
| 122 | <!--{else}--> |
---|
| 123 | <!--▼買い物かご--> |
---|
| 124 | <!--{if $tpl_classcat_find1[$id]}--> |
---|
| 125 | <!--{assign var=class1 value=classcategory_id`$id`_1}--> |
---|
| 126 | <!--{assign var=class2 value=classcategory_id`$id`_2}--> |
---|
| 127 | <!--{if $arrErr[$class1] != ""}--> |
---|
| 128 | ※ <!--{$tpl_class_name1[$id]}-->を入力して下さい。 |
---|
| 129 | <!--{/if}--> |
---|
| 130 | <!--{$tpl_class_name1[$id]|escape}-->: |
---|
| 131 | <select name="<!--{$class1}-->" style="<!--{$arrErr[$class1]|sfGetErrorColor}-->" onchange="lnSetSelect('<!--{$class1}-->', '<!--{$class2}-->', '<!--{$id}-->','');"> |
---|
| 132 | <option value="">選択してください</option> |
---|
| 133 | <!--{html_options options=$arrClassCat1[$id] selected=$arrForm[$class1]}--> |
---|
| 134 | </select> |
---|
| 135 | <!--{/if}--> |
---|
| 136 | <!--{if $tpl_classcat_find2[$id]}--> |
---|
| 137 | <!--{if $arrErr[$class2] != ""}--> |
---|
| 138 | ※ <!--{$tpl_class_name2[$id]}-->を入力して下さい。 |
---|
| 139 | <!--{/if}--> |
---|
| 140 | <!--{$tpl_class_name2[$id]|escape}-->: |
---|
| 141 | <select name="<!--{$class2}-->" style="<!--{$arrErr[$class2]|sfGetErrorColor}-->"> |
---|
| 142 | <option value="">選択してください</option> |
---|
| 143 | </select> |
---|
| 144 | <!--{/if}--> |
---|
| 145 | |
---|
| 146 | <!--{assign var=quantity value=quantity`$id`}--> |
---|
| 147 | <!--{$arrErr[$quantity]}--> |
---|
| 148 | 個数: |
---|
| 149 | <!--{if $arrErr.quantity != ""}--><br /><!--{$arrErr.quantity}--><!--{/if}--> |
---|
| 150 | <input type="text" name="<!--{$quantity}-->" size="3" class="box3" value="<!--{$arrForm[$quantity]|default:1}-->" maxlength=<!--{$smarty.const.INT_LEN}--> style="<!--{$arrErr[$quantity]|sfGetErrorColor}-->" /> |
---|
| 151 | <a href="" onclick="fnChangeAction('<!--{$smarty.server.REQUEST_URI|escape}-->#product<!--{$id}-->'); fnModeSubmit('cart','product_id','<!--{$id}-->'); return false;" onmouseover="chgImg('<!--{$TPL_DIR}-->img/products/b_cartin_on.gif','cart<!--{$id}-->');" onmouseout="chgImg('<!--{$TPL_DIR}-->img/products/b_cartin.gif','cart<!--{$id}-->');"> |
---|
| 152 | <img src="<!--{$TPL_DIR}-->img/products/b_cartin.gif" width="115" height="25" alt="カゴに入れる" name="cart<!--{$id}-->" id="cart<!--{$id}-->" /> |
---|
| 153 | </a> |
---|
| 154 | <!--▲買い物かご--> |
---|
| 155 | <!--{/if}--> |
---|
| 156 | </div> |
---|
| 157 | </div> |
---|
| 158 | <!--{/section}--> |
---|
| 159 | |
---|
| 160 | <!--件数ここから--> |
---|
| 161 | <!--{if $tpl_linemax > 0}--> |
---|
| 162 | <ul class="pagenumberarea"> |
---|
| 163 | <li class="left"><span class="pagenumber"><!--{$tpl_linemax}--></span>件の商品がございます。</li> |
---|
| 164 | <li class="center"><!--{$tpl_strnavi}--></li> |
---|
| 165 | <li class="right"><!--{if $orderby != 'price'}--> |
---|
| 166 | <a href="javascript:fnModeSubmit('', 'orderby', 'price')">価格順</a> |
---|
| 167 | <!--{else}--> |
---|
| 168 | <strong>価格順</strong> |
---|
| 169 | <!--{/if}--> |
---|
| 170 | <!--{if $orderby != "date"}--> |
---|
| 171 | <a href="javascript:fnModeSubmit('', 'orderby', 'date')">新着順</a> |
---|
| 172 | <!--{else}--> |
---|
| 173 | <strong>新着順</strong> |
---|
| 174 | <!--{/if}--> |
---|
| 175 | </li> |
---|
| 176 | </ul><!--件数ここまで--> |
---|
| 177 | <!--{/if}--> |
---|
| 178 | </form> |
---|
| 179 | </div> |
---|
| 180 | <!--▲CONTENTS--> |
---|