´ç½Å¿¡°Ô·Î ¶°³ª´Â ²Þ¼Ó¿©Çà - ²Þ¼Ó³ª¶ó(http://www.inyourdream.net) ÀÔ±¹Çϱâ | ¿µÁÖ±Ç ½Åû
  • ¸öºÎ¸² °ñ¶ó°ñ¶ó
  • ¼Ò±Ù¼Ò±Ù
  • µµ¶õµµ¶õ
  • ³«¼­¸¶´ç
  • Âø°¢ÇѾÆÀÌ
  • ¼ýÀÚ¸ÂÃß±â
  • ¼Ò¿øºô±â
  • ÈçÀû³²±â±â
  • ²Þ¼Ó¿©Çà
  • Ä£±¸Áý ³î·¯°¡±â
  • ¸ðµÎµå¸²´ÔÀÇ È¨
  • î¤éÞ´ÔÀÇ È¨
  • Çö¿ì´ÔÀÇ È¨
  • º°¾ÆÇØ´ÔÀÇ È¨
  • ÇÞ»ì´ÔÀÇ È¨
  • À̳ª´Ï´ÔÀÇ È¨
  • À¯¸®¾Ë´ÔÀÇ È¨
  • ³È³ÈÀÌ´ÔÀÇ È¨
  • ²ÀÁö´ÔÀÇ È¨
  • ´ë¼º´ÔÀÇ È¨
  • 俵ÀÌ / 2001-12-02 / ¿ÀÀü 2:09:08 / 203.255.3.190
    Á¶È¸¼ö : 147
    [Áú¹®] ÆäÀÌ¡ Áú¹®a
    > 1ÆäÀÌÁö À϶§µµ ÆäÀÌ¡ ºÎºÐÀε¥... ÆäÀÌÁö¸¦ º¼¶§ -2,-1, or 1,2,3 ÀÌ·±½ÄÀ¸·Î ³ª¿À´Âµ¥ 1ÆäÀÌÁö À϶§ 1ÆäÀÌÁö¸¸ º¸À̵µ·Ï ÇÏ·Á¸é ¾î¶»°Ô ÇؾßÇϳª¿ä~?
    >
    >
    >
    >
    > Dim totalRecord, cpage, lastpg, RowCount
    > rsman.pagesize=10
    > totalRecord=rsman.recordCount
    >
    > Page = Request.querystring("Page")
    > if page = "" or page < 1 then
    > page=1
    > else
    > page="page"
    > end if
    >
    > cpage=page
    > rsman.Absolutepage=cpage
    > lastpg=int(((totalRecord-1) / rsman.PageSize) + 1)
    >
    > if page > lastpg then
    > page=lastpg
    > end if
    >
    > RowCount = rsman.pagesize
    >
    > end if
    > <%
    > Dim pageBlock, temp1, temp2, temp3, prev, post, pagelist
    >
    > pageBlock=3
    >
    > temp1=int(cpage/pageblock)
    >
    > if (cpage mod pageblock) = 0 then
    > temp1=temp1-1
    > end if
    >
    > temp2=temp1*pageblock
    > temp3 = int(lastpg/pageBlock)
    >
    > if (lastpg mod pageblock)=0 then
    > temp3=temp3-1
    > end if
    >
    > prev = temp2
    >
    > if prev > 0 then
    > %>
    > <a href="couplet_list.asp?sort1=<%=sott1%>&sort2=<%=sort2%>&page=<%=prev%>">ÀÌÀü</a>
    > <%
    > end if
    >
    > pagelist=temp2
    >
    > for i=1 to pageBlock
    >
    > pagelist=temp2+i
    >
    > if lastpg < pagelist > 0 then
    > exit for
    > end if
    >
    > if int(pagelist) <> int(cpage) then
    >
    > %>
    > <a href="couplet_list.asp?sort1=<%=sotr1%>&sort2=<%=sort2%>&page=<%=pagelist%>"><%=pagelist%></a>
    > <%
    > else
    > %>
    > <%=pagelist%>
    > <%
    > end if
    >
    > next
    >
    > post=temp2+pageBlock + 1
    >
    > if temp1 < temp3 then
    > %>
    > <a href="couplet_list.asp?sort1=<%=sort1%>&sort2=<%=sort2%>&page=<%=post%>">´ÙÀ½</a>
    > <%
    > end if
    > %></td></tr>
    > <tr><td colspan=4 align="center">
    > <%
    > if cpage > 1 then
    > %>
    > <a href="couplet_list.asp?sort1=<%=sort1%>&sort2=<%=sort2%>&page=<%=cpage-1%>">ÀÌÀü</a>
    > <%
    > end if
    > %>
    > <a href="couplet_list.asp?sort1=<%=sort1%>&sort2=<%=sort2%>">[¸ñ·Ï]</a>
    > <a href="write.asp?sort1=<%=sort1%>&sort2=<%=sort2%>&page=<%=post%>&methodl=write">[¾²±â]</a>
    > <%
    > if lastpg-cpage>0 then
    > %>
    > <a href="couplet_list.asp?sort1=<%=sort1%>&sort2=<%=sort2%>&page=<%=cpage+1%>">´ÙÀ½</a>
    > <%
    > end if
    > %>
    -----------------------------------------------------------

    ¹ºÁø ¸ð¸£°ÚÁö¸¸.

    ÀÏ´Ü page="page"

    À̰źÎÅÍ page=page

    ÀÌ°É·Î °íÄ¡¼¼¿ä....


    Byte * 200 Byte À̳»·Î ÀÔ·ÂÇϼ¼¿ä À̸§ : Æнº¿öµå :