% ' ' Put this in your asp file ' Response.Write (IncludeURL("http://www.domain.com/path/file.ext?params=value")) ' Function IncludeURL(URL) 'Create an Http object, use any of the four objects Dim Http ' Set Http = CreateObject("Microsoft.XMLHTTP") ' Set Http = CreateObject("MSXML2.ServerXMLHTTP") Set Http = CreateObject("WinHttp.WinHttpRequest.5.1") ' Set Http = CreateObject("WinHttp.WinHttpRequest") 'Send request To URL Http.Open "GET", URL, False Http.Send 'Retrieves the response entity body as a string IncludeURL = Http.ResponseText End Function ' ' Put this in your asp file ' Response.Write (LastModified()) ' Function LastModified() ' Local variables Dim loFs, lsFile, lsPath, loFile, ldLast ' Create an instance of FileSystemObject object Set loFs = CreateObject("Scripting.FileSystemObject") ' Get the logical path of the current file ' (i.e. the file in which this code runs) lsFile = Request.ServerVariables("SCRIPT_NAME") ' Get the physical path of the file lsPath = Server.MapPath(lsFile) ' Get a handle/pointer to this file Set loFile = loFs.GetFile(lsPath) ' Get the "Last Modified" property of this file ldLast = loFile.DateLastModified ' Release the objects Set loFile = Nothing Set loFs = Nothing ' Write out the date in the long date ' format e.g. "MM/DD/YY" ' vbGeneralDate 0 Display a date and/or time. If there is a date part, display it as a short date. If there is a time part, display it as a long time. If present, both parts are displayed. ' vbLongDate 1 Display a date using the long date format specified in your computer's regional settings. ' vbShortDate 2 Display a date using the short date format specified in your computer's regional settings. ' vbLongTime 3 Display a time using the time format specified in your computer's regional settings. ' vbShortTime 4 Display a time using the 24-hour format (hh:mm). LastModified = CStr(FormatDateTime(ldLast, 1) & " " & FormatDateTime(ldLast, 4)) End Function ' ' Tracker for keeping score of hits to a site ' dir = string with path for this tracker ' Function Tracker(dir) ' Define some local stuff Dim path, date, ext, file, fso, fh, counter path = "C:/inetpub/vhosts/innebandy.no/httpdocs/web-data/tracker/" date = Year(now) & "_" & Right("00" & Month(now) ,2) & "_" & Right("00" & Day(now) ,2) ext = ".tracker" file = path & dir & "/" & date & ext ' Create FileSystemObject Set fso = CreateObject("Scripting.FileSystemObject") ' Read counter and increment if file exists If fso.FileExists(file) = True Then Set fh = fso.OpenTextFile(file) counter = CLng(fh.ReadLine) fh.Close counter = counter + 1 Else counter = 1 End if ' Write counter Set fh = fso.OpenTextFile(file, 2, true) fh.WriteLine(counter) fh.Close ' Release objects Set fso = Nothing Set fh = Nothing Tracker = CStr(counter) End Function %>
Fredag 19. april: 20.00 Finale G17 Gjeller�sen - B�kkelaget 4-2 L�rdag 20. april: 10.00 Finale J15 Grei/M�ll�s - Tunet 3-9 12.30 Finale G15 Gjeller�sen - B�rums Verk 10-2 15.00 Finale J17-19 Tunet - Sveiva 7-2 18.00 Finale G19 Gjeller�sen - Tunet 10-7 S�ndag 21. april: 11.30 Finale Kvinner Sveiva - Holmlia 4-1 13.30 El-innebandy 15.00 Finale Menn Slevik - Sveiva 7-4 - G19 - G17 - G15 - J17-19 - J15 - Fredag 19/4: Voksen kr.50,-. Barn under 16 �r kr.25,-. Barn under 6 �r gratis. L�rdag 20/4: Voksen kr.100,- Barn under 16 �r kr.50,- Barn under 6 �r gratis. S�ndag 21/4: Voksen kr.200,- Barn under 16 �r kr.100,- Barn under 6 �r gratis. Forh�ndskj�p av minimum 10 billetter: Bestilling sendes til e-post: elisgoer@online.no. Oppgi antall billetter i hver kategori (barn/voksen), hvilken dag og hvem som henter billettene (m� hentes samlet). Betal korrekt bel�p ut fra foretatt bestilling til konto 1627.15.74995. Betaling m� v�re oss i hende senest onsdag 17. april. Billettene m� hentes senest en time f�r kampstart. Uavhentede billetter kan bli solgt. Det gis ingen refusjon av forh�ndsbetalte billetter. |