#!/usr/bin/perl
##############################################################################
# Guestbook Version 2.3.1 #
# Copyright 1996 Matt Wright mattw@worldwidemart.com #
# Created 4/21/95 Last Modified 10/29/95 #
# Scripts Archive at: http://www.worldwidemart.com/scripts/ #
##############################################################################
# COPYRIGHT NOTICE #
# Copyright 1996 Matthew M. Wright All Rights Reserved. #
# #
# Guestbook may be used and modified free of charge by anyone so long as #
# this copyright notice and the comments above remain intact. By using this #
# code you agree to indemnify Matthew M. Wright from any liability that #
# might arise from it's use. #
# #
# Selling the code for this program without prior written consent is #
# expressly forbidden. In other words, please ask first before you try and #
# make money off of my program. #
# #
# Obtain permission before redistributing this software over the Internet or #
# in any other medium. In all cases copyright and header must remain intact.#
##############################################################################
# Set Variables

$guestbookurl = "http://www.heybrian.com/gb/123.shtml";
$guestbookreal = "/usr/local/www/vhosts/heybrian.com/httpdocs/gb/123.shtml";
$guestlog = "/usr/local/www/vhosts/heybrian.com/httpdocs/gb/l123.html";
$cgiurl = "http://www.heybrian.com/cgi-bin/123.pl";
$date_command = "/bin/date";

# Set Your Options:
$mail = 1; # 1 = Yes; 0 = No
$uselog = 1; # 1 = Yes; 0 = No
$linkmail = 0; # 1 = Yes; 0 = No
$separator = 0; # 0 = <hr>; 0 = <p>
$redirection = 0; # 1 = Yes; 0 = No
$entry_order = 1; # 1 = Newest entries added first;
# 0 = Newest Entries added last.
$remote_mail = 1; # 1 = Yes; 0 = No
$allow_html = 0; # 1 = Yes; 0 = No
$line_breaks = 1; # 1 = Yes; 0 = No

# If you answered 1 to $mail or $remote_mail you will need to fill out
# these variables below:
$mailprog = '/usr/sbin/sendmail';
$recipient = 'heybej@gmail.com';

# Done
##############################################################################

# Get the Date for Entry
$date = `$date_command +"%A, %B %d, %Y at %T (%Z)"`; chop($date);
$shortdate = `$date_command +"%D %T %Z"`; chop($shortdate);

# Get the input
read(STDIN, $buffer, $ENV{'CONTENT_LENGTH'});

# Split the name-value pairs
@pairs = split(/&/, $buffer);

foreach $pair (@pairs) {
($name, $value) = split(/=/, $pair);

# Un-Webify plus signs and %-encoding
$value =~ tr/+/ /;
$value =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg;
$value =~ s/<!--(.|\n)*-->//g;

if ($allow_html != 1) {
$value =~ s/<([^>]|\n)*>//g;
}

$FORM{$name} = $value;
}

# Print the Blank Response Subroutines
&no_comments unless $FORM{'comments'};
&no_name unless $FORM{'realname'};

# Begin the Editing of the Guestbook File
open (FILE,"$guestbookreal") || die "Can't Open $guestbookreal: $!\n";
@LINES=<FILE>;
close(FILE);
$SIZE=@LINES;

# Open Link File to Output
open (GUEST,">$guestbookreal") || die "Can't Open $guestbookreal: $!\n";

for ($i=0;$i<=$SIZE;$i++) {
$_=$LINES[$i];
if (/<!--begin-->/) {

if ($entry_order eq '1') {
print GUEST "<!--begin-->\n";
}

if ($line_breaks == 1) {
$FORM{'comments'} =~ s/\cM\n/<br>\n/g;
}

print GUEST "<li class=guestList><b>$FORM{'comments'}</b><br>\n";

if ($FORM{'url'}) {
print GUEST "<a href=\"$FORM{'url'}\" class=bodyLink>$FORM{'realname'}</a>";
}
else {
print GUEST "$FORM{'realname'}";
}

if ( $FORM{'username'} ){
if ($linkmail eq '1') {
print GUEST " \&lt;<a href=\"mailto:$FORM{'username'}\" class=bodyLink>";
print GUEST "$FORM{'username'}</a>\&gt;";
}
else {
print GUEST " &lt;$FORM{'username'}&gt;";
}
}

print GUEST "<br>\n";

if ( $FORM{'city'} ){
print GUEST "<font size=1>$FORM{'city'},</font>";
}

if ( $FORM{'state'} ){
print GUEST "<font size=1> $FORM{'state'}</font>";
}

if ( $FORM{'country'} ){
print GUEST "<font size=1> $FORM{'country'}</font>";
}

if ($separator eq '1') {
print GUEST " - $date<hr>\n\n";
}
else {
print GUEST "<font size=1> - $date</font></li><p><img src=http://www.heybrian.com/lib/images/basic/spacer_gray.gif width=350 height=1></p><p>\n\n";
}

if ($entry_order eq '0') {
print GUEST "<!--begin-->\n";
}

}
else {
print GUEST $_;
}
}

close (GUEST);

# Log The Entry

if ($uselog eq '1') {
&log('entry');
}

#########
# Options

# Mail Option
if ($mail eq '1') {
open (MAIL, "|$mailprog $recipient") || die "Can't open $mailprog!\n";

print MAIL "Reply-to: $FORM{'username'} ($FORM{'realname'})\n";
print MAIL "From: $FORM{'username'} ($FORM{'realname'})\n";
print MAIL "Subject: Guestbook Entry for Brian's Page\n\n";
print MAIL "You have a new entry in your guestbook. To view this entry, click here: http://www.heybrian.com/gb/123.shtml\n\n";
print MAIL "------------------------------------------------------\n";
print MAIL "$FORM{'comments'}\n";
print MAIL "$FORM{'realname'}";

if ( $FORM{'username'} ){
print MAIL " <$FORM{'username'}>";
}

print MAIL "\n";

if ( $FORM{'city'} ){
print MAIL "$FORM{'city'},";
}

if ( $FORM{'state'} ){
print MAIL " $FORM{'state'}";
}

if ( $FORM{'country'} ){
print MAIL " $FORM{'country'}";
}

print MAIL " - $date\n";
print MAIL "------------------------------------------------------\n";

close (MAIL);
}

if ($remote_mail eq '1' && $FORM{'username'}) {
open (MAIL, "|$mailprog -t") || die "Can't open $mailprog!\n";

print MAIL "To: $FORM{'username'}\n";
print MAIL "From: $recipient\n";
print MAIL "Subject: Entry to Guestbook\n\n";
print MAIL "Thank you for adding to my guestbook.\n\n";
print MAIL "------------------------------------------------------\n";
print MAIL "$FORM{'comments'}\n";
print MAIL "$FORM{'realname'}";

if ( $FORM{'username'} ){
print MAIL " <$FORM{'username'}>";
}

print MAIL "\n";

if ( $FORM{'city'} ){
print MAIL "$FORM{'city'},";
}

if ( $FORM{'state'} ){
print MAIL " $FORM{'state'}";
}

if ( $FORM{'country'} ){
print MAIL " $FORM{'country'}";
}

print MAIL " - $date\n";
print MAIL "------------------------------------------------------\n";

close (MAIL);
}

# Print Out Initial Output Location Heading
if ($redirection eq '1') {
print "Location: $guestbookurl\n\n";
}
else {
&no_redirection;
}

#######################
# Subroutines

sub no_comments {
print "Content-type: text/html\n\n";
print "<html><head><title>Incomplete Submission - Brian's Page</title><LINK REL=stylesheet HREF=http://www.heybrian.com/css/content.css TYPE=text/css></head>\n";
print "<BODY bgcolor=FFFFFF background=http://www.heybrian.com/lib/images/bg.gif>
<table width=550 border=0 cellspacing=0 cellpadding=0 align=center>
<tr>
<td><img src=http://www.heybrian.com/lib/images/spacer.gif width=3 height=20></td>
<td width=47>&nbsp;</td>
<td width=120 rowspan=4><img src=http://www.heybrian.com/lib/images/main/family_off.gif width=120 height=87></td>
<td width=100% align=right height=20><font color=0000AA face=Verdana, Arial, Helvetica, sans-serif size=2><b>
<script language=JavaScript1.2 src=http://www.heybrian.com/jslib/time.js type=text/javascript></script>
</b></font></td>
</tr>
<tr>
<td colspan=2><img src=http://www.heybrian.com/lib/images/basic/spacer_navy.gif width=50 height=3></td>
<td width=100%><img src=http://www.heybrian.com/lib/images/basic/spacer_navy.gif width=380 height=3></td>
</tr>
<tr>
<td valign=top><img src=http://www.heybrian.com/lib/images/basic/spacer_navy.gif width=3 height=5></td>
<td width=47><img src=http://www.heybrian.com/lib/images/spacer.gif width=10 height=5></td>
<td width=100% valign=top><img src=http://www.heybrian.com/lib/images/spacer.gif width=10 height=5></td>
</tr>
<tr>
<td valign=top><img src=http://www.heybrian.com/lib/images/basic/spacer_navy.gif width=3 height=59></td>
<td width=47>&nbsp;</td>
<td width=100% valign=top><b>&nbsp;&nbsp;<a href=http://www.heybrian.com/index.htm>home</a>&nbsp;&#187;&nbsp;<a href=http://www.heybrian.com/gb/123.shtml>guestbook</a>&nbsp;&#187;&nbsp;<i>INCOMPLETE SUBMISSION</i></b></td>
</tr>
</table>
<table width=550 border=0 cellspacing=0 cellpadding=0 align=center>
<tr>
<td colspan=3>&nbsp;</td>
</tr>
<tr>
<td bgcolor=#CCCCCC width=15 valign=top><img src=http://www.heybrian.com/lib/images/basic/grey_1.gif width=15 height=15></td>
<td bgcolor=#CCCCCC width=530><b>You Forgot Your Comments...</b></td>
<td bgcolor=#CCCCCC width=15 valign=top><img src=http://www.heybrian.com/lib/images/basic/grey_2.gif width=15 height=15></td>
</tr>
</table>
<table width=550 border=1 cellspacing=0 cellpadding=10 align=center bordercolor=#CCCCCC>
<tr>
<td>
<table width=526 border=0 cellspacing=0 cellpadding=0>
<tr>
<td>\n";
print "Friend, the comment section in this form appears\n";
print "to be blank. Are you tryin' to pull a fast one?\n";
print "Go on and enter your comments below.<p>\n";
print "<form method=POST action=\"$cgiurl\"><table width=450 border=0 cellspacing=0 cellpadding=5 align=center><tr>\n";
print "<td align=right>Your Name:</td><td><input type=text name=\"realname\" size=30 ";
print "value=\"$FORM{'realname'}\"></td></tr>\n";
print "<tr><td align=right>E-Mail:</td><td><input type=text name=\"username\"";
print "value=\"$FORM{'username'}\" size=40></td></tr>\n";
print "<tr><td align=right>City:</td><td><input type=text name=\"city\" value=\"$FORM{'city'}\" ";
print "size=15>&nbsp;&nbsp; State:&nbsp;&nbsp;<input type=text name=\"state\" ";
print "value=\"$FORM{'state'}\" size=2></td></tr><tr><td align=right>Country:</td><td><input type=text ";
print "name=\"country\" value=\"$FORM{'country'}\" size=15></td></tr>\n";
print "<tr><td align=right valign=top><font color=b22222><b>*Comments:</b></font></td>\n";
print "<td><textarea name=\"comments\" COLS=40 ROWS=4></textarea></td></tr>\n";
print "<tr><td>&nbsp;</td><td><input type=submit value=Submit> <input type=reset></td></tr></table></form>\n";
print "Or, you can <a href=\"$guestbookurl\" class=bodyLink>return to the guestbook</a>.";
print "\n</td>
</tr>
</table>
</td>
</tr>
</table>
<NOINDEX>
<table border=0 cellspacing=0 cellpadding=5 width=500 align=center>
<tr>
<td align=center><img src=http://www.heybrian.com/lib/images/spacer.gif width=100 height=15></td>
</tr>
<tr>
<td align=center nowrap>
<p><a href=http://www.heybrian.com/index.htm><b>home</b></a>&nbsp;|&nbsp;<a href=http://www.heybrian.com/travels/index.shtml><b>travels</b></a>&nbsp;|&nbsp;<a href=http://www.heybrian.com/music/index.shtml><b>music</b></a>&nbsp;|&nbsp;<a href=http://www.heybrian.com/portfolio/index.shtml><b>portfolio</b></a>&nbsp;|&nbsp;<a href=http://www.heybrian.com/family/index.shtml><b>family</b></a>&nbsp;|&nbsp;<a href=http://www.heybrian.com/search.htm><b>search</b></a></p>
</td>
</tr>
<tr>
<td align=center nowrap><img src=http://www.heybrian.com/lib/images/spacer.gif width=100 height=2></td>
</tr>
<tr>
<td align=center nowrap>
<p><font size=1>Copyright &copy;1995 - 2008. &nbsp;&nbsp;<a href=mailto:coolbrz1&#64;hotmail.com class=bodyLink>Contact
Brian</a>.</font></p></td>
</tr>
</table>
</NOINDEX>
</body></html>\n";

# Log The Error
if ($uselog eq '1') {
&log('no_comments');
}

exit;
}

sub no_name {
print "Content-type: text/html\n\n";
print "<html><head><title>Incomplete Submission - Brian's Page</title><LINK REL=stylesheet HREF=http://www.heybrian.com/css/content.css TYPE=text/css></head>\n";
print "<BODY bgcolor=FFFFFF background=http://www.heybrian.com/lib/images/bg.gif>
<table width=550 border=0 cellspacing=0 cellpadding=0 align=center>
<tr>
<td><img src=http://www.heybrian.com/lib/images/spacer.gif width=3 height=20></td>
<td width=47>&nbsp;</td>
<td width=120 rowspan=4><img src=http://www.heybrian.com/lib/images/main/family_off.gif width=120 height=87></td>
<td width=100% align=right height=20><font color=0000AA face=Verdana, Arial, Helvetica, sans-serif size=2><b>
<script language=JavaScript1.2 src=http://www.heybrian.com/jslib/time.js type=text/javascript></script>
</b></font></td>
</tr>
<tr>
<td colspan=2><img src=http://www.heybrian.com/lib/images/basic/spacer_navy.gif width=50 height=3></td>
<td width=100%><img src=http://www.heybrian.com/lib/images/basic/spacer_navy.gif width=380 height=3></td>
</tr>
<tr>
<td valign=top><img src=http://www.heybrian.com/lib/images/basic/spacer_navy.gif width=3 height=5></td>
<td width=47><img src=http://www.heybrian.com/lib/images/spacer.gif width=10 height=5></td>
<td width=100% valign=top><img src=http://www.heybrian.com/lib/images/spacer.gif width=10 height=5></td>
</tr>
<tr>
<td valign=top><img src=http://www.heybrian.com/lib/images/basic/spacer_navy.gif width=3 height=59></td>
<td width=47>&nbsp;</td>
<td width=100% valign=top><b>&nbsp;&nbsp;<a href=http://www.heybrian.com/index.htm>home</a>&nbsp;&#187;&nbsp;<a href=http://www.heybrian.com/gb/123.shtml>guestbook</a>&nbsp;&#187;&nbsp;<i>INCOMPLETE SUBMISSION</i></b></td>
</tr>
</table>
<table width=550 border=0 cellspacing=0 cellpadding=0 align=center>
<tr>
<td colspan=3>&nbsp;</td>
</tr>
<tr>
<td bgcolor=#CCCCCC width=15 valign=top><img src=http://www.heybrian.com/lib/images/basic/grey_1.gif width=15 height=15></td>
<td bgcolor=#CCCCCC width=530><b>What is Your Name, Partner?</b></td>
<td bgcolor=#CCCCCC width=15 valign=top><img src=http://www.heybrian.com/lib/images/basic/grey_2.gif width=15 height=15></td>
</tr>
</table>
<table width=550 border=1 cellspacing=0 cellpadding=10 align=center bordercolor=#CCCCCC>
<tr>
<td>
<table width=526 border=0 cellspacing=0 cellpadding=0>
<tr>
<td>\n";
print "Are you tryin' to hide somthing?\n";
print "How will I ever know who you are?\n";
print "Tell me your name by adding it to the blank filed below.<p>\n";
print "<form method=POST action=\"$cgiurl\"><table width=450 border=0 cellspacing=0 cellpadding=5 align=center><tr>\n";
print "<td align=right><font color=b22222><b>*Your Name:</b></font></td><td><input type=text name=\"realname\" size=30></td></tr>\n";
print "<tr><td align=right>E-Mail:</td><td><input type=text name=\"username\"";
print " value=\"$FORM{'username'}\" size=40></td></tr>\n";
print "<tr><td align=right>City:</td><td><input type=text name=\"city\" value=\"$FORM{'city'}\" ";
print "size=15>&nbsp;&nbsp;State:&nbsp;&nbsp;<input type=text name=\"state\" ";
print "value=\"$FORM{'state'}\" size=2></td></tr><tr><td align=right>Country:</td><td><input type=text ";
print "value=USA name=\"country\" value=\"$FORM{'country'}\" ";
print "size=15></td></tr>\n";
print "<tr><td align=right>Comments:</td><td>have been retained.</td></tr>\n";
print "<tr><td>&nbsp;</td><td><input type=hidden name=\"comments\" ";
print "value=\"$FORM{'comments'}\">\n";
print "<input type=submit value=Submit> <input type=reset></td></tr></table></form>\n";
print "Or, you can <a href=\"$guestbookurl\" class=bodyLink>return to the guestbook</a>.";
print "\n</td>
</tr>
</table>
</td>
</tr>
</table>
<NOINDEX>
<table border=0 cellspacing=0 cellpadding=5 width=500 align=center>
<tr>
<td align=center><img src=http://www.heybrian.com/lib/images/spacer.gif width=100 height=15></td>
</tr>
<tr>
<td align=center nowrap>
<p><a href=http://www.heybrian.com/index.htm><b>home</b></a>&nbsp;|&nbsp;<a href=http://www.heybrian.com/travels/index.shtml><b>travels</b></a>&nbsp;|&nbsp;<a href=http://www.heybrian.com/music/index.shtml><b>music</b></a>&nbsp;|&nbsp;<a href=http://www.heybrian.com/portfolio/index.shtml><b>portfolio</b></a>&nbsp;|&nbsp;<a href=http://www.heybrian.com/family/index.shtml><b>family</b></a>&nbsp;|&nbsp;<a href=http://www.heybrian.com/search.htm><b>search</b></a></p>
</td>
</tr>
<tr>
<td align=center nowrap><img src=http://www.heybrian.com/lib/images/spacer.gif width=100 height=2></td>
</tr>
<tr>
<td align=center nowrap>
<p><font size=1>Copyright &copy;1995 - 2008. &nbsp;&nbsp;<a href=mailto:coolbrz1&#64;hotmail.com class=bodyLink>Contact Brian</a>.</font></p></td>
</tr>
</table>
</NOINDEX>
</body></html>\n";

# Log The Error
if ($uselog eq '1') {
&log('no_name');
}

exit;
}

# Log the Entry or Error
sub log {
$log_type = $_[0];
open (LOG, ">>$guestlog");
if ($log_type eq 'entry') {
print LOG "$ENV{'REMOTE_HOST'} - [$shortdate]<br>\n";
}
elsif ($log_type eq 'no_name') {
print LOG "$ENV{'REMOTE_HOST'} - [$shortdate] - ERR: No Name<br>\n";
}
elsif ($log_type eq 'no_comments') {
print LOG "$ENV{'REMOTE_HOST'} - [$shortdate] - ERR: No ";
print LOG "Comments<br>\n";
}
}

# Redirection Option
sub no_redirection {

# Print Beginning of HTML
print "Content-Type: text/html\n\n";
print "<html><head><title>Thank You - Brian's Page</title><LINK REL=stylesheet HREF=http://www.heybrian.com/css/content.css TYPE=text/css><meta http-equiv=REFRESH content=3;URL=http://www.heybrian.com/gb/123.shtml></head>\n";
print "<BODY bgcolor=FFFFFF background=http://www.heybrian.com/lib/images/bg.gif>
<table width=550 border=0 cellspacing=0 cellpadding=0 align=center>
<tr>
<td><img src=http://www.heybrian.com/lib/images/spacer.gif width=3 height=20></td>
<td width=47>&nbsp;</td>
<td width=120 rowspan=4><img src=http://www.heybrian.com/lib/images/main/family_off.gif width=120 height=87></td>
<td width=100% align=right height=20><font color=0000AA face=Verdana, Arial, Helvetica, sans-serif size=2><b>
<script language=JavaScript1.2 src=http://www.heybrian.com/jslib/time.js type=text/javascript></script>
</b></font></td>
</tr>
<tr>
<td colspan=2><img src=http://www.heybrian.com/lib/images/basic/spacer_navy.gif width=50 height=3></td>
<td width=100%><img src=http://www.heybrian.com/lib/images/basic/spacer_navy.gif width=380 height=3></td>
</tr>
<tr>
<td valign=top><img src=http://www.heybrian.com/lib/images/basic/spacer_navy.gif width=3 height=5></td>
<td width=47><img src=http://www.heybrian.com/lib/images/spacer.gif width=10 height=5></td>
<td width=100% valign=top><img src=http://www.heybrian.com/lib/images/spacer.gif width=10 height=5></td>
</tr>
<tr>
<td valign=top><img src=http://www.heybrian.com/lib/images/basic/spacer_navy.gif width=3 height=59></td>
<td width=47>&nbsp;</td>
<td width=100% valign=top><b>&nbsp;&nbsp;<a href=http://www.heybrian.com/index.htm>home</a>&nbsp;&#187;&nbsp;<a href=http://www.heybrian.com/gb/123.shtml>guestbook</a>&nbsp;&#187;&nbsp;<i>YOUR INPUT</i></b></td>
</tr>
</table>
<table width=550 border=0 cellspacing=0 cellpadding=0 align=center>
<tr>
<td colspan=3>&nbsp;</td>
</tr>
<tr>
<td bgcolor=#CCCCCC width=15 valign=top><img src=http://www.heybrian.com/lib/images/basic/grey_1.gif width=15 height=15></td>
<td bgcolor=#CCCCCC width=530><b>Guestbook</b></td>
<td bgcolor=#CCCCCC width=15 valign=top><img src=http://www.heybrian.com/lib/images/basic/grey_2.gif width=15 height=15></td>
</tr>
</table>
<table width=550 border=1 cellspacing=0 cellpadding=10 align=center bordercolor=#CCCCCC>
<tr>
<td>
<table width=526 border=0 cellspacing=0 cellpadding=0>
<tr>
<td>\n";

# Print Response
print "<p>Your entry has\n";
print "been added to the guestbook. Here is what you submitted:<br><br></p>\n";
print "<blockquote><b>$FORM{'comments'}</b><br>\n";

if ($FORM{'url'}) {
print "<a href=\"$FORM{'url'}\" class=bodyLink>$FORM{'realname'}</a>";
}
else {
print "$FORM{'realname'}";
}

if ( $FORM{'username'} ){
if ($linkmail eq '1') {
print " &lt;<a href=\"mailto:$FORM{'username'}\" class=bodyLink>";
print "$FORM{'username'}</a>&gt;";
}
else {
print " &lt;$FORM{'username'}&gt;";
}
}

print "<br>\n";

if ( $FORM{'city'} ){
print "<font size=1>$FORM{'city'},</font>";
}

if ( $FORM{'state'} ){
print "<font size=1> $FORM{'state'}</font>";
}

if ( $FORM{'country'} ){
print "<font size=1> $FORM{'country'}</font>";
}

print "<font size=1> - $date</font><p>\n";

# Print End of HTML
print "</blockquote>\n";
print "<br><a href=\"$guestbookurl\" class=bodyLink>Click here</a> to return back to the guestbook.\n";
print "<br><i>Please note:</i> To see your submission, you may need to reload the guestbook page when you get there.\n";
print "entry.\n";
print "</td>
</tr>
</table>
</td>
</tr>
</table>
<NOINDEX>
<table border=0 cellspacing=0 cellpadding=5 width=500 align=center>
<tr>
<td align=center><img src=http://www.heybrian.com/lib/images/spacer.gif width=100 height=15></td>
</tr>
<tr>
<td align=center nowrap>
<p><a href=http://www.heybrian.com/index.htm><b>home</b></a>&nbsp;|&nbsp;<a href=http://www.heybrian.com/travels/index.shtml><b>travels</b></a>&nbsp;|&nbsp;<a href=http://www.heybrian.com/music/index.shtml><b>music</b></a>&nbsp;|&nbsp;<a href=http://www.heybrian.com/portfolio/index.shtml><b>portfolio</b></a>&nbsp;|&nbsp;<a href=http://www.heybrian.com/family/index.shtml><b>family</b></a>&nbsp;|&nbsp;<a href=http://www.heybrian.com/search.htm><b>search</b></a></p>
</td>
</tr>
<tr>
<td align=center nowrap><img src=http://www.heybrian.com/lib/images/spacer.gif width=100 height=2></td>
</tr>
<tr>
<td align=center nowrap>
<p><font size=1>Copyright &copy;1995 - 2008. &nbsp;&nbsp;<a href=mailto:coolbrz1&#64;hotmail.com class=bodyLink>Contact Brian</a>.</font></p></td>
</tr>
</table>
</NOINDEX>
</body></html>\n";

exit;
}