1 | <!--{*
|
---|
2 | /*
|
---|
3 | * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved.
|
---|
4 | *
|
---|
5 | * http://www.lockon.co.jp/
|
---|
6 | */
|
---|
7 | *}-->
|
---|
8 | <script language="JavaScript">
|
---|
9 | <!--
|
---|
10 | var flag = 0;
|
---|
11 |
|
---|
12 | function setFlag(){
|
---|
13 | flag = 1;
|
---|
14 | }
|
---|
15 | function checkFlagAndSubmit(){
|
---|
16 | if ( flag == 1 ){
|
---|
17 | if( confirm('内容が変更されています。続行すれば変更内容は破棄されます。\n宜しいでしょうか?' )){
|
---|
18 | fnSetvalAndSubmit( 'form1', 'mode', 'id_set' );
|
---|
19 | } else {
|
---|
20 | return false;
|
---|
21 | }
|
---|
22 | } else {
|
---|
23 | fnSetvalAndSubmit( 'form1', 'mode', 'id_set' );
|
---|
24 | }
|
---|
25 | }
|
---|
26 |
|
---|
27 | //-->
|
---|
28 | </script>
|
---|
29 |
|
---|
30 | <!--★★メインコンテンツ★★-->
|
---|
31 | <table width="878" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
32 | <form name="form1" id="form1" method="post" action="<!--{$smarty.server.PHP_SELF|escape}-->">
|
---|
33 | <input type="hidden" name="mode" value="regist">
|
---|
34 | <tr valign="top">
|
---|
35 | <td background="<!--{$TPL_DIR}-->img/contents/navi_bg.gif" height="402">
|
---|
36 | <!--▼SUB NAVI-->
|
---|
37 | <!--{include file=$tpl_subnavi}-->
|
---|
38 | <!--▲SUB NAVI-->
|
---|
39 | </td>
|
---|
40 | <td class="mainbg">
|
---|
41 | <!--▼登録テーブルここから-->
|
---|
42 | <table width="737" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
43 | <!--メインエリア-->
|
---|
44 | <tr>
|
---|
45 | <td align="center">
|
---|
46 | <table width="706" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
47 | <tr><td height="14"></td></tr>
|
---|
48 | <tr>
|
---|
49 | <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_top.jpg" width="706" height="14" alt=""></td>
|
---|
50 | </tr>
|
---|
51 | <tr>
|
---|
52 | <td background="<!--{$TPL_DIR}-->img/contents/main_left.jpg"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
|
---|
53 | <td bgcolor="#cccccc">
|
---|
54 | <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
55 | <tr>
|
---|
56 | <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_top.gif" width="678" height="7" alt=""></td>
|
---|
57 | </tr>
|
---|
58 | <tr>
|
---|
59 | <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>
|
---|
60 | <td bgcolor="#636469" width="638" class="fs14n"><span class="white"><!--コンテンツタイトル-->メール設定</span></td>
|
---|
61 | <td background="<!--{$TPL_DIR}-->img/contents/contents_title_right_bg.gif"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="18" height="1" alt=""></td>
|
---|
62 | </tr>
|
---|
63 | <tr>
|
---|
64 | <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_bottom.gif" width="678" height="7" alt=""></td>
|
---|
65 | </tr>
|
---|
66 | <tr>
|
---|
67 | <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td>
|
---|
68 | </tr>
|
---|
69 | </table>
|
---|
70 |
|
---|
71 | <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" ">
|
---|
72 | <tr>
|
---|
73 | <td bgcolor="#f2f1ec" width="160" class="fs12n">テンプレート<span class="red"> *</span></td>
|
---|
74 | <td bgcolor="#ffffff" width="557" class="fs10n">
|
---|
75 | <!--{assign var=key value="template_id"}-->
|
---|
76 | <span class="red12"><!--{$arrErr[$key]}--></span>
|
---|
77 | <select name="template_id" onChange="return checkFlagAndSubmit();" style="<!--{$arrErr[$key]|sfGetErrorColor}-->">
|
---|
78 | <option value="" selected="selected">選択してください</option>
|
---|
79 | <!--{html_options options=$arrMailTEMPLATE selected=$arrForm[$key]}-->
|
---|
80 | </select>
|
---|
81 | </td>
|
---|
82 | </tr>
|
---|
83 | <tr>
|
---|
84 | <td bgcolor="#f2f1ec" width="160" class="fs12n">メールタイトル<span class="red"> *</span></td>
|
---|
85 | <td bgcolor="#ffffff" width="557" class="fs10n">
|
---|
86 | <!--{assign var=key value="subject"}-->
|
---|
87 | <span class="red12"><!--{$arrErr[$key]}--></span>
|
---|
88 | <input type="text" name="subject" value="<!--{$arrForm[$key]|escape}-->" onChange="setFlag();" size="30" class="box30" style="<!--{$arrErr[$key]|sfGetErrorColor}-->">
|
---|
89 | </td>
|
---|
90 | </tr>
|
---|
91 | <tr>
|
---|
92 | <td bgcolor="#f2f1ec" width="160" class="fs12">ヘッダー</td>
|
---|
93 | <td bgcolor="#ffffff" width="557" class="fs10">
|
---|
94 | <!--{assign var=key value="header"}-->
|
---|
95 | <span class="red12"><!--{$arrErr[$key]}--></span>
|
---|
96 | <textarea name="header" cols="75" rows="12" class="area75" onChange="setFlag();" style="<!--{$arrErr[$key]|sfGetErrorColor}-->"><!--{$arrForm[$key]|escape}--></textarea><br />
|
---|
97 | <span class="red"> (上限<!--{$smarty.const.LTEXT_LEN}-->文字)
|
---|
98 | </span>
|
---|
99 |
|
---|
100 | <div align="right">
|
---|
101 | <input type="button" width="110" height="30" value="文字数カウント" onclick="fnCharCount('form1','header','cnt_header');" border="0" name="next" id="next" />
|
---|
102 | <br>今までに入力したのは
|
---|
103 | <input type="text" name="cnt_header" size="4" class="box4" readonly = true style="text-align:right">
|
---|
104 | 文字です。
|
---|
105 | </div>
|
---|
106 |
|
---|
107 | </td>
|
---|
108 | </tr>
|
---|
109 |
|
---|
110 | <tr class="fs12n">
|
---|
111 | <td bgcolor="#ffffff" colspan="2" align="center" height="40">動的データ挿入部分</td>
|
---|
112 | </tr>
|
---|
113 | <tr>
|
---|
114 | <td bgcolor="#f2f1ec" width="160" class="fs12">フッター</td>
|
---|
115 | <td bgcolor="#ffffff" width="557" class="fs10">
|
---|
116 | <!--{assign var=key value="footer"}-->
|
---|
117 | <span class="red12"><!--{$arrErr[$key]}--></span>
|
---|
118 | <textarea name="footer" cols="75" rows="12" class="area75" onChange="setFlag();" style="<!--{$arrErr[$key]|sfGetErrorColor}-->"><!--{$arrForm[$key]|escape}--></textarea><br />
|
---|
119 | <span class="red"> (上限<!--{$smarty.const.LTEXT_LEN}-->文字)</span>
|
---|
120 | <div align="right">
|
---|
121 | <input type="button" width="110" height="30" value="文字数カウント" onclick="fnCharCount('form1','footer','cnt_footer');" border="0" name="next" id="next" />
|
---|
122 | <br>今までに入力したのは
|
---|
123 | <input type="text" name="cnt_footer" size="4" class="box4" readonly = true style="text-align:right">
|
---|
124 | 文字です。
|
---|
125 | </div>
|
---|
126 | </td>
|
---|
127 | </tr>
|
---|
128 | </table>
|
---|
129 |
|
---|
130 | <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
131 | <tr>
|
---|
132 | <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td>
|
---|
133 | <td><img src="<!--{$TPL_DIR}-->img/contents/tbl_top.gif" width="676" height="7" alt=""></td>
|
---|
134 | <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td>
|
---|
135 | </tr>
|
---|
136 | <tr>
|
---|
137 | <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>
|
---|
138 | <td bgcolor="#e9e7de" align="center">
|
---|
139 | <table border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
140 | <tr>
|
---|
141 | <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>
|
---|
142 | </tr>
|
---|
143 | </table>
|
---|
144 | </td>
|
---|
145 | <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>
|
---|
146 | </tr>
|
---|
147 | <tr>
|
---|
148 | <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/tbl_bottom.gif" width="678" height="8" alt=""></td>
|
---|
149 | </tr>
|
---|
150 | </table>
|
---|
151 | </td>
|
---|
152 | <td background="<!--{$TPL_DIR}-->img/contents/main_right.jpg"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
|
---|
153 | </tr>
|
---|
154 | <tr>
|
---|
155 | <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bottom.jpg" width="706" height="14" alt=""></td>
|
---|
156 | </tr>
|
---|
157 | <tr><td height="30"></td></tr>
|
---|
158 | </table>
|
---|
159 | </td>
|
---|
160 | </tr>
|
---|
161 | <!--メインエリア-->
|
---|
162 | </table>
|
---|
163 | <!--▲登録テーブルここまで-->
|
---|
164 | </td>
|
---|
165 | </tr>
|
---|
166 | </form>
|
---|
167 | </table>
|
---|
168 | <!--★★メインコンテンツ★★-->
|
---|
169 |
|
---|