|
|
|
|
¹®°æÈ£ / 2001-04-25 / ¿ÀÈÄ 5:11:26 / 61.75.51.63
Á¶È¸¼ö : 148
|
[Áú¹®] ÀÌ·± ¹æ½ÄÀ¸·Î ó¸®ÇÏ·Á¸é |
´ÙÀ½°ú °°Àº ¹æ½ÄÀ» ÇÏ·Á°í ÇÕ´Ï´Ù.
´Ù¸§ÀÌ ¾Æ´Ï¶ó ±ÛÀÌ »èÁ¦µÇ´Â °æ¿ìÀε¥,¿¹¸¦ µé¾î
ºÎ¸ð±Û
¡æÀڽıÛ
¡æÀڽıÛ
À̶ó´Â °ÍÀÌ ÀÖÀ» °æ¿ì ºÎ¸ð±ÛÀ» »èÁ¦ÇÏ´Â °æ¿ì°¡ ¹ß»ýÇؼ ±ÛÀ» »èÁ¦ ÇÏ¿´½À´Ï´Ù.ÀúÀÇ °æ¿ì´Â ºÎ¸ð±ÛÀÌ »èÁ¦ µÇ¸é ºÎ¸ð±ÛÀÇ Ã¹¹ø° ÀÚ½ÄÀ¸·Î ´ëüµÇ°Ô ÇØÁÖ¾ú°Åµç¿ä.¹®Á¦´Â ÀÚ½Ä±Û Áï ´äº¯±ÛÀ̶ó´Â À̹ÌÁö Ç¥½Ã°¡ ÇÔ²² ¿Ã¶ó¿À´Â °ü°è·Î ½â ÁÁ¾Æº¸ÀÌÁö ¾Ê´Â´Ù´Â °ÍÀÌÁÒ...^^
±×·¡¼ ³ª¸§µ¥·ç »ý°¢Çߴµ¥,ÀÌ°ÍÀ» ºÎ¸ð±ÛÀ» »èÁ¦ µÇ¸é ¸®½ºÆ®¿¡ "»èÁ¦µÇ¾ú½À´Ï´Ù"¶ó°í ÇÏ°í ½Í°Åµç¿ä.¿ÀÈ÷·Á º¸±âµÎ ÁÁÀ»°Í °°±¸¿ä.¹°·Ð ºÎ¸ð±Û¿¡¸¸ ¸»ÀÓ´Ù.
±×·±µ¥ ¹®Á¦´Â ¾î´À °÷¿¡¼ 󸮸¦ ÇØ¾ß ÇÏ´ÂÁö ¸ð¸¥´Ù´Â °ÍÀÔ´Ï´Ù.»èÁ¦ÇÏ¸é¼ »èÁ¦ µÇ¾ú´Ù±¸ ³Ö¾îÁÖ¾î¾ß Çϴ°ÍÀÎÁö ...¾Æ´Ô ¸®½ºÆ®¿¡¼ 󸮸¦ ÇØÁà¾ß Çϴ°ÍÀÎÁö ¸ð¸£°Ú±º¿ä.
ÇØ°áÃ¥ Á» ¾ËÄÑÁÖ¼¼¿ä
Âü ±Û±¸ ¾Æ¿¹ »èÁ¦¸¦ ¸øÇϵµ·Ï ÇØÁÖ¾ú´Âµ¥,À§Ã³·³ ³ª¿À°Åµç¿ä..È÷È÷!
»èÁ¦ ·çƾ ¼Ò½º======================
<%
Dim board_no, board_num, board_step, strSQL
Const adOpenForwardOnly = 0
Const adOpenKeyset = 1
Const adOpenDynamic = 2
Const adOpenStatic = 3
board_no = request("board_no")
board_num = request("board_num")
board_step = request("board_step")
board_pass = request("board_pass")
Set rs = Server.CreateObject("ADODB.Recordset")
if board_step = 0 then
' ÇöÀç±Û¿¡´ëÇÑ °ü·Ã±ÛÀÌ ÀÖ´Ù¸é »èÁ¦ ¸øÇÔ Ã³¸® ½ÃÀÛ
strSQL = "SELECT * FROM bulletboard WHERE board_num = " & board_num
rs.Open strSQL,Dbcon, adOpenKeyset
' ÀÚ±â±Û ÀÌ¿Ü¿¡ Àڱ⿡ ´ëÇÑ °ü·Ã±ÛÀÌ ÀÖ´Ù¸é
if rs.RecordCount > 1 then
%>
<SCRIPT LANGUAGE="JavaScript">
<!--
alert("»èÁ¦ÇϽ÷Á´Â ÀÌ ±ÛÀº °ü·ÃµÈ ±ÛÀÌ ÀÖ½À´Ï´Ù.\n" +
"°ü·ÃµÈ ±ÛÀÌ ÀÖÀ¸¸é »èÁ¦ÇÏ½Ç ¼ö ¾ø½À´Ï´Ù.\nnayaBoar-notice(nextmoon@lycos.co.kr)");
history.go(-1);
//-->
</SCRIPT>
<%
end if
rs.Close
' ÇöÀç±Û¿¡ ´ëÇÑ °ü·Ã±ÛÀÌ ÀÖ´Ù¸é »èÁ¦ ¸øÇÔ Ã³¸® ³¡
end if
' ÇöÀç ±Û Á¸ÀçÀ¯¹«È®ÀÎ
strSQL = "SELECT * FROM bulletboard WHERE board_no = " & board_no
rs.Open strSQL,DbCon,adOpenKeyset
if rs.EOF or rs.BOF then
rs.Close
DbCon.Close
Set rs = nothing
Set DbCon = nothing
%>
<SCRIPT LANGUAGE="JavaScript">
<!--
alert("ÇØ´ç ±ÛÀº ÀÌ¹Ì »èÁ¦µÇ¾ú½À´Ï´Ù.\nnayaBoar-notice(nextmoon@lycos.co.kr)");
history.go(-1);
//-->
</SCRIPT>
<%
elseif board_pass <> rs("board_pass") then
rs.Close
Set rs = nothing
DbCon.Close
Set DbCon = nothing
%>
<SCRIPT LANGUAGE="JavaScript">
<!--
alert("¾ÏÈ£°¡ Ʋ¸®¸é ¼öÁ¤ÇÒ ¼ö ¾ø½À´Ï´Ù.\nnayaBoar-notice(nextmoon@lycos.co.kr)");
history.go(-2);
//-->
</SCRIPT>
<%
else
rs.Close
Set rs = nothing
' ÇöÀç ±Û Á¸ÀçÀ¯¹«È®ÀÎ ³¡
' ÇöÀç±Û »èÁ¦ ½ÃÀÛ
strSQL = "DELETE FROM bulletboard WHERE board_no = " & board_no
DbCon.Execute(strSQL)
' ÇöÀç±Û »èÁ¦ ³¡
DbCon.Close
Set DbCon = nothing
Response.Redirect "notice.asp"
end if
%>
|
|
|
|