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 | <tr><td height="14"></td></tr> |
---|
40 | <tr> |
---|
41 | <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_top.jpg" width="706" height="14" alt=""></td> |
---|
42 | </tr> |
---|
43 | <tr> |
---|
44 | <td background="<!--{$TPL_DIR}-->img/contents/main_left.jpg"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td> |
---|
45 | <td bgcolor="#cccccc"> |
---|
46 | <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" "> |
---|
47 | <tr> |
---|
48 | <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_top.gif" width="678" height="7" alt=""></td> |
---|
49 | </tr> |
---|
50 | <tr> |
---|
51 | <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> |
---|
52 | <td bgcolor="#636469" width="638" class="fs14n"><span class="white"><!--コンテンツタイトル-->ヘッダー・フッター編集</span></td> |
---|
53 | <td background="<!--{$TPL_DIR}-->img/contents/contents_title_right_bg.gif"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="18" height="1" alt=""></td> |
---|
54 | </tr> |
---|
55 | <tr> |
---|
56 | <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_bottom.gif" width="678" height="7" alt=""></td> |
---|
57 | </tr> |
---|
58 | <tr> |
---|
59 | <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td> |
---|
60 | </tr> |
---|
61 | </table> |
---|
62 | |
---|
63 | <!--▼ヘッダー編集 ここから--> |
---|
64 | <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" "> |
---|
65 | <tr class="fs12n"> |
---|
66 | <td bgcolor="#f2f1ec" align="center"><strong>ヘッダー編集</strong></td> |
---|
67 | </tr> |
---|
68 | <!-- プレビューここから --> |
---|
69 | <!--{ if $header_prev == "on"}--> |
---|
70 | <tr class="fs12n"> |
---|
71 | <td bgcolor="#ffffff" align="center"> |
---|
72 | <!--{if $browser_type == 1 }--> |
---|
73 | <div style="zoom:0.8"><!--{include file="`$smarty.const.HTML_PATH`user_data/include/preview/header.tpl"}--></div> |
---|
74 | <!--{ else }--> |
---|
75 | <span class="red12"><b>プレビューはIEでのみ表示されます。</b></span> |
---|
76 | <!--{ /if }--> |
---|
77 | </td> |
---|
78 | </tr> |
---|
79 | <!--{ /if }--> |
---|
80 | <!-- プレビューここまで --> |
---|
81 | |
---|
82 | <form name="form_header" id="form_header" method="post" action="<!--{$smarty.server.PHP_SELF|escape}-->" > |
---|
83 | <input type="hidden" name="mode" value=""> |
---|
84 | <input type="hidden" name="division" value="header"> |
---|
85 | <input type="hidden" name="header_row" value=<!--{$header_row}-->> |
---|
86 | <input type="hidden" name="browser_type" value=""> |
---|
87 | <tr class="fs12n"> |
---|
88 | <td bgcolor="#f2f1ec" align="center"> |
---|
89 | <br/> |
---|
90 | <textarea name="header" cols=90 rows=<!--{$header_row}--> align="left" wrap=off style="width: 650px;"><!--{$header_data|smarty:nodefaults}--></textarea> |
---|
91 | <div align="right"> |
---|
92 | <input type="button" value=<!--{if $header_row > 13}-->"小さくする"<!--{else}-->"大きくする"<!--{/if}--> onClick="ChangeSize(this, header, 50, 13, header_row)"> |
---|
93 | </div> |
---|
94 | <br/> |
---|
95 | </td> |
---|
96 | </tr> |
---|
97 | </table> |
---|
98 | <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" "> |
---|
99 | <tr> |
---|
100 | <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td> |
---|
101 | <td><img src="<!--{$TPL_DIR}-->img/contents/tbl_top.gif" width="676" height="7" alt=""></td> |
---|
102 | <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td> |
---|
103 | </tr> |
---|
104 | <tr> |
---|
105 | <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td> |
---|
106 | <td bgcolor="#e9e7de" align="center"> |
---|
107 | <table border="0" cellspacing="0" cellpadding="0" summary=" "> |
---|
108 | <tr> |
---|
109 | <td> |
---|
110 | <input type='button' value='登録' name='subm' onclick="fnFormModeSubmit('form_header','confirm','','');" /> |
---|
111 | <input type='button' value='プレビュー' name='preview' onclick="lfnSetBrowser('form_header', 'browser_type'); fnFormModeSubmit('form_header','preview','','');" /> |
---|
112 | </td> |
---|
113 | </tr> |
---|
114 | </table> |
---|
115 | </td> |
---|
116 | <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td> |
---|
117 | </tr> |
---|
118 | <tr> |
---|
119 | <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/tbl_bottom.gif" width="678" height="8" alt=""></td> |
---|
120 | </tr> |
---|
121 | </form> |
---|
122 | </table> |
---|
123 | |
---|
124 | <!--▲ヘッダー編集 ここまで--> |
---|
125 | |
---|
126 | <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" "> |
---|
127 | <tr><td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td></tr> |
---|
128 | </table> |
---|
129 | |
---|
130 | <!--▼フッター編集 ここから--> |
---|
131 | <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" "> |
---|
132 | <tr class="fs12n"> |
---|
133 | <td bgcolor="#f2f1ec" align="center" colspan="3"><strong>フッター編集</strong></td> |
---|
134 | </tr> |
---|
135 | <!--{ if $footer_prev == "on"}--> |
---|
136 | <tr class="fs12n"> |
---|
137 | <td bgcolor="#ffffff" align="center"> |
---|
138 | <!--{if $browser_type == 1 }--> |
---|
139 | <div style="zoom:0.8"><!--{include file="`$smarty.const.HTML_PATH`/user_data/include/preview/footer.tpl"}--></div> |
---|
140 | <!--{ else }--> |
---|
141 | <span class="red12"><b>プレビューはIEでのみ表示されます。</b></span> |
---|
142 | <!--{ /if }--> |
---|
143 | </td> |
---|
144 | </tr> |
---|
145 | <!--{ /if }--> |
---|
146 | |
---|
147 | <form name="form_footer" id="form_footer" method="post" action="<!--{$smarty.server.PHP_SELF|escape}-->" > |
---|
148 | <input type="hidden" name="mode" value=""> |
---|
149 | <input type="hidden" name="division" value="footer"> |
---|
150 | <input type="hidden" name="footer_row" value=<!--{$footer_row}-->> |
---|
151 | <input type="hidden" name="browser_type" value=""> |
---|
152 | <tr class="fs12n"> |
---|
153 | <td bgcolor="#f2f1ec" align="center"> |
---|
154 | <br/> |
---|
155 | <textarea name="footer" cols=90 rows=<!--{$footer_row}--> align="left" wrap=off style="width: 650px;"><!--{$footer_data|smarty:nodefaults}--></textarea> |
---|
156 | <div align="right"> |
---|
157 | <input type="button" value=<!--{if $footer_row > 13}-->"小さくする"<!--{else}-->"大きくする"<!--{/if}--> onClick="ChangeSize(this, footer, 50, 13, footer_row)"> |
---|
158 | </div> |
---|
159 | <br/> |
---|
160 | </td> |
---|
161 | </tr> |
---|
162 | </table> |
---|
163 | <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" "> |
---|
164 | <tr> |
---|
165 | <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td> |
---|
166 | <td><img src="<!--{$TPL_DIR}-->img/contents/tbl_top.gif" width="676" height="7" alt=""></td> |
---|
167 | <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td> |
---|
168 | </tr> |
---|
169 | <tr> |
---|
170 | <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td> |
---|
171 | <td bgcolor="#e9e7de" align="center"> |
---|
172 | <table border="0" cellspacing="0" cellpadding="0" summary=" "> |
---|
173 | <tr> |
---|
174 | <td> |
---|
175 | <input type='button' value='登録' name='subm' onclick="fnFormModeSubmit('form_footer','confirm','','');" /> |
---|
176 | <input type='button' value='プレビュー' name='preview' onclick="lfnSetBrowser('form_footer', 'browser_type'); fnFormModeSubmit('form_footer','preview','','');" /> |
---|
177 | </td> |
---|
178 | </tr> |
---|
179 | </table> |
---|
180 | </td> |
---|
181 | <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td> |
---|
182 | </tr> |
---|
183 | <tr> |
---|
184 | <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/tbl_bottom.gif" width="678" height="8" alt=""></td> |
---|
185 | </tr> |
---|
186 | </form> |
---|
187 | </table> |
---|
188 | <!--▲フッター編集 ここまで--> |
---|
189 | </td> |
---|
190 | <td background="<!--{$TPL_DIR}-->img/contents/main_right.jpg"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td> |
---|
191 | </tr> |
---|
192 | <tr> |
---|
193 | <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bottom.jpg" width="706" height="14" alt=""></td> |
---|
194 | </tr> |
---|
195 | <tr><td height="30"></td></tr> |
---|
196 | </table> |
---|
197 | </td> |
---|
198 | </tr> |
---|
199 | <!--メインエリア--> |
---|
200 | </table> |
---|
201 | <!--▲登録テーブルここまで--> |
---|
202 | </td> |
---|
203 | </tr> |
---|
204 | </table> |
---|
205 | <!--★★メインコンテンツ★★--> |
---|
206 | |
---|
207 | <script type="text/javascript"> |
---|
208 | /* テキストエリアの大きさを変更する */ |
---|
209 | function ChangeSize(button, TextArea, Max, Min, row_tmp){ |
---|
210 | if(TextArea.rows <= Min){ |
---|
211 | TextArea.rows=Max; button.value="小さくする"; row_tmp.value=Max; |
---|
212 | }else{ |
---|
213 | TextArea.rows =Min; button.value="大きくする"; row_tmp.value=Min; |
---|
214 | } |
---|
215 | } |
---|
216 | |
---|
217 | /* ブラウザの種類をセットする */ |
---|
218 | function lfnSetBrowser(form, item){ |
---|
219 | browser_type = 0; |
---|
220 | if(navigator.userAgent.indexOf("MSIE") >= 0){ |
---|
221 | browser_type = 1; |
---|
222 | } |
---|
223 | else if(navigator.userAgent.indexOf("Gecko/") >= 0){ |
---|
224 | browser_type = 2; |
---|
225 | } |
---|
226 | |
---|
227 | document[form][item].value=browser_type; |
---|
228 | } |
---|
229 | |
---|
230 | </script> |
---|