source: tmp/version-2_5-test/data/Smarty/templates/default/admin/products/product.tpl @ 18609

Revision 18609, 23.6 KB checked in by kajiwara, 14 years ago (diff)

正式版にナイトリービルド版をマージしてみるテスト

  • Property svn:eol-style set to LF
  • Property svn:mime-type set to text/html; charset=UTF-8
Line 
1<!--{*
2/*
3 * This file is part of EC-CUBE
4 *
5 * Copyright(c) 2000-2008 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の表示非表示切り替え
26function 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)
37function 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 の子要素を選択状態にする
54function 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="product_id" value="<!--{$arrForm.product_id}-->" />
67<input type="hidden" name="product_class_id" value="<!--{$arrForm.product_class_id}-->" />
68<input type="hidden" name="copy_product_id" value="<!--{$arrForm.copy_product_id}-->" />
69<input type="hidden" name="anchor_key" value="" />
70<!--{foreach key=key item=item from=$arrHidden}-->
71<input type="hidden" name="<!--{$key}-->" value="<!--{$item|escape}-->" />
72<!--{/foreach}-->
73<div id="products" class="contents-main">
74  <h2><!--コンテンツタイトル-->商品登録</h2>
75
76  <table class="form">
77    <tr>
78      <th>商品ID</th>
79      <td><!--{$arrForm.product_id}--></td>
80    </tr>
81    <tr>
82      <th>商品名<span class="attention"> *</span></th>
83      <td>
84        <span class="attention"><!--{$arrErr.name}--></span>
85        <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" />
86        <span class="attention"> (上限<!--{$smarty.const.STEXT_LEN}-->文字)</span>
87      </td>
88    </tr>
89    <tr>
90      <th>商品カテゴリ<span class="attention"> *</span></th>
91      <td>
92        <span class="attention"><!--{$arrErr.category_id}--></span>
93        <table class="layout">
94          <tr>
95            <td>
96              <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>
97              </select>
98            </td>
99            <td style="padding: 15px;">
100              <input type="button" name="on_select" value="&nbsp;&nbsp;&lt;-&nbsp;登録&nbsp;&nbsp;" onClick="fnMoveSelect('category_id_unselect','category_id')" /><br /><br />
101              <input type="button" name="un_select" value="&nbsp;&nbsp;削除&nbsp;-&gt;&nbsp;&nbsp;" onClick="fnMoveSelect('category_id','category_id_unselect')" />
102            </td>
103            <td>
104              <select name="category_id_unselect[]" id="category_id_unselect" onchange="" size="10" style="height: 120px; min-width: 200px;" multiple>
105                <!--{html_options values=$arrCatVal output=$arrCatOut selected=$arrForm.category_id}-->
106              </select>
107            </td>
108          </tr>
109        </table>
110      </td>
111    </tr>
112    <tr>
113      <th>公開・非公開<span class="attention"> *</span></th>
114      <td>
115        <input type="radio" name="status" value="1" <!--{if $arrForm.status == "1"}-->checked<!--{/if}--> />公開 
116        <input type="radio" name="status" value="2" <!--{if $arrForm.status == "2"}-->checked<!--{/if}--> />非公開
117      </td>
118    </tr>
119    <tr>
120      <th>商品ステータス</th>
121      <td>
122        <!--{html_checkboxes name="product_flag" options=$arrSTATUS selected=$arrForm.product_flag}-->
123      </td>
124    </tr>
125
126    <!--{if $tpl_nonclass == true}-->
127    <tr>
128      <th>商品コード<span class="attention"> *</span></th>
129      <td>
130        <span class="attention"><!--{$arrErr.product_code}--></span>
131        <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" />
132        <span class="attention"> (上限<!--{$smarty.const.STEXT_LEN}-->文字)</span>
133      </td>
134    </tr>
135    <tr>
136      <th><!--{$smarty.const.NORMAL_PRICE_TITLE}--></th>
137      <td>
138        <span class="attention"><!--{$arrErr.price01}--></span>
139        <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}-->"/>円
140        <span class="attention"> (半角数字で入力)</span>
141      </td>
142    </tr>
143    <tr>
144      <th><!--{$smarty.const.SALE_PRICE_TITLE}--><span class="attention"> *</span></th>
145      <td>
146        <span class="attention"><!--{$arrErr.price02}--></span>
147        <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}-->"/>円
148        <span class="attention"> (半角数字で入力)</span>
149      </td>
150    </tr>
151    <tr>
152      <th>在庫数<span class="attention"> *</span></th>
153      <td>
154        <span class="attention"><!--{$arrErr.stock}--></span>
155        <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}-->"/>
156        <input type="checkbox" name="stock_unlimited" value="1" <!--{if $arrForm.stock_unlimited == "1"}-->checked<!--{/if}--> onclick="fnCheckStockLimit('<!--{$smarty.const.DISABLED_RGB}-->');"/>無制限
157      </td>
158    </tr>
159    <!--{/if}-->
160
161    <tr>
162      <th>商品送料</th>
163      <td>
164        <span class="attention"><!--{$arrErr.deliv_fee}--></span>
165        <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}-->"/>円
166        <span class="attention"> (半角数字で入力)</span>
167        <!--{if $smarty.const.OPTION_PRODUCT_DELIV_FEE != 1}--><br /><span class="attention">※現在無効です</span> (パラメータ OPTION_PRODUCT_DELIV_FEE)<!--{/if}-->
168      </td>
169    </tr>
170    <tr>
171      <th>ポイント付与率<span class="attention"> *</span></th>
172      <td>
173        <span class="attention"><!--{$arrErr.point_rate}--></span>
174        <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}-->"/>%
175        <span class="attention"> (半角数字で入力)</span>
176      </td>
177    </tr>
178    <tr>
179      <th>発送日目安</th>
180      <td>
181        <span class="attention"><!--{$arrErr.deliv_date_id}--></span>
182        <select name="deliv_date_id" style="<!--{$arrErr.deliv_date_id|sfGetErrorColor}-->">
183          <option value="">選択してください</option>
184          <!--{html_options options=$arrDELIVERYDATE selected=$arrForm.deliv_date_id}-->
185        </select>
186      </td>
187    </tr>
188    <tr>
189      <th>購入制限</th>
190      <td>
191        <span class="attention"><!--{$arrErr.sale_limit}--></span>
192        <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}-->"/>
193        <span class="attention"> (半角数字で入力)</span>
194      </td>
195    </tr>
196    <tr>
197      <th>メーカー</th>
198      <td>
199        <span class="attention"><!--{$arrErr.maker_id}--></span>
200        <select name="maker_id" style="<!--{$arrErr.maker_id|sfGetErrorColor}-->">
201          <option value="">選択してください</option>
202          <!--{html_options options=$arrMaker selected=$arrForm.maker_id}-->
203        </select>
204      </td>
205    </tr>
206    <tr>
207      <th>メーカーURL</th>
208      <td>
209        <span class="attention"><!--{$arrErr.comment1}--></span>
210        <input type="text" name="comment1" value="<!--{$arrForm.comment1|escape}-->" maxlength="<!--{$smarty.const.URL_LEN}-->" size="60" class="box60" style="<!--{$arrErr.comment1|sfGetErrorColor}-->" />
211        <span class="attention"> (上限<!--{$smarty.const.URL_LEN}-->文字)</span>
212      </td>
213    </tr>
214    <!--{*
215    <tr>
216      <th>成分</th>
217      <td>
218        <textarea name="comment2" cols="60" rows="8" class="area60" maxlength="<!--{$smarty.const.STEXT_LEN}-->"><!--{$arrForm.comment2|escape}--></textarea>
219        <span class="attention"> (上限<!--{$smarty.const.LTEXT_LEN}-->文字)</span>
220      </td>
221    </tr>
222    *}-->
223    <tr>
224      <th>検索ワード<br />※複数の場合は、カンマ( , )区切りで入力して下さい</th>
225      <td>
226        <span class="attention"><!--{$arrErr.comment3}--></span>
227        <textarea name="comment3" cols="60" rows="8" class="area60" maxlength="<!--{$smarty.const.LLTEXT_LEN}-->" style="<!--{$arrErr.comment3|sfGetErrorColor}-->"><!--{$arrForm.comment3|escape}--></textarea><br />
228        <span class="attention"> (上限<!--{$smarty.const.LLTEXT_LEN}-->文字)</span>
229      </td>
230    </tr>
231    <tr>
232      <th>備考欄(SHOP専用)</th>
233      <td>
234        <span class="attention"><!--{$arrErr.note}--></span>
235        <textarea name="note" cols="60" rows="8" class="area60" maxlength="<!--{$smarty.const.LLTEXT_LEN}-->" style="<!--{$arrErr.note|sfGetErrorColor}-->"><!--{$arrForm.note|escape}--></textarea><br />
236        <span class="attention"> (上限<!--{$smarty.const.LLTEXT_LEN}-->文字)</span>
237      </td>
238    </tr>
239    <tr>
240      <th>一覧-メインコメント<span class="attention"> *</span></th>
241      <td>
242        <span class="attention"><!--{$arrErr.main_list_comment}--></span>
243        <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 />
244        <span class="attention"> (上限<!--{$smarty.const.MTEXT_LEN}-->文字)</span>
245      </td>
246    </tr>
247    <tr>
248      <th>詳細-メインコメント<span class="attention">(タグ許可)*</span></th>
249      <td>
250        <span class="attention"><!--{$arrErr.main_comment}--></span>
251        <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 />
252        <span class="attention"> (上限<!--{$smarty.const.LLTEXT_LEN}-->文字)</span>
253      </td>
254    </tr>
255    <tr>
256      <!--{assign var=key value="main_list_image"}-->
257      <th>一覧-メイン画像<br />[<!--{$smarty.const.SMALL_IMAGE_WIDTH}-->×<!--{$smarty.const.SMALL_IMAGE_HEIGHT}-->]</th>
258      <td>
259        <a name="<!--{$key}-->"></a>
260        <a name="main_image"></a>
261        <a name="main_large_image"></a>
262        <span class="attention"><!--{$arrErr[$key]}--></span>
263        <!--{if $arrFile[$key].filepath != ""}-->
264        <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 />
265        <!--{/if}-->
266        <input type="file" name="main_list_image" size="50" class="box50" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" />
267        <input type="button" name="btn" onclick="selectAll('category_id'); fnModeSubmit('upload_image', 'image_key', '<!--{$key}-->')" value="アップロード" />
268      </td>
269    </tr>
270    <tr>
271      <!--{assign var=key value="main_image"}-->
272      <th>詳細-メイン画像<br />[<!--{$smarty.const.NORMAL_IMAGE_WIDTH}-->×<!--{$smarty.const.NORMAL_IMAGE_HEIGHT}-->]</th>
273      <td>
274        <span class="attention"><!--{$arrErr[$key]}--></span>
275        <!--{if $arrFile[$key].filepath != ""}-->
276        <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 />
277        <!--{/if}-->
278        <input type="file" name="main_image" size="50" class="box50" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" />
279        <input type="button" name="btn" onclick="selectAll('category_id'); fnModeSubmit('upload_image', 'image_key', '<!--{$key}-->')" value="アップロード" />
280      </td>
281    </tr>
282    <tr>
283      <!--{assign var=key value="main_large_image"}-->
284      <th>詳細-メイン拡大画像<br />[<!--{$smarty.const.LARGE_IMAGE_WIDTH}-->×<!--{$smarty.const.LARGE_IMAGE_HEIGHT}-->]</th>
285      <td>
286        <span class="attention"><!--{$arrErr[$key]}--></span>
287        <!--{if $arrFile[$key].filepath != ""}-->
288        <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 />
289        <!--{/if}-->
290        <input type="file" name="<!--{$key}-->" size="50" class="box50" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" />
291        <input type="button" name="btn" onclick="selectAll('category_id'); fnModeSubmit('upload_image', 'image_key', '<!--{$key}-->')" value="アップロード" />
292      </td>
293    </tr>
294    <!--{* カラー比較画像、商品詳細ファイルは非対応
295    <tr>
296      <th>カラー比較画像<br />[500×500]</th>
297      <td>
298        <!--{assign var=key value="file1"}-->
299        <span class="attention"><!--{$arrErr[$key]}--></span>
300        <!--{if $arrFile[$key].filepath != ""}-->
301        <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 />
302        <!--{/if}-->
303        <input type="file" name="<!--{$key}-->" size="50" class="box50" />
304        <input type="button" name="btn" onclick="selectAll('category_id'); fnModeSubmit('upload_image', 'image_key', '<!--{$key}-->')" value="アップロード" />
305      </td>
306    </tr>
307    <tr>
308      <th>商品詳細ファイル</th>
309      <td>
310        <!--{assign var=key value="file2"}-->
311        <span class="attention"><!--{$arrErr[$key]}--></span>
312        <!--{if $arrFile[$key].filepath != ""}-->
313        <input type="button" name="pdf" value="ファイル確認" onclick="selectAll('category_id'); fnOpenNoMenu('<!--{$arrFile[$key].filepath}-->')"/>
314        <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" />
317        <input type="button" name="btn" onclick="selectAll('category_id'); fnModeSubmit('upload_image', 'image_key', '<!--{$key}-->')" value="アップロード" />
318      </td>
319    </tr>
320    *}-->
321  </table>
322
323  <!--{* オペビルダー用 *}-->
324  <!--{if "sfViewAdminOpe"|function_exists === TRUE}-->
325  <!--{include file=`$smarty.const.MODULE_PATH`mdl_opebuilder/admin_ope_view.tpl}-->
326  <!--{/if}-->
327
328  <div class="btn">
329    <button type="button" onclick="selectAll('category_id'); lfDispSwitch('sub_detail');"><span>サブ情報表示/非表示</span></button>
330  </div>
331
332  <!--{if $sub_find == true}-->
333  <div id="sub_detail" style="">
334  <!--{else}-->
335  <div id="sub_detail" style="display:none">
336  <!--{/if}-->
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]|escape}-->" 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]|escape}--></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|escape}-->" /> <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        <input type="button" name="btn" onclick="selectAll('category_id'); fnModeSubmit('upload_image', 'image_key', '<!--{$key}-->')" value="アップロード" />
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|escape}-->" /> <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        <input type="button" name="btn" onclick="selectAll('category_id'); fnModeSubmit('upload_image', 'image_key', '<!--{$key}-->')" value="アップロード" />
383      </td>
384    </tr>
385    <!--▲商品<!--{$smarty.section.cnt.iteration}-->-->
386    <!--{/section}-->
387  </table>
388  </div>
389
390  <div class="btn">
391    <button type="button" onclick="selectAll('category_id'); lfDispSwitch('recommend_select');"><span>関連商品表示/非表示</span></button>
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  <table class="form">
400    <!--{if $smarty.const.OPTION_RECOMMEND == 1}-->
401    <!--▼関連商品-->
402    <!--{section name=cnt loop=$smarty.const.RECOMMEND_PRODUCT_MAX}-->
403    <!--{assign var=recommend_no value="`$smarty.section.cnt.iteration`"}-->
404    <tr>
405      <!--{assign var=key value="recommend_id`$smarty.section.cnt.iteration`"}-->
406      <!--{assign var=anckey value="recommend_no`$smarty.section.cnt.iteration`"}-->
407      <th>関連商品(<!--{$smarty.section.cnt.iteration}-->)<br />
408        <!--{if $arrRecommend[$recommend_no].product_id}-->
409          <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}-->" />
410        <!--{/if}-->
411      </th>
412      <td>
413        <a name="<!--{$anckey}-->"></a>
414        <input type="hidden" name="<!--{$key}-->" value="<!--{$arrRecommend[$recommend_no].product_id|escape}-->" />
415        <input type="button" name="change" value="変更" onclick="selectAll('category_id'); win03('./product_select.php?no=<!--{$smarty.section.cnt.iteration}-->', 'search', '500', '500'); " />
416        <!--{assign var=key value="recommend_delete`$smarty.section.cnt.iteration`"}-->
417        <input type="checkbox" name="<!--{$key}-->" value="1" />削除<br />
418        商品コード:<!--{$arrRecommend[$recommend_no].product_code_min}--><br />
419        商品名:<!--{$arrRecommend[$recommend_no].name|escape}--><br />
420        <!--{assign var=key value="recommend_comment`$smarty.section.cnt.iteration`"}-->
421        <span class="attention"><!--{$arrErr[$key]}--></span>
422        <textarea name="<!--{$key}-->" cols="60" rows="8" class="area60" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" ><!--{$arrRecommend[$recommend_no].comment|escape}--></textarea><br />
423        <span class="attention"> (上限<!--{$smarty.const.LTEXT_LEN}-->文字)</span>
424      </td>
425    </tr>
426    <!--{/section}-->
427    <!--▲関連商品-->
428    <!--{/if}-->
429  </table>
430  </div>
431
432  <div class="btn">
433    <!--{if count($arrSearchHidden) > 0}-->
434    <!--▼検索結果へ戻る-->
435    <button type="button" onClick="fnChangeAction('<!--{$smarty.const.URL_SEARCH_TOP}-->'); fnModeSubmit('search','',''); return false;"><span>検索画面に戻る</span></button>
436    <!--▲検索結果へ戻る-->
437    <!--{/if}-->
438    <button type="submit" onClick="selectAll('category_id')"><span>確認ページへ</span></button>
439  </div>
440</div>
441</form>
Note: See TracBrowser for help on using the repository browser.