|
||||
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> {$board_name} </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 : "<&</font> (¿¹: <&br><&/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%> </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>¢Ò |
||||
|