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