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 | <script language="JavaScript"> |
---|
25 | <!-- |
---|
26 | function lfnCheckSubmit(){ |
---|
27 | |
---|
28 | fm = document.form1; |
---|
29 | var err = ''; |
---|
30 | |
---|
31 | if ( ! fm["subject"].value ){ |
---|
32 | err += 'Subjectを入力して下さい。'; |
---|
33 | } |
---|
34 | if ( ! fm["body"].value ){ |
---|
35 | if ( err ) err += '\n'; |
---|
36 | err += '本文を入力して下さい。'; |
---|
37 | } |
---|
38 | if ( err ){ |
---|
39 | alert(err); |
---|
40 | return false; |
---|
41 | } else { |
---|
42 | if(window.confirm('内容を登録しても宜しいですか')){ |
---|
43 | return true; |
---|
44 | }else{ |
---|
45 | return false; |
---|
46 | } |
---|
47 | } |
---|
48 | } |
---|
49 | //--> |
---|
50 | </script> |
---|
51 | |
---|
52 | <!--★★メインコンテンツ★★--> |
---|
53 | <table width="878" border="0" cellspacing="0" cellpadding="0" summary=" "> |
---|
54 | <form name="form1" id="form1" method="post" action="<!--{$smarty.server.PHP_SELF|escape}-->" onSubmit="return lfnCheckSubmit();"> |
---|
55 | <input type="hidden" name="mode" value="<!--{$mode}-->"> |
---|
56 | <input type="hidden" name="template_id" value="<!--{$arrForm.template_id}-->"> |
---|
57 | <tr valign="top"> |
---|
58 | <td background="<!--{$TPL_DIR}-->img/contents/navi_bg.gif" height="402"> |
---|
59 | <!--▼SUB NAVI--> |
---|
60 | <!--{include file=$tpl_subnavi}--> |
---|
61 | <!--▲SUB NAVI--> |
---|
62 | </td> |
---|
63 | <td class="mainbg"> |
---|
64 | <!--▼登録テーブルここから--> |
---|
65 | <table width="737" border="0" cellspacing="0" cellpadding="0" summary=" "> |
---|
66 | <!--メインエリア--> |
---|
67 | <tr> |
---|
68 | <td align="center"> |
---|
69 | <table width="706" border="0" cellspacing="0" cellpadding="0" summary=" "> |
---|
70 | <tr><td height="14"></td></tr> |
---|
71 | <tr> |
---|
72 | <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_top.jpg" width="706" height="14" alt=""></td> |
---|
73 | </tr> |
---|
74 | <tr> |
---|
75 | <td background="<!--{$TPL_DIR}-->img/contents/main_left.jpg"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td> |
---|
76 | <td bgcolor="#cccccc"> |
---|
77 | <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" "> |
---|
78 | <tr> |
---|
79 | <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_top.gif" width="678" height="7" alt=""></td> |
---|
80 | </tr> |
---|
81 | <tr> |
---|
82 | <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> |
---|
83 | <td bgcolor="#636469" width="638" class="fs14n"><span class="white"><!--コンテンツタイトル-->配信内容設定:<!--{$title}--></span></td> |
---|
84 | <td background="<!--{$TPL_DIR}-->img/contents/contents_title_right_bg.gif"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="18" height="1" alt=""></td> |
---|
85 | </tr> |
---|
86 | <tr> |
---|
87 | <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_bottom.gif" width="678" height="7" alt=""></td> |
---|
88 | </tr> |
---|
89 | <tr> |
---|
90 | <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td> |
---|
91 | </tr> |
---|
92 | </table> |
---|
93 | |
---|
94 | <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" "> |
---|
95 | <tr class="fs12n"> |
---|
96 | <td bgcolor="#f2f1ec">メール形式<span class="red"> *</span></td> |
---|
97 | <td bgcolor="#ffffff"><span <!--{if $arrErr.mail_method}--><!--{sfSetErrorStyle}--><!--{/if}-->><!--{html_radios name="mail_method" options=$arrMagazineType separator=" " selected=$arrForm.mail_method}--></span> |
---|
98 | <!--{if $arrErr.mail_method}--><br><span class="red12"><!--{$arrErr.mail_method}--></span><!--{/if}--> |
---|
99 | </td> |
---|
100 | </tr> |
---|
101 | <tr> |
---|
102 | <td bgcolor="#f2f1ec" class="fs12n">Subject<span class="red"> *</span></td> |
---|
103 | <td bgcolor="#ffffff"> |
---|
104 | <input type="text" name="subject" size="65" class="box65" <!--{if $arrErr.subject}--><!--{sfSetErrorStyle}--><!--{/if}--> value="<!--{$arrForm.subject|escape}-->" /> |
---|
105 | <!--{if $arrErr.subject}--><br><span class="red12"><!--{$arrErr.subject}--></span><!--{/if}--> |
---|
106 | </td> |
---|
107 | </tr> |
---|
108 | <tr> |
---|
109 | <td bgcolor="#f2f1ec" colspan="2" class="fs12n">本文<span class="red"> *</span>(名前差し込み時は {name} といれてください)</td> |
---|
110 | </tr> |
---|
111 | <tr> |
---|
112 | <td bgcolor="#ffffff" colspan="2"> |
---|
113 | <textarea name="body" cols="90" rows="40" class="area90" <!--{if $arrErr.body}--><!--{sfSetErrorStyle}--><!--{/if}-->><!--{$arrForm.body|escape}--></textarea> |
---|
114 | <!--{if $arrErr.body}--><br><span class="red12"><!--{$arrErr.body}--></span><!--{/if}--> |
---|
115 | </td> |
---|
116 | </tr> |
---|
117 | </table> |
---|
118 | |
---|
119 | <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" "> |
---|
120 | <tr> |
---|
121 | <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td> |
---|
122 | <td><img src="<!--{$TPL_DIR}-->img/contents/tbl_top.gif" width="676" height="7" alt=""></td> |
---|
123 | <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td> |
---|
124 | </tr> |
---|
125 | <tr> |
---|
126 | <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td> |
---|
127 | <td bgcolor="#e9e7de" align="center"> |
---|
128 | <table border="0" cellspacing="0" cellpadding="0" summary=" "> |
---|
129 | <tr> |
---|
130 | <td width="30%"></td> |
---|
131 | <td width="40%" align = "center" valign="upper"><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> |
---|
132 | <td width="30%" align = "right" valign="upper"><input type="button" width="110" height="30" value="文字数カウント" onclick="fnCharCount('form1','body','cnt_footer');" border="0" name="next" id="next" /> |
---|
133 | <br><span class="fs10n">今までに入力したのは<input type="text" name="cnt_footer" size="4" class="box4" readonly = true style="text-align:right">文字です。</span></td> |
---|
134 | </tr> |
---|
135 | </table> |
---|
136 | </td> |
---|
137 | <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td> |
---|
138 | </tr> |
---|
139 | <tr> |
---|
140 | <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/tbl_bottom.gif" width="678" height="8" alt=""></td> |
---|
141 | </tr> |
---|
142 | </table> |
---|
143 | </td> |
---|
144 | <td background="<!--{$TPL_DIR}-->img/contents/main_right.jpg"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td> |
---|
145 | </tr> |
---|
146 | <tr> |
---|
147 | <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bottom.jpg" width="706" height="14" alt=""></td> |
---|
148 | </tr> |
---|
149 | <tr><td height="30"></td></tr> |
---|
150 | </table> |
---|
151 | </td> |
---|
152 | </tr> |
---|
153 | <!--メインエリア--> |
---|
154 | </table> |
---|
155 | <!--▲登録テーブルここまで--> |
---|
156 | </td> |
---|
157 | </tr> |
---|
158 | </table> |
---|
159 | <!--★★メインコンテンツ★★--> |
---|