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|h}-->" /> |
---|
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|h}-->" /> |
---|
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|h}-->" 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 | <a class="btn-normal" href="javascript:;" name="on_select" onclick="fnMoveSelect('category_id_unselect','category_id'); return false;"> <- 登録 </a><br /><br /> |
---|
102 | <a class="btn-normal" href="javascript:;" name="un_select" onclick="fnMoveSelect('category_id','category_id_unselect'); return false;"> 削除 ->  </a> |
---|
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="status" value="1" <!--{if $arrForm.status == "1"}-->checked<!--{/if}--> />公開 |
---|
117 | <input type="radio" name="status" value="2" <!--{if $arrForm.status == "2"}-->checked<!--{/if}--> />非公開 |
---|
118 | </td> |
---|
119 | </tr> |
---|
120 | <tr> |
---|
121 | <th>商品ステータス</th> |
---|
122 | <td> |
---|
123 | <!--{html_checkboxes name="product_status" options=$arrSTATUS selected=$arrForm.product_status}--> |
---|
124 | </td> |
---|
125 | </tr> |
---|
126 | <!--{if $tpl_nonclass == true}--> |
---|
127 | <tr> |
---|
128 | <th>商品種別<span class="attention"> *</span></th> |
---|
129 | <td> |
---|
130 | <input type="radio" name="product_type_id" value="<!--{$smarty.const.PRODUCT_TYPE_NORMAL}-->" <!--{if $arrForm.product_type_id == $smarty.const.PRODUCT_TYPE_NORMAL}-->checked<!--{/if}-->/>通常商品 |
---|
131 | <input type="radio" name="product_type_id" value="<!--{$smarty.const.PRODUCT_TYPE_DOWNLOAD}-->" <!--{if $arrForm.product_type_id == $smarty.const.PRODUCT_TYPE_DOWNLOAD}-->checked<!--{/if}--> />ダウンロード商品 |
---|
132 | </td> |
---|
133 | </tr> |
---|
134 | <tr> |
---|
135 | <th>ダウンロードファイル名<span class="attention"> *</span></th> |
---|
136 | <td> |
---|
137 | <span class="attention"><!--{$arrErr.down_filename}--></span> |
---|
138 | <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" /> |
---|
139 | <span class="red"> (上限<!--{$smarty.const.STEXT_LEN}-->文字)</span> |
---|
140 | </td> |
---|
141 | </tr> |
---|
142 | <tr> |
---|
143 | <!--{assign var=key value="down_file"}--> |
---|
144 | <th>ダウンロード商品用ファイルアップロード<span class="attention"> *</span></th> |
---|
145 | <td> |
---|
146 | <span class="attention"><!--{$arrErr[$key]}--><!--{$arrErr.down_realfilename}--></span> |
---|
147 | <!--{if $arrForm.down_realfilename != ""}--> |
---|
148 | <!--{$arrForm.down_realfilename|h}--><input type="hidden" name="down_realfilename" value="<!--{$arrForm.down_realfilename|h}-->"> |
---|
149 | <a href="" onclick="selectAll('category_id'); fnModeSubmit('delete_down', 'down_key', '<!--{$key}-->'); return false;">[ファイルの取り消し]</a><br> |
---|
150 | <!--{/if}--> |
---|
151 | <input type="file" name="down_file" size="50" class="box50" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" /> |
---|
152 | <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) |
---|
153 | </td> |
---|
154 | </tr> |
---|
155 | <tr> |
---|
156 | <th>商品コード<span class="attention"> *</span></th> |
---|
157 | <td> |
---|
158 | <span class="attention"><!--{$arrErr.product_code}--></span> |
---|
159 | <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" /> |
---|
160 | <span class="attention"> (上限<!--{$smarty.const.STEXT_LEN}-->文字)</span> |
---|
161 | </td> |
---|
162 | </tr> |
---|
163 | <tr> |
---|
164 | <th><!--{$smarty.const.NORMAL_PRICE_TITLE}--></th> |
---|
165 | <td> |
---|
166 | <span class="attention"><!--{$arrErr.price01}--></span> |
---|
167 | <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}-->"/>円 |
---|
168 | <span class="attention"> (半角数字で入力)</span> |
---|
169 | </td> |
---|
170 | </tr> |
---|
171 | <tr> |
---|
172 | <th><!--{$smarty.const.SALE_PRICE_TITLE}--><span class="attention"> *</span></th> |
---|
173 | <td> |
---|
174 | <span class="attention"><!--{$arrErr.price02}--></span> |
---|
175 | <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}-->"/>円 |
---|
176 | <span class="attention"> (半角数字で入力)</span> |
---|
177 | </td> |
---|
178 | </tr> |
---|
179 | <tr> |
---|
180 | <th>在庫数<span class="attention"> *</span></th> |
---|
181 | <td> |
---|
182 | <span class="attention"><!--{$arrErr.stock}--></span> |
---|
183 | <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}-->"/> |
---|
184 | <input type="checkbox" name="stock_unlimited" value="1" <!--{if $arrForm.stock_unlimited == "1"}-->checked<!--{/if}--> onclick="fnCheckStockLimit('<!--{$smarty.const.DISABLED_RGB}-->');"/>無制限 |
---|
185 | </td> |
---|
186 | </tr> |
---|
187 | <tr> |
---|
188 | <th>支払方法<span class="attention"> *</span></th> |
---|
189 | <td> |
---|
190 | <span class="attention"><!--{$arrErr.payment_ids}--></span> |
---|
191 | <!--{html_checkboxes name="payment_ids" options=$arrPayments selected=$arrForm.payment_ids}--> |
---|
192 | </td> |
---|
193 | </tr> |
---|
194 | <!--{/if}--> |
---|
195 | |
---|
196 | <tr> |
---|
197 | <th>商品送料</th> |
---|
198 | <td> |
---|
199 | <span class="attention"><!--{$arrErr.deliv_fee}--></span> |
---|
200 | <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}-->"/>円 |
---|
201 | <span class="attention"> (半角数字で入力)</span> |
---|
202 | <!--{if $smarty.const.OPTION_PRODUCT_DELIV_FEE != 1}--><br /><span class="attention">※現在無効です</span> (パラメータ OPTION_PRODUCT_DELIV_FEE)<!--{/if}--> |
---|
203 | </td> |
---|
204 | </tr> |
---|
205 | <tr> |
---|
206 | <th>ポイント付与率<span class="attention"> *</span></th> |
---|
207 | <td> |
---|
208 | <span class="attention"><!--{$arrErr.point_rate}--></span> |
---|
209 | <input type="text" name="point_rate" value="<!--{$arrForm.point_rate|default:$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}-->"/>% |
---|
210 | <span class="attention"> (半角数字で入力)</span> |
---|
211 | </td> |
---|
212 | </tr> |
---|
213 | <tr> |
---|
214 | <th>発送日目安</th> |
---|
215 | <td> |
---|
216 | <span class="attention"><!--{$arrErr.deliv_date_id}--></span> |
---|
217 | <select name="deliv_date_id" style="<!--{$arrErr.deliv_date_id|sfGetErrorColor}-->"> |
---|
218 | <option value="">選択してください</option> |
---|
219 | <!--{html_options options=$arrDELIVERYDATE selected=$arrForm.deliv_date_id}--> |
---|
220 | </select> |
---|
221 | </td> |
---|
222 | </tr> |
---|
223 | <tr> |
---|
224 | <th>購入制限</th> |
---|
225 | <td> |
---|
226 | <span class="attention"><!--{$arrErr.sale_limit}--></span> |
---|
227 | <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}-->"/> |
---|
228 | <span class="attention"> (半角数字で入力)</span> |
---|
229 | </td> |
---|
230 | </tr> |
---|
231 | <tr> |
---|
232 | <th>メーカー</th> |
---|
233 | <td> |
---|
234 | <span class="attention"><!--{$arrErr.maker_id}--></span> |
---|
235 | <select name="maker_id" style="<!--{$arrErr.maker_id|sfGetErrorColor}-->"> |
---|
236 | <option value="">選択してください</option> |
---|
237 | <!--{html_options options=$arrMaker selected=$arrForm.maker_id}--> |
---|
238 | </select> |
---|
239 | </td> |
---|
240 | </tr> |
---|
241 | <tr> |
---|
242 | <th>メーカーURL</th> |
---|
243 | <td> |
---|
244 | <span class="attention"><!--{$arrErr.comment1}--></span> |
---|
245 | <input type="text" name="comment1" value="<!--{$arrForm.comment1|h}-->" maxlength="<!--{$smarty.const.URL_LEN}-->" size="60" class="box60" style="<!--{$arrErr.comment1|sfGetErrorColor}-->" /> |
---|
246 | <span class="attention"> (上限<!--{$smarty.const.URL_LEN}-->文字)</span> |
---|
247 | </td> |
---|
248 | </tr> |
---|
249 | <tr> |
---|
250 | <th>検索ワード<br />※複数の場合は、カンマ( , )区切りで入力して下さい</th> |
---|
251 | <td> |
---|
252 | <span class="attention"><!--{$arrErr.comment3}--></span> |
---|
253 | <textarea name="comment3" cols="60" rows="8" class="area60" maxlength="<!--{$smarty.const.LLTEXT_LEN}-->" style="<!--{$arrErr.comment3|sfGetErrorColor}-->"><!--{$arrForm.comment3|h}--></textarea><br /> |
---|
254 | <span class="attention"> (上限<!--{$smarty.const.LLTEXT_LEN}-->文字)</span> |
---|
255 | </td> |
---|
256 | </tr> |
---|
257 | <tr> |
---|
258 | <th>備考欄(SHOP専用)</th> |
---|
259 | <td> |
---|
260 | <span class="attention"><!--{$arrErr.note}--></span> |
---|
261 | <textarea name="note" cols="60" rows="8" class="area60" maxlength="<!--{$smarty.const.LLTEXT_LEN}-->" style="<!--{$arrErr.note|sfGetErrorColor}-->"><!--{$arrForm.note|h}--></textarea><br /> |
---|
262 | <span class="attention"> (上限<!--{$smarty.const.LLTEXT_LEN}-->文字)</span> |
---|
263 | </td> |
---|
264 | </tr> |
---|
265 | <tr> |
---|
266 | <th>一覧-メインコメント<span class="attention"> *</span></th> |
---|
267 | <td> |
---|
268 | <span class="attention"><!--{$arrErr.main_list_comment}--></span> |
---|
269 | <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|h}--></textarea><br /> |
---|
270 | <span class="attention"> (上限<!--{$smarty.const.MTEXT_LEN}-->文字)</span> |
---|
271 | </td> |
---|
272 | </tr> |
---|
273 | <tr> |
---|
274 | <th>詳細-メインコメント<span class="attention">(タグ許可)*</span></th> |
---|
275 | <td> |
---|
276 | <span class="attention"><!--{$arrErr.main_comment}--></span> |
---|
277 | <textarea name="main_comment" value="<!--{$arrForm.main_comment|h}-->" 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|h}--></textarea><br /> |
---|
278 | <span class="attention"> (上限<!--{$smarty.const.LLTEXT_LEN}-->文字)</span> |
---|
279 | </td> |
---|
280 | </tr> |
---|
281 | <tr> |
---|
282 | <!--{assign var=key value="main_list_image"}--> |
---|
283 | <th>一覧-メイン画像<br />[<!--{$smarty.const.SMALL_IMAGE_WIDTH}-->×<!--{$smarty.const.SMALL_IMAGE_HEIGHT}-->]</th> |
---|
284 | <td> |
---|
285 | <a name="<!--{$key}-->"></a> |
---|
286 | <a name="main_image"></a> |
---|
287 | <a name="main_large_image"></a> |
---|
288 | <span class="attention"><!--{$arrErr[$key]}--></span> |
---|
289 | <!--{if $arrFile[$key].filepath != ""}--> |
---|
290 | <img src="<!--{$arrFile[$key].filepath}-->" alt="<!--{$arrForm.name|h}-->" /> <a href="" onclick="selectAll('category_id'); fnModeSubmit('delete_image', 'image_key', '<!--{$key}-->'); return false;">[画像の取り消し]</a><br /> |
---|
291 | <!--{/if}--> |
---|
292 | <input type="file" name="main_list_image" size="50" class="box50" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" /> |
---|
293 | <a class="btn-normal" href="javascript:;" name="btn" onclick="selectAll('category_id'); fnModeSubmit('upload_image', 'image_key', '<!--{$key}-->'); return false;">アップロード</a> |
---|
294 | </td> |
---|
295 | </tr> |
---|
296 | <tr> |
---|
297 | <!--{assign var=key value="main_image"}--> |
---|
298 | <th>詳細-メイン画像<br />[<!--{$smarty.const.NORMAL_IMAGE_WIDTH}-->×<!--{$smarty.const.NORMAL_IMAGE_HEIGHT}-->]</th> |
---|
299 | <td> |
---|
300 | <span class="attention"><!--{$arrErr[$key]}--></span> |
---|
301 | <!--{if $arrFile[$key].filepath != ""}--> |
---|
302 | <img src="<!--{$arrFile[$key].filepath}-->" alt="<!--{$arrForm.name|h}-->" /> <a href="" onclick="selectAll('category_id'); fnModeSubmit('delete_image', 'image_key', '<!--{$key}-->'); return false;">[画像の取り消し]</a><br /> |
---|
303 | <!--{/if}--> |
---|
304 | <input type="file" name="main_image" size="50" class="box50" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" /> |
---|
305 | <a class="btn-normal" href="javascript:;" name="btn" onclick="selectAll('category_id'); fnModeSubmit('upload_image', 'image_key', '<!--{$key}-->'); return false;">アップロード</a> |
---|
306 | </td> |
---|
307 | </tr> |
---|
308 | <tr> |
---|
309 | <!--{assign var=key value="main_large_image"}--> |
---|
310 | <th>詳細-メイン拡大画像<br />[<!--{$smarty.const.LARGE_IMAGE_WIDTH}-->×<!--{$smarty.const.LARGE_IMAGE_HEIGHT}-->]</th> |
---|
311 | <td> |
---|
312 | <span class="attention"><!--{$arrErr[$key]}--></span> |
---|
313 | <!--{if $arrFile[$key].filepath != ""}--> |
---|
314 | <img src="<!--{$arrFile[$key].filepath}-->" alt="<!--{$arrForm.name|h}-->" /> <a href="" onclick="selectAll('category_id'); fnModeSubmit('delete_image', 'image_key', '<!--{$key}-->'); return false;">[画像の取り消し]</a><br /> |
---|
315 | <!--{/if}--> |
---|
316 | <input type="file" name="<!--{$key}-->" size="50" class="box50" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" /> |
---|
317 | <a class="btn-normal" href="javascript:;" name="btn" onclick="selectAll('category_id'); fnModeSubmit('upload_image', 'image_key', '<!--{$key}-->'); return false;">アップロード</a> |
---|
318 | </td> |
---|
319 | </tr> |
---|
320 | </table> |
---|
321 | |
---|
322 | <!--{* オペビルダー用 *}--> |
---|
323 | <!--{if "sfViewAdminOpe"|function_exists === TRUE}--> |
---|
324 | <!--{include file=`$smarty.const.MODULE_REALDIR`mdl_opebuilder/admin_ope_view.tpl}--> |
---|
325 | <!--{/if}--> |
---|
326 | |
---|
327 | <div class="btn"> |
---|
328 | <a class="btn-normal" href="javascript:;" onclick="selectAll('category_id'); lfDispSwitch('sub_detail'); return false;"><span>サブ情報表示/非表示</span></a> |
---|
329 | </div> |
---|
330 | |
---|
331 | <!--{if $sub_find == true}--> |
---|
332 | <div id="sub_detail" style=""> |
---|
333 | <!--{else}--> |
---|
334 | <div id="sub_detail" style="display:none"> |
---|
335 | <!--{/if}--> |
---|
336 | <h2>サブ情報</h2> |
---|
337 | <table class="form"> |
---|
338 | <!--{section name=cnt loop=$smarty.const.PRODUCTSUB_MAX}--> |
---|
339 | <!--▼商品<!--{$smarty.section.cnt.iteration}-->--> |
---|
340 | <tr> |
---|
341 | <th>詳細-サブタイトル(<!--{$smarty.section.cnt.iteration}-->)</th> |
---|
342 | <!--{assign var=key value="sub_title`$smarty.section.cnt.iteration`"}--> |
---|
343 | <td> |
---|
344 | <span class="attention"><!--{$arrErr[$key]}--></span> |
---|
345 | <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}-->"/> |
---|
346 | <span class="attention"> (上限<!--{$smarty.const.STEXT_LEN}-->文字)</span> |
---|
347 | </td> |
---|
348 | </tr> |
---|
349 | <tr> |
---|
350 | <th>詳細-サブコメント(<!--{$smarty.section.cnt.iteration}-->)<span class="attention">(タグ許可)</span></th> |
---|
351 | <!--{assign var=key value="sub_comment`$smarty.section.cnt.iteration`"}--> |
---|
352 | <td> |
---|
353 | <span class="attention"><!--{$arrErr[$key]}--></span> |
---|
354 | <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]|h}--></textarea><br /> |
---|
355 | <span class="attention"> (上限<!--{$smarty.const.LLTEXT_LEN}-->文字)</span> |
---|
356 | </td> |
---|
357 | </tr> |
---|
358 | <tr> |
---|
359 | <!--{assign var=key value="sub_image`$smarty.section.cnt.iteration`"}--> |
---|
360 | <th>詳細-サブ画像(<!--{$smarty.section.cnt.iteration}-->)<br />[<!--{$smarty.const.NORMAL_SUBIMAGE_WIDTH}-->×<!--{$smarty.const.NORMAL_SUBIMAGE_HEIGHT}-->]</th> |
---|
361 | <td> |
---|
362 | <a name="<!--{$key}-->"></a> |
---|
363 | <!--{assign var=largekey value="sub_large_image`$smarty.section.cnt.iteration`"}--> |
---|
364 | <a name="<!--{$largekey}-->"></a> |
---|
365 | <span class="attention"><!--{$arrErr[$key]}--></span> |
---|
366 | <!--{if $arrFile[$key].filepath != ""}--> |
---|
367 | <img src="<!--{$arrFile[$key].filepath}-->" alt="<!--{$arrForm.name|h}-->" /> <a href="" onclick="selectAll('category_id'); fnModeSubmit('delete_image', 'image_key', '<!--{$key}-->'); return false;">[画像の取り消し]</a><br /> |
---|
368 | <!--{/if}--> |
---|
369 | <input type="file" name="<!--{$key}-->" size="50" class="box50" style="<!--{$arrErr[$key]|sfGetErrorColor}-->"/> |
---|
370 | <a class="btn-normal" href="javascript:;" name="btn" onclick="selectAll('category_id'); fnModeSubmit('upload_image', 'image_key', '<!--{$key}-->'); return false;">アップロード</a> |
---|
371 | </td> |
---|
372 | </tr> |
---|
373 | <tr> |
---|
374 | <!--{assign var=key value="sub_large_image`$smarty.section.cnt.iteration`"}--> |
---|
375 | <th>詳細-サブ拡大画像(<!--{$smarty.section.cnt.iteration}-->)<br />[<!--{$smarty.const.LARGE_SUBIMAGE_WIDTH}-->×<!--{$smarty.const.LARGE_SUBIMAGE_HEIGHT}-->]</th> |
---|
376 | <td> |
---|
377 | <span class="attention"><!--{$arrErr[$key]}--></span> |
---|
378 | <!--{if $arrFile[$key].filepath != ""}--> |
---|
379 | <img src="<!--{$arrFile[$key].filepath}-->" alt="<!--{$arrForm.name|h}-->" /> <a href="" onclick="selectAll('category_id'); fnModeSubmit('delete_image', 'image_key', '<!--{$key}-->'); return false;">[画像の取り消し]</a><br /> |
---|
380 | <!--{/if}--> |
---|
381 | <input type="file" name="<!--{$key}-->" size="50" class="box50" style="<!--{$arrErr[$key]|sfGetErrorColor}-->"/> |
---|
382 | <a class="btn-normal" href="javascript:;" name="btn" onclick="selectAll('category_id'); fnModeSubmit('upload_image', 'image_key', '<!--{$key}-->'); return false;">アップロード</a> |
---|
383 | </td> |
---|
384 | </tr> |
---|
385 | <!--▲商品<!--{$smarty.section.cnt.iteration}-->--> |
---|
386 | <!--{/section}--> |
---|
387 | </table> |
---|
388 | </div> |
---|
389 | |
---|
390 | <div class="btn"> |
---|
391 | <a class="btn-normal" href="javascript:;" onclick="selectAll('category_id'); lfDispSwitch('recommend_select'); return false;"><span>関連商品表示/非表示</span></a> |
---|
392 | </div> |
---|
393 | |
---|
394 | <!--{if count($arrRecommend) > 0}--> |
---|
395 | <div id="recommend_select" style=""> |
---|
396 | <!--{else}--> |
---|
397 | <div id="recommend_select" style="display:none"> |
---|
398 | <!--{/if}--> |
---|
399 | <h2>関連商品</h2> |
---|
400 | <table class="form"> |
---|
401 | <!--{if $smarty.const.OPTION_RECOMMEND == 1}--> |
---|
402 | <!--▼関連商品--> |
---|
403 | <!--{section name=cnt loop=$smarty.const.RECOMMEND_PRODUCT_MAX}--> |
---|
404 | <!--{assign var=recommend_no value="`$smarty.section.cnt.iteration`"}--> |
---|
405 | <tr> |
---|
406 | <!--{assign var=key value="recommend_id`$smarty.section.cnt.iteration`"}--> |
---|
407 | <!--{assign var=anckey value="recommend_no`$smarty.section.cnt.iteration`"}--> |
---|
408 | <th>関連商品(<!--{$smarty.section.cnt.iteration}-->)<br /> |
---|
409 | <!--{if $arrRecommend[$recommend_no].product_id}--> |
---|
410 | <img src="<!--{$smarty.const.URL_PATH}-->resize_image.php?image=<!--{$arrRecommend[$recommend_no].main_list_image|sfNoImageMainList|h}-->&width=65&height=65" alt="<!--{$arrRecommend[$recommend_no].name|h}-->" /> |
---|
411 | <!--{/if}--> |
---|
412 | </th> |
---|
413 | <td> |
---|
414 | <a name="<!--{$anckey}-->"></a> |
---|
415 | <input type="hidden" name="<!--{$key}-->" value="<!--{$arrRecommend[$recommend_no].product_id|h}-->" /> |
---|
416 | <a class="btn-normal" href="javascript:;" name="change" onclick="selectAll('category_id'); win03('./product_select.php?no=<!--{$smarty.section.cnt.iteration}-->', 'search', '600', '500'); return false;">変更</a> |
---|
417 | <!--{assign var=key value="recommend_delete`$smarty.section.cnt.iteration`"}--> |
---|
418 | <input type="checkbox" name="<!--{$key}-->" value="1" />削除<br /> |
---|
419 | 商品コード:<!--{$arrRecommend[$recommend_no].product_code_min}--><br /> |
---|
420 | 商品名:<!--{$arrRecommend[$recommend_no].name|h}--><br /> |
---|
421 | <!--{assign var=key value="recommend_comment`$smarty.section.cnt.iteration`"}--> |
---|
422 | <span class="attention"><!--{$arrErr[$key]}--></span> |
---|
423 | <textarea name="<!--{$key}-->" cols="60" rows="8" class="area60" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" ><!--{$arrRecommend[$recommend_no].comment|h}--></textarea><br /> |
---|
424 | <span class="attention"> (上限<!--{$smarty.const.LTEXT_LEN}-->文字)</span> |
---|
425 | </td> |
---|
426 | </tr> |
---|
427 | <!--{/section}--> |
---|
428 | <!--▲関連商品--> |
---|
429 | <!--{/if}--> |
---|
430 | </table> |
---|
431 | </div> |
---|
432 | |
---|
433 | <div class="btn-area"> |
---|
434 | <!--{if count($arrSearchHidden) > 0}--> |
---|
435 | <!--▼検索結果へ戻る--> |
---|
436 | <ul> |
---|
437 | <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> |
---|
438 | <!--▲検索結果へ戻る--> |
---|
439 | <!--{/if}--> |
---|
440 | <li><a class="btn-action" href="javascript:;" onclick="selectAll('category_id'); document.form1.submit(); return false;"><span class="btn-next">確認ページへ</span></a></li> |
---|
441 | </ul> |
---|
442 | </div> |
---|
443 | </div> |
---|
444 | </form> |
---|