´ç½Å¿¡°Ô·Î ¶°³ª´Â ²Þ¼Ó¿©Çà - ²Þ¼Ó³ª¶ó(http://www.inyourdream.net) ÀÔ±¹Çϱâ | ¿µÁÖ±Ç ½Åû
  • ¸öºÎ¸² °ñ¶ó°ñ¶ó
  • ¼Ò±Ù¼Ò±Ù
  • µµ¶õµµ¶õ
  • ³«¼­¸¶´ç
  • Âø°¢ÇѾÆÀÌ
  • ¼ýÀÚ¸ÂÃß±â
  • ¼Ò¿øºô±â
  • ÈçÀû³²±â±â
  • ²Þ¼Ó¿©Çà
  • Ä£±¸Áý ³î·¯°¡±â
  • ¸ðµÎµå¸²´ÔÀÇ È¨
  • î¤éÞ´ÔÀÇ È¨
  • Çö¿ì´ÔÀÇ È¨
  • º°¾ÆÇØ´ÔÀÇ È¨
  • ÇÞ»ì´ÔÀÇ È¨
  • À̳ª´Ï´ÔÀÇ È¨
  • À¯¸®¾Ë´ÔÀÇ È¨
  • ³È³ÈÀÌ´ÔÀÇ È¨
  • ²ÀÁö´ÔÀÇ È¨
  • ´ë¼º´ÔÀÇ È¨
  • ±Ã±ÝÀÌ / 2001-05-10 / ¿ÀÀü 1:26:46 / 61.75.5.53
    Á¶È¸¼ö : 134
    [Áú¹®] ÀÌ»óÇϱº¿ä.¸»¾¸µ¥·ç Çߴµ¥...x)
    >
    > > Set DbRec1=Server.CreateObject("ADODB.RecordSet")
    > > DbRec1.Open "SELECT num,subject,ref,wdate,writer FROM board1 WHERE
    > step=0 ORDER BY wdate DESC", DbCon, 1
    >
    >
    > > for j=1 to postcount
    > > number=DbRec1("num") <<<================================
    > >
    > > 'Subject (Á¦¸ñ Ãâ·Â) ½ÃÀÛ
    > >
    > > subject=DbRec1("subject")
    >
    > > response.write "<br>"
    >
    > > response.write "<a href=content.asp?
    > tb="&tb&"&code="&code&"&num="&num&"&ref="&ref&"&pa
    > ge="&page&"&startpage="&startpage&"&key="&key&"&na
    > ya_s="&naya_s&"&naya_heeya="&naya_heeya&"&naya_kor
    > ean="&naya_korean&" onMouseOver=""window.status=
    > ('°Ô½Ã¹° Àбâ "&subject&"'); return true;""><span style='font-size:9pt;color:"&tbtext&"'>"
    > > if len(subject) > 25 then
    > > subject=left(subject,26)&"..."
    > > response.write "<br>"
    > > response.write "</a>"
    > > end if
    > -----------------------------------------------------------
    >
    >
    > number=DbRec1("num")
    >
    > ¸¦
    >
    > num=DbRec1("num")
    >
    > À¸·Î ¹Ù²Ù¼¼¿ä...
    >
    > ³ª¸ÓÁö ref,wdateµîµµ ·¹Äڵ尪À» º¯¼ö¿¡ ÇÒ´çÇØÁֽñ¸¿ä...
    -----------------------------------------------------------
    <%
    tb=Request("tb") 'ÀÌ ¹öÀüÀº tb°¡ Å×ÀÌºí ¸íÀÌ´Ù
    code=Request("code") 'ÀÌ ¹öÀüÀº ÄÚµå´Â ´ÙÁß°Ô½ÃÆÇ ÄÚµå
    '°øÁö»çÇ×µî °ü·Ã±Û Ãâ·ÂÇϱâ À§ÇÑ ·ÎÁ÷ ½ÃÀÛ....^^


    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 board1 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 "<br>"
    response.write "<a href=content.asp?tb="&tb&"&code="&code&"&num="&num&"&ref="&ref&"&page="&page&"&startpage="&startpage&"&key="&key&"&naya_s="&naya_s&"&naya_heeya="&naya_heeya&"&naya_korean="&naya_korean&" onMouseOver=""window.status=('°Ô½Ã¹° Àбâ "&subject&"'); return true;""><span style='font-size:9pt;color:"&tbtext&"'>"
    if len(subject) > 25 then
    subject=left(subject,26)&"..."
    response.write "<br>"
    response.write "</a>"
    end if
    '°Ô½Ã¹° °ü·Ã±Û
    ref=DbRec1("ref")
    response.write "<a href=content.asp?tb="&tb&"&code="&code&"&num="&num&"&ref="&ref&"&page="&page&"&startpage="&startpage&"&key="&key&"&naya_s="&naya_s&"&naya_heeya="&naya_heeya&"&naya_korean="&naya_korean&" onMouseOver=""window.status=('°Ô½Ã¹° Àбâ "&subject&"'); return true;""><span style='font-size:9pt;color:"&tbtext&"'>"
    Response.Write " "&subject&" "
    response.write "</a>"
    if datediff("d",DbRec1("wdate"),now)=<5 then '
    response.write "--"
    end if
    '±âÁ¸ ³¯Â¥ ¹æ½ÄµÎ ¿¡·¯
    'if left(now,10) = left(wdate,10) then ' 1ÀÏ ´ÜÀ§·Î ¿Ã¶ó¿Â¿¡ New Ç¥½ÃÇÒ ¶§
    'if datediff("d",wdate,now)=<1 then ' <!--1ÀÏ ´ÜÀ§°¡ ¾Æ´Ï¶ó 24½Ã°£ ´ÜÀ§·Î ½Ã°£ º¯°æ-->
    ' response.write "<span style='font-size:9pt;color:red'><img src='images/cross.gif' border='0' alt='ÃÖ±Ù 24½Ã°£ À̳» ¿Ã¶ó¿Â±Û'></span>"
    'else
    ' response.write "   "
    'end if
    response.write " "

    DbRec1.MoveNext
    next
    DbRec1.Close
    %>
    <!--List Á¦¸ñ Ãâ·Â-->
    </td></tr>
    </table>
    </body>
    </html>
    À§¿Í °°ÀÌ ¸»¾¸µ¥·Î ÇØÁÖ¾ú°Åµç¿ä.º¯¼ö ¶ÇÇÑ ¸»¾¸ÇϽŰÍó·³ óÀ½ºÎÅÍ ref,wdate´Â À§¿¡¼­ ¼±¾ðÇØÁÖ¾ù±¸¿ä.Á¦°¡ º¯¼ö ¼±¾ðÀ» À߸øÇÑ°ÍÀΰ¡¿ä.
    ´ÙÀ½°ú °°Àº ¿¡·¯°¡ ³ª¿Ô½À´Ï´Ù.
    ¿À·ù Çü½Ä:
    ADODB.Field (0x800A0BCD)
    BOF ¶Ç´Â EOF°¡ ÂüÀ̰ųª, ÇöÀç ·¹Äڵ带 »èÁ¦Çß½À´Ï´Ù. ¿äûÇÑ ÀÛ¾÷¿¡ ÇöÀç ·¹Äڵ尡 ÇÊ¿äÇÕ´Ï´Ù.
    /Web/board/content.asp, line 27
    content.asp ¶óÀÎ
    title=rsman(0)====>¿©±â ¿¡·¯
    bgm=trim(rsman(1))
    bgc=trim(rsman(2))
    textc=trim(rsman(3))

    tboutc=trim(rsman(4))
    tbbgc=trim(rsman(5))
    tbcb=trim(rsman(6))
    tbcl=trim(rsman(7))
    tbouttext=trim(rsman(8))
    tbtext=trim(rsman(9))
    htmlok=trim(rsman(10))
    ipok=trim(rsman(11))
    viewok=trim(rsman(12))
    recok=trim(rsman(13))
    ch_pass=trim(rsman(14))

    rsman.close
    set rsman=nothing
    ¹°·Ð ÀÌ°÷Àº »ç¿ëÁßÀÎ °ÍÀ¸·Î ¾Æ¹«·± ¿¡·¯µÎ ¹ß»ýµÇÁö ¾Ê´Â°÷À̱¸¿ä...¾Ö±Ã!
    Byte * 200 Byte À̳»·Î ÀÔ·ÂÇϼ¼¿ä À̸§ : Æнº¿öµå :