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 | <form name="form1" id="form1" method="post" action="./class.php"> |
---|
27 | <input type="hidden" name="mode" value="edit"> |
---|
28 | <input type="hidden" name="class_id" value="<!--{$tpl_class_id}-->"> |
---|
29 | <tr valign="top"> |
---|
30 | <td background="<!--{$TPL_DIR}-->img/contents/navi_bg.gif" height="402"> |
---|
31 | <!--▼SUB NAVI--> |
---|
32 | <!--{include file=$tpl_subnavi}--> |
---|
33 | <!--▲SUB NAVI--> |
---|
34 | </td> |
---|
35 | <td class="mainbg" > |
---|
36 | <table width="737" border="0" cellspacing="0" cellpadding="0" summary=" "> |
---|
37 | <!--メインエリア--> |
---|
38 | <tr> |
---|
39 | <td align="center"> |
---|
40 | <table width="706" border="0" cellspacing="0" cellpadding="0" summary=" "> |
---|
41 | |
---|
42 | <tr><td height="14"></td></tr> |
---|
43 | <tr> |
---|
44 | <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_top.jpg" width="706" height="14" alt=""></td> |
---|
45 | </tr> |
---|
46 | <tr> |
---|
47 | <td background="<!--{$TPL_DIR}-->img/contents/main_left.jpg"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td> |
---|
48 | <td bgcolor="#cccccc"> |
---|
49 | |
---|
50 | <!--登録テーブルここから--> |
---|
51 | <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" "> |
---|
52 | <tr> |
---|
53 | <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_top.gif" width="678" height="7" alt=""></td> |
---|
54 | </tr> |
---|
55 | <tr> |
---|
56 | <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> |
---|
57 | <td bgcolor="#636469" width="638" class="fs14n"><span class="white"><!--コンテンツタイトル-->規格登録</span></td> |
---|
58 | <td background="<!--{$TPL_DIR}-->img/contents/contents_title_right_bg.gif"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="18" height="1" alt=""></td> |
---|
59 | </tr> |
---|
60 | <tr> |
---|
61 | <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_bottom.gif" width="678" height="7" alt=""></td> |
---|
62 | </tr> |
---|
63 | <tr> |
---|
64 | <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td> |
---|
65 | </tr> |
---|
66 | </table> |
---|
67 | |
---|
68 | <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" "> |
---|
69 | <tr> |
---|
70 | <td bgcolor="#f2f1ec" width="160" class="fs12n">規格名<span class="red"> *</span></td> |
---|
71 | <td bgcolor="#ffffff" width="557" class="fs10n"> |
---|
72 | <span class="red12"><!--{$arrErr.name}--></span> |
---|
73 | <input type="text" name="name" value="<!--{$arrForm.name|escape}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" style="" size="30" class="box30"/> |
---|
74 | <span class="red"> (上限<!--{$smarty.const.STEXT_LEN}-->文字)</span> |
---|
75 | </td> |
---|
76 | </tr> |
---|
77 | </table> |
---|
78 | <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" "> |
---|
79 | <tr> |
---|
80 | <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td> |
---|
81 | <td><img src="<!--{$TPL_DIR}-->img/contents/tbl_top.gif" width="676" height="7" alt=""></td> |
---|
82 | <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td> |
---|
83 | </tr> |
---|
84 | <tr> |
---|
85 | <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td> |
---|
86 | <td bgcolor="#e9e7de" align="center"> |
---|
87 | <table border="0" cellspacing="0" cellpadding="0" summary=" "> |
---|
88 | <tr> |
---|
89 | <td> |
---|
90 | <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" > |
---|
91 | </td> |
---|
92 | </tr> |
---|
93 | </table> |
---|
94 | </td> |
---|
95 | <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td> |
---|
96 | </tr> |
---|
97 | <tr> |
---|
98 | <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/tbl_bottom.gif" width="678" height="8" alt=""></td> |
---|
99 | </tr> |
---|
100 | </table> |
---|
101 | |
---|
102 | <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" "> |
---|
103 | <tr><td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td></tr> |
---|
104 | </table> |
---|
105 | |
---|
106 | <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" "> |
---|
107 | <tr bgcolor="#f2f1ec" align="center" class="fs12n"> |
---|
108 | <td width="322">規格名 (登録数)</td> |
---|
109 | <td width="100">分類登録</td> |
---|
110 | <td width="50">編集</td> |
---|
111 | <td width="50">削除</td> |
---|
112 | <td width="70">移動</td> |
---|
113 | </tr> |
---|
114 | <!--{section name=cnt loop=$arrClass}--> |
---|
115 | <tr bgcolor="<!--{if $tpl_class_id != $arrClass[cnt].class_id}-->#ffffff<!--{else}--><!--{$smarty.const.SELECT_RGB}--><!--{/if}-->" class="fs12"> |
---|
116 | <!--{assign var=class_id value=$arrClass[cnt].class_id}--> |
---|
117 | <td><!--{* 規格名 *}--><!--{$arrClass[cnt].name|escape}--> (<!--{$arrClassCatCount[$class_id]|default:0}-->)</td> |
---|
118 | <td align="center"><a href="<!--{$smarty.const.URL_DIR}-->" onclick="fnClassCatPage(<!--{$arrClass[cnt].class_id}-->); return false;">分類登録</a></td> |
---|
119 | <td align="center"> |
---|
120 | <!--{if $tpl_class_id != $arrClass[cnt].class_id}--> |
---|
121 | <a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="fnModeSubmit('pre_edit', 'class_id', <!--{$arrClass[cnt].class_id}-->); return false;">編集</a> |
---|
122 | <!--{else}--> |
---|
123 | 編集中 |
---|
124 | <!--{/if}--> |
---|
125 | </td> |
---|
126 | <td align="center"> |
---|
127 | <!--{if $arrClassCatCount[$class_id] > 0}--> |
---|
128 | - |
---|
129 | <!--{else}--> |
---|
130 | <a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="fnModeSubmit('delete', 'class_id', <!--{$arrClass[cnt].class_id}-->); return false;">削除</a> |
---|
131 | <!--{/if}--> |
---|
132 | </td> |
---|
133 | <td align="center"> |
---|
134 | <!--{if $smarty.section.cnt.iteration != 1}--> |
---|
135 | <a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="fnModeSubmit('up', 'class_id', <!--{$arrClass[cnt].class_id}-->); return false;" />上へ</a> |
---|
136 | <!--{/if}--> |
---|
137 | <!--{if $smarty.section.cnt.iteration != $smarty.section.cnt.last}--> |
---|
138 | <a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="fnModeSubmit('down', 'class_id', <!--{$arrClass[cnt].class_id}-->); return false;" />下へ</a> |
---|
139 | <!--{/if}--> |
---|
140 | </td> |
---|
141 | </tr> |
---|
142 | <!--{/section}--> |
---|
143 | </table> |
---|
144 | <!--登録テーブルここまで--> |
---|
145 | </td> |
---|
146 | <td background="<!--{$TPL_DIR}-->img/contents/main_right.jpg"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td> |
---|
147 | </tr> |
---|
148 | <tr> |
---|
149 | <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bottom.jpg" width="706" height="14" alt=""></td> |
---|
150 | </tr> |
---|
151 | <tr><td height="30"></td></tr> |
---|
152 | |
---|
153 | </table> |
---|
154 | </td> |
---|
155 | </tr> |
---|
156 | <!--メインエリア--> |
---|
157 | </table> |
---|
158 | </td> |
---|
159 | </tr> |
---|
160 | </form> |
---|
161 | </table> |
---|
162 | <!--★★メインコンテンツ★★--> |
---|