´ç½Å¿¡°Ô·Î ¶°³ª´Â ²Þ¼Ó¿©Çà - ²Þ¼Ó³ª¶ó(http://www.inyourdream.net)
ID¿Í Password¸¦ ÀÔ·ÂÇϼ¼¿ä.
ÀÔ±¹Çϱâ
|
¿µÁÖ±Ç ½Åû
¸öºÎ¸² °ñ¶ó°ñ¶ó
¼Ò±Ù¼Ò±Ù
µµ¶õµµ¶õ
³«¼¸¶´ç
Âø°¢ÇѾÆÀÌ
¼ýÀÚ¸ÂÃß±â
¼Ò¿øºô±â
ÈçÀû³²±â±â
²Þ¼Ó¿©Çà
Ä£±¸Áý ³î·¯°¡±â
¸ðµÎµå¸²´ÔÀÇ È¨
î¤éÞ´ÔÀÇ È¨
Çö¿ì´ÔÀÇ È¨
º°¾ÆÇØ´ÔÀÇ È¨
ÇÞ»ì´ÔÀÇ È¨
À̳ª´Ï´ÔÀÇ È¨
À¯¸®¾Ë´ÔÀÇ È¨
³È³ÈÀÌ´ÔÀÇ È¨
²ÀÁö´ÔÀÇ È¨
´ë¼º´ÔÀÇ È¨
µî·ÏÇϽǶ§´Â ÇʼöÇ׸ñÀ» ¸ðµÎ ÀÔ·ÂÇÏ¼Å¾ß ÇÕ´Ï´Ù.
À̸§
*
HTML »ç¿ë
Á¦¸ñ
*
¼±ÅÃ
ÀÚÀÛ
»ç¶û
À¯¸Ó
ÀÚÀ¯
̵̧
¾Ë¸²
Áú¹®
±âŸ
³»¿ë
*
> > > ´ÙÀ½°ú °°Àº ¹æ½ÄÀ¸·Î ¸ÞÀΠȸéÀ» ²Ù¸ì½À´Ï´Ù.¹°·Ð ´ÙÁß °Ô½ÃÆÇÀ̱¸¿ä... > > > ±×·±µ¥ Á¦¸ñ ºÎºÐÀº Ãâ·ÂÀÌ µÇ°í Àִµ¥,³¯Â¥¿Í ÀÛ¼ºÀÚ°¡ Ãâ·ÂµÇÁö ¾Ê´Â±º¿ä. > > > subject=DbRec1("subject") > > > response.write "
" > > > response.write "
" > > > > > > if len(subject) > 25 then > > > subject=left(subject,26)&"..." > > > response.write "
" > > > response.write "
" > > > 'Response.Write " "&wdate&" "&writer&" " > > > end if > > > '/***************** °Ô½Ã¹° °ü·Ã±Û(´äº¯±Û) *****************************************/ > > > ref=DbRec1("ref") > > > Response.Write " "&wdate&" "&writer&" " > > > response.write "
" > > > > > > Response.Write " "&subject&" " > > > response.write "
" > > > '/************* ³¯Â¥, ÀÛ¼ºÀÚ Ãâ·Â ***********************************/ > > > 'Response.Write " "&wdate&" "&writer&" " > > > '/************* ÇöÀç ³¯Â¥ Ãâ·Â·çƾ ½ÃÀÛ Ú± **************************/ > > > '1¹ø° ¹æ¹ý > > > 'if datediff("d",DbRec1("wdate"),now)=<5 then ' > > > ' response.write "--" > > > 'end if > > > 'µÎ¹ø° ¹æ¹ý > > > 'if left(now,10) = left(wdate,10) then ' 1ÀÏ ´ÜÀ§·Î ¿Ã¶ó¿Â¿¡ New Ç¥½ÃÇÒ ¶§ > > > ' response.write timeserial(hour(wdate),minute(wdate),second(wdate)) > > > 'else > > > ' response.write left(wdate,10) > > > 'end if > > > '¼¼¹ø° ¹æ¹ý > > > 'if datediff("d",wdate,now)=<1 then ' > > > ' response.write "
" > > > 'else > > > ' response.write " " > > > 'end if > > > > > > 'response.write " " > > > '/****************** ³¯Â¥ Ãâ·Â ·çƾ ³¡ ************************/ > > > DbRec1.MoveNext > > > next > > > DbRec1.Close > > > set DbRec1 = nothing > > > %> > > > ÇöÀç ¾Æ¹« ¿¡·¯µµ ¹ß»ýµÇÁö ¾Ê½À´Ï´Ù. > > > ¿©·¯°¡Áö ¹æ¹ýÀ» »ç¿ëÇغ¸¾ÒÁö¸¸ ¸ðµÎ´Ù Ãâ·ÂÀÌ ¾ÈµÇ´Â±º¿ä.¾î¶² À߸øÀÌ ÀÖ´ÂÁö¿© > > ----------------------------------------------------------- > > > > wdate¿Í writer¿¡ ¾Æ¹«·± °ªÀÌ ¾ø´Â°Å ¾Æ´Ñ°¡¿ä? > > > > °ªÀ» ÁÖ´Â ¹®ÀåÀÌ ¾È º¸À̴µ¥¿ä... > > > ----------------------------------------------------------- > > > >
°øÁö»çÇ× Ãâ·Â
>
> > > >
>
> >
> <% > '/*********¾Æ·¡¿Í °°ÀÌ Ã³¸®ÇÏ¿© Å×ÀÌºí °ªÀ» ã¾Æ¿Â´Ù.******************************/ > tb = ("board2") > code = ("010305") > 'tb=Request("tb") 'ÀÌ ¹öÀüÀº tb°¡ Å×ÀÌºí ¸íÀÌ´Ù > 'code=Request("code") 'ÀÌ ¹öÀüÀº ÄÚµå´Â ´ÙÁß°Ô½ÃÆÇ ÄÚµå > 'Å×ÀÌºí °ü·Ã±Û Ãâ·ÂÇϱâ À§ÇÑ ·ÎÁ÷ ½ÃÀÛ....^^ > > if listok="1" and Session("boardcheck") <> ch_pass then '°Ô½Ã¹°º¸±â ±ÇÇѼ³Á¤Àû¿ë½Ã¿¡ ·Î±ä ÈÄ ¼¼¼Ç°ª°ú Æнº¿öµå °ª ºñ±³ > Response.Redirect "login.asp?tb="&tb&"&code="&code&"<ype=list" > end if > > > if Request.QueryString("page")="" then '³Ñ°Ü¹Þ´Â º¯¼ö´Â ÆäÀÌÁö °ª¸¸ > page=1 > startpage=1 > else > page=cint(Request("page")) > startpage=int(page/setsize) > > if startpage=(page/setsize) then > startpage=page-setsize + 1 > else > startpage=int(page/setsize)*setsize + 1 > end if > end if > > > > Set DbRec=Server.CreateObject("ADODB.Recordset") > > DbRec.CursorType=1 > > key=trim(request("key")) > naya_s=request("naya_s") > if naya_s="" or IsNull("naya_s") Then > naya_s=0 > end if > naya_heeya=request("naya_heeya") > if naya_heeya="" or IsNull("naya_heeya") Then > naya_heeya=0 > end if > naya_korean=request("naya_korean") > if naya_korean="" or IsNull("naya_korean") Then > naya_korean=0 > end if > > > if key="" or (naya_s=0 and naya_heeya=0 and naya_korean=0) then 'Å°¿öµå°¡ ¾ø°Å³ª ¾Æ¹«·± üũ°¡ µÇ¾î ÀÖÁö ¾ÊÀ»°æ¿ì¿¡ > sqlList="Select Count(num) as tn From "&tb&" Where codename='"&code&"' " > Set rsList=DbCon.Execute(sqlList) > tn=rsList(0) > rsList.close > set rsList=nothing > > > > listsql="SELECT top "&pgsize*page&" num,subject,writer,email,visited,wdate,ref,step,rec FROM "&tb&" Where codename='"&code&"' ORDER BY ref DESC, ansnum ASC" > DbRec.Open listsql, DbCon > > if not DbRec.eof then '¸¸¾à ·¹Äڵ尡 1°³ ÀÌ»óÀ̸é > nextpage = Cint(page)+1 > prevpage = Cint(page)-1 > n = tn - (page-1) * pgsize > else > tn=0 > pgcount=0 > end if > else > %> > > <% > end if > '/******************************* table °ªÀ» ºÒ·¯¿Â´Ù.(board2)**************************************** > Set DbRec1=Server.CreateObject("ADODB.RecordSet") > 'DbRec1.Open "SELECT num,subject,ref,wdate FROM board1 WHERE step=0 ORDER BY wdate DESC", DbCon > DbRec1.Open "SELECT num,subject,ref,wdate,writer FROM board2 WHERE step=0 ORDER BY wdate DESC", DbCon, 1 > > if Request.QueryString("page")="" then '³Ñ°Ü¹Þ´Â º¯¼ö´Â ÆäÀÌÁö °ª¸¸ > page=1 > startpage=1 > else > page=cint(Request("page")) > startpage=int(page/setsize) > > if startpage=(page/setsize) then > startpage=page-setsize + 1 > else > startpage=int(page/setsize)*setsize + 1 > end if > end if > '/**********Ãß°¡ > > > postcount=DbRec1.Recordcount > if postcount > 10 then > postcount=10 'ÆäÀÌÁö ¶óÀμö > end if > > for j=1 to postcount > 'number=DbRec1("num") > num=DbRec1("num") > > > > '/**************************Subject (Á¦¸ñ Ãâ·Â) ½ÃÀÛ*****************************************/ > > subject=DbRec1("subject") > response.write "
" > response.write "
" > > if len(subject) > 25 then > subject=left(subject,26)&"..." > response.write "
" > response.write "
" > 'Response.Write " "&wdate&" "&writer&" " > end if > '/***************** °Ô½Ã¹° °ü·Ã±Û(´äº¯±Û) *****************************************/ > ref=DbRec1("ref") > Response.Write " "&wdate&" "&writer&" " > response.write "
" > > Response.Write " "&subject&" " > response.write "
" > '/************* ³¯Â¥, ÀÛ¼ºÀÚ Ãâ·Â ***********************************/ > 'Response.Write " "&wdate&" "&writer&" " > '/************* ÇöÀç ³¯Â¥ Ãâ·Â·çƾ ½ÃÀÛ Ú± **************************/ > '1¹ø° ¹æ¹ý > 'if datediff("d",DbRec1("wdate"),now)=<5 then ' > ' response.write "--" > 'end if > 'µÎ¹ø° ¹æ¹ý > 'if left(now,10) = left(wdate,10) then ' 1ÀÏ ´ÜÀ§·Î ¿Ã¶ó¿Â¿¡ New Ç¥½ÃÇÒ ¶§ > ' response.write timeserial(hour(wdate),minute(wdate),second(wdate)) > 'else > ' response.write left(wdate,10) > 'end if > '¼¼¹ø° ¹æ¹ý > 'if datediff("d",wdate,now)=<1 then ' > ' response.write "
" > 'else > ' response.write " " > 'end if > > 'response.write " " > '/****************** ³¯Â¥ Ãâ·Â ·çƾ ³¡ ************************/ > DbRec1.MoveNext > next > DbRec1.Close > set DbRec1 = nothing > %> > >
>
> > > ÀÌ·¸°Ô ¸ÞÀÎȸéÀ¸·Î °ªÀ» °¡Á®¿À´Âµ¥...Àß ¾ÈµÇ³×¿© > Ãâ·ÂÀÌ µÇÁö ¾Ê¾Æ¼ ¿ì¼±Àº ÁÖ¼®À¸·Î 󸮸¦ Çسõ¾Ò½À´Ï´Ù. -----------------------------------------------------------
Ãß°¡ÇÒ À̹ÌÁö¸¦ ÀÔ·ÂÇϼ¼¿ä.
À̹ÌÁö 1
À̹ÌÁö¼³¸í 1
Ãß°¡ÇÒ ÀڷḦ ÀÔ·ÂÇϼ¼¿ä.
ÀÚ·á 1
ÀÚ·á¼³¸í 1
Ãß°¡ÇÒ ½ÎÀÌÆ®¸¦ ÀÔ·ÂÇϼ¼¿ä.
°ü·Ã½ÎÀÌÆ® 1
½ÎÀÌÆ®¼³¸í 1
Password
*