<% set db = server.createobject("adodb.connection") db.open ("Provider=SQLOLEDB;User ID=dbman;Password=rmeofmftkfkdgkqslek;Initial Catalog=dbmana;;Data Source=211.174.179.8") Set rs = server.createobject("adodb.recordset") bigFolder = Server.MapPath("/") & "\files\" %> ³ª¹«À§·Î Æú¦ " else GetNationString2="" end if end function DIM DBConn,RankRS,i DIM nRank,nTotal,User,nID '-------------------- DIM strList,nMyScore DIM strMyNation Set DBConn = Server.CreateObject("ADODB.Connection") Set RankRS = Server.CreateObject("ADODB.recordset") strMyNation="" DBConn.open( strProvider) RankRS.CursorType = 3'static RankRS.CursorLocation = 2 RankRS.LockType = 3'pess set RankRS= DBConn.Execute( "Select * from SK_Ranking.dbo.score where gamekey=91 order by gd_1 desc") for i=1 to 5 if (not RankRS.EOF) then response.write "          " strList=strList&GetNationString2(RankRS,i) RankRS.MoveNext end if next RankRS.Close DBConn.Close set RankRS = Nothing set DBConn = Nothing %>


<% DIM strAdvertisement,strAboutGame ' AD strAdvertisement="" ' NOTICE strAboutGame="" '---- DB Connection String --- const SQLHEADER="SK_Ranking.dbo." 'SQLHEADER="" DIM bLocal, strProvider, strBBSProvider, strDICProvider, strChatProvider, strTEXTProvider bLocal = FALSE if(bLocal) then strProvider = "server=ADAL; uid=sa; pwd=dkfzhdekfzhd;driver={SQL Server};DB=SK_Ranking;" else strProvider = "server=211.174.179.26; uid=sa; pwd=tmxhsakskex;driver={SQL Server};DB=SK_Ranking;" end if const constCursorLocation=2 const constCursorType=3 const constLockType=3 'Response.Expires=0'Always reload public Function FormatNumberEx(nVar) if (nVar<>0) then FormatNumberEx=FormatNumber(nVar,0) else FormatNumberEx=0 end if end function public Function IsValid(str) if (IsEmpty(str) or IsNull(str) or Len(str)<1) then IsValid=false else IsValid=true end if end function %> <% 'For WAP DIM nGameKey nGameKey=91 Public Function GetRank(nScore,DBConn) 'Calc Ranking Set Rank = DBConn.Execute("Select r = count(gamekey) from SK_Ranking.dbo.score where gamekey=91 and gd_1>"&nScore ) GetRank = Rank("r")+1 Rank.Close Set Rank=Nothing End Function function GetNationString2(scoreRS,nRank) DIM strNameTag,strMID,strRank,strPhone,nl,nRl,nSl,i,strScore,score if (not scoreRS.EOF) then '°ªÀÌ ÀÖ´Ù¸é strNameTag=trim(scoreRS("phonesubno"))'Æù³Ñ¹ö µÞÀÚ¸® nl=Len(strNameTag) nRl=Len(Cstr(nRank)) nSl=Len(Cstr(scoreRS("gd_1"))) score=Cstr(scoreRS("gd_1")) strRank=Cstr(nRank) strScore=Cstr(score) if nl=7 then strPhone="019-"&Mid(strNameTag,1,1)&"XX-"&Mid(strNameTag,4,4) end if if nl=8 then strPhone="019-"&Mid(strNameTag,1,2)&"XX-"&Mid(strNameTag,5,4) end if if nl=10 then strPhone=Mid(strNameTag,1,3)&"-"&Mid(strNameTag,4,1)&"XX-"&Mid(strNameTag,7,4) end if if nl=11 then strPhone=Mid(strNameTag,1,3)&"-"&Mid(strNameTag,4,2)&"XX-"&Mid(strNameTag,8,4) end if GetNationString2="
"&strRank&"."&strPhone&"
<%=strList%>
   
  ÀÛÀº È£±â½ÉÀ¸·Î ¿À¸£±â ½ÃÀÛÇÑ ³ª¹«. 2003³â ¾öû³­ Àα⸦ ²ø¾ú´ø ³ª¹«¸¦ ´Ù½Ã ¸¸³­´Ù.
  Æú¦ ¶Ù±â¿Í ¾¾¾Ñ ´øÁö±â µîÀÇ »õ·Î¿î ¿òÁ÷ÀÓ°ú ÇÔ²² ´õ¿í ´õ ±Í¿©¿öÁø ²¢ÀÙ ¼Ò³à °¡·çÀÇ ¸ðÇè´ã!! ³ª¹«À§·Î Æú¦!!
 
  ¿ì¸®°¡ »ì°í ÀÖ´Â Áö±¸¿Í´Â ´Ù¸¥ Áö±¸...³ª¹«¸®¾È ÀÌ°÷¿¡´Â ¿¾³¯ºÎÅÍ Çϴ÷Πġ¼ÚÀº ³ôÀº ³ª¹«°¡ ÀÖ¾ú´Ù. ³ª¹«´Â ÇÏ¾á ±¸¸§À» ³Ñ¾î
  »ç¶÷ÀÇ À°¾ÈÀ¸·Î º¼ ¼ö ¾ø´Â °÷±îÁö »¸¾î ÀÖ¾ú°í ÀÌ¹Ì ÀÌ °÷ »ç¶÷µé¿¡°Ô´Â ¾Æ¹«·± °¨ÈïÀ» ÁÖÁö ¸øÇÏ´Â ÀÏ»óÀÇ °æÄ¡ÀÏ »ÓÀ̾ú´Ù. ³ª¹«¸®¾ÈÀÇ º¯µÎ¸®¿¡¼­ »ì°í ÀÖ´Â
  ¼Ò³à °¡·ç. ±×³à´Â ÀÚ½ÅÀÌ Å¾±â ÀüºÎÅÍ Á¸ÀçÇÏ´Â ³ª¹«ÀÇ Á¤»ó¿¡ ¹«¾ùÀÌ ÀÖÀ»±î ¸Å¿ì ±Ã±ÝÇß´Ù.
  ³ª¹«¿¡ ²À´ë±â¿¡ ´ëÇÑ ¿©·¯ °¡Áö ÃßÃø°ú ¼Ò¹®ÀÌ ³­¹« ÇßÁö¸¸ Áø½ÇÀ» ´«À¸·Î È®ÀÎÇØ¾ß °Ú´Ù°í »ý°¢ÇÏ´ø ¾î´À³¯ ±×³à´Â Å« °á½ÉÀ» ÇϰԵȴÙ.
  "³ª¹«ÀÇ Á¤»óÀ» º¼ °Å¾ß. ÀÌ ¼¼»óÀÇ Áø½ÇÀ» ¾Ë¾Æ¾ß°Ú¾î!"
³ªÀÌ:14¼¼
»ç´Â°÷: ³ª¹«¸®¾È ³ª¹«±¸ ¼ÖÀÙµ¿ 5¹øÁö
¼º°Ý: ÄèÈ°ÇÏ´Ù ¸øÇØ ½Ã²ô·´°í È£±â½ÉÀÌ ¸¹À½.
ÁÁ¾ÆÇÏ´Â °Å: ´Þ°í ¸ÀÀÖ´Â °ÍÀº ¹«¾ùÀ̵çÁö ÁÁ¾ÆÇÔ.
ÇöÀç ±ÙȲ: ³ª¹« À§¸¦ Æú¦ Æú¦ ¶Ù¾î ¿À¸£°í ÀÖÀ½.