% Set SQLConn = Server.CreateObject("AdoDB.Connection") SQLConn.Open "elochess" name = CStr(Request.Form("name")) country = CStr(Request.Form("country")) minrating = CDbl(Request.Form("minrating")) sent = Request.Form("sent") parameter = Request.QueryString("parameter") %>
| OFFICIAL RATINGS |
| FOR THE 1ST CEMESTER OF 1999 |
<% if sent = "" AND parameter = "" then %>
Search our Database
Use our database to view information about FIDE players and current ratings.
You can search for a player by their name, country, and/or minimum rating.
The last official ratings update was January 1999.
Tips for searching:
    * You can use partial or mispelled names.
    * The first letter of the name and the surname must be Uppercase.
    * Leave blank the name field, if you want to ignore this criterion.
    * To ignore nationality, choose "All Countries"
    * Enter "0" or leave the field blank to ignore minimum rating.
| Acceses so far: |
| Your Query Parameters: | |
| Player: | <%=name%> |
| Country: | <% if country <> "" then %> <%=country%> <% else %> ALL <% end if %> |
| Rating: | <%=minrating%> |
| ID# | Name | ELO | Country | Title |
| "><%=RS("ID_NUMBER")%> | <%=RS("NAME")%> | <%=RS("JAN99")%> | <%=RS("COUNTRY")%> | <%=RS("TITLE")%> |
| No chess players found with the criteria you gave!!! | ||||
<% end if %> <% if sent = "" AND parameter <> "" then %> <% SQL = "SELECT DISTINCT NAME, ID_NUMBER, JAN99, TITLE, COUNTRY, BIRTHDAY FROM INDV9901 WHERE ID_NUMBER = " & parameter 'AND RO = " & minrating & " AND COUNTRY = '" & country & "'" Set RS = SQLConn.Execute(SQL) 'Response.Write SQL %>
| Player Information | |
| Name: | <%=RS("NAME")%> |
| FIDE ID#: | <%=RS("ID_NUMBER")%> |
| Elo: | <%=RS("JAN99")%> |
| Title: | <%=RS("TITLE")%> |
| Country: | <%=RS("COUNTRY")%> |
| Birthday: | <%=RS("BIRTHDAY")%> |
| Event | City | Fed | Start | RO | RC | W | N | CHG | RP | K | KCHG |
| <%=RS("EVENT")%> | <%=RS("CITY")%> | <%=RS("FED")%> | <%=RS("START")%> | <%=RS("RO")%> | <%=RS("RC")%> | <%=RS("W")%> | <%=RS("N")%> | <%=RS("CHG")%> | <%=RS("RP")%> | <%=RS("K")%> | <%=RS("KCHG")%> |
| No Official Events!!! | |||||||||||
<% end if %> <% SQLConn.Close Set SQLConn = Nothing %>