1 | <!--{* |
---|
2 | /* |
---|
3 | * This file is part of EC-CUBE |
---|
4 | * |
---|
5 | * Copyright(c) 2000-2010 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="./kiyaku.php"> |
---|
27 | <input type="hidden" name="mode" value="edit"> |
---|
28 | <input type="hidden" name="kiyaku_id" value="<!--{$tpl_kiyaku_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.kiyaku_title}--></span> |
---|
73 | <input type="text" name="kiyaku_title" value="<!--{$arrForm.kiyaku_title|escape}-->" maxlength="<!--{$smarty.const.SMTEXT_LEN}-->" style="" size="60" class="box60"/> |
---|
74 | <span class="red"> (上限<!--{$smarty.const.SMTEXT_LEN}-->文字)</span> |
---|
75 | </td> |
---|
76 | </tr> |
---|
77 | <tr> |
---|
78 | <td bgcolor="#f2f1ec" width="160" class="fs12n">規約内容<span class="red"> *</span></td> |
---|
79 | <td bgcolor="#ffffff" width="557" class="fs10n"> |
---|
80 | <span class="red12"><!--{$arrErr.kiyaku_text}--></span> |
---|
81 | <textarea name="kiyaku_text" maxlength="<!--{$smarty.const.MTEXT_LEN}-->" cols="60" rows="8" class="area60" style="" ><!--{$arrForm.kiyaku_text|escape}--></textarea> |
---|
82 | <span class="red"> (上限<!--{$smarty.const.MLTEXT_LEN}-->文字)</span> |
---|
83 | </td> |
---|
84 | </tr> |
---|
85 | </table> |
---|
86 | |
---|
87 | <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" "> |
---|
88 | <tr> |
---|
89 | <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td> |
---|
90 | <td><img src="<!--{$TPL_DIR}-->img/contents/tbl_top.gif" width="676" height="7" alt=""></td> |
---|
91 | <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td> |
---|
92 | </tr> |
---|
93 | <tr> |
---|
94 | <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td> |
---|
95 | <td bgcolor="#e9e7de" align="center"> |
---|
96 | <table border="0" cellspacing="0" cellpadding="0" summary=" "> |
---|
97 | <tr> |
---|
98 | <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> |
---|
99 | </tr> |
---|
100 | </table> |
---|
101 | </td> |
---|
102 | <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td> |
---|
103 | </tr> |
---|
104 | <tr> |
---|
105 | <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/tbl_bottom.gif" width="678" height="8" alt=""></td> |
---|
106 | </tr> |
---|
107 | </table> |
---|
108 | |
---|
109 | <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" "> |
---|
110 | <tr><td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td></tr> |
---|
111 | </table> |
---|
112 | |
---|
113 | <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" "> |
---|
114 | <tr bgcolor="#f2f1ec" align="center" class="fs12n"> |
---|
115 | <td width="471">規約タイトル</td> |
---|
116 | <td width="50">編集</td> |
---|
117 | <td width="50">削除</td> |
---|
118 | <td width="70">移動</td> |
---|
119 | </tr> |
---|
120 | <!--{section name=cnt loop=$arrKiyaku}--> |
---|
121 | <tr bgcolor="<!--{if $tpl_class_id != $arrKiyaku[cnt].kiyaku_id}-->#ffffff<!--{else}--><!--{$smarty.const.SELECT_RGB}--><!--{/if}-->" class="fs12"> |
---|
122 | <!--{assign var=kiyaku_id value=$arrKiyaku[cnt].kiyaku_id}--> |
---|
123 | <td><!--{* 規格名 *}--><!--{$arrKiyaku[cnt].kiyaku_title|escape}--></td> |
---|
124 | <td align="center"> |
---|
125 | <!--{if $tpl_kiyaku_id != $arrKiyaku[cnt].kiyaku_id}--> |
---|
126 | <a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="fnModeSubmit('pre_edit', 'kiyaku_id', <!--{$arrKiyaku[cnt].kiyaku_id}-->); return false;">編集</a> |
---|
127 | <!--{else}--> |
---|
128 | 編集中 |
---|
129 | <!--{/if}--> |
---|
130 | </td> |
---|
131 | <td align="center"> |
---|
132 | <!--{if $arrClassCatCount[$class_id] > 0}--> |
---|
133 | - |
---|
134 | <!--{else}--> |
---|
135 | <a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="fnModeSubmit('delete', 'kiyaku_id', <!--{$arrKiyaku[cnt].kiyaku_id}-->); return false;">削除</a> |
---|
136 | <!--{/if}--> |
---|
137 | </td> |
---|
138 | <td align="center"> |
---|
139 | <!--{if $smarty.section.cnt.iteration != 1}--> |
---|
140 | <a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="fnModeSubmit('up', 'kiyaku_id', <!--{$arrKiyaku[cnt].kiyaku_id}-->); return false;" />上へ</a> |
---|
141 | <!--{/if}--> |
---|
142 | <!--{if $smarty.section.cnt.iteration != $smarty.section.cnt.last}--> |
---|
143 | <a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="fnModeSubmit('down', 'kiyaku_id', <!--{$arrKiyaku[cnt].kiyaku_id}-->); return false;" />下へ</a> |
---|
144 | <!--{/if}--> |
---|
145 | </td> |
---|
146 | </tr> |
---|
147 | <!--{/section}--> |
---|
148 | </table> |
---|
149 | <!--登録テーブルここまで--> |
---|
150 | </td> |
---|
151 | <td background="<!--{$TPL_DIR}-->img/contents/main_right.jpg"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td> |
---|
152 | </tr> |
---|
153 | <tr> |
---|
154 | <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bottom.jpg" width="706" height="14" alt=""></td> |
---|
155 | </tr> |
---|
156 | <tr><td height="30"></td></tr> |
---|
157 | |
---|
158 | </table> |
---|
159 | </td> |
---|
160 | </tr> |
---|
161 | <!--メインエリア--> |
---|
162 | </table> |
---|
163 | </td> |
---|
164 | </tr> |
---|
165 | </form> |
---|
166 | </table> |
---|
167 | <!--★★メインコンテンツ★★--> |
---|