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