´ç½Å¿¡°Ô·Î ¶°³ª´Â ²Þ¼Ó¿©Çà - ²Þ¼Ó³ª¶ó(http://www.inyourdream.net)
ID¿Í Password¸¦ ÀÔ·ÂÇϼ¼¿ä.
ÀÔ±¹Çϱâ
|
¿µÁÖ±Ç ½Åû
¸öºÎ¸² °ñ¶ó°ñ¶ó
¼Ò±Ù¼Ò±Ù
µµ¶õµµ¶õ
³«¼¸¶´ç
Âø°¢ÇѾÆÀÌ
¼ýÀÚ¸ÂÃß±â
¼Ò¿øºô±â
ÈçÀû³²±â±â
²Þ¼Ó¿©Çà
Ä£±¸Áý ³î·¯°¡±â
¸ðµÎµå¸²´ÔÀÇ È¨
î¤éÞ´ÔÀÇ È¨
Çö¿ì´ÔÀÇ È¨
º°¾ÆÇØ´ÔÀÇ È¨
ÇÞ»ì´ÔÀÇ È¨
À̳ª´Ï´ÔÀÇ È¨
À¯¸®¾Ë´ÔÀÇ È¨
³È³ÈÀÌ´ÔÀÇ È¨
²ÀÁö´ÔÀÇ È¨
´ë¼º´ÔÀÇ È¨
¼öÁ¤ÇϽǶ§´Â ÇʼöÇ׸ñÀ» ¸ðµÎ ÀÔ·ÂÇÏ¼Å¾ß ÇÕ´Ï´Ù.
À̸§
*
°øÁö»çÇ×
ºñ°ø°³
HTML »ç¿ë
Á¦¸ñ
*
¼±ÅÃ
ÀÚÀÛ
»ç¶û
À¯¸Ó
ÀÚÀ¯
̵̧
¾Ë¸²
Áú¹®
±âŸ
³»¿ë
*
> ¾Æ·§±Û 3625 ³²°å¾ú´Âµ¥ µµ¿Í ÁÖ¼¼¿ä. > > db(¾×¼¼½º)ÀÇ scores Å×ÀÌºí¿¡¼ Á¡¼öÇʵ带 ºÒ·¯¿Í > Á¡¼ö°¡ ³ôÀº ¼ø¼´ë·Î ¹øÈ£¸¦ ¸Å°Ü ¼øÀ§¸¦ Á¤Çߴµ¥ > ±×¸¸ µ¿Á¡ÀÚ Ã³¸®°¡ µÇÁö°¡ ¾Ê³×¿ä. > > Á¡¼ö°¡ °°À»°æ¿ì ¼øÀ§¸¦ °°°Ô ÇÏ°í ±× ´ÙÀ½ Á¡¼öÀÚ¿¡°Ô´Â > µ¿Á¡ÀÚ ¸¹Å ¼øÀ§°¡ µÚ·Î ¹Ð¸®°Ô ÇÏ°í ½ÍÀºµ¥ ¾î¶»°Ô > ÇؾßÇÒÁö ¸ð¸£°Ú¾î¿ä. > > ¿¹) > Çйø: A01, A02, A03, A04, ... > Á¡¼ö: 90,80,80,70, ... > ¼øÀ§: 1µî,2µî,2µî,4µî, ... > > <% > Set Conn = Server.CreateObject("ADODB.Connection") > Conn.Open "ASPCBT" > SQL3 = "SELECT * FROM scores ORDER BY Á¡¼ö DESC" > Set RS = Conn.Execute (SQL3) > > rank = 0 > %> >
>
>
µî ¼ö
>
>
ÀÌ ¸§
>
>
Á¡ ¼ö
>
> > <% > do until rs.eof > response.write "
" > rank = rank + 1 > > response.write "
" & rank & "
" > response.write "
" & rs("À̸§") & "
" > response.write "
" & rs("Á¡¼ö") & "
" > > rs.movenext > > response.write "
" > loop > response.write "
" > > %> ----------------------------------------------------------- Á¡¼ö¸¦ ºñ±³Çؼ ÀÌÀü Á¡¼ö¿Í ´Ù¸¦¶§¸¸ µî¼ö¸¦ ¿Ã¸®¸é µÇ°ÚÁÒ... previousScore = -1 do until rs.eof response.write "
" nowScore=CInt(rs("Á¡¼ö")) if previousScore <> nowScore then nowRank = rank + 1 end if rank = rank + 1 response.write "
" & nowRank & "
" response.write "
" & rs("À̸§") & "
" response.write "
" & rs("Á¡¼ö") & "
" previousScore = nowScore rs.movenext response.write "
" loop ±×·³....
Ãß°¡ÇÒ À̹ÌÁö¸¦ ÀÔ·ÂÇϼ¼¿ä.
À̹ÌÁö 1
À̹ÌÁö¼³¸í 1
Ãß°¡ÇÒ ÀڷḦ ÀÔ·ÂÇϼ¼¿ä.
ÀÚ·á 1
ÀÚ·á¼³¸í 1
Ãß°¡ÇÒ ½ÎÀÌÆ®¸¦ ÀÔ·ÂÇϼ¼¿ä.
°ü·Ã½ÎÀÌÆ® 1
½ÎÀÌÆ®¼³¸í 1
Password
*