<% ' .Copyright (C) 1999-2000 Genotec AG ' .Created: 1999 ' .Contactid: ' .Url: http://www.genotec.ch ' .Developed by: Genotec AG ' .Written by: Simon Jenny ' ' ' This program is free software; you can redistribute it and/or ' modify it under the terms of the GNU General Public License as ' published by the Free Software Foundation; either version 2 of ' the License, or (at your option) any later version. ' ' This program is distributed in the hope that it will be useful, but ' WITHOUT ANY WARRANTY; without even the implied warranty of ' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ' General Public License for more details. ' ' You should have received a copy of the GNU General Public License along ' with this program; if not, write to the Free Software Foundation, ' Inc., 675 Mass Ave, Cambridge, MA 02139, USA. PageTitle = "Shinson Hapkido Sola2002-Guestbook" ' Titel einfügen PageBGColor = "#CEEFBD" ' Farbe der Seite PageBG = "" ' Hintergrundbild PageFont = "Verdana, Arial" ' Schriftart PageFontSize = "-1" ' Schriftgrösse PageFontColor = "Black" ' Schriftfarbe Path = "d:/shinsonhapkido/database/guestbook2002.txt" ' Pfad zu Ihrem Gästebuch (e.g. "d:\benutzername\public_html\webscripts\guestbook.asp") ' ********************** Diesen Bereich nicht editieren ! ********************************************* If Path = "" then Path = Server.MapPath("/webscripts/guestbook.asp") %> <%=PageTitle%>

Sie sind herzlich willkommen sich im Gästebuch einzutragen.

">
Name Vorname
E-Mail Datum
<% if not request("name") = "" then ' Schreibe ins File Set FileStreamObject = CreateObject("Scripting.FileSystemObject") Set WriteStream = FileStreamObject.OpenTextFile (Path ,6,1) WriteStream.WriteLine ("") WriteStream.WriteLine ("") WriteStream.WriteLine ("") WriteStream.WriteLine ("") WriteStream.WriteLine ("") WriteStream.WriteLine ("") WriteStream.WriteLine ("") WriteStream.WriteLine ("") WriteStream.WriteLine ("") WriteStream.WriteLine ("") WriteStream.WriteLine ("") WriteStream.WriteLine ("") WriteStream.WriteLine ("") WriteStream.WriteLine ("") WriteStream.WriteLine ("") WriteStream.WriteLine ("") WriteStream.WriteLine ("
Name" & request("Name") & "Vorname" & request("Vorname") & "
E-Mail" & request("Mail") & "Datum" & request("Datum") & "

" & request("Kommentar") & "
") WriteStream.WriteLine ("
") WriteStream.WriteLine ("
") Set WriteStream = Nothing End if ' Lese vom File Set FileStreamObject = CreateObject("Scripting.FileSystemObject") Set ReadStream = FileStreamObject.OpenTextFile (Path,1) if not ReadStream.AtEndOfStream then response.write ReadStream.ReadALL Set ReadStream = Nothing %>