#!/usr/bin/perl ################################################################################### # Aneip GuestBook ver 0.9b # COPYRIGHT NOTICE: # # Copyright 1999 Mohd Hanif Ibrahim. All Rights Reserved. # Đ1999 Mohd Hanif Ibrahim. ################################################################################### # This script was release as FReeware. # # By using this program you agree to indemnify me from any liability. # # Distributing the software and/or documentation with other products # (commercial or otherwise) or by other than electronic means without # my prior written permission is forbidden. # # http://aneip.hypermart.net/guestbook # #################################################################################### print "Content-type: text/html\n\n"; $mail_prog = '/usr/lib/sendmail' ; $datafail ='guestbook.dat'; # Guestbook data file $viewperpage = '5'; # Number of record to show per page $sendtosigner = '0'; # Send thanx email 1 = enable 0 = disable $sendtoadmin = '1'; # send email to admin when got new record $adminemail = 'andreas@cuteart.nu'; # admin email $sender = 'Cute Art Guestbook'; $gbadress = 'http://www.cuteart.nu/guestbook/guestbook.cgi'; @badwords = ("pussy","suck","fuck","fucking","knulla"); # put your list of badwords $LIFO = '1'; # 1 - Display last record first # 0 - Display first record first. require ('cgi-lib.cgi'); &ReadParse(*field); $nama = $field{'nama'} ; $email = $field{'email'} ; $hp = $field{'hp'} ; $urlhp = $field{'urlhp'} ; $lokasi = $field{'lokasi'} ; $komen = $field{'komen'} ; $ip = $field{'ip'} ; $date = $field{'date'} ; $masa = $field{'masa'} ; $page = $field{'page'}; if ($page eq '') { $page = '0'; } if ($field{'action'} eq 'form'){ &PrintForm; exit; } if ($field{'action'} eq 'preview'){ &preview; exit; } if ($field{'action'} eq 'Confirm and add to guestbook'){ &save; exit; } if ($field{'action'} eq '' || $field{'action'} eq 'display'){ &display; exit; } ############################################################ # Edit this section is you want to change the appearance # ############################################################ sub header { print ""; print ""; print "
"; print "";
print "
This script is based on the |;
print qq||;
print qq| Aneip Guestbook | |;
print qq|
| |;
print qq| |; print qq|All characters and all artwork within these pages are copyright 1998-2002 Andreas Larsson, unless otherwise stated. Please don´t alter them or put them on another website without my permission.|; print qq| |
| Index | |; print qq|Drawings | |; print qq|Miscellaneous | |; print qq|Guestbook | |; print qq|Contact | |; print qq|Links | |; print qq|
|
| |;
print qq| |; ################################################## # Delen mellan formularet och "This script..." # ################################################## print qq| | |;
print qq| |;
print qq|Thanks for wanting to write in my guestbook ^_^ Please keep your language at a decent level, though, as I reserve the right to remove or re-write messages that I find unsuitable for minors. |;
print qq|Please try to keep your message on-topic, otherwise I will ignore or remove the message all together! |
| ";
print " "; print "All characters and all artwork within these pages are copyright 1998-2002 Andreas Larsson, unless otherwise stated. Please don´t alter them or put them on another website without my permission."; print " |
| Index | "; print "Drawings | "; print "Miscellaneous | "; print "Guestbook | "; print "Contact | "; print "Links | "; print "