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="<!--{$smarty.server.PHP_SELF|escape}-->" > |
---|
27 | <input type="hidden" name="mode" value=""> |
---|
28 | <input type="hidden" name="campaign_id" value="<!--{$arrForm.campaign_id}-->"> |
---|
29 | <input type="hidden" name="status" value="<!--{$arrForm.status}-->"> |
---|
30 | <input type="hidden" name="header_row" value=""> |
---|
31 | <input type="hidden" name="contents_row" value=""> |
---|
32 | <input type="hidden" name="footer_row" value=""> |
---|
33 | <tr valign="top"> |
---|
34 | <td background="<!--{$TPL_DIR}-->img/contents/navi_bg.gif" height="402"> |
---|
35 | <!--▼SUB NAVI--> |
---|
36 | <!--{include file=$tpl_subnavi}--> |
---|
37 | <!--▲SUB NAVI--> |
---|
38 | </td> |
---|
39 | <td class="mainbg"> |
---|
40 | <!--▼登録テーブルここから--> |
---|
41 | <table width="737" border="0" cellspacing="0" cellpadding="0" summary=" "> |
---|
42 | <!--メインエリア--> |
---|
43 | <tr> |
---|
44 | <td align="center"> |
---|
45 | <table width="706" border="0" cellspacing="0" cellpadding="0" summary=" "> |
---|
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"><!--コンテンツタイトル--><!--{$tpl_campaign_title}--></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 | <!--▼ヘッダー編集 ここから--> |
---|
71 | <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" "> |
---|
72 | <tr class="fs12n"> |
---|
73 | <td bgcolor="#f2f1ec" align="center"><strong>ヘッダー編集</strong></td> |
---|
74 | </tr> |
---|
75 | |
---|
76 | <tr class="fs12n"> |
---|
77 | <td bgcolor="#f2f1ec" align="center"> |
---|
78 | <br/><textarea name="header" cols=90 rows=<!--{$header_row}--> align="left" wrap=off style="width: 650px;"><!--{$header_data|smarty:nodefaults}--></textarea> |
---|
79 | <div align="right"> |
---|
80 | <input type="button" value=<!--{if $header_row > 13}-->"小さくする"<!--{else}-->"大きくする"<!--{/if}--> onClick="ChangeSize(this, header, 50, 13, header_row)"> |
---|
81 | </div><br/> |
---|
82 | </td> |
---|
83 | </tr> |
---|
84 | </table> |
---|
85 | <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" "> |
---|
86 | <tr> |
---|
87 | <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td> |
---|
88 | <td><img src="<!--{$TPL_DIR}-->img/contents/tbl_top.gif" width="676" height="7" alt=""></td> |
---|
89 | <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td> |
---|
90 | </tr> |
---|
91 | <tr> |
---|
92 | <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/tbl_bottom.gif" width="678" height="8" alt=""></td> |
---|
93 | </tr> |
---|
94 | </table> |
---|
95 | |
---|
96 | <!--▲ヘッダー編集 ここまで--> |
---|
97 | |
---|
98 | <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" "> |
---|
99 | <tr><td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td></tr> |
---|
100 | </table> |
---|
101 | |
---|
102 | <!--▼コンテンツ編集 ここから--> |
---|
103 | <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" "> |
---|
104 | <tr class="fs12n"> |
---|
105 | <td bgcolor="#f2f1ec" align="center"><strong>コンテンツ編集</strong></td> |
---|
106 | </tr> |
---|
107 | <tr class="fs12n"> |
---|
108 | <td bgcolor="#f2f1ec" align="center" colspan="2"><br/> |
---|
109 | <textarea name="contents" cols=90 rows=<!--{$contents_row}--> align="left" wrap=off style="width: 650px;"><!--{$contents_data|smarty:nodefaults}--></textarea> |
---|
110 | <div align="right"> |
---|
111 | <input type="button" value="商品設定" onclick="win03('./campaign_create_tag.php?campaign_id=<!--{$arrForm.campaign_id}-->', 'search', '550', '500');"> |
---|
112 | <input type="button" value=<!--{if $contents_row > 13}-->"小さくする"<!--{else}-->"大きくする"<!--{/if}--> onClick="ChangeSize(this, contents, 50, 13, contents_row)"> |
---|
113 | </div><br/> |
---|
114 | </td> |
---|
115 | </tr> |
---|
116 | </table> |
---|
117 | <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" "> |
---|
118 | <tr> |
---|
119 | <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td> |
---|
120 | <td><img src="<!--{$TPL_DIR}-->img/contents/tbl_top.gif" width="676" height="7" alt=""></td> |
---|
121 | <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td> |
---|
122 | </tr> |
---|
123 | <tr> |
---|
124 | <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/tbl_bottom.gif" width="678" height="8" alt=""></td> |
---|
125 | </tr> |
---|
126 | </table> |
---|
127 | |
---|
128 | <!--▲コンテンツ編集 ここまで--> |
---|
129 | |
---|
130 | <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" "> |
---|
131 | <tr><td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td></tr> |
---|
132 | </table> |
---|
133 | |
---|
134 | <!--▼フッター編集 ここから--> |
---|
135 | <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" "> |
---|
136 | <tr class="fs12n"> |
---|
137 | <td bgcolor="#f2f1ec" align="center" colspan="3"><strong>フッター編集</strong></td> |
---|
138 | </tr> |
---|
139 | |
---|
140 | <tr class="fs12n"> |
---|
141 | <td bgcolor="#f2f1ec" align="center"><br/> |
---|
142 | <textarea name="footer" cols=90 rows=<!--{$footer_row}--> align="left" wrap=off style="width: 650px;"><!--{$footer_data|smarty:nodefaults}--></textarea> |
---|
143 | <div align="right"> |
---|
144 | <input type="button" value=<!--{if $footer_row > 13}-->"小さくする"<!--{else}-->"大きくする"<!--{/if}--> onClick="ChangeSize(this, footer, 50, 13, footer_row)"> |
---|
145 | </div><br/> |
---|
146 | </td> |
---|
147 | </tr> |
---|
148 | </table> |
---|
149 | <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" "> |
---|
150 | <tr> |
---|
151 | <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td> |
---|
152 | <td><img src="<!--{$TPL_DIR}-->img/contents/tbl_top.gif" width="676" height="7" alt=""></td> |
---|
153 | <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td> |
---|
154 | </tr> |
---|
155 | <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td> |
---|
156 | <td bgcolor="#e9e7de" align="center"> |
---|
157 | <table border="0" cellspacing="0" cellpadding="0" summary=" "> |
---|
158 | <tr> |
---|
159 | <td> |
---|
160 | <input type="button" onclick="fnFormModeSubmit('form1', 'return', '', ''); return false;" value="登録ページへ戻る"> |
---|
161 | <input type="button" onclick="fnFormModeSubmit('form1', 'regist', '', ''); return false;" value="保存"> |
---|
162 | <input type="button" onclick="fnFormModeSubmit('form1', 'preview', '', ''); return false;" value="プレビュー"> |
---|
163 | </td> |
---|
164 | </tr> |
---|
165 | </table> |
---|
166 | </td> |
---|
167 | <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td> |
---|
168 | <tr> |
---|
169 | <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/tbl_bottom.gif" width="678" height="8" alt=""></td> |
---|
170 | </tr> |
---|
171 | </table> |
---|
172 | <!--▲フッター編集 ここまで--> |
---|
173 | </td> |
---|
174 | <td background="<!--{$TPL_DIR}-->img/contents/main_right.jpg"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td> |
---|
175 | </tr> |
---|
176 | <tr> |
---|
177 | <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bottom.jpg" width="706" height="14" alt=""></td> |
---|
178 | </tr> |
---|
179 | <tr><td height="30"></td></tr> |
---|
180 | </table> |
---|
181 | </td> |
---|
182 | </tr> |
---|
183 | <!--メインエリア--> |
---|
184 | </table> |
---|
185 | <!--▲登録テーブルここまで--> |
---|
186 | </td> |
---|
187 | </tr> |
---|
188 | </form> |
---|
189 | </table> |
---|
190 | <!--★★メインコンテンツ★★--> |
---|
191 | |
---|
192 | <script type="text/javascript"> |
---|
193 | /* テキストエリアの大きさを変更する */ |
---|
194 | function ChangeSize(button, TextArea, Max, Min, row_tmp){ |
---|
195 | if(TextArea.rows <= Min){ |
---|
196 | TextArea.rows=Max; button.value="小さくする"; row_tmp.value=Max; |
---|
197 | }else{ |
---|
198 | TextArea.rows =Min; button.value="大きくする"; row_tmp.value=Min; |
---|
199 | } |
---|
200 | } |
---|
201 | |
---|
202 | /* ブラウザの種類をセットする */ |
---|
203 | function lfnSetBrowser(form, item){ |
---|
204 | browser_type = 0; |
---|
205 | if(navigator.userAgent.indexOf("MSIE") >= 0){ |
---|
206 | browser_type = 1; |
---|
207 | } |
---|
208 | else if(navigator.userAgent.indexOf("Gecko/") >= 0){ |
---|
209 | browser_type = 2; |
---|
210 | } |
---|
211 | |
---|
212 | document[form][item].value=browser_type; |
---|
213 | } |
---|
214 | |
---|
215 | </script> |
---|