| 1 | <!--{* |
---|
| 2 | /* |
---|
| 3 | * This file is part of EC-CUBE |
---|
| 4 | * |
---|
| 5 | * Copyright(c) 2000-2013 LOCKON CO.,LTD. All Rights Reserved. |
---|
| 6 | * |
---|
| 7 | * http://www.lockon.co.jp/ |
---|
| 8 | * |
---|
| 9 | * This program is free software; you can redistribute it and/or |
---|
| 10 | * modify it under the terms of the GNU General Public License |
---|
| 11 | * as published by the Free Software Foundation; either version 2 |
---|
| 12 | * of the License, or (at your option) any later version. |
---|
| 13 | * |
---|
| 14 | * This program is distributed in the hope that it will be useful, |
---|
| 15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
| 16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
| 17 | * GNU General Public License for more details. |
---|
| 18 | * |
---|
| 19 | * You should have received a copy of the GNU General Public License |
---|
| 20 | * along with this program; if not, write to the Free Software |
---|
| 21 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
---|
| 22 | */ |
---|
| 23 | *}--> |
---|
| 24 | <script type="text/javascript"> |
---|
| 25 | // 表示非表示切り替え |
---|
| 26 | function lfDispSwitch(id){ |
---|
| 27 | var obj = document.getElementById(id); |
---|
| 28 | if (obj.style.display == 'none') { |
---|
| 29 | obj.style.display = ''; |
---|
| 30 | } else { |
---|
| 31 | obj.style.display = 'none'; |
---|
| 32 | } |
---|
| 33 | } |
---|
| 34 | |
---|
| 35 | // セレクトボックスのリストを初期化 |
---|
| 36 | // ※キャッシュ対策 |
---|
| 37 | // (移動元セレクトボックス) |
---|
| 38 | function fnInitSelect(select) { |
---|
| 39 | var selectedOptions = <!--{$tpl_json_category_id}-->; |
---|
| 40 | $('#' + select + ' option').attr('selected', false); |
---|
| 41 | for(var i=0; i<selectedOptions.length; i++){ |
---|
| 42 | $('#' + select + ' option[value="' + selectedOptions[i] + '"]') |
---|
| 43 | .attr('selected', 'selected'); |
---|
| 44 | } |
---|
| 45 | } |
---|
| 46 | |
---|
| 47 | // セレクトボックスのリストを移動 |
---|
| 48 | // (移動元セレクトボックスID, 移動先セレクトボックスID) |
---|
| 49 | function fnMoveSelect(select, target) { |
---|
| 50 | $('#' + select).children().each(function() { |
---|
| 51 | if (this.selected) { |
---|
| 52 | $('#' + target).append(this); |
---|
| 53 | $(this).attr({selected: false}); |
---|
| 54 | } |
---|
| 55 | }); |
---|
| 56 | // IE7再描画不具合対策 |
---|
| 57 | if ($.browser.msie && $.browser.version >= 7) { |
---|
| 58 | $('#' + select).hide(); |
---|
| 59 | $('#' + select).show(); |
---|
| 60 | $('#' + target).hide(); |
---|
| 61 | $('#' + target).show(); |
---|
| 62 | } |
---|
| 63 | } |
---|
| 64 | |
---|
| 65 | // target の子要素を選択状態にする |
---|
| 66 | function selectAll(target) { |
---|
| 67 | $('#' + target).children().attr({selected: true}); |
---|
| 68 | } |
---|
| 69 | |
---|
| 70 | </script> |
---|
| 71 | |
---|
| 72 | <form name="form1" id="form1" method="post" action="?" enctype="multipart/form-data"> |
---|
| 73 | <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" /> |
---|
| 74 | <!--{foreach key=key item=item from=$arrSearchHidden}--> |
---|
| 75 | <!--{if is_array($item)}--> |
---|
| 76 | <!--{foreach item=c_item from=$item}--> |
---|
| 77 | <input type="hidden" name="<!--{$key|h}-->[]" value="<!--{$c_item|h}-->" /> |
---|
| 78 | <!--{/foreach}--> |
---|
| 79 | <!--{else}--> |
---|
| 80 | <input type="hidden" name="<!--{$key|h}-->" value="<!--{$item|h}-->" /> |
---|
| 81 | <!--{/if}--> |
---|
| 82 | <!--{/foreach}--> |
---|
| 83 | <input type="hidden" name="mode" value="edit" /> |
---|
| 84 | <input type="hidden" name="image_key" value="" /> |
---|
| 85 | <input type="hidden" name="down_key" value="" /> |
---|
| 86 | <input type="hidden" name="product_id" value="<!--{$arrForm.product_id|h}-->" /> |
---|
| 87 | <input type="hidden" name="product_class_id" value="<!--{$arrForm.product_class_id|h}-->" /> |
---|
| 88 | <input type="hidden" name="copy_product_id" value="<!--{$arrForm.copy_product_id|h}-->" /> |
---|
| 89 | <input type="hidden" name="anchor_key" value="" /> |
---|
| 90 | <input type="hidden" name="select_recommend_no" value="" /> |
---|
| 91 | <input type="hidden" name="has_product_class" value="<!--{$arrForm.has_product_class|h}-->" /> |
---|
| 92 | <!--{foreach key=key item=item from=$arrForm.arrHidden}--> |
---|
| 93 | <input type="hidden" name="<!--{$key}-->" value="<!--{$item|h}-->" /> |
---|
| 94 | <!--{/foreach}--> |
---|
| 95 | <div id="products" class="contents-main"> |
---|
| 96 | <h2>基本情報</h2> |
---|
| 97 | |
---|
| 98 | <table class="form"> |
---|
| 99 | <tr> |
---|
| 100 | <th>商品ID</th> |
---|
| 101 | <td><!--{$arrForm.product_id|h}--></td> |
---|
| 102 | </tr> |
---|
| 103 | <tr> |
---|
| 104 | <th>商品名<span class="attention"> *</span></th> |
---|
| 105 | <td> |
---|
| 106 | <span class="attention"><!--{$arrErr.name}--></span> |
---|
| 107 | <input type="text" name="name" value="<!--{$arrForm.name|h}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" style="<!--{if $arrErr.name != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}-->;<!--{/if}-->" size="60" class="box60" /> |
---|
| 108 | <span class="attention"> (上限<!--{$smarty.const.STEXT_LEN}-->文字)</span> |
---|
| 109 | </td> |
---|
| 110 | </tr> |
---|
| 111 | <tr> |
---|
| 112 | <th>商品カテゴリ<span class="attention"> *</span></th> |
---|
| 113 | <td> |
---|
| 114 | <span class="attention"><!--{$arrErr.category_id}--></span> |
---|
| 115 | <table class="layout"> |
---|
| 116 | <tr> |
---|
| 117 | <td> |
---|
| 118 | <select name="category_id[]" id="category_id" style="<!--{if $arrErr.category_id != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}-->;<!--{/if}--> height: 120px; min-width: 200px;" onchange="" size="10" multiple="multiple"> |
---|
| 119 | </select> |
---|
| 120 | </td> |
---|
| 121 | <td style="padding: 15px;"> |
---|
| 122 | <a class="btn-normal" href="javascript:;" name="on_select" onclick="fnMoveSelect('category_id_unselect','category_id'); return false;"> <- 登録 </a><br /><br /> |
---|
| 123 | <a class="btn-normal" href="javascript:;" name="un_select" onclick="fnMoveSelect('category_id','category_id_unselect'); return false;"> 削除 -> </a> |
---|
| 124 | </td> |
---|
| 125 | <td> |
---|
| 126 | <select name="category_id_unselect[]" id="category_id_unselect" onchange="" size="10" style="height: 120px; min-width: 200px;" multiple="multiple"> |
---|
| 127 | <!--{html_options values=$arrCatVal output=$arrCatOut selected=$arrForm.category_id}--> |
---|
| 128 | </select> |
---|
| 129 | </td> |
---|
| 130 | </tr> |
---|
| 131 | </table> |
---|
| 132 | </td> |
---|
| 133 | </tr> |
---|
| 134 | <tr> |
---|
| 135 | <th>公開・非公開<span class="attention"> *</span></th> |
---|
| 136 | <td> |
---|
| 137 | <!--{html_radios name="status" options=$arrDISP selected=$arrForm.status separator=' '}--> |
---|
| 138 | </td> |
---|
| 139 | </tr> |
---|
| 140 | <tr> |
---|
| 141 | <th>商品ステータス</th> |
---|
| 142 | <td> |
---|
| 143 | <!--{html_checkboxes name="product_status" options=$arrSTATUS selected=$arrForm.product_status separator=' '}--> |
---|
| 144 | </td> |
---|
| 145 | </tr> |
---|
| 146 | <!--{if $arrForm.has_product_class == false}--> |
---|
| 147 | <tr> |
---|
| 148 | <th>商品種別<span class="attention"> *</span></th> |
---|
| 149 | <td> |
---|
| 150 | <!--{html_radios name="product_type_id" options=$arrProductType selected=$arrForm.product_type_id separator=' '}--> |
---|
| 151 | </td> |
---|
| 152 | </tr> |
---|
| 153 | <tr> |
---|
| 154 | <th>ダウンロード商品ファイル名<span class="attention"> *</span></th> |
---|
| 155 | <td> |
---|
| 156 | <span class="attention"><!--{$arrErr.down_filename}--></span> |
---|
| 157 | <input type="text" name="down_filename" value="<!--{$arrForm.down_filename|h}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" style="<!--{if $arrErr.down_filename != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}-->" size="60" class="box60" /> |
---|
| 158 | <span class="red"> (上限<!--{$smarty.const.STEXT_LEN}-->文字)</span> |
---|
| 159 | </td> |
---|
| 160 | </tr> |
---|
| 161 | <tr> |
---|
| 162 | <!--{assign var=key value="down_file"}--> |
---|
| 163 | <th>ダウンロード商品用<br />ファイルアップロード<span class="attention"> *</span></th> |
---|
| 164 | <td> |
---|
| 165 | <a name="<!--{$key}-->"></a> |
---|
| 166 | <span class="attention"><!--{$arrErr[$key]}--><!--{$arrErr.down_realfilename}--></span> |
---|
| 167 | <!--{if $arrForm.down_realfilename != ""}--> |
---|
| 168 | <!--{$arrForm.down_realfilename|h}--><input type="hidden" name="down_realfilename" value="<!--{$arrForm.down_realfilename|h}-->"> |
---|
| 169 | <a href="" onclick="selectAll('category_id'); fnModeSubmit('delete_down', 'down_key', '<!--{$key}-->'); return false;">[ファイルの取り消し]</a><br /> |
---|
| 170 | <!--{/if}--> |
---|
| 171 | <input type="file" name="down_file" size="40" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" /> |
---|
| 172 | <a class="btn-normal" href="javascript:;" name="btn" onclick="selectAll('category_id'); fnModeSubmit('upload_down', 'down_key', '<!--{$key}-->'); return false;">アップロード</a><br />登録可能拡張子:<!--{$smarty.const.DOWNLOAD_EXTENSION}--> (パラメーター DOWNLOAD_EXTENSION) |
---|
| 173 | </td> |
---|
| 174 | </tr> |
---|
| 175 | <tr> |
---|
| 176 | <th>商品コード<span class="attention"> *</span></th> |
---|
| 177 | <td> |
---|
| 178 | <span class="attention"><!--{$arrErr.product_code}--></span> |
---|
| 179 | <input type="text" name="product_code" value="<!--{$arrForm.product_code|h}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" style="<!--{if $arrErr.product_code != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}-->;<!--{/if}-->" size="60" class="box60" /> |
---|
| 180 | <span class="attention"> (上限<!--{$smarty.const.STEXT_LEN}-->文字)</span> |
---|
| 181 | </td> |
---|
| 182 | </tr> |
---|
| 183 | <tr> |
---|
| 184 | <th><!--{$smarty.const.NORMAL_PRICE_TITLE}--></th> |
---|
| 185 | <td> |
---|
| 186 | <span class="attention"><!--{$arrErr.price01}--></span> |
---|
| 187 | <input type="text" name="price01" value="<!--{$arrForm.price01|h}-->" size="6" class="box6" maxlength="<!--{$smarty.const.PRICE_LEN}-->" style="<!--{if $arrErr.price01 != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}-->;<!--{/if}-->"/>円 |
---|
| 188 | <span class="attention"> (半角数字で入力)</span> |
---|
| 189 | </td> |
---|
| 190 | </tr> |
---|
| 191 | <tr> |
---|
| 192 | <th><!--{$smarty.const.SALE_PRICE_TITLE}--><span class="attention"> *</span></th> |
---|
| 193 | <td> |
---|
| 194 | <span class="attention"><!--{$arrErr.price02}--></span> |
---|
| 195 | <input type="text" name="price02" value="<!--{$arrForm.price02|h}-->" size="6" class="box6" maxlength="<!--{$smarty.const.PRICE_LEN}-->" style="<!--{if $arrErr.price02 != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}-->;<!--{/if}-->"/>円 |
---|
| 196 | <span class="attention"> (半角数字で入力)</span> |
---|
| 197 | </td> |
---|
| 198 | </tr> |
---|
| 199 | <!--{if $smarty.const.OPTION_PRODUCT_TAX_RULE ==1}--> |
---|
| 200 | <tr> |
---|
| 201 | <th>消費税率<span class="attention"> *</span></th> |
---|
| 202 | <td> |
---|
| 203 | <span class="attention"><!--{$arrErr.tax_rate}--></span> |
---|
| 204 | <input type="text" name="tax_rate" value="<!--{$arrForm.tax_rate|h}-->" size="6" class="box6" maxlength="<!--{$smarty.const.PERCENTAGE_LEN}-->" style="<!--{if $arrErr.tax_rate != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}-->;<!--{/if}-->"/>% |
---|
| 205 | <span class="attention">(半角数字で入力)</span> |
---|
| 206 | </td> |
---|
| 207 | </tr> |
---|
| 208 | <!--{/if}--> |
---|
| 209 | <tr> |
---|
| 210 | <th>在庫数<span class="attention"> *</span></th> |
---|
| 211 | <td> |
---|
| 212 | <span class="attention"><!--{$arrErr.stock}--></span> |
---|
| 213 | <input type="text" name="stock" value="<!--{$arrForm.stock|h}-->" size="6" class="box6" maxlength="<!--{$smarty.const.AMOUNT_LEN}-->" style="<!--{if $arrErr.stock != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}-->;<!--{/if}-->"/> |
---|
| 214 | <input type="checkbox" name="stock_unlimited" value="1" <!--{if $arrForm.stock_unlimited == "1"}-->checked<!--{/if}--> onclick="fnCheckStockLimit('<!--{$smarty.const.DISABLED_RGB}-->');"/>無制限 |
---|
| 215 | </td> |
---|
| 216 | </tr> |
---|
| 217 | <!--{/if}--> |
---|
| 218 | |
---|
| 219 | <tr> |
---|
| 220 | <th>商品送料</th> |
---|
| 221 | <td> |
---|
| 222 | <span class="attention"><!--{$arrErr.deliv_fee}--></span> |
---|
| 223 | <input type="text" name="deliv_fee" value="<!--{$arrForm.deliv_fee|h}-->" size="6" class="box6" maxlength="<!--{$smarty.const.PRICE_LEN}-->" style="<!--{if $arrErr.deliv_fee != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}-->;<!--{/if}-->"/>円 |
---|
| 224 | <span class="attention"> (半角数字で入力)</span> |
---|
| 225 | <!--{if $smarty.const.OPTION_PRODUCT_DELIV_FEE != 1}--><br /><span class="attention">※現在無効です</span> (パラメーター OPTION_PRODUCT_DELIV_FEE)<!--{/if}--> |
---|
| 226 | </td> |
---|
| 227 | </tr> |
---|
| 228 | <tr> |
---|
| 229 | <th>ポイント付与率<span class="attention"> *</span></th> |
---|
| 230 | <td> |
---|
| 231 | <span class="attention"><!--{$arrErr.point_rate}--></span> |
---|
| 232 | <input type="text" name="point_rate" value="<!--{$arrForm.point_rate|default:$arrForm.arrInfo.point_rate|h}-->" size="6" class="box6" maxlength="<!--{$smarty.const.PERCENTAGE_LEN}-->" style="<!--{if $arrErr.point_rate != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}-->;<!--{/if}-->"/>% |
---|
| 233 | <span class="attention"> (半角数字で入力)</span> |
---|
| 234 | </td> |
---|
| 235 | </tr> |
---|
| 236 | <tr> |
---|
| 237 | <th>発送日目安</th> |
---|
| 238 | <td> |
---|
| 239 | <span class="attention"><!--{$arrErr.deliv_date_id}--></span> |
---|
| 240 | <select name="deliv_date_id" style="<!--{$arrErr.deliv_date_id|sfGetErrorColor}-->"> |
---|
| 241 | <option value="">選択してください</option> |
---|
| 242 | <!--{html_options options=$arrDELIVERYDATE selected=$arrForm.deliv_date_id}--> |
---|
| 243 | </select> |
---|
| 244 | </td> |
---|
| 245 | </tr> |
---|
| 246 | <tr> |
---|
| 247 | <th>販売制限数</th> |
---|
| 248 | <td> |
---|
| 249 | <span class="attention"><!--{$arrErr.sale_limit}--></span> |
---|
| 250 | <input type="text" name="sale_limit" value="<!--{$arrForm.sale_limit|h}-->" size="6" class="box6" maxlength="<!--{$smarty.const.AMOUNT_LEN}-->" style="<!--{if $arrErr.sale_limit != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}-->;<!--{/if}-->"/> |
---|
| 251 | <span class="attention"> (半角数字で入力)</span> |
---|
| 252 | </td> |
---|
| 253 | </tr> |
---|
| 254 | <tr> |
---|
| 255 | <th>メーカー</th> |
---|
| 256 | <td> |
---|
| 257 | <span class="attention"><!--{$arrErr.maker_id}--></span> |
---|
| 258 | <select name="maker_id" style="<!--{$arrErr.maker_id|sfGetErrorColor}-->"> |
---|
| 259 | <option value="">選択してください</option> |
---|
| 260 | <!--{html_options options=$arrMaker selected=$arrForm.maker_id}--> |
---|
| 261 | </select> |
---|
| 262 | </td> |
---|
| 263 | </tr> |
---|
| 264 | <tr> |
---|
| 265 | <th>メーカーURL</th> |
---|
| 266 | <td> |
---|
| 267 | <span class="attention"><!--{$arrErr.comment1}--></span> |
---|
| 268 | <input type="text" name="comment1" value="<!--{$arrForm.comment1|h}-->" maxlength="<!--{$smarty.const.URL_LEN}-->" size="60" class="box60" style="<!--{$arrErr.comment1|sfGetErrorColor}-->" /> |
---|
| 269 | <span class="attention"> (上限<!--{$smarty.const.URL_LEN}-->文字)</span> |
---|
| 270 | </td> |
---|
| 271 | </tr> |
---|
| 272 | <tr> |
---|
| 273 | <th>検索ワード<br />※複数の場合は、カンマ( , )区切りで入力して下さい</th> |
---|
| 274 | <td> |
---|
| 275 | <span class="attention"><!--{$arrErr.comment3}--></span> |
---|
| 276 | <textarea name="comment3" cols="60" rows="8" class="area60" maxlength="<!--{$smarty.const.LLTEXT_LEN}-->" style="<!--{$arrErr.comment3|sfGetErrorColor}-->"><!--{"\n"}--><!--{$arrForm.comment3|h}--></textarea><br /> |
---|
| 277 | <span class="attention"> (上限<!--{$smarty.const.LLTEXT_LEN}-->文字)</span> |
---|
| 278 | </td> |
---|
| 279 | </tr> |
---|
| 280 | <tr> |
---|
| 281 | <th>備考欄(SHOP専用)</th> |
---|
| 282 | <td> |
---|
| 283 | <span class="attention"><!--{$arrErr.note}--></span> |
---|
| 284 | <textarea name="note" cols="60" rows="8" class="area60" maxlength="<!--{$smarty.const.LLTEXT_LEN}-->" style="<!--{$arrErr.note|sfGetErrorColor}-->"><!--{"\n"}--><!--{$arrForm.note|h}--></textarea><br /> |
---|
| 285 | <span class="attention"> (上限<!--{$smarty.const.LLTEXT_LEN}-->文字)</span> |
---|
| 286 | </td> |
---|
| 287 | </tr> |
---|
| 288 | <tr> |
---|
| 289 | <th>一覧-メインコメント<span class="attention"> *</span></th> |
---|
| 290 | <td> |
---|
| 291 | <span class="attention"><!--{$arrErr.main_list_comment}--></span> |
---|
| 292 | <textarea name="main_list_comment" maxlength="<!--{$smarty.const.MTEXT_LEN}-->" style="<!--{if $arrErr.main_list_comment != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}-->;<!--{/if}-->" cols="60" rows="8" class="area60"><!--{"\n"}--><!--{$arrForm.main_list_comment|h}--></textarea><br /> |
---|
| 293 | <span class="attention"> (上限<!--{$smarty.const.MTEXT_LEN}-->文字)</span> |
---|
| 294 | </td> |
---|
| 295 | </tr> |
---|
| 296 | <tr> |
---|
| 297 | <th>詳細-メインコメント<span class="attention">(タグ許可)*</span></th> |
---|
| 298 | <td> |
---|
| 299 | <span class="attention"><!--{$arrErr.main_comment}--></span> |
---|
| 300 | <textarea name="main_comment" maxlength="<!--{$smarty.const.LLTEXT_LEN}-->" style="<!--{if $arrErr.main_comment != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}-->;<!--{/if}-->" cols="60" rows="8" class="area60"><!--{"\n"}--><!--{$arrForm.main_comment|h}--></textarea><br /> |
---|
| 301 | <span class="attention"> (上限<!--{$smarty.const.LLTEXT_LEN}-->文字)</span> |
---|
| 302 | </td> |
---|
| 303 | </tr> |
---|
| 304 | <tr> |
---|
| 305 | <!--{assign var=key value="main_list_image"}--> |
---|
| 306 | <th>一覧-メイン画像<br />[<!--{$smarty.const.SMALL_IMAGE_WIDTH}-->×<!--{$smarty.const.SMALL_IMAGE_HEIGHT}-->]</th> |
---|
| 307 | <td> |
---|
| 308 | <a name="<!--{$key}-->"></a> |
---|
| 309 | <a name="main_image"></a> |
---|
| 310 | <a name="main_large_image"></a> |
---|
| 311 | <span class="attention"><!--{$arrErr[$key]}--></span> |
---|
| 312 | <!--{if $arrForm.arrFile[$key].filepath != ""}--> |
---|
| 313 | <img src="<!--{$arrForm.arrFile[$key].filepath}-->" alt="<!--{$arrForm.name|h}-->" /> <a href="" onclick="selectAll('category_id'); fnModeSubmit('delete_image', 'image_key', '<!--{$key}-->'); return false;">[画像の取り消し]</a><br /> |
---|
| 314 | <!--{/if}--> |
---|
| 315 | <input type="file" name="main_list_image" size="40" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" /> |
---|
| 316 | <a class="btn-normal" href="javascript:;" name="btn" onclick="selectAll('category_id'); fnModeSubmit('upload_image', 'image_key', '<!--{$key}-->'); return false;">アップロード</a> |
---|
| 317 | </td> |
---|
| 318 | </tr> |
---|
| 319 | <tr> |
---|
| 320 | <!--{assign var=key value="main_image"}--> |
---|
| 321 | <th>詳細-メイン画像<br />[<!--{$smarty.const.NORMAL_IMAGE_WIDTH}-->×<!--{$smarty.const.NORMAL_IMAGE_HEIGHT}-->]</th> |
---|
| 322 | <td> |
---|
| 323 | <span class="attention"><!--{$arrErr[$key]}--></span> |
---|
| 324 | <!--{if $arrForm.arrFile[$key].filepath != ""}--> |
---|
| 325 | <img src="<!--{$arrForm.arrFile[$key].filepath}-->" alt="<!--{$arrForm.name|h}-->" /> <a href="" onclick="selectAll('category_id'); fnModeSubmit('delete_image', 'image_key', '<!--{$key}-->'); return false;">[画像の取り消し]</a><br /> |
---|
| 326 | <!--{/if}--> |
---|
| 327 | <input type="file" name="main_image" size="40" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" /> |
---|
| 328 | <a class="btn-normal" href="javascript:;" name="btn" onclick="selectAll('category_id'); fnModeSubmit('upload_image', 'image_key', '<!--{$key}-->'); return false;">アップロード</a> |
---|
| 329 | </td> |
---|
| 330 | </tr> |
---|
| 331 | <tr> |
---|
| 332 | <!--{assign var=key value="main_large_image"}--> |
---|
| 333 | <th>詳細-メイン拡大画像<br />[<!--{$smarty.const.LARGE_IMAGE_WIDTH}-->×<!--{$smarty.const.LARGE_IMAGE_HEIGHT}-->]</th> |
---|
| 334 | <td> |
---|
| 335 | <span class="attention"><!--{$arrErr[$key]}--></span> |
---|
| 336 | <!--{if $arrForm.arrFile[$key].filepath != ""}--> |
---|
| 337 | <img src="<!--{$arrForm.arrFile[$key].filepath}-->" alt="<!--{$arrForm.name|h}-->" /> <a href="" onclick="selectAll('category_id'); fnModeSubmit('delete_image', 'image_key', '<!--{$key}-->'); return false;">[画像の取り消し]</a><br /> |
---|
| 338 | <!--{/if}--> |
---|
| 339 | <input type="file" name="<!--{$key}-->" size="40" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" /> |
---|
| 340 | <a class="btn-normal" href="javascript:;" name="btn" onclick="selectAll('category_id'); fnModeSubmit('upload_image', 'image_key', '<!--{$key}-->'); return false;">アップロード</a> |
---|
| 341 | </td> |
---|
| 342 | </tr> |
---|
| 343 | </table> |
---|
| 344 | |
---|
| 345 | <!--{* オペビルダー用 *}--> |
---|
| 346 | <!--{if "sfViewAdminOpe"|function_exists === TRUE}--> |
---|
| 347 | <!--{include file=`$smarty.const.MODULE_REALDIR`mdl_opebuilder/admin_ope_view.tpl}--> |
---|
| 348 | <!--{/if}--> |
---|
| 349 | |
---|
| 350 | <div class="btn"> |
---|
| 351 | <a class="btn-normal" href="javascript:;" onclick="selectAll('category_id'); lfDispSwitch('sub_detail'); return false;"><span>サブ情報表示/非表示</span></a> |
---|
| 352 | </div> |
---|
| 353 | |
---|
| 354 | <!--{if $arrForm.sub_find == true}--> |
---|
| 355 | <div id="sub_detail" style=""> |
---|
| 356 | <!--{else}--> |
---|
| 357 | <div id="sub_detail" style="display:none"> |
---|
| 358 | <!--{/if}--> |
---|
| 359 | <h2>サブ情報</h2> |
---|
| 360 | <table class="form"> |
---|
| 361 | <!--{section name=cnt loop=$smarty.const.PRODUCTSUB_MAX}--> |
---|
| 362 | <!--▼商品<!--{$smarty.section.cnt.iteration}-->--> |
---|
| 363 | <tr> |
---|
| 364 | <th>詳細-サブタイトル(<!--{$smarty.section.cnt.iteration}-->)</th> |
---|
| 365 | <!--{assign var=key value="sub_title`$smarty.section.cnt.iteration`"}--> |
---|
| 366 | <td> |
---|
| 367 | <span class="attention"><!--{$arrErr[$key]}--></span> |
---|
| 368 | <input type="text" name="sub_title<!--{$smarty.section.cnt.iteration}-->" value="<!--{$arrForm[$key]|h}-->" size="60" class="box60" maxlength="<!--{$smarty.const.STEXT_LEN}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->"/> |
---|
| 369 | <span class="attention"> (上限<!--{$smarty.const.STEXT_LEN}-->文字)</span> |
---|
| 370 | </td> |
---|
| 371 | </tr> |
---|
| 372 | <tr> |
---|
| 373 | <th>詳細-サブコメント(<!--{$smarty.section.cnt.iteration}-->)<span class="attention">(タグ許可)</span></th> |
---|
| 374 | <!--{assign var=key value="sub_comment`$smarty.section.cnt.iteration`"}--> |
---|
| 375 | <td> |
---|
| 376 | <span class="attention"><!--{$arrErr[$key]}--></span> |
---|
| 377 | <textarea name="sub_comment<!--{$smarty.section.cnt.iteration}-->" cols="60" rows="8" class="area60" maxlength="<!--{$smarty.const.LLTEXT_LEN}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->"><!--{"\n"}--><!--{$arrForm[$key]|h}--></textarea><br /> |
---|
| 378 | <span class="attention"> (上限<!--{$smarty.const.LLTEXT_LEN}-->文字)</span> |
---|
| 379 | </td> |
---|
| 380 | </tr> |
---|
| 381 | <tr> |
---|
| 382 | <!--{assign var=key value="sub_image`$smarty.section.cnt.iteration`"}--> |
---|
| 383 | <th>詳細-サブ画像(<!--{$smarty.section.cnt.iteration}-->)<br />[<!--{$smarty.const.NORMAL_SUBIMAGE_WIDTH}-->×<!--{$smarty.const.NORMAL_SUBIMAGE_HEIGHT}-->]</th> |
---|
| 384 | <td> |
---|
| 385 | <a name="<!--{$key}-->"></a> |
---|
| 386 | <!--{assign var=largekey value="sub_large_image`$smarty.section.cnt.iteration`"}--> |
---|
| 387 | <a name="<!--{$largekey}-->"></a> |
---|
| 388 | <span class="attention"><!--{$arrErr[$key]}--></span> |
---|
| 389 | <!--{if $arrForm.arrFile[$key].filepath != ""}--> |
---|
| 390 | <img src="<!--{$arrForm.arrFile[$key].filepath}-->" alt="<!--{$arrForm.name|h}-->" /> <a href="" onclick="selectAll('category_id'); fnModeSubmit('delete_image', 'image_key', '<!--{$key}-->'); return false;">[画像の取り消し]</a><br /> |
---|
| 391 | <!--{/if}--> |
---|
| 392 | <input type="file" name="<!--{$key}-->" size="40" style="<!--{$arrErr[$key]|sfGetErrorColor}-->"/> |
---|
| 393 | <a class="btn-normal" href="javascript:;" name="btn" onclick="selectAll('category_id'); fnModeSubmit('upload_image', 'image_key', '<!--{$key}-->'); return false;">アップロード</a> |
---|
| 394 | </td> |
---|
| 395 | </tr> |
---|
| 396 | <tr> |
---|
| 397 | <!--{assign var=key value="sub_large_image`$smarty.section.cnt.iteration`"}--> |
---|
| 398 | <th>詳細-サブ拡大画像(<!--{$smarty.section.cnt.iteration}-->)<br />[<!--{$smarty.const.LARGE_SUBIMAGE_WIDTH}-->×<!--{$smarty.const.LARGE_SUBIMAGE_HEIGHT}-->]</th> |
---|
| 399 | <td> |
---|
| 400 | <span class="attention"><!--{$arrErr[$key]}--></span> |
---|
| 401 | <!--{if $arrForm.arrFile[$key].filepath != ""}--> |
---|
| 402 | <img src="<!--{$arrForm.arrFile[$key].filepath}-->" alt="<!--{$arrForm.name|h}-->" /> <a href="" onclick="selectAll('category_id'); fnModeSubmit('delete_image', 'image_key', '<!--{$key}-->'); return false;">[画像の取り消し]</a><br /> |
---|
| 403 | <!--{/if}--> |
---|
| 404 | <input type="file" name="<!--{$key}-->" size="40" style="<!--{$arrErr[$key]|sfGetErrorColor}-->"/> |
---|
| 405 | <a class="btn-normal" href="javascript:;" name="btn" onclick="selectAll('category_id'); fnModeSubmit('upload_image', 'image_key', '<!--{$key}-->'); return false;">アップロード</a> |
---|
| 406 | </td> |
---|
| 407 | </tr> |
---|
| 408 | <!--▲商品<!--{$smarty.section.cnt.iteration}-->--> |
---|
| 409 | <!--{/section}--> |
---|
| 410 | </table> |
---|
| 411 | </div> |
---|
| 412 | |
---|
| 413 | <div class="btn"> |
---|
| 414 | <a class="btn-normal" href="javascript:;" onclick="selectAll('category_id'); lfDispSwitch('recommend_select'); return false;"><span>関連商品表示/非表示</span></a> |
---|
| 415 | </div> |
---|
| 416 | |
---|
| 417 | <!--{if $smarty.const.OPTION_RECOMMEND == 1}--> |
---|
| 418 | <!--{if count($arrRecommend) > 0}--> |
---|
| 419 | <div id="recommend_select" style=""> |
---|
| 420 | <!--{else}--> |
---|
| 421 | <div id="recommend_select" style="display:none"> |
---|
| 422 | <!--{/if}--> |
---|
| 423 | <h2>関連商品</h2> |
---|
| 424 | <table class="form"> |
---|
| 425 | <!--▼関連商品--> |
---|
| 426 | <!--{section name=cnt loop=$smarty.const.RECOMMEND_PRODUCT_MAX}--> |
---|
| 427 | <!--{assign var=recommend_no value="`$smarty.section.cnt.iteration`"}--> |
---|
| 428 | <tr> |
---|
| 429 | <!--{assign var=key value="recommend_id`$smarty.section.cnt.iteration`"}--> |
---|
| 430 | <!--{assign var=anckey value="recommend_no`$smarty.section.cnt.iteration`"}--> |
---|
| 431 | <th>関連商品(<!--{$smarty.section.cnt.iteration}-->)<br /> |
---|
| 432 | <!--{if $arrRecommend[$recommend_no].product_id}--> |
---|
| 433 | <img src="<!--{$smarty.const.ROOT_URLPATH}-->resize_image.php?image=<!--{$arrRecommend[$recommend_no].main_list_image|sfNoImageMainList|h}-->&width=65&height=65" alt="<!--{$arrRecommend[$recommend_no].name|h}-->" /> |
---|
| 434 | <!--{/if}--> |
---|
| 435 | </th> |
---|
| 436 | <td> |
---|
| 437 | <a name="<!--{$anckey}-->"></a> |
---|
| 438 | <input type="hidden" name="<!--{$key}-->" value="<!--{$arrRecommend[$recommend_no].product_id|h}-->" /> |
---|
| 439 | <a class="btn-normal" href="javascript:;" name="change" onclick="selectAll('category_id'); win03('./product_select.php?no=<!--{$smarty.section.cnt.iteration}-->', 'search', '615', '500'); return false;">変更</a> |
---|
| 440 | <!--{assign var=key value="recommend_delete`$smarty.section.cnt.iteration`"}--> |
---|
| 441 | <input type="checkbox" name="<!--{$key}-->" value="1" />削除<br /> |
---|
| 442 | <!--{assign var=key value="recommend_comment`$smarty.section.cnt.iteration`"}--> |
---|
| 443 | <span class="attention"><!--{$arrErr[$key]}--></span> |
---|
| 444 | 商品コード:<!--{$arrRecommend[$recommend_no].product_code_min}--><br /> |
---|
| 445 | 商品名:<!--{$arrRecommend[$recommend_no].name|h}--><br /> |
---|
| 446 | <textarea name="<!--{$key}-->" cols="60" rows="8" class="area60" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" ><!--{"\n"}--><!--{$arrRecommend[$recommend_no].comment|h}--></textarea><br /> |
---|
| 447 | <span class="attention"> (上限<!--{$smarty.const.LTEXT_LEN}-->文字)</span> |
---|
| 448 | </td> |
---|
| 449 | </tr> |
---|
| 450 | <!--{/section}--> |
---|
| 451 | <!--▲関連商品--> |
---|
| 452 | </table> |
---|
| 453 | </div> |
---|
| 454 | <!--{/if}--> |
---|
| 455 | |
---|
| 456 | <div class="btn-area"> |
---|
| 457 | <!--{if count($arrSearchHidden) > 0}--> |
---|
| 458 | <!--▼検索結果へ戻る--> |
---|
| 459 | <ul> |
---|
| 460 | <li><a class="btn-action" href="javascript:;" onclick="fnChangeAction('<!--{$smarty.const.ADMIN_PRODUCTS_URLPATH}-->'); fnModeSubmit('search','',''); return false;"><span class="btn-prev">検索画面に戻る</span></a></li> |
---|
| 461 | <!--▲検索結果へ戻る--> |
---|
| 462 | <!--{/if}--> |
---|
| 463 | <li><a class="btn-action" href="javascript:;" onclick="selectAll('category_id'); document.form1.submit(); return false;"><span class="btn-next">確認ページへ</span></a></li> |
---|
| 464 | </ul> |
---|
| 465 | </div> |
---|
| 466 | </div> |
---|
| 467 | </form> |
---|