%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
![]() |
![]() |
|||||||||||
|
<% If Session("UserRights") = 3 then Response.Write("") Response.Write("") Response.Write("") End if %> |
<% Set rsListCatClub = Server.CreateObject("ADODB.Recordset") sqlListCatClub = "SELECT * FROM categorie WHERE desactive=0 AND matchs=1 ORDER BY NomCat" openrs rsListCatClub, sqlListCatClub While not rsListCatClub.eof Response.Write("" & rsListCatClub("NomCat") & "") rsListCatClub.movenext If not rsListCatClub.eof then Response.Write(" - ") end if Wend rsListCatClub.close set rsListCatClub = nothing %> <% idCat = Request.QueryString("idCat") NameCat = DLookUp("Categorie", "NomCat", "id=" & idCat) %>Resultats <%=NameCat%><% today = Date() dayToday = day(today) MonthToday = month(today) YearToday = year(today) SqlToday = YearToday & "-" & MonthToday & "-" & dayToday Set rsMatchs = Server.CreateObject("ADODB.Recordset") sqlMatchs = "SELECT * FROM Matchs WHERE DateM <= '" & SqlToday & "' AND idCat=" & idCat & " order by DateM Asc" openrs rsMatchs, sqlMatchs If rsMatchs.eof then Response.Write("Pas de match joué") else %>
|