"; if ($message) { print <<

$message

END; } if ($_POST[submit]) { if ($_POST[subject]) { if ($_POST[name]) { if ($_POST[emailaddy]) { if ($_POST[comment]) { //$return = validate_email($_POST[emailaddy]); if (1) { $recipient = 'jess@askey.org'; $headers['From'] = $_POST[emailaddy]; $headers['To'] = 'jess@askey.org'; $headers['Subject'] = 'GameArchive Mailer: '.$_POST[subject]; $body = $_POST[comment]; $params['host'] = '192.168.0.103'; //$mail_object =& Mail::factory('smtp', $params); //$mail_object->send($recipient, $headers, $body); mail($recipient, 'GameArchive Mailer: '.$_POST[subject], $_POST[emailaddy]." wrote...

".$body); show_success(); } else { $message = "Email Address is invalid."; show_error(); } } else { $message = "Comment field cannot be blank."; show_error(); } } else { $message = "Email field cannot be blank."; show_error(); } } else { $message = "Name field cannot be blank."; show_error(); } } else { $message = "Subject field cannot be blank."; show_error(); } } else { show_form(); } //***************************************** // Support Functions function show_error() { print << $GLOBALS[message] END; } function show_success() { print <<Thank You... Your email was sent successfully.

We will make every attempt to answer emails sent to us here at GameArchive but sometimes we cannot keep up with the flow of email. If your question does not get answered, please consider visiting the Frequently Asked Questions in the appropriate section.

END; if ($_POST[redirect]) { print <<return to referring page END; } } function show_form () { $recipient_array = get_recipient($_GET[to]); $recipient_code = $recipient_array[code]; $recipient_name = $recipient_array[name]; $recipent_email = $recipient_array[email]; print <<Contact GameArchive... You may send us questions through the form below. I get lots of emails so I have compiled a list of common answers below, please consider reading them before sending your email if it falls into one of those categories... thank you.

How much is my game worth?

That is a tough question to answer without lots of info and even then, it basically depends on how much someone is willing to pay. Condition of the Backglass, Playfield, Cabinet and if the game is working all add or subtract from a games value. Even games in perfect condition may be worthless if nobody is interested in that particular game. In general pinball machines are worth from $25 to $4000. Older generally means they are worth less unless they are in excellent condition or are rare. Take a look at The Internet Pinball Database to find the exact specs of your game and then look for similar games on Ebay for price values. Keep in mind that shipping a game across the country is expensive and often makes selling your game on ebay less worthwhile.

Who can fix my game?

Take a look at the 'Parts & Repair' section of the site or do a goole search for 'pinball repair' or 'arcade video game repair' for lots of other companies. The best solution for fixing a game yourself is to post a message on 'rec.games.video.arcade.colleting' or 'reg.games.pinball' newgroups. There are hundreds of avid game collectors with lots of repair experience in both those groups!!

To: $recipient_name
Subject:
Your Name:
Your E-Mail:
Type your message or question below:
END; } function get_recipient($recipient_code) { $email_array = array( 'jess' => array ( "code" => "jess", "name" => "Jess Askey", "email" => "jess@askey.org" ), 'webmaster' => array ( "code" => "webmaster", "name" => "Webmaster", "email" => "jess@askey.org" ) ); if ($email_array[$recipient_code]) { return $email_array[$recipient_code]; } else { return $email_array[webmaster]; } } include('gamearchive/footer.html'); ?>