#
# this is a comment.  i love comments.
#
# example configuration file for the Selena Sol, LiveZone modified Guestbook 1.1
#
# revised May 15/97.
#
# http://www.livezone.com
#

#
# The Rules:
#
# comments are any line with '#' in column 1.
# blank lines are ignored.
# keywords begin in column 1.
# data for keywords follows, either on the same line,
#	or on subsequent lines with leading white-space.
#	data ends with the start of the next keyword.
#


# specify the path and filename of the HTML guestbook page, relative to
# your Web site's 'document root' (eg., /htdocs) directory.
# the guestbook HTML file and its immediately enclosing directory must 
# have read-write permission for everyone (ie., ugo=rw, or mode 0555).
guestbook_file	/supportzone/guestbook/example.html

# specify any "bad" words that you don't want added to your HTML page these
# are case-insensitive, and are replaced by '[beep]' in any field in which
# they're encountered (including email, address, and comment fields).
bad_words	gggrrrrr	shyt	
		pess	dumn
		holl

# do you want email sent to you when a new entry is added to this guestbook?
# (any word containing 'y' means yes)
email_admin	yes

# what's your email address?
admin_address	guestbook@livezone.com

# what subject would you like for this email sent to you?
admin_subject	Example Guestbook

# do you want the email entry on your guestbook HTML page to be clickable?
# (any word containing 'y' means yes)
linkmail	yes

# do you want a thank-you note to be sent to visitors that leave an entry
# in this guestbook?  (any word containing 'y' means yes)
email_guest	yes

# do you want your visitors to be able to leave messages that contain HTML tags?
# (any word containing 'y' means yes)
allow_html	yes

# what fields must visitors fill-in?  list there names here.
required_fields	realname	comments

# specify the text of the thank-you email sent to visitors (if enabled 
# by the 'email_guest' statement).  NOTE: these text lines must be formatted
# here as you'd like them included in the resulting email; only the first white-
# space character will be removed at the start of each line, so make sure that
# it's either a single space, or a tab character.
thank_you_email_text
	   Thanks for your interest in LiveZone Guestbook CGI.
	We hope you'll enjoy this little script with your own LiveZone Website.
	
	If you find you'd like enhancements, please drop us a line.
	
	-- LiveZone

# specify the form header that visitors will see when they add their
# comments to this guestbook
add_form_header
	<HEAD><TITLE>Guestbook (Add Form)</TITLE></HEAD>
	<BODY>
	<CENTER><H2>Add to my Guestbook</H2></CENTER>
	Please fill in the blanks below to add to this guestbook.  The only
	blanks that you have to fill-in are the <B>comments</B> and <B>name</B> section.
	Thanks!
	<P><HR>

# specify the top of the HTML page header visitors will see after 
# they've added their comments to this guestbook.  (note the special 
# "$guest" variable that substitutes for the missing field's name)
thank_you_html_header
	<HEAD><TITLE>Thank You</TITLE></HEAD>
	<BODY>
	<CENTER>
	<IMG SRC = "http://www.nchgr.nih.gov/Images/thankyou.gif">
	<P>
	Thank you for signing the Guestbook, $guest
	</CENTER>
	<P>
	Your entry has now been added to the guestbook as
	follows...

# define the top of the HTML page visitors will see if they don't
# specify a required field.  (note the special "$field" variable 
# that substitutes for the missing field's name)
missing_required_field_note
	<HEAD>
	<TITLE>Data Entry Error</TITLE>
	</HEAD>
	<BODY BGCOLOR = "FFFFFF" TEXT = "000000">
	<BLOCKQUOTE>
	Oops, You forgot to fill-in <B>$field</B> and I'm not allowed to add
	your guestbook entry without it.  Please type something in below...
	</BLOCKQUOTE>
	
# define the data-entry form for the guest's to enter their info.
# PLEASE note the "variables" with "$" on the front that are automatically replaced
# by guestbook.cgi program with the correct values when the HTML page is generated.
data_entry_form
	<FORM METHOD = "POST" ACTION = "$our_CGI_URL">
	<TABLE>
	<TR>
	<TH ALIGN = "left">Your Name:</TH>
	<TD><INPUT TYPE = "text" NAME = "realname" SIZE = "40" VALUE = "$realname"></TD>
	</TR><TR>
	<TH ALIGN = "left">E-Mail:</TH>
	<TD><INPUT TYPE = "text" NAME = "email" SIZE = "40" VALUE = "$email"></TD>
	</TR><TR>
	<TH ALIGN = "left">URL:</TH>
	<TD><INPUT TYPE = "text" NAME = "url" SIZE = "50" VALUE = "$url"></TD>
	</TR><TR>
	<TH ALIGN = "left">City:</TH>
	<TD><INPUT TYPE = "text" NAME = "city" SIZE = "15" VALUE = "$city"></TD>
	</TR><TR>
	<TH ALIGN = "left">State:</TH>
	<TD><INPUT TYPE = "text" NAME = "state" SIZE = "4" VALUE = "$state"></TD>
	</TR><TR>
	<TH ALIGN = "left">Country:</TH>
	<TD><INPUT TYPE = "text" NAME = "country" SIZE = "15" VALUE = "$country"></TD>
	</TR><TR>
	<TH ALIGN = "left">Comments:</TH>
	<TD><TEXTAREA NAME = "comments" COLS = "60" ROWS = "4">$comments</TEXTAREA></TD>
	</TR></TABLE>
	<CENTER>
	<INPUT TYPE = "submit" VALUE = "Submit My Info">
	<INPUT TYPE = "reset">
	</FORM>
	<P><A HREF = "$guestbook_URL">Back to the Example Guestbook page</A><BR>
	</CENTER>
	</BODY>
	</HTML>

