File name: welboard2/skin/gradation/write.fom (4,857 bytes) Text file viewer v1.2
    1 : {&
    2 :   /* file: write.fom
    3 :      author: 서광현
    4 : 
    5 :      Copyright (c) 2001/03/25 by Wesoft
    6 :      All Rights Reserved.
    7 :   */
    8 : 
    9 :   WIDTH= 520;
   10 :   BARCOLOR= "background='" ~ skin ~ "rug.gif'";
   11 :   ARG= strform("db={$db}&pg={$pg}&bp={$bp}&sk={$sk}&no={$no}&k={$k}&cn={$cn}&cs={$cs}&cc={$cc}");
   12 :  }
   13 : <!-- {$PROGRAM_NAME} {$PROGRAM_VERSION} -->
   14 : <html>
   15 : <head>
   16 : <meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
   17 : <title>게시판 쓰기</title>
   18 : <link rel=stylesheet type="text/css" href="jscss/common.css">
   19 : <script src="jscss/common.js" language="javascript"></script>
   20 : <script language="javascript">
   21 : <!--
   22 :   com_argument= "{$ARG}";
   23 :   chk_admin= "{$us_class}";
   24 : //-->
   25 : </script>
   26 : </head>{?*system_htskip,{$board_header}{!goto skip_title}}
   27 : <body {$background} topmargin=2>
   28 : <center>
   29 : <table border=0 cellspacing=0 cellpadding=1 width={$WIDTH}>
   30 : <tr>
   31 :  <td width=1>
   32 :  <table border=1 cellspacing=0>
   33 :  <tr>
   34 :  <td nowrap id=tdb bgcolor={$titlebgcolor}>
   35 :  <font size=3 color={$titlecolor}><b>&nbsp;{$board_name}&nbsp;</b></font></td>
   36 :  </tr>
   37 :  </table></td>
   38 :  <td valign=bottom id=tdb>{$board_comment}</td>
   39 : </tr>
   40 : </table>{:skip_title}
   41 : <table border=1 cellspacing=0 cellpadding=0 width={$WIDTH} {$BARCOLOR}
   42 :        style="border-width:1px; border-color:#000000">
   43 : <form name="board" method="post" action="{$action}?db={$db}"
   44 :       enctype="multipart/form-data">
   45 : <input type=hidden name="writeflag" value=1>
   46 : <input type=hidden name="db" value="{$db}">
   47 : <input type=hidden name="pg" value="{$pg}">
   48 : <input type=hidden name="sk" value="{$sk}">
   49 : <input type=hidden name="k" value="{$k}">
   50 : <input type=hidden name="cn" value="{$cn}">
   51 : <input type=hidden name="cs" value="{$cs}">
   52 : <input type=hidden name="cc" value="{$cc}">
   53 : <input type=hidden name="no" value="{$no}">
   54 :  <tr>
   55 :   <td valign=bottom id=tdb width=70%>게시물 쓰기</td>
   56 :   <td align=right id=tdb width=30%>
   57 : {&button(1,"golist()","목록으로가기","width:90")}</td>
   58 :  </tr>
   59 : </table>
   60 : <p style="margin:1px 0 0 0;line-height:0"></p>
   61 : <table border=1 cellspacing=0 width={$WIDTH} bordercolordark=white bordercolorlight=#c8c8c8>
   62 :  <tr>
   63 :   <td id=tdh>작성자</td>
   64 :   <td bgcolor=#f8f8e8>
   65 :    <table border=0 cellspacing=0 cellpadding=0 width=100%>
   66 :     <tr>
   67 :      <td id=tdl><input type=text name="wname" value="{$wname}" maxlength=20 size=20 id=it></td>
   68 :      <td id=tdl align=right>게시물 수정/삭제 암호:
   69 :        <input type=password name="postpass" maxlength=12 size=20 id=it></td>
   70 :     </tr>
   71 :    </table></td>
   72 :  </tr>
   73 :  <tr>
   74 :   <td id=tdh>전자우편</td>
   75 :   <td id=tdl><input type=text name="wemail" value="{$wemail}" maxlength=40 size=70 id=it></td>
   76 :  </tr>
   77 :  <tr>
   78 :   <td id=tdh>제 목</td>
   79 :   <td id=tdl><input type=text name="subject" value="{$subject}" maxlength=60 size=70 id=it></td>
   80 :  </tr>
   81 : </table>
   82 : {&
   83 :  function html_comment()
   84 :   {
   85 :     print("※ 아래 내용에 ");
   86 :     red= "<font color=#f00000>";
   87 :     if(accept_html==0) print("HTML 테그를 사용하지 못하");
   88 :      else if(accept_html==1) print("HTML 테그를 사용할 수 있");
   89 :      else print(red, "[HTML]</font> 에서 ", red,
   90 :                 "[/HTML]</font> 로 끝나는 부분의",
   91 :                 " 내부 내용과<br>", red,
   92 :                 "&lt;&amp;</font> (예: &lt;&amp;br>&lt;&amp;/b>)로",
   93 :                 " 표시된 부분만 테그를 사용할 수 있");
   94 :     print("도록 환경이 설정되어 있습니다.<br>\n");
   95 :     return;
   96 :   }
   97 : }{?*!answer_flag,{!goto write_content}}
   98 : <table border=1 cellspacing=0 width={$WIDTH} bordercolordark=white bordercolorlight=#c8c8c8>
   99 :  <tr>
  100 :   <td id=tdl align=center>
  101 :    <textarea name="orgcontent" rows=7 cols=80 wrap="physical" readonly id=ita2>{$poster_content} </textarea></td>
  102 :  </tr>
  103 :  <tr>
  104 :   <td id=tdl align=center>{&html_comment()}
  105 :    <textarea name="content" rows=12 cols=80 wrap="physical" id=ita></textarea></td>
  106 :  </tr>
  107 : </table>{!goto upload}{:write_content}
  108 : <table border=1 cellspacing=0 width={$WIDTH} bordercolordark=white bordercolorlight=#c8c8c8>
  109 :  <tr>
  110 :   <td id=tdl align=center>{&html_comment()}
  111 :    <textarea name="content" rows=15 cols=80 wrap="physical" id=ita></textarea></td>
  112 :  </tr>
  113 : </table>{:upload}{?*!file_upload_flag,{!goto skip_upload}}
  114 : <table border=1 cellspacing=0 width={$WIDTH} bordercolordark=white bordercolorlight=#c8c8c8>
  115 :  <tr>
  116 :   <td id=tdh>파일전송</td>
  117 :   <td id=tdl>
  118 :    {$upload_limit}<input type=file name="attfile" maxlength=40 size=54 id=it></td>
  119 :  </tr>
  120 : </table>{:skip_upload}
  121 : <p style="margin:1px 0 0 0;line-height:0"></p>
  122 : <table border=1 cellspacing=0 cellpadding=0 width={$WIDTH} {$BARCOLOR}
  123 :        style="border-width:1px; border-color:#000000">
  124 :  <tr>
  125 :   <td id=tdb width=20%>&nbsp;</td>
  126 :   <td align=center id=tdb width=60%>{$cpright}</td>
  127 :   <td align=right id=tdb width=20%>
  128 : {&button(1,"Check('"~answer_flag~"')","저 장 하 기","")}</td>
  129 :  </tr>
  130 : </form>
  131 : <script language="javascript">
  132 : <!--
  133 :   document.board.{$focus}.focus();
  134 : //-->
  135 : </script>
  136 : </table>
  137 : {?*system_htskip,{$board_tailer}{!goto end_form}}
  138 : <font size=2><b>{$board_cpright}</b></font>
  139 : </center>
  140 : </body>
  141 : {:end_form}
  142 : </html>
File name: welboard2/skin/gradation/write.fom (4,857 bytes) Wesoft Corp. ⓒ 2001 All rights reserved.