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