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 | <!--★★メインコンテンツ★★--> |
---|
25 | <table width="878" border="0" cellspacing="0" cellpadding="0" summary=" "> |
---|
26 | <tr valign="top"> |
---|
27 | <td background="<!--{$TPL_DIR}-->img/contents/navi_bg.gif" height="402"> |
---|
28 | <!--▼SUB NAVI--> |
---|
29 | <!--{include file=$tpl_subnavi}--> |
---|
30 | <!--▲SUB NAVI--> |
---|
31 | </td> |
---|
32 | <td class="mainbg"> |
---|
33 | <!--▼登録テーブルここから--> |
---|
34 | <table width="737" border="0" cellspacing="0" cellpadding="0" summary=" "> |
---|
35 | <!--メインエリア--> |
---|
36 | <tr> |
---|
37 | <td align="center"> |
---|
38 | <table width="706" border="0" cellspacing="0" cellpadding="0" summary=" "> |
---|
39 | <form name="form1" id="form1" method="post" action=""> |
---|
40 | <!--{foreach key=key item=item from=$arrSearchHidden}--> |
---|
41 | <input type="hidden" name="<!--{$key}-->" value="<!--{$item|escape}-->"> |
---|
42 | <!--{/foreach}--> |
---|
43 | <input type="hidden" name="mode" value="edit"> |
---|
44 | <input type="hidden" name="product_id" value="<!--{$tpl_product_id}-->"> |
---|
45 | <input type="hidden" name="pageno" value="<!--{$tpl_pageno}-->"> |
---|
46 | <tr><td height="14"></td></tr> |
---|
47 | <tr> |
---|
48 | <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_top.jpg" width="706" height="14" alt=""></td> |
---|
49 | </tr> |
---|
50 | <tr> |
---|
51 | <td background="<!--{$TPL_DIR}-->img/contents/main_left.jpg"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td> |
---|
52 | <td bgcolor="#cccccc"> |
---|
53 | <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" "> |
---|
54 | <tr> |
---|
55 | <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_top.gif" width="678" height="7" alt=""></td> |
---|
56 | </tr> |
---|
57 | <tr> |
---|
58 | <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> |
---|
59 | <td bgcolor="#636469" width="638" class="fs14n"><span class="white"><!--コンテンツタイトル-->規格登録</span></td> |
---|
60 | <td background="<!--{$TPL_DIR}-->img/contents/contents_title_right_bg.gif"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="18" height="1" alt=""></td> |
---|
61 | </tr> |
---|
62 | <tr> |
---|
63 | <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_bottom.gif" width="678" height="7" alt=""></td> |
---|
64 | </tr> |
---|
65 | <tr> |
---|
66 | <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td> |
---|
67 | </tr> |
---|
68 | </table> |
---|
69 | |
---|
70 | <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" "> |
---|
71 | <tr> |
---|
72 | <td bgcolor="#f2f1ec" width="160" class="fs12n">商品名</td> |
---|
73 | <td bgcolor="#ffffff" width="557" class="fs12n"><!--{$arrForm.product_name|escape}--></td> |
---|
74 | </tr> |
---|
75 | <tr> |
---|
76 | <td bgcolor="#f2f1ec" width="160" class="fs12n">規格1<span class="red">*</span></td> |
---|
77 | <td bgcolor="#ffffff" width="557" class="fs12n"> |
---|
78 | <span class="red12"><!--{$arrErr.select_class_id1}--></span> |
---|
79 | <select name="select_class_id1"> |
---|
80 | <option value="">選択してください</option> |
---|
81 | <!--{html_options options=$arrClass selected=$arrForm.select_class_id1}--> |
---|
82 | </select> |
---|
83 | </td> |
---|
84 | </tr> |
---|
85 | <tr> |
---|
86 | <td bgcolor="#f2f1ec" width="160" class="fs12n">規格2</td> |
---|
87 | <td bgcolor="#ffffff" width="557" class="fs12n"> |
---|
88 | <span class="red12"><!--{$arrErr.select_class_id2}--></span> |
---|
89 | <select name="select_class_id2"> |
---|
90 | <option value="">選択してください</option> |
---|
91 | <!--{html_options options=$arrClass selected=$arrForm.select_class_id2}--> |
---|
92 | </select> |
---|
93 | </td> |
---|
94 | </tr> |
---|
95 | <tr> |
---|
96 | <td align="center" bgcolor="#f2f1ec" colspan=2> |
---|
97 | <input type="button" value="検索結果へ戻る" onclick="fnChangeAction('<!--{$smarty.const.URL_SEARCH_TOP}-->'); fnModeSubmit('search','',''); return false;" > |
---|
98 | <input type="button" name="btn" value="表示する" onclick="fnModeSubmit('disp','','')"> |
---|
99 | <!--{if count($arrClassCat) > 0}--> |
---|
100 | <input type="button" name="btn" value="削除する" onclick="fnModeSubmit('delete','','');"> |
---|
101 | <!--{/if}--> |
---|
102 | </td> |
---|
103 | </tr> |
---|
104 | </table> |
---|
105 | |
---|
106 | <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" "> |
---|
107 | <tr><td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td></tr> |
---|
108 | </table> |
---|
109 | |
---|
110 | <!--{if count($arrClassCat) > 0}--> |
---|
111 | |
---|
112 | <!--{foreach item=item name=i from=$arrClassCat}--> |
---|
113 | <!--{if $smarty.foreach.i.first}--> |
---|
114 | <!--{assign var=cnt value=$smarty.foreach.i.total}--> |
---|
115 | <!--{/if}--> |
---|
116 | <!--{/foreach}--> |
---|
117 | |
---|
118 | <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" "> |
---|
119 | <tr bgcolor="#f2f1ec"> |
---|
120 | <td class="fs12n" align="left"> |
---|
121 | <a href="<!--{$smarty.const.URL_DIR}-->" onclick="fnAllCheck(); return false;">全選択</a> |
---|
122 | <a href="<!--{$smarty.const.URL_DIR}-->" onclick="fnAllUnCheck(); return false;">全解除</a> |
---|
123 | <a href="<!--{$smarty.const.URL_DIR}-->" onclick="fnCopyValue('<!--{$cnt}-->', '<!--{$smarty.const.DISABLED_RGB}-->'); return false;">一行目のデータをコピーする</a></td> |
---|
124 | </tr> |
---|
125 | </table> |
---|
126 | |
---|
127 | <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" "> |
---|
128 | <!--{assign var=class_id1 value=$arrForm.class_id1}--> |
---|
129 | <!--{assign var=class_id2 value=$arrForm.class_id2}--> |
---|
130 | <input type="hidden" name="class_id1" value="<!--{$class_id1}-->"> |
---|
131 | <input type="hidden" name="class_id2" value="<!--{$class_id2}-->"> |
---|
132 | <tr bgcolor="#f2f1ec" align="center" class="fs12n"> |
---|
133 | <td width="30">登録</td> |
---|
134 | <td width="100">規格1(<!--{$arrClass[$class_id1]|default:"未選択"}-->)</td> |
---|
135 | <td width="100">規格2(<!--{$arrClass[$class_id2]|default:"未選択"}-->)</td> |
---|
136 | <td width="80">商品コード</td> |
---|
137 | <td width="160">在庫(個)<span class="red">*</span></td> |
---|
138 | <td width="100"><!--{$smarty.const.NORMAL_PRICE_TITLE}-->(円)</td> |
---|
139 | <td width="100"><!--{$smarty.const.SALE_PRICE_TITLE}-->(円)<span class="red">*</span></td> |
---|
140 | </tr> |
---|
141 | <!--{section name=cnt loop=$arrClassCat}--> |
---|
142 | <!--{assign var=key value="error:`$smarty.section.cnt.iteration`"}--> |
---|
143 | <!--{if $arrErr[$key] != ""}--> |
---|
144 | <tr bgcolor="#ffffff" class="fs12"> |
---|
145 | <td bgcolor="#ffffff" class="fs12" colspan="8"><span class="red12"><!--{$arrErr[$key]}--></span></td> |
---|
146 | </tr> |
---|
147 | <!--{/if}--> |
---|
148 | <tr bgcolor="#ffffff" class="fs10n"> |
---|
149 | <input type="hidden" name="classcategory_id1:<!--{$smarty.section.cnt.iteration}-->" value="<!--{$arrClassCat[cnt].classcategory_id1}-->"> |
---|
150 | <input type="hidden" name="classcategory_id2:<!--{$smarty.section.cnt.iteration}-->" value="<!--{$arrClassCat[cnt].classcategory_id2}-->"> |
---|
151 | <input type="hidden" name="name1:<!--{$smarty.section.cnt.iteration}-->" value="<!--{$arrClassCat[cnt].name1}-->"> |
---|
152 | <input type="hidden" name="name2:<!--{$smarty.section.cnt.iteration}-->" value="<!--{$arrClassCat[cnt].name2}-->"> |
---|
153 | <input type="hidden" name="product_class_id:<!--{$smarty.section.cnt.iteration}-->" value="<!--{$arrClassCat[cnt].product_class_id}-->"> |
---|
154 | <!--{assign var=key value="check:`$smarty.section.cnt.iteration`"}--> |
---|
155 | <td align="center"><input type="checkbox" name="check:<!--{$smarty.section.cnt.iteration}-->" value="1" <!--{if $arrForm[$key] == 1}-->checked="checked"<!--{/if}-->></td> |
---|
156 | <td><!--{$arrClassCat[cnt].name1}--></td> |
---|
157 | <td><!--{$arrClassCat[cnt].name2}--></td> |
---|
158 | <!--{assign var=key value="product_code:`$smarty.section.cnt.iteration`"}--> |
---|
159 | <td align="center"><input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key]}-->" size="6" class="box6" maxlength="<!--{$smarty.const.STEXT_LEN}-->" <!--{if $arrErr[$key] != ""}--><!--{sfSetErrorStyle}--><!--{/if}-->></td> |
---|
160 | <!--{assign var=key value="stock:`$smarty.section.cnt.iteration`"}--> |
---|
161 | <!--{assign var=chkkey value="stock_unlimited:`$smarty.section.cnt.iteration`"}--> |
---|
162 | <td align="center"> |
---|
163 | <input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key]}-->" size="6" class="box6" maxlength="<!--{$smarty.const.AMOUNT_LEN}-->" <!--{if $arrErr[$key] != ""}--><!--{sfSetErrorStyle}--><!--{/if}-->> |
---|
164 | <!--{assign var=key value="stock_unlimited:`$smarty.section.cnt.iteration`"}--> |
---|
165 | <input type="checkbox" name="<!--{$key}-->" value="1" <!--{if $arrForm[$key] == "1"}-->checked<!--{/if}--> onClick="fnCheckStockNoLimit('<!--{$smarty.section.cnt.iteration}-->','<!--{$smarty.const.DISABLED_RGB}-->');"/>無制限</td> |
---|
166 | </td> |
---|
167 | <!--{assign var=key value="price01:`$smarty.section.cnt.iteration`"}--> |
---|
168 | <td align="center"><input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key]}-->" size="6" class="box6" maxlength="<!--{$smarty.const.PRICE_LEN}-->" <!--{if $arrErr[$key] != ""}--><!--{sfSetErrorStyle}--><!--{/if}-->></td> |
---|
169 | <!--{assign var=key value="price02:`$smarty.section.cnt.iteration`"}--> |
---|
170 | <td align="center"><input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key]}-->" size="6" class="box6" maxlength="<!--{$smarty.const.PRICE_LEN}-->" <!--{if $arrErr[$key] != ""}--><!--{sfSetErrorStyle}--><!--{/if}-->></td> |
---|
171 | </tr> |
---|
172 | <!--{/section}--> |
---|
173 | </table> |
---|
174 | |
---|
175 | <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" "> |
---|
176 | <tr> |
---|
177 | <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td> |
---|
178 | <td><img src="<!--{$TPL_DIR}-->img/contents/tbl_top.gif" width="676" height="7" alt=""></td> |
---|
179 | <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td> |
---|
180 | </tr> |
---|
181 | <tr> |
---|
182 | <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td> |
---|
183 | <td bgcolor="#e9e7de" align="center"> |
---|
184 | <table border="0" cellspacing="0" cellpadding="0" summary=" "> |
---|
185 | <tr> |
---|
186 | <td><input type="image" onMouseover="chgImgImageSubmit('<!--{$TPL_DIR}-->img/contents/btn_regist_on.jpg',this)" onMouseout="chgImgImageSubmit('<!--{$TPL_DIR}-->img/contents/btn_regist.jpg',this)" src="<!--{$TPL_DIR}-->img/contents/btn_regist.jpg" width="123" height="24" alt="この内容で登録する" border="0" name="subm" ></td> |
---|
187 | </tr> |
---|
188 | </table> |
---|
189 | </td> |
---|
190 | <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td> |
---|
191 | </tr> |
---|
192 | <tr> |
---|
193 | <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/tbl_bottom.gif" width="678" height="8" alt=""></td> |
---|
194 | </tr> |
---|
195 | </table> |
---|
196 | |
---|
197 | <!--{/if}--> |
---|
198 | |
---|
199 | </td> |
---|
200 | <td background="<!--{$TPL_DIR}-->img/contents/main_right.jpg"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td> |
---|
201 | </tr> |
---|
202 | <tr> |
---|
203 | <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bottom.jpg" width="706" height="14" alt=""></td> |
---|
204 | </tr> |
---|
205 | <tr><td height="30"></td></tr> |
---|
206 | </table> |
---|
207 | </td> |
---|
208 | </tr> |
---|
209 | <!--メインエリア--> |
---|
210 | </table> |
---|
211 | <!--▲登録テーブルここまで--> |
---|
212 | </td> |
---|
213 | </tr> |
---|
214 | </form> |
---|
215 | </table> |
---|
216 | <!--★★メインコンテンツ★★--> |
---|