require("includes/vars.php"); //process form $action = isset($_POST['action']) ? $_POST['action'] : false; $mode = "showForm"; if($action == "submit"){ $contactName = isset($_POST['contactName']) ? $_POST['contactName'] : false; $contactOrganisation = isset($_POST['contactOrganisation']) ? $_POST['contactOrganisation'] : false; $contactTelephone = isset($_POST['contactTelephone']) ? $_POST['contactTelephone'] : false; $contactTelephone = isset($_POST['contactTelephone']) ? $_POST['contactTelephone'] : false; $contactEmail = isset($_POST['contactEmail']) ? $_POST['contactEmail'] : false; $contactComments = isset($_POST['contactComments']) ? $_POST['contactComments'] : false; if(empty($contactName)) err("Please enter a your name."); if(empty($contactOrganisation)) err("Please enter a your organisation."); if(empty($contactTelephone)) err("Please enter a your telephone number."); if(empty($contactEmail) || !isValidEmail($contactEmail)) err("Please enter a your email address."); if(empty($contactComments) || isInjected($contactComments)) err("Please enter a your comments."); if(!isErr()){ $msgBody = "You have a message from the MAON.co.uk contact form, the details are below.\r\n\r\n Name: $contactName\r\n Organisatin: $contactOrganisation\r\n Telephone Number: $contactTelephone\r\n Email Address: $contactEmail\r\n Comments: $contactComments\r\n"; mail("elliotp@gmail.com", "MAON.co.uk contact form enquiry", $msgBody, "FROM: $contactEmail"); $mode = "showConfirm"; } } //start header $pageConfig['pageTitle'] = "Contact Us"; $pageConfig['metaKeywords'] = ""; $pageConfig['metaDescription'] = ""; $pageConfig['bodyTag'] = ""; $pageConfig['accessLevels'] = array(0); $pageConfig['backgroundImage'] = "bg_woman.jpg"; require(path("include")."header.php"); ?>
To discuss taking the moan out of change call MAON on 01908 847 064 or use the form below to email us.
MAON Ltd
CBXII West Wing
382-390 Midsummer Boulevard
Milton Keynes
MK9 2RG
Telephone (UK): 01908 847 064
(International): (00) 44 1 908 847 064
Fax: (00) 44 1 908 847 401
Thanks, we have recieved your message and will respond shortly.
}?> require(path("include")."footer.php") ?>