blob: 4f36db0e7f7f2aa7db1b7891b11ed2d75e93358a [file] [log] [blame]
<?php
$name = $_REQUEST['name'];
$email = $_REQUEST['email'];
$login = $_REQUEST['login'];
$reason = $_REQUEST['reason'];
$vote1 = $_REQUEST['vote1'];
$vote2 = $_REQUEST['vote2'];
$vote3 = $_REQUEST['vote3'];
$MailDest = $email;
$MailSubject = "Confirm your Eclipse Individual Awards vote";
$MailStr =
"Thank you for casting these votes in the Eclipse Community Awards, Individuals category.
But you're not done yet!
";
if( $vote1 != "" ) {
$MailStr .= " Top Ambassador: $vote1 \n";
}
if( $vote2 != "" ) {
$MailStr .= " Top Contributor: $vote2 \n";
}
if( $vote3 != "" ) {
$MailStr .= " Top Committer: $vote3 \n";
}
$Query = "name=" . urlencode($name);
$Query .= "&email=" . urlencode($email);
$Query .= "&login=" . urlencode($login);
$Query .= "&vote1=" . urlencode($vote1);
$Query .= "&vote2=" . urlencode($vote2);
$Query .= "&vote3=" . urlencode($vote3);
$Query .= "&reason=" . urlencode($reason);
$MailStr .=
"We've now recorded your vote but you must confirm your choices by clicking
the link below:
";
$MailStr .= " http://www.eclipse.org/projects/fragments/eclipsecon2006voterecorder.php?" . $Query . "\n";
$MailStr .= "
Thank you (in advance) for your vote.
";
mail($MailDest, $MailSubject, $MailStr, "From: bjorn.freeman-benson@eclipse.org\n");
header("Location: http://www.eclipsecon.org/2006/ThanksForVotingWaitForEmail.do");
?>