| 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 | <!--{html_radios_ex name="send_type" options=$arrSendType separator=" " selected=$arrForm[$key]}-->
|
|---|
| 111 | <!--{else}-->
|
|---|
| 112 | <!--{html_radios_ex name="send_type" options=$arrSendType separator=" " selected=$arrForm[$key] disabled=true}-->
|
|---|
| 113 | <!--{/if}-->
|
|---|
| 114 | </td>
|
|---|
| 115 | </tr>
|
|---|
| 116 | <tr>
|
|---|
| 117 | <td bgcolor="#f2f1ec" width="160" class="fs12n">¥Æ¥ó¥×¥ì¡¼¥È<span class="red"> *</span></td>
|
|---|
| 118 | <td bgcolor="#ffffff" width="557" class="fs10n">
|
|---|
| 119 | <!--{assign var=key value="template_name"}-->
|
|---|
| 120 | <span class="red12"><!--{$arrErr[$key]}--></span>
|
|---|
| 121 | <input type="text" name="template_name" value="<!--{$arrForm[$key]|escape}-->" onChange="setFlag();" size="30" class="box30" style="<!--{$arrErr[$key]|sfGetErrorColor}-->">
|
|---|
| 122 | </td>
|
|---|
| 123 | </tr>
|
|---|
| 124 | <tr>
|
|---|
| 125 | <td bgcolor="#f2f1ec" width="160" class="fs12n">¥á¡¼¥ë¥¿¥¤¥È¥ë<span class="red"> *</span></td>
|
|---|
| 126 | <td bgcolor="#ffffff" width="557" class="fs10n">
|
|---|
| 127 | <!--{assign var=key value="subject"}-->
|
|---|
| 128 | <span class="red12"><!--{$arrErr[$key]}--></span>
|
|---|
| 129 | <input type="text" name="subject" value="<!--{$arrForm[$key]|escape}-->" onChange="setFlag();" size="30" class="box30" style="<!--{$arrErr[$key]|sfGetErrorColor}-->">
|
|---|
| 130 | </td>
|
|---|
| 131 | </tr>
|
|---|
| 132 | <tr>
|
|---|
| 133 | <td bgcolor="#f2f1ec" colspan="2" class="fs12n"><span class="red"> *</span>̾Á°º¹¤·¹þ¤ß»þ¤Ï {name} ¤È¤¤¤ì¤Æ¤¯¤À¤µ¤¤¡£<br><span class="red"> *</span>¥á¡¼¥ë¤ÎÆâÍÆ¤Ï [[body]] ¤ËÁÞÆþ¤µ¤ì¤Þ¤¹¡£</td>
|
|---|
| 134 | </tr>
|
|---|
| 135 | <tr>
|
|---|
| 136 | <td bgcolor="#f2f1ec" width="160" class="fs12">ËÜʸ</td>
|
|---|
| 137 | <td bgcolor="#ffffff" width="557" class="fs10">
|
|---|
| 138 | <!--{assign var=key value="body"}-->
|
|---|
| 139 | <span class="red12"><!--{$arrErr[$key]}--></span>
|
|---|
| 140 | <textarea name="body" cols="75" rows="20" class="area75" onChange="setFlag();" style="<!--{$arrErr[$key]|sfGetErrorColor}-->"><!--{$arrForm[$key]|escape}--></textarea><br />
|
|---|
| 141 | <span class="red"> ¡Ê¾å¸Â<!--{$smarty.const.LTEXT_LEN}-->ʸ»ú¡Ë
|
|---|
| 142 | </span>
|
|---|
| 143 |
|
|---|
| 144 | <div align="right">
|
|---|
| 145 | <input type="button" width="110" height="30" value="ʸ»ú¿ô¥«¥¦¥ó¥È" onclick="fnCharCount('form1','body','cnt_body');" border="0" name="next" id="next" />
|
|---|
| 146 | <br>º£¤Þ¤Ç¤ËÆþÎϤ·¤¿¤Î¤Ï
|
|---|
| 147 | <input type="text" name="cnt_body" size="4" class="box4" readonly = true style="text-align:right">
|
|---|
| 148 | ʸ»ú¤Ç¤¹¡£
|
|---|
| 149 | </div>
|
|---|
| 150 |
|
|---|
| 151 | </td>
|
|---|
| 152 | </tr>
|
|---|
| 153 | </table>
|
|---|
| 154 |
|
|---|
| 155 | <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
|---|
| 156 | <tr>
|
|---|
| 157 | <td bgcolor="#cccccc"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td>
|
|---|
| 158 | <td><img src="<!--{$smarty.const.URL_DIR}-->img/contents/tbl_top.gif" width="676" height="7" alt=""></td>
|
|---|
| 159 | <td bgcolor="#cccccc"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td>
|
|---|
| 160 | </tr>
|
|---|
| 161 | <tr>
|
|---|
| 162 | <td bgcolor="#cccccc"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>
|
|---|
| 163 | <td bgcolor="#e9e7de" align="center">
|
|---|
| 164 | <table border="0" cellspacing="0" cellpadding="0" summary=" ">
|
|---|
| 165 | <tr>
|
|---|
| 166 | <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>
|
|---|
| 167 | </tr>
|
|---|
| 168 | </table>
|
|---|
| 169 | </td>
|
|---|
| 170 | <td bgcolor="#cccccc"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>
|
|---|
| 171 | </tr>
|
|---|
| 172 | <tr>
|
|---|
| 173 | <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/tbl_bottom.gif" width="678" height="8" alt=""></td>
|
|---|
| 174 | </tr>
|
|---|
| 175 | </table>
|
|---|
| 176 | </td>
|
|---|
| 177 | <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>
|
|---|
| 178 | </tr>
|
|---|
| 179 | <tr>
|
|---|
| 180 | <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_bottom.jpg" width="706" height="14" alt=""></td>
|
|---|
| 181 | </tr>
|
|---|
| 182 | <tr><td height="30"></td></tr>
|
|---|
| 183 | </table>
|
|---|
| 184 | </td>
|
|---|
| 185 | </tr>
|
|---|
| 186 | <!--¥á¥¤¥ó¥¨¥ê¥¢-->
|
|---|
| 187 | </table>
|
|---|
| 188 | <!--¢¥ÅÐÏ¿¥Æ¡¼¥Ö¥ë¤³¤³¤Þ¤Ç-->
|
|---|
| 189 | </td>
|
|---|
| 190 | </tr>
|
|---|
| 191 | </form>
|
|---|
| 192 | </table>
|
|---|
| 193 | <!--¡ú¡ú¥á¥¤¥ó¥³¥ó¥Æ¥ó¥Ä¡ú¡ú-->
|
|---|
| 194 |
|
|---|