Cadwell GP 2011
Get your own Personal Images on CD
The personalised CD will contain :-
- Group karting action photos on track
- Individual shots from various parts of the track
- If arranged in advance photos can be taken in the paddock with groups of friends
Cost only £45 including postage & packing.
If the Photograph is taken and your on it - you get it.
The only limit will be the size of the CD and the proviso that if I am not happy with
the quality of the image you don’t get it.
global $subbed,$Name,$Address,$City,$County,$PostCode,$Phone,$Email,$Kart,$Engine,$RacingNo,$BodyColour,$Comments;
echo "Please complete the form below to get your Personalised CD.
";
$invalid=0;
$Phone = preg_replace('/\s+|\+/', '', $Phone);
if ($subbed=="go") {
if((!$Name || $Name=="") || (!$Phone || $Phone=="") || (!$Email || $Email=="") || (!$Kart || $Kart=="") || (!$RacingNo || $RacingNo=="")) $invalid=1;
if( !eregi( "^" .
"[a-z0-9]+([_\\.-][a-z0-9]+)*" . //user
"@" .
"([a-z0-9]+([\.-][a-z0-9]+)*)+" . //domain
"\\.[a-z]{2,}" . //sld, tld
"$", $Email, $regs)) $invalid=1;
if (strlen($Phone)<9) $invalid=1;
if ($Phone<100000) $invalid=1;
}
if (($subbed=="go") && !$invalid)
{
$recipient="npurdie@rpsys.net";
$subject = "Nicks Karting Photos - Cadwell 2011";
$hdrs = "From: \"Nicks Karting Website\" \n";
$hdrs .= "Reply-To: \"".$Name."\" <".$Email.">\n";
$hdrs .= "Return-Path: \n";
$hdrs .= "Errors-To: webwide@rpsys.net\n";
$hdrs .= "bcc: webwide@rpsys.net\n";
$message.="Name: ".$Name."\n";
$message.="Address: ".$Address."\n";
$message.="City: ".$City."\n";
$message.="County: ".$County."\n";
$message.="PostCode: ".$PostCode."\n";
$message.="Phone: ".$Phone."\n";
$message.="Email Address: ".$Email."\n";
$message.="Kart: ".$Kart."\n";
$message.="Engine: ".$Engine."\n";
$message.="Racing No.: ".$RacingNo."\n";
$message.="Body - Colour: ".$BodyColour."\n";
$message.="Comments: ".$Comments."\n";
mail($recipient, $subject, $message, $hdrs);
print 'Thank you for your response, I will contact you at Cadwell. If you need to talk with me or have any queries
please telephone 0191 2531881. Regards Nick.
';
}
else
{
if ($invalid) print "Error! Please fill in all the required fields. Please use a valid email address and phone number preferably a mobile number.
";
else print '
Cadwell G P 2011
';
print "