´ç½Å¿¡°Ô·Î ¶°³ª´Â ²Þ¼Ó¿©Çà - ²Þ¼Ó³ª¶ó(http://www.inyourdream.net)
ID¿Í Password¸¦ ÀÔ·ÂÇϼ¼¿ä.
ÀÔ±¹Çϱâ
|
¿µÁÖ±Ç ½Åû
¸öºÎ¸² °ñ¶ó°ñ¶ó
¼Ò±Ù¼Ò±Ù
µµ¶õµµ¶õ
³«¼¸¶´ç
Âø°¢ÇѾÆÀÌ
¼ýÀÚ¸ÂÃß±â
¼Ò¿øºô±â
ÈçÀû³²±â±â
²Þ¼Ó¿©Çà
Ä£±¸Áý ³î·¯°¡±â
¸ðµÎµå¸²´ÔÀÇ È¨
î¤éÞ´ÔÀÇ È¨
Çö¿ì´ÔÀÇ È¨
º°¾ÆÇØ´ÔÀÇ È¨
ÇÞ»ì´ÔÀÇ È¨
À̳ª´Ï´ÔÀÇ È¨
À¯¸®¾Ë´ÔÀÇ È¨
³È³ÈÀÌ´ÔÀÇ È¨
²ÀÁö´ÔÀÇ È¨
´ë¼º´ÔÀÇ È¨
µî·ÏÇϽǶ§´Â ÇʼöÇ׸ñÀ» ¸ðµÎ ÀÔ·ÂÇÏ¼Å¾ß ÇÕ´Ï´Ù.
À̸§
*
HTML »ç¿ë
Á¦¸ñ
*
¼±ÅÃ
ÀÚÀÛ
»ç¶û
À¯¸Ó
ÀÚÀ¯
̵̧
¾Ë¸²
Áú¹®
±âŸ
³»¿ë
*
> > <% > > Dim Conn,rs,ip,rs1,tablename,strSQL > > > > Set Conn = Server.CreateObject("ADODB.Connection") > > Conn.Open "driver={SQL Server};server=***.***.***.***;uid=****;pwd=****; > > database=****" > > > > tablename="BugBoard" > > > > If Trim(Request("Find")) <> "" Then > > > > strFind = Replace(Request("Find"),"&","&") > > > > 'ã°íÀÚ ÇÏ´Â ´Ü¾î¸¦ ÀϹݺ¯¼ö¿¡ ³Ö´Â´Ù. > > strFind = Replace(strFind,"'",""") > > strSearch = Request("search") > > strTail = strTail & " & Find= " & strFind & " & search = " & strSearch > > > > > > 'LIKE¹®À» »ç¿ëÇØ ºñ½ÁÇÑ ´Ü¾î¸¦ ¼±ÅÃÇØ ¿Â´Ù. > > strSQL = "SELECT * FROM " & tablename & " where " & strSearch & " LIKE '%" & strFind & "%'" > > > > if attr <> 6 then > > strSQL = strSQL & " ORDER BY ref DESC" > > else > > strSQL = strSQL & " ORDER BY id DESC" > > end if > > > > Else > > if attr <> 6 then > > strSQL = "SELECT * FROM " & tablename & " ORDER BY ref DESC, step" > > else > > strSQL = "SELECT * FROM " & tablename & " ORDER BY id DESC" > > end if > > End If > > > > > > ' Set oRS = Server.CreateObject("ADODB.RecordSet") > > set rs = Conn.Execute(strsql) > > ' rs.open strSQL , oConn, 1, 1 > > > > if Not rs.EOF then > > ' rs.MoveLast > > count=rs.RecordCount > > rs.MoveFirst > > End If > > > > If Len(request("PAGE")) > 0 then > > intPage = CInt(request("PAGE")) > > Else > > intPage = 1 'oRS.PageCount > > > > If intPage = 0 Then > > intPage = 1 > > End If > > End If > > > > intPageBlock = 10 > > > > If NOT rs.EOF Then > > rs.PageSize = 15 > > intLast = rs.PageCount > > If intLast = 0 Then > > intLast = 1 > > End If > > > > ' rs.AbsolutePage = intPage > > RowCount = 0 > > End If > > %> > > ............... > > > > <% > > Do While NOT rs.EOF AND intRowCount < rs.PageSize > > > > imgSymbol = "" > > > > if attr <>6 then > > If( rs("re_level") = 0 ) Then > > imgSymbol = "" > > Else > > intLength_Count = 0 > > imgSymbol = "" > > While ( intLength_Count < rs("re_level") ) > > imgSymbol = imgSymbol & " " > > intLength_Count = intLength_Count + 1 > > Wend > > imgSymbol = imgSymbol & "
" > > End If > > End if > > %> > >
> >
<% =(count-(intPage-1)*rs.PageSize-i)%>
> > ÀÌ ºÎºÐÀÔ´Ï´Ù. > > Èæ..... > > ²ÀÁö´Ô°ú ½Ã¾ÖƲÃÌ´ß´Ô ¸»Ã³·³ ºÐ¼®À» ÇØ º¸¾Ò´Âµ¥ > > ¸Ó¸®°¡ ¾È ÁÁ¾Æ¼ ÇÑ µ¿¾È º° ÁþÀ» ´Ù Ç߳׿ä... > > A ±×·¡¼ ¼Ò½º¸¦ ¿Ã·Áº¾´Ï´Ù. > > ²ÀÁö´Ô ¸»µû¶ó...3)¹øÀÌ ÇØ´çµË´Ï´Ù... > > ±ÍÂúÁö¸¸ ÇÑ ¹ø º¸¾ÆÁÖ¼¼¿ä..... > ----------------------------------------------------------- > > ' Set oRS = Server.CreateObject("ADODB.RecordSet") > set rs = Conn.Execute(strsql) > ' rs.open strSQL , oConn, 1, 1 > > > ÀÌ·¸°Ô µÇ¾î ÀÖ´Â ºÎºÐÀ»... > > > Set rs = Server.CreateObject("ADODB.RecordSet") > 'set rs = Conn.Execute(strsql) > rs.open strSQL, Conn, 1, 1 > > ÀÌ·¸°Ô °íÃÄ º¸¼¼¿ä.... > > > -----------------------------------------------------------
Ãß°¡ÇÒ À̹ÌÁö¸¦ ÀÔ·ÂÇϼ¼¿ä.
À̹ÌÁö 1
À̹ÌÁö¼³¸í 1
Ãß°¡ÇÒ ÀڷḦ ÀÔ·ÂÇϼ¼¿ä.
ÀÚ·á 1
ÀÚ·á¼³¸í 1
Ãß°¡ÇÒ ½ÎÀÌÆ®¸¦ ÀÔ·ÂÇϼ¼¿ä.
°ü·Ã½ÎÀÌÆ® 1
½ÎÀÌÆ®¼³¸í 1
Password
*