Name is empty"; $intError++; } if($contact_job == ""){ $arrMessage[$intError] = "Your Job title is empty"; $intError++; } if($contact_company == ""){ $arrMessage[$intError] = "Your Company Name is empty."; $intError++; } function IsValidEmail($m){return eregi("^[[:alnum:]][a-z0-9_.-]*@[a-z0-9.-]+\.[a-z]{2,4}$",$m);} if($contact_email == "" || IsValidEmail($contact_email) === false){ $arrMessage[$intError] = "Invalid Email address."; $intError++; } if($contact_phone == ""){ $arrMessage[$intError] = "Your Phone number is empty."; $intError++; } if($contact_postcode == ""){ $arrMessage[$intError] = "Your Postcode number is empty."; $intError++; } if($intError == 0){ $MailTo="info@Barbour-ABI.com"; if($contact_email != ""){ $MailFrom = $contact_email; }else{ $MailFrom = "noEmail@barbour-abi.co.uk"; } $eol="\r\n"; $mime_boundary=md5(time()); //Common Headers $headers .= 'From: <'.$MailFrom.'>'.$eol; $headers .= 'Reply-To: <'.$MailFrom.'>'.$eol; $headers .= 'Return-Path: <'.$MailFrom.'>'.$eol; // these two to set reply address $headers .= "Message-ID: <".$now." TheSystem@".$_SERVER['SERVER_NAME'].">".$eol; $headers .= "X-Mailer: PHP v".phpversion().$eol; // These two to help avoid spam-filters //Send email with information to the owner $MailSubject = "Construction Review Enquiry"; //$MailBody = $MailBody.$VbCrLf."CONSTRUCTION REVIEW ENQUIRY".$VbCrLf.$VbCrLf; $MailBody = $MailBody."Contact Details: ".$VbCrLf; $MailBody = $MailBody."-------------------------------------------------- ".$VbCrLf; $MailBody = $MailBody."Name: ".$contact_name.$VbCrLf.$VbCrLf; $MailBody = $MailBody."Job Title: ".$contact_job.$VbCrLf.$VbCrLf; $MailBody = $MailBody."Company Name: ".$contact_company.$VbCrLf.$VbCrLf; $MailBody = $MailBody."Postcode: ".$contact_postcode.$VbCrLf.$VbCrLf; if($contact_email != ""){ $MailBody = $MailBody."Email: ".$contact_email.$VbCrLf; } if($contact_phone != ""){ $MailBody = $MailBody."Phone: ".$contact_phone.$VbCrLf; } $MailBody = $MailBody.$VbCrLf.$VbCrLf; if($contact_contruction_review != ""){ $MailBody = $MailBody."Construction Review: ".$contact_contruction_review.$VbCrLf.$VbCrLf; }else{ $MailBody = $MailBody."Construction Review: No thanks".$contact_contruction_review.$VbCrLf.$VbCrLf; } if($contact_products_services != ""){ $MailBody = $MailBody."Products and Services: ".$contact_products_services.$VbCrLf.$VbCrLf; }else{ $MailBody = $MailBody."Products and Services: No thanks".$contact_products_services.$VbCrLf.$VbCrLf; } if($contact_no_third_party != ""){ $MailBody = $MailBody."Third Parties Information: ".$contact_no_third_party; }else{ $MailBody = $MailBody."Third Parties Information: I don't mind receiving third party Information".$contact_no_third_party; } //echo $MailTo, $MailSubject, $MailBody; mail ( $MailTo, $MailSubject, $MailBody, $headers); header("Location: construction_review.php?act=thanks"); } }else{ $contact_company = ""; $contact_email = ""; $contact_phone = ""; $contact_job = ""; $contact_name = ""; $contact_postcode = ""; } ?>
Construction Review is an industry leading publication, devised as an essential tool for key decision makers. Each quarter we combine our research knowledge and expertise to bring you invaluable news, construction performance and analysis in an accessible PDF format. It provides you with all the construction intelligence and trends you need to keep up to date with what’s happening within the construction industry.
Each Construction Review edition includes:
Construction Review is issued quarterly:
Register here to receive your free copy of Construction Review:
Thank you for your enquiry,
we will get back to you as soon as possible.
Regards,
The Marketing Team