|
||||
1 : {&¢Ò 2 : /* file: memo.fom¢Ò 3 : author: ¼±¤Çö¢Ò 4 : ¢Ò 5 : Copyright (c) 2001/02/22 by Wesoft¢Ò 6 : All Rights Reserved.¢Ò 7 : */¢Ò 8 : ¢Ò 9 : if(WIDTH=="") WIDTH= 520;¢Ò 10 : bgsw= 0;¢Ò 11 : BARCOLOR= bar_boardcolor;¢Ò 12 : LISTHEADCOLOR= list_headcolor;¢Ò 13 : gopage= "gompage";¢Ò 14 : if(admin!=1) ADMIN= wname= wnamestyle= "", goprg= "login.wel";¢Ò 15 : else¢Ò 16 : {¢Ò 17 : ADMIN= 1, wname= "°ü¸®ÀÚ", wnamestyle=" style='color:#f00000'";¢Ò 18 : goprg= "admmemo.wel";¢Ò 19 : }¢Ò 20 : }¢Ò 21 : <style type="text/css">¢Ò 22 : <!--¢Ò 23 : #lh { height:16px; text-align:center; font-size:9pt; color:#ffffff;¢Ò 24 : background:{$LISTHEADCOLOR}; vertical-align:bottom;¢Ò 25 : border-width:1px; border-color:#b8b8b8; border-style:solid;¢Ò 26 : border-left:none; border-top:none }¢Ò 27 : ¢Ò 28 : #lb { height:18px; font-size:9pt; color:#000000;¢Ò 29 : vertical-align:top; padding: 2px;¢Ò 30 : border-width:1px; border-color:#b8b8b8; border-style:solid;¢Ò 31 : border-left:none; border-top:none }¢Ò 32 : -->¢Ò 33 : </style>¢Ò 34 : <script language="javascript">¢Ò 35 : <!--¢Ò 36 : function Check()¢Ò 37 : {¢Ò 38 : if(document.memo.name.value=="")¢Ò 39 : {¢Ò 40 : alert("¸Þ¸ð ÀÛ¼ºÀÚ À̸§À» ÀÔ·ÂÇϼ¼¿ä!");¢Ò 41 : document.memo.name.focus();¢Ò 42 : return false;¢Ò 43 : }{?*ADMIN,{!goto next_check}}¢Ò 44 : if(document.memo.name.value=="°ü¸®ÀÚ")¢Ò 45 : {¢Ò 46 : alert("'°ü¸®ÀÚ'¶ó´Â À̸§Àº °ü¸®ÀÚ¸¸ »ç¿ëÇÒ ¼ö ÀÖ½À´Ï´Ù!");¢Ò 47 : document.memo.name.focus();¢Ò 48 : return false;¢Ò 49 : }{:next_check}¢Ò 50 : if(document.memo.name.value.length<2)¢Ò 51 : {¢Ò 52 : alert("¸Þ¸ð ÀÛ¼ºÀÚ À̸§ÀÌ ³Ê¹« ª½À´Ï´Ù!");¢Ò 53 : document.memo.name.focus();¢Ò 54 : return false;¢Ò 55 : }¢Ò 56 : if(document.memo.memo.value=="")¢Ò 57 : {¢Ò 58 : alert("¸Þ¸ð ³»¿ëÀ» ÀÔ·ÂÇϼ¼¿ä!");¢Ò 59 : document.memo.memo.focus();¢Ò 60 : return false;¢Ò 61 : }¢Ò 62 : if(document.memo.memo.value.length<2)¢Ò 63 : {¢Ò 64 : alert("¸Þ¸ð ³»¿ëÀÌ ³Ê¹« ª½À´Ï´Ù!");¢Ò 65 : document.memo.memo.focus();¢Ò 66 : return false;¢Ò 67 : }¢Ò 68 : return true;¢Ò 69 : }¢Ò 70 : ¢Ò 71 : function gompage(page)¢Ò 72 : {¢Ò 73 : if(page<1) return;¢Ò 74 : {&¢Ò 75 : if(admin==1) /" location.replace("{$goprg}?pg=" + page + "&{$ARG}");\n"/;¢Ò 76 : else /" location.replace("{$goprg}?pg=" + page);\n"/;¢Ò 77 : }¢Ò 78 : }¢Ò 79 : //-->¢Ò 80 : </script>¢Ò 81 : <div style="width:{$WIDTH};overflow:no">¢Ò 82 : <table border=1 cellspacing=0 cellpadding=0 width={$WIDTH}¢Ò 83 : style="border-width:1px; border-color:#000000;">¢Ò 84 : <tr>{?*!ADMIN,{!goto noadmin}}¢Ò 85 : <td id=lh width=8%>¹øÈ£</td>¢Ò 86 : <td id=lh width=17%>ÀÛ¼ºÀϽÃ</td>¢Ò 87 : <td id=lh width=8%>À̸§</td>¢Ò 88 : <td id=lh width=67%>¸Þ ¸ð ³» ¿ë</td>¢Ò 89 : {!goto next}{:noadmin}¢Ò 90 : <td id=lh width=18%>ÀÛ¼ºÀϽÃ</td>¢Ò 91 : <td id=lh width=9%>À̸§</td>¢Ò 92 : <td id=lh width=73%>¸Þ ¸ð ³» ¿ë</td>¢Ò 93 : {:next}</tr>¢Ò 94 : {!repeat,$mpagerec}{&¢Ò 95 : bgsw= 1 - bgsw;¢Ò 96 : if(bgsw==0) BGC="#e8e8e8"; else BGC="#ffffff";¢Ò 97 : if(name=="") name2= " ";¢Ò 98 : else¢Ò 99 : {¢Ò 100 : name2= strchange(name, "<|>", "<|>"); // HTML tag »ç¿ëºÒ´É¢Ò 101 : if(name=="°ü¸®ÀÚ") name2= "<font color=#f00000>" ~ name2 ~ "</font>";¢Ò 102 : if(admin==1)¢Ò 103 : name2= "<a href='javascript:gomzap(" ~ selno ~ ")'>" ~ name2 ~ "</a>";¢Ò 104 : }¢Ò 105 : }¢Ò 106 : <tr bgcolor='{$BGC}'>¢Ò 107 : {&¢Ò 108 : if(admin==1) /" <td nowrap align=right id=lb>{?*!selno, }{$selno}</td>"/;¢Ò 109 : }¢Ò 110 : <td nowrap id=lb>{?*!wdtime, }{$wdtime}</td>¢Ò 111 : <td nowrap id=lb>{$name2}</td>¢Ò 112 : <td id=lb>{?*!memo, }{$memo}</td>¢Ò 113 : </tr>{!endrep}¢Ò 114 : </table>¢Ò 115 : </div>¢Ò 116 : <table border=1 cellspacing=0 cellpadding=0 width={$WIDTH} bgcolor={$BARCOLOR}¢Ò 117 : style="border-width:1px; border-color:#000000;border-top:none;border-bottom:none">¢Ò 118 : <tr>¢Ò 119 : {& today= mid(date(3),8) ~ "(" ~ week_str[iweek()] ~ ")"; }¢Ò 120 : <td id=tdb width=15%>ÃÑ <font color=#f00000>{$tot_page}</font> ÆäÀÌÁö</td>¢Ò 121 : <td align=center id=tdb width=70%>{&include("pagebar.sub")}</td>¢Ò 122 : <td align=right nowrap id=tdb width=15%>{$today}</td>¢Ò 123 : </tr>¢Ò 124 : <tr>¢Ò 125 : <form method="post" name="memo" action="memowrite.wel" onSubmit="return Check()">¢Ò 126 : <input type=hidden name="admin" value="{$admin}">{?*!ADMIN,{!goto skip_input}}¢Ò 127 : <input type=hidden name="list" value="{$list}">¢Ò 128 : <input type=hidden name="k" value="{$k}">¢Ò 129 : <input type=hidden name="ps" value="{$ps}">¢Ò 130 : <input type=hidden name="pw" value="{$pw}">¢Ò 131 : <input type=hidden name="pS" value="{$pS}">¢Ò 132 : <input type=hidden name="pN" value="{$pN}">¢Ò 133 : <input type=hidden name="pl" value="{$pl}">¢Ò 134 : <input type=hidden name="pr" value="{$pr}">{:skip_input}¢Ò 135 : <td colspan=3 align=center valign=bottom id=tdb>¢Ò 136 : À̸§: <input type=text name="name" value="{$wname}"{$wnamestyle} size=8 maxlength=16 id=it>¢Ò 137 : ¸Þ¸ð: <input type=text name="memo" size=50 maxlength=250 id=it>¢Ò 138 : {&button(1,"if(Check()==true) document.memo.submit()", "¸Þ¸ð¾²±â","width:60")}<br>¢Ò 139 : <font color=#606060>¢Ò 140 : ¿À´ÃºÎÅÍ {$memo_limit}ÀÏ ÀÌÀüÀÇ ¸Þ¸ð´Â ÀÚµ¿ »èÁ¦µË´Ï´Ù</font></td>¢Ò 141 : </tr>¢Ò 142 : </table>¢Ò 143 : <table border=1 cellspacing=0 cellpadding=0 width={$WIDTH} bgcolor={$BARCOLOR}¢Ò 144 : style="border-width:1px; border-color:#000000">¢Ò 145 : <tr>¢Ò 146 : <td align=center id=tdb>{$cpright}</td>¢Ò 147 : </tr>¢Ò 148 : </form>¢Ò 149 : </table>¢Ò |
||||
|