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 |
|
---|
16 | function checkFlagAndSubmit(){
|
---|
17 | if ( flag == 1 ){
|
---|
18 | if( confirm('ÆâÍƤ¬Êѹ¹¤µ¤ì¤Æ¤¤¤Þ¤¹¡£Â³¹Ô¤¹¤ì¤ÐÊѹ¹ÆâÍƤÏÇË´þ¤µ¤ì¤Þ¤¹¡£\nµ¹¤·¤¤¤Ç¤·¤ç¤¦¤«¡©' )){
|
---|
19 | fnSetvalAndSubmit( 'form1', 'mode', 'edit' );
|
---|
20 | } else {
|
---|
21 | return false;
|
---|
22 | }
|
---|
23 | } else {
|
---|
24 | fnSetvalAndSubmit( 'form1', 'mode', 'edit' );
|
---|
25 | }
|
---|
26 | }
|
---|
27 |
|
---|
28 | function lfnCheckSubmit(){
|
---|
29 |
|
---|
30 | fm = document.form1;
|
---|
31 | var err = '';
|
---|
32 |
|
---|
33 | if ( ! fm["send_type"][0].checked && ! fm["send_type"][1].checked ){
|
---|
34 | err += '¥á¡¼¥ë¤Î·Á¼°¤òÆþÎϤ·¤Æ²¼¤µ¤¤¡£';
|
---|
35 | }
|
---|
36 | if ( ! fm["subject"].value ){
|
---|
37 | err += 'Subject¤òÆþÎϤ·¤Æ²¼¤µ¤¤¡£';
|
---|
38 | }
|
---|
39 | if ( ! fm["body"].value ){
|
---|
40 | if ( err ) err += '\n';
|
---|
41 | err += '¥á¡¼¥ë¤ÎËÜʸ¤òÆþÎϤ·¤Æ²¼¤µ¤¤¡£';
|
---|
42 | }
|
---|
43 | if( ! fm["template_name"]){
|
---|
44 | if ( err ) err += '\n';
|
---|
45 | err += '¥Æ¥ó¥×¥ì¡¼¥È¤Î̾Á°¤òÆþÎϤ·¤Æ²¼¤µ¤¤¡£';
|
---|
46 | }
|
---|
47 | if ( err ){
|
---|
48 | alert(err);
|
---|
49 | return false;
|
---|
50 | } else {
|
---|
51 | if(window.confirm('ÆâÍƤòÅÐÏ¿¤·¤Æ¤âµ¹¤·¤¤¤Ç¤¹¤«')){
|
---|
52 | return true;
|
---|
53 | }else{
|
---|
54 | return false;
|
---|
55 | }
|
---|
56 | }
|
---|
57 | }
|
---|
58 | //-->
|
---|
59 | </script>
|
---|
60 |
|
---|
61 | <!--¡ú¡ú¥á¥¤¥ó¥³¥ó¥Æ¥ó¥Ä¡ú¡ú-->
|
---|
62 | <table width="878" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
63 | <form name="form1" id="form1" method="POST" action="<!--{$smarty.server.PHP_SELF|escape}-->" onsubmit="return lfnCheckSubmit();" >
|
---|
64 | <input type="hidden" name="mode" value="regist">
|
---|
65 | <!--{assign var=key value="template_id"}-->
|
---|
66 | <input type="hidden" name="template_id" value="<!--{$arrForm[$key]|escape}-->">
|
---|
67 | <tr valign="top">
|
---|
68 | <td background="<!--{$smarty.const.URL_DIR}-->img/contents/navi_bg.gif" height="402">
|
---|
69 | <!--¢§SUB NAVI-->
|
---|
70 | <!--{include file=$tpl_subnavi}-->
|
---|
71 | <!--¢¥SUB NAVI-->
|
---|
72 | </td>
|
---|
73 | <td class="mainbg">
|
---|
74 | <!--¢§ÅÐÏ¿¥Æ¡¼¥Ö¥ë¤³¤³¤«¤é-->
|
---|
75 | <table width="737" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
76 | <!--¥á¥¤¥ó¥¨¥ê¥¢-->
|
---|
77 | <tr>
|
---|
78 | <td align="center">
|
---|
79 | <table width="706" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
80 | <tr><td height="14"></td></tr>
|
---|
81 | <tr>
|
---|
82 | <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_top.jpg" width="706" height="14" alt=""></td>
|
---|
83 | </tr>
|
---|
84 | <tr>
|
---|
85 | <td background="<!--{$smarty.const.URL_DIR}-->img/contents/main_left.jpg"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
|
---|
86 | <td bgcolor="#cccccc">
|
---|
87 | <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
88 | <tr>
|
---|
89 | <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_top.gif" width="678" height="7" alt=""></td>
|
---|
90 | </tr>
|
---|
91 | <tr>
|
---|
92 | <td background="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_left_bg.gif"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_left.gif" width="22" height="12" alt=""></td>
|
---|
93 | <td bgcolor="#636469" width="638" class="fs14n"><span class="white"><!--¥³¥ó¥Æ¥ó¥Ä¥¿¥¤¥È¥ë-->¥á¡¼¥ëÀßÄê</span></td>
|
---|
94 | <td background="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_right_bg.gif"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="18" height="1" alt=""></td>
|
---|
95 | </tr>
|
---|
96 | <tr>
|
---|
97 | <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_bottom.gif" width="678" height="7" alt=""></td>
|
---|
98 | </tr>
|
---|
99 | <tr>
|
---|
100 | <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td>
|
---|
101 | </tr>
|
---|
102 | </table>
|
---|
103 |
|
---|
104 | <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" ">
|
---|
105 | <tr class="fs12n">
|
---|
106 | <td bgcolor="#f2f1ec">¥á¡¼¥ë·Á¼°<span class="red"> *</span></td>
|
---|
107 | <td bgcolor="#ffffff">
|
---|
108 | <!--{assign var=key value="send_type"}-->
|
---|
109 | <!--{if $arrForm.template_id == 1}-->
|
---|
110 | <input type="radio" name="send_type" value="0" id="send_type_0" checked="checked" /><label for="send_type_0">¥Ñ¥½¥³¥ó</label>
|
---|
111 | <!--{elseif $arrForm.template_id == 2}-->
|
---|
112 | <input type="radio" name="send_type" value="1" id="send_type_1" checked="checked" /><label for="send_type_1">·ÈÂÓ</label>
|
---|
113 | <!--{else}-->
|
---|
114 | <!--{html_radios_ex name="send_type" options=$arrSendType separator=" " selected=$arrForm[$key]}-->
|
---|
115 | <!--{/if}-->
|
---|
116 | </td>
|
---|
117 | </tr>
|
---|
118 | <tr>
|
---|
119 | <td bgcolor="#f2f1ec" width="160" class="fs12n">¥Æ¥ó¥×¥ì¡¼¥È<span class="red"> *</span></td>
|
---|
120 | <td bgcolor="#ffffff" width="557" class="fs10n">
|
---|
121 | <!--{assign var=key value="template_name"}-->
|
---|
122 | <span class="red12"><!--{$arrErr[$key]}--></span>
|
---|
123 | <input type="text" name="template_name" value="<!--{$arrForm[$key]|escape}-->" onChange="setFlag();" size="30" class="box30" style="<!--{$arrErr[$key]|sfGetErrorColor}-->">
|
---|
124 | </td>
|
---|
125 | </tr>
|
---|
126 | <tr>
|
---|
127 | <td bgcolor="#f2f1ec" width="160" class="fs12n">¥á¡¼¥ë¥¿¥¤¥È¥ë<span class="red"> *</span></td>
|
---|
128 | <td bgcolor="#ffffff" width="557" class="fs10n">
|
---|
129 | <!--{assign var=key value="subject"}-->
|
---|
130 | <span class="red12"><!--{$arrErr[$key]}--></span>
|
---|
131 | <input type="text" name="subject" value="<!--{$arrForm[$key]|escape}-->" onChange="setFlag();" size="30" class="box30" style="<!--{$arrErr[$key]|sfGetErrorColor}-->">
|
---|
132 | </td>
|
---|
133 | </tr>
|
---|
134 | <tr>
|
---|
135 | <td bgcolor="#f2f1ec" colspan="2" class="fs12n"><span class="red"> *</span>̾Á°¤òº¹¤·¹þ¤à¾ì¹ç¤Ï¡¢{name}¤ÈÆþÎϤ·¤Æ²¼¤µ¤¤¡£<br>
|
---|
136 | <span class="red"> *</span>Ãíʸ¾ðÊó¤òº¹¤·¹þ¤à¾ì¹ç¤Ï¡¢{order}¤ÈÆþÎϤ·¤Æ²¼¤µ¤¤¡£</td>
|
---|
137 | </tr>
|
---|
138 | <tr>
|
---|
139 | <td bgcolor="#f2f1ec" width="160" class="fs12">ËÜʸ</td>
|
---|
140 | <td bgcolor="#ffffff" width="557" class="fs10">
|
---|
141 | <!--{assign var=key value="body"}-->
|
---|
142 | <span class="red12"><!--{$arrErr[$key]}--></span>
|
---|
143 | <textarea name="body" cols="75" rows="20" class="area75" onChange="setFlag();" style="<!--{$arrErr[$key]|sfGetErrorColor}-->"><!--{$arrForm[$key]|escape}--></textarea><br />
|
---|
144 | <span class="red"> ¡Ê¾å¸Â<!--{$smarty.const.LTEXT_LEN}-->ʸ»ú¡Ë
|
---|
145 | </span>
|
---|
146 |
|
---|
147 | <div align="right">
|
---|
148 | <input type="button" width="110" height="30" value="ʸ»ú¿ô¥«¥¦¥ó¥È" onclick="fnCharCount('form1','body','cnt_body');" border="0" name="next" id="next" />
|
---|
149 | <br>º£¤Þ¤Ç¤ËÆþÎϤ·¤¿¤Î¤Ï
|
---|
150 | <input type="text" name="cnt_body" size="4" class="box4" readonly = true style="text-align:right">
|
---|
151 | ʸ»ú¤Ç¤¹¡£
|
---|
152 | </div>
|
---|
153 |
|
---|
154 | </td>
|
---|
155 | </tr>
|
---|
156 | </table>
|
---|
157 |
|
---|
158 | <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
159 | <tr>
|
---|
160 | <td bgcolor="#cccccc"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td>
|
---|
161 | <td><img src="<!--{$smarty.const.URL_DIR}-->img/contents/tbl_top.gif" width="676" height="7" alt=""></td>
|
---|
162 | <td bgcolor="#cccccc"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td>
|
---|
163 | </tr>
|
---|
164 | <tr>
|
---|
165 | <td bgcolor="#cccccc"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>
|
---|
166 | <td bgcolor="#e9e7de" align="center">
|
---|
167 | <table border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
168 | <tr>
|
---|
169 | <td><input type="image" onMouseover="chgImgImageSubmit('<!--{$smarty.const.URL_DIR}-->img/contents/btn_regist_on.jpg',this)" onMouseout="chgImgImageSubmit('<!--{$smarty.const.URL_DIR}-->img/contents/btn_regist.jpg',this)" src="<!--{$smarty.const.URL_DIR}-->img/contents/btn_regist.jpg" width="123" height="24" alt="¤³¤ÎÆâÍƤÇÅÐÏ¿¤¹¤ë" border="0" name="subm" ></td>
|
---|
170 | </tr>
|
---|
171 | </table>
|
---|
172 | </td>
|
---|
173 | <td bgcolor="#cccccc"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>
|
---|
174 | </tr>
|
---|
175 | <tr>
|
---|
176 | <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/tbl_bottom.gif" width="678" height="8" alt=""></td>
|
---|
177 | </tr>
|
---|
178 | </table>
|
---|
179 | </td>
|
---|
180 | <td background="<!--{$smarty.const.URL_DIR}-->img/contents/main_right.jpg"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
|
---|
181 | </tr>
|
---|
182 | <tr>
|
---|
183 | <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_bottom.jpg" width="706" height="14" alt=""></td>
|
---|
184 | </tr>
|
---|
185 | <tr><td height="30"></td></tr>
|
---|
186 | </table>
|
---|
187 | </td>
|
---|
188 | </tr>
|
---|
189 | <!--¥á¥¤¥ó¥¨¥ê¥¢-->
|
---|
190 | </table>
|
---|
191 | <!--¢¥ÅÐÏ¿¥Æ¡¼¥Ö¥ë¤³¤³¤Þ¤Ç-->
|
---|
192 | </td>
|
---|
193 | </tr>
|
---|
194 | </form>
|
---|
195 | </table>
|
---|
196 | <!--¡ú¡ú¥á¥¤¥ó¥³¥ó¥Æ¥ó¥Ä¡ú¡ú-->
|
---|
197 |
|
---|