'; /* Set extra meta & link tags in the head. Example: */ $reqmessage = false; /* A note about which fields are required. Example: Fields with red borders are required. */ $emptyreqmess = 'Please fill in all the fields.'; /* i like to yell at people when they leave something blank, so i made this message customizable */ $successmess = 'Your message has been sent!'; /* message to be given to the user when the message has been sent successfully. */ $addlform = false; /* if you need more fields in your form, put them in an include file (with just and tags) & store the path in this variable */ $libloc = '/var/www/html/citizenlunchbox.com/spamkill/'; /* This is where the library files are stored. You can leave this alone (you can just use my library files) */ $submitbutton = ''; /* Replace this if you want a custom submit button. Warnings: * DO NOT ELIMINATE THIS VARIABLE!!! Also, if you change the name of the button and/or replace * it with an image, you'll need to modify the script that analyzes the POST data */ $botmessage = '

This page is intended for use by humans only.
If you have erroneously been identified as a robot, please visit the main page
and click on the link that says "CONTACT US." Thank you!

'; $theme = 'cosmodog'; $stylesheet = "http://www.citizenlunchbox.com/spamkill/{$theme}style.css"; /* this sets styles for form elements. Page colors are set in {theme}colors.inc */ include "{$libloc}{$theme}colors.inc"; /**************************************\ * end personalization variables * \**************************************/ $requiredfields = array('peacock','buzzard','pigeon'); /* mail will not be sent if any of these fields (name, email, message) is blank. Talk to me before altering this */ $permittedshort = eregi_replace('www.',false,$permitteddomain); $creepycrawly = false; $nolinky = false; if (!$_SERVER['HTTP_USER_AGENT'] || empty($_SERVER['HTTP_USER_AGENT'])) $creepycrawly = true; if (strpos($_SERVER['HTTP_REFERER'],"http://{$permitteddomain}") !== 0 && strpos($_SERVER['HTTP_REFERER'],"http://{$permittedshort}") !== 0) $nolinky = true; $errmessage = false; if (array_key_exists('flyaway' , $_POST) || array_key_exists('flyaway_x' , $_POST)) { if ($creepycrawly || $nolinky) { include "{$libloc}makemail.inc"; } else { include"{$libloc}process.inc"; if (!$errmessage) { include "{$libloc}makemail.inc"; } } } ?> <?= $pagetitle ?> " : "" ?> >
Cosmodog Home
Snail Mail: 2603 W. Barry Ave. Phone: 312.440.0344
Chicago, Illinois 60618 Fax: 312.440.0355
Email:   $errmessage   "; else { $cont = ''; } if ($creepycrawly) { print $botmessage; } elseif ($showform) { if (!$errmessage) print $reqmessage; include "{$libloc}form.html"; } if ($messagesent) { print "

{$successmess}

\n"; $submitbutton = 'thank you!'; } ?>