%@ LANGUAGE="VBSCRIPT" %>
<%
'If Session("Username") = "" Then Response.Redirect("Password.asp")
%>
2006 Cape Cod League Leaders
2006 Cape Cod League Playoff Leaders

Back to Stats Home
Page
<%
Set Fs = Server.CreateObject("Scripting.FileSystemObject")
'If Fs.FileExists(Server.Mappath("/FTP/Data/88leadP.txt")) Then 'copy the file to the stats directory and delete the original in the FTP directory
' Fs.CopyFile Server.Mappath("/FTP/Data/88leadP.txt"), Server.MapPath("/Stats/Playoffs/Leaders.txt"), True
' Fs.DeleteFile Server.MapPath("/FTP/Data/88leadP.txt"), True
'End If
If Fs.FileExists(Server.Mappath("Leaders.txt")) Then
'Set File = Fs.OpenTextFile(Server.MapPath("/Stats/Playoffs/Leaders.txt"))
'Content = File.ReadAll
'Set File = Nothing
'Response.Write "" & Content & "
"
Set FileIn = Fs.OpenTextFile(Server.MapPath("Leaders.txt"))
response.Write("")
While NOT FileIn.AtEndOfStream
TextLine = FileIn.readline
If len(TextLine) > 0 Then
TextLine = REPLACE(Trim(TextLine), " ", " ")
Response.Write("" & TextLine & "
")
Else
vCount = vCount + 1
'Response.Write(vCount)
If vCount = 5 Then
Response.Write("")
TextLine = REPLACE(Trim(TextLine), " ", " ")
Response.Write("" & TextLine & " ")
Elseif vCount = 11 Then
Response.Write(" |
")
TextLine = REPLACE(Trim(TextLine), " ", " ")
Response.Write("" & TextLine & "
")
ElseIf vCount = 20 Then
Response.Write("")
TextLine = REPLACE(Trim(TextLine), " ", " ")
Response.Write("" & TextLine & " ")
Else
TextLine = REPLACE(Trim(TextLine), " ", " ")
Response.Write("" & TextLine & " ")
End If
End If
WEnd
Response.Write(" |
")
response.Write("")
Else%>
Cape Cod League Leaders will be available
when the
<%=Year(Date)%> Playoffs are underway.
<%End If
Set Fs = Nothing
%>©<%=Year(Date)%> Cape Cod Baseball League - All Rights Reserved