% ' ******************************************************************* ' * This is the ASP guestbook. * ' * You can modify this file as you like and you * ' * can also rename it. It will still work. * ' * * ' * You can edit all colors with the following script: * ' * * ' * Variable Explanation * ' * --------------------------------------------------------------- * ' ************************ * BodyBgcolor = "#11560C" '* Body background color * LinkColor = "#000099" '* Link color * ALinkColor = "#99ccff" '* Active link color * VLinkColor = "#000099" '* Visited link color * TextColor = "#000000" '* Default text color * HoverColor = "#99ccff" '* Default hover color (Mouse over link) * TopcellBg = "#F5F5F5" '* Heading row background color in tables * TopcellText = "#11560C" '* Heading row text color in tables * CellBg = "#ffffff" '* Table background color * CellText = "#000000" '* Table Text color * ' ************************ * ' * Other things to edit * ' * * ' * Variable Explanation * ' * --------------------------------------------------------------- * ' **************************************** * Font = "Arial" '* The default font * DataBaseName = "gb.mdb" '* Database + virtual path * ' **************************************** * ' ******************************************************************* session("fn") = "f17.shtml" ' ----------------------------------------- ' Begin Inputting external data ' ----------------------------------------- ' <<<< Querystring >>>> Mode = Request.QueryString("Mode") 'Sign (or View) Page = Request.QueryString("Page") 'In View mode ShowTheCode = "yes" If IsEmpty(Request.QueryString("Page")) then Page = 1 ' <<<< Form >>>> Flag = Request.Form("Flag") If mode = "Sign" then Name = Request.Form("Name") Email = Request.Form("Email") Place = Request.Form("Place") Url = Request.Form("Url") Comment = Request.Form("Comment") End If ' <<<< Server >>>> NameOfFile = Request.ServerVariables("Script_Name") ' ----------------------------------------- ' End Inputting external data ' ----------------------------------------- ' ********************************************************************* ' * Sub list: * ' ********************************************************************* ' * Header * The
etc. tags * ' * Footer * The etc. tags * ' * Signpage * The tags for the sign/Addentry page * ' * Validate * Validate the signpage * ' * InsertInfo * Insert info to database * ' * Viewpage * View entries * ' ********************************************************************* ' * Database: gb.mdb Table: gb Primary key: Id * ' ********************************************************************* ' |Id |Date |Name |Email |Place |Url |Comment ' |Autonum |Date/Time |Text-30 |Text-30 |Text-50 |Text-50 |Memo ' ********************************************************************* ' ------------------------------------------- ' Begin Subs and functions ' ------------------------------------------- '<<<<<<<<<<<<>>>>>>>>>>>> Sub Header 'Header Sub %>![]() |
Need to find IP whois? Visit this site What is My IP |
| Date: | <%= Daten %> |
| Name: | <%= Name %> |
| City/State: | <%= Place %> |
| Own Url: | <%= Url %> |
| Comment: | <%= Comment %> |