<## to allow html in the entries or not ##> <## can be "on" or "off" ##> <## SUBROUTINES ######################################################### ### Do NOT change unless you know what you are doing, or feel ### adventurous... ### If you do feel adventurous, then remember, that any quotation marks ### inside these strings since they are macros, need to have a "\" in ### front of them... ### ################################################################## ##> <## This is to determine how this form is being accessed ##> <## This chunk of htmlscript figures out the date and time of the ##> <## entry accounting for the different time zones ##> <## This is set for PST which is -7 off of GMT ##> <## This is if the month is a 31 day month ##> <## This is if the month is a 30 day month ##> <## This is if the month is Feb ##> <## This is if the month is now greater than Dec ##> <## End of date routine ##> <## This short routine is to remove any html from the comments ##> <## section if the user entered any ##> <## Loop to get the total number of entries ##> <## TPS: Add new field 'title' to the import... create new array variable to store it with the rest of the data ##> Now showing entries " $ viewto $ " through " $ viewfrom $ "

    "> <## ######################################################## ##> <## This loop is making a single variable to hold all of the ##> <## entries so we can just use the variable in the final ##> <## page output to represent the entire set of entries ##> <## It is also putting the entries in reverse order. ##> <## Be careful if you change this area. <## ######################################################## ##> <## TPS: Replaced the display of the URL with the TITLE ##>
    Date" $ date&[loop] $ " - " $ time&[loop] $ "
    Name" $ name&[loop] $ "
    Email " $ email&[loop] $ "
    Site " $ title&[loop] $ "
    Comments" $ comments&[loop] $ "
    ">
    "> "> <## MAIN OUTPUT ######################################################### ### This is where you should customize your script for your html style ### You can change anything after the tag except the macro ### commands ( &[macro] ) and the beginning and final statements ### ################################################################## ##> <## GUESTBOOK SUBMISSION ################################################ ### The HTML in this section is What you see after the user has made an ### entry into your guestbook... ### Only change the html between the and tags... ### It does some error checking, and then will send it back to ### the same screen if it finds errors. ### ################################################################## ##> <## Checking for mandatory fields ##> "> "> oopsee

    clik heer tew go bak






    Hay, I rillee need yur help, go ahed an syne it!!

    Geez, yuze yur browser's bak button and enter again...






    catcam
    <## record the data, and print out the response ##> <## Now we should write the entry to the database file ##> <## TPS: add title to the export so the title entered goes into the DAT file ##> fur my kween

    clik heer tew go bak





    Fangu fur synun da buk, now go on, get oudda heer


    go luk hoo else haz been heer, but doan tell nobuddee day wuz heer





    postcards
    <## GUESTBOOK MAILING ################################################### ### This section is for when you wish to receive the guestbook entry as ### a mail message...(Set the mail variables in the first section) ### ################################################################## ##> <## TPS: Add title to the mail form just in case you decide to use it ##> Received an entry from your guestbook. Date : Time : Name : Email : Web Site : http:// Web Site Title : Comments : <## GUESTBOOK ENTRY ###################################################### ### The HTML in this section is for when the user wishes to make an ### entry into your guestbook... ### ################################################################## ##> Letters tew da Kween

    clik heer tew go bak




    Errors have been found in your guestbook entry !! try it agin wifowt da nip furst. *smirk*

    Okay, fill in da blanks heer

    <## TPS: add new entry for title on the input form ##>
    Yur Name
    Yur E-Mail Address
    Warez yur Web Site http://
    the Name of yur websyte
    Your Comments

    luk hooz tryun tew help



    lisaviolet's cathouse


    <## GUESTBOOK VIEWING ################################################### ### The HTML in this section is for when the user wishes to view ### entries in your guestbook... ### Only change the html between the and tags..., but you ### need to leave the entries macro to show the entries... ### ################################################################## ##> Bitsee, lissun tew deez guys!!

    clik heer tew go bak




    Bitsee, see wut deez kitties fink?
    Can I be all dat bad wif deez testimoneeuls?

    reed wut uvvers had tew say - reed da next &[numberofentries]

    Put yur pawprint heer

    lisaviolet's cathouse
    <## END OF SCRIPT ################################################ ##>