<%
select case Request.Querystring("Lliga")
case "" 'no hi ha una lliga triada
Response.Write "
" & vbCrlf
Response.Write "" & vbCrlf
Response.Write " | " & vbCrlf
Response.Write "" & vbCrlf
Response.Write "" & vbCrlf
Response.Write "" & vbCrlf
Response.Write ""
Response.Write " Jugadors "
Response.Write " | " & vbCrlf
Response.Write " " & vbCrlf
Response.Write " " & vbCrlf
Response.Write " | " & vbCrlf
Response.Write "
"
Response.Write "
" & vbCrlf
Response.Write "
Si us plau, sel·leccioni una lliga per mostrar els jugadors de l'equip.
" & vbCrlf
'end of case ""
case "1"
dim my_Conn, rs, strSql_2
set my_Conn = Server.CreateObject("ADODB.Connection")
my_Conn.Open MM_fc_encamp_STRING
set rs = Server.CreateObject("ADODB.RecordSet")
strSql_2 = "SELECT * FROM jugadors WHERE Ident = 1 ORDER BY ID ASC;"
set rs = my_Conn.Execute (strSql_2)
Response.Write "
" & vbCrlf
Response.Write "" & vbCrlf
Response.Write " | " & vbCrlf
Response.Write "" & vbCrlf
Response.Write "" & vbCrlf
Response.Write "" & vbCrlf
Response.Write ""
Response.Write " Jugadors - Lliga Nacional 1a Divisió "
Response.Write " | " & vbCrlf
Response.Write " " & vbCrlf
Response.Write "" & vbCrlf
Response.Write "" & vbCrlf
Response.Write "" & vbCrlf
Response.Write "" & vbCrlf
Response.Write " | " & vbCrlf
Response.Write "Nom i Cognoms | " & vbCrlf
Response.Write "Demarcació | " & vbCrlf
Response.Write "Data naixament | " & vbCrlf
Response.Write "Nacionalitat | " & vbCrlf
Response.Write " " & vbCrlf
do until rs.EOF
dim intRowColor
if intRowColor = 0 Then
Response.Write ""
intRowColor = 1
Else
Response.Write " "
intRowColor = 0
End if
Response.Write " | " & vbCrlf
Response.Write ""
Response.Write ""
Response.Write rs.Fields("Noms") & " " & rs.Fields("Cognoms")
Response.Write " | " & vbCrlf
Response.Write ""
Response.Write rs.Fields("Demarcacio")
Response.Write " | " & vbCrlf
Response.Write ""
Session.LCID = 1027
Response.Write rs.Fields("Naixement")
Response.Write " | " & vbCrlf
Response.Write ""
Response.Write rs.Fields("Nacionalitat")
Response.Write " | " & vbCrlf
Response.Write " " & vbCrlf
rs.Movenext
loop
Response.Write " " & vbCrlf
Response.Write " | " & vbCrlf
Response.Write " " & vbCrlf
Response.Write " " & vbCrlf
Response.Write " | " & vbCrlf
Response.Write "
"
Response.Write "
" & vbCrlf
Response.Write "
" & vbCrlf
'end of case "1"
case "2"
set my_Conn = Server.CreateObject("ADODB.Connection")
my_Conn.Open MM_fc_encamp_STRING
set rs = Server.CreateObject("ADODB.RecordSet")
strSql_2 = "SELECT * FROM jugadors WHERE Ident = 2 ORDER BY ID ASC;"
set rs = my_Conn.Execute (strSql_2)
Response.Write "
" & vbCrlf
Response.Write "" & vbCrlf
Response.Write " | " & vbCrlf
Response.Write "" & vbCrlf
Response.Write "" & vbCrlf
Response.Write "" & vbCrlf
Response.Write ""
Response.Write " Jugadors - Lliga Nacional Futbol Sala 1a Divisió "
Response.Write " | " & vbCrlf
Response.Write " " & vbCrlf
Response.Write "" & vbCrlf
Response.Write "" & vbCrlf
Response.Write "" & vbCrlf
Response.Write "" & vbCrlf
Response.Write " | " & vbCrlf
Response.Write "Nom i Cognoms | " & vbCrlf
Response.Write "Demarcació | " & vbCrlf
Response.Write "Data naixament | " & vbCrlf
Response.Write "Nacionalitat | " & vbCrlf
Response.Write " " & vbCrlf
do until rs.EOF
if intRowColor = 0 Then
Response.Write ""
intRowColor = 1
Else
Response.Write " "
intRowColor = 0
End if
Response.Write " | " & vbCrlf
Response.Write ""
Response.Write ""
Response.Write rs.Fields("Noms") & " " & rs.Fields("Cognoms")
Response.Write " | " & vbCrlf
Response.Write ""
Response.Write rs.Fields("Demarcacio")
Response.Write " | " & vbCrlf
Response.Write ""
Session.LCID = 1027
Response.Write rs.Fields("Naixement")
Response.Write " | " & vbCrlf
Response.Write ""
Response.Write rs.Fields("Nacionalitat")
Response.Write " | " & vbCrlf
Response.Write " " & vbCrlf
rs.Movenext
loop
Response.Write " " & vbCrlf
Response.Write " | " & vbCrlf
Response.Write " " & vbCrlf
Response.Write " " & vbCrlf
Response.Write " | " & vbCrlf
Response.Write "
"
Response.Write "
" & vbCrlf
Response.Write "
" & vbCrlf
'end of case "2"
case "4"
set my_Conn = Server.CreateObject("ADODB.Connection")
my_Conn.Open MM_fc_encamp_STRING
set rs = Server.CreateObject("ADODB.RecordSet")
strSql_2 = "SELECT * FROM jugadors WHERE Ident = 4 ORDER BY ID ASC;"
set rs = my_Conn.Execute (strSql_2)
Response.Write "
" & vbCrlf
Response.Write "" & vbCrlf
Response.Write " | " & vbCrlf
Response.Write "" & vbCrlf
Response.Write "" & vbCrlf
Response.Write "" & vbCrlf
Response.Write ""
Response.Write " Jugadors - Benjamins "
Response.Write " | " & vbCrlf
Response.Write " " & vbCrlf
Response.Write "" & vbCrlf
Response.Write "" & vbCrlf
Response.Write "" & vbCrlf
Response.Write "" & vbCrlf
Response.Write " | " & vbCrlf
Response.Write "Nom i Cognoms | " & vbCrlf
Response.Write "Demarcació | " & vbCrlf
Response.Write "Edat | " & vbCrlf
Response.Write "Nacionalitat | " & vbCrlf
Response.Write " " & vbCrlf
do until rs.EOF
if intRowColor = 0 Then
Response.Write ""
intRowColor = 1
Else
Response.Write " "
intRowColor = 0
End if
Response.Write " | " & vbCrlf
Response.Write ""
Response.Write ""
Response.Write rs.Fields("Noms") & " " & rs.Fields("Cognoms")
Response.Write " | " & vbCrlf
Response.Write ""
Response.Write rs.Fields("Demarcacio")
Response.Write " | " & vbCrlf
Response.Write ""
Session.LCID = 1027
Response.Write rs.Fields("Naixement")
Response.Write " | " & vbCrlf
Response.Write ""
Response.Write rs.Fields("Nacionalitat")
Response.Write " | " & vbCrlf
Response.Write " " & vbCrlf
rs.Movenext
loop
Response.Write " " & vbCrlf
Response.Write " | " & vbCrlf
Response.Write " " & vbCrlf
Response.Write " " & vbCrlf
Response.Write " | " & vbCrlf
Response.Write "
"
Response.Write "
" & vbCrlf
Response.Write "
" & vbCrlf
'end of case "4"
case "5"
set my_Conn = Server.CreateObject("ADODB.Connection")
my_Conn.Open MM_fc_encamp_STRING
set rs = Server.CreateObject("ADODB.RecordSet")
strSql_2 = "SELECT * FROM jugadors WHERE Ident = 5 ORDER BY ID ASC;"
set rs = my_Conn.Execute (strSql_2)
Response.Write "
" & vbCrlf
Response.Write "" & vbCrlf
Response.Write " | " & vbCrlf
Response.Write "" & vbCrlf
Response.Write "" & vbCrlf
Response.Write "" & vbCrlf
Response.Write ""
Response.Write " Jugadors - Infantils "
Response.Write " | " & vbCrlf
Response.Write " " & vbCrlf
Response.Write "" & vbCrlf
Response.Write "" & vbCrlf
Response.Write "" & vbCrlf
Response.Write "" & vbCrlf
Response.Write " | " & vbCrlf
Response.Write "Nom i Cognoms | " & vbCrlf
Response.Write "Demarcació | " & vbCrlf
Response.Write "Edat | " & vbCrlf
Response.Write "Nacionalitat | " & vbCrlf
Response.Write " " & vbCrlf
do until rs.EOF
if intRowColor = 0 Then
Response.Write ""
intRowColor = 1
Else
Response.Write " "
intRowColor = 0
End if
Response.Write " | " & vbCrlf
Response.Write ""
Response.Write ""
Response.Write rs.Fields("Noms") & " " & rs.Fields("Cognoms")
Response.Write " | " & vbCrlf
Response.Write ""
Response.Write rs.Fields("Demarcacio")
Response.Write " | " & vbCrlf
Response.Write ""
Session.LCID = 1027
Response.Write rs.Fields("Naixement")
Response.Write " | " & vbCrlf
Response.Write ""
Response.Write rs.Fields("Nacionalitat")
Response.Write " | " & vbCrlf
Response.Write " " & vbCrlf
rs.Movenext
loop
Response.Write " " & vbCrlf
Response.Write " | " & vbCrlf
Response.Write " " & vbCrlf
Response.Write " " & vbCrlf
Response.Write " | " & vbCrlf
Response.Write "
"
Response.Write "
" & vbCrlf
Response.Write "
" & vbCrlf
'end of case "5"
case "6"
set my_Conn = Server.CreateObject("ADODB.Connection")
my_Conn.Open MM_fc_encamp_STRING
set rs = Server.CreateObject("ADODB.RecordSet")
strSql_2 = "SELECT * FROM jugadors WHERE Ident = 6 ORDER BY ID ASC;"
set rs = my_Conn.Execute (strSql_2)
Response.Write "
" & vbCrlf
Response.Write "" & vbCrlf
Response.Write " | " & vbCrlf
Response.Write "" & vbCrlf
Response.Write "" & vbCrlf
Response.Write "" & vbCrlf
Response.Write ""
Response.Write " Jugadors - Al·levins "
Response.Write " | " & vbCrlf
Response.Write " " & vbCrlf
Response.Write "" & vbCrlf
Response.Write "" & vbCrlf
Response.Write "" & vbCrlf
Response.Write "" & vbCrlf
Response.Write " | " & vbCrlf
Response.Write "Nom i Cognoms | " & vbCrlf
Response.Write "Demarcació | " & vbCrlf
Response.Write "Edat | " & vbCrlf
Response.Write "Nacionalitat | " & vbCrlf
Response.Write " " & vbCrlf
do until rs.EOF
if intRowColor = 0 Then
Response.Write ""
intRowColor = 1
Else
Response.Write " "
intRowColor = 0
End if
Response.Write " | " & vbCrlf
Response.Write ""
Response.Write ""
Response.Write rs.Fields("Noms") & " " & rs.Fields("Cognoms")
Response.Write " | " & vbCrlf
Response.Write ""
Response.Write rs.Fields("Demarcacio")
Response.Write " | " & vbCrlf
Response.Write ""
Session.LCID = 1027
Response.Write rs.Fields("Naixement")
Response.Write " | " & vbCrlf
Response.Write ""
Response.Write rs.Fields("Nacionalitat")
Response.Write " | " & vbCrlf
Response.Write " " & vbCrlf
rs.Movenext
loop
Response.Write " " & vbCrlf
Response.Write " | " & vbCrlf
Response.Write " " & vbCrlf
Response.Write " " & vbCrlf
Response.Write " | " & vbCrlf
Response.Write "
"
Response.Write "
" & vbCrlf
Response.Write "
" & vbCrlf
'end of case "6"
end select
%>