Please enter a valid and not hotmail or yahoo email."; $error = 1; } if ($firstname == "") { $firstname_failed="Please enter your first name."; $error = 1; } if ($lastname == "") { $lastname_failed="Please enter your last name."; $error = 1; } if($company == "") { $company_failed="Please enter your company name."; $error = 1; } if ($phone == "" || $area == "") { $phone_failed="Please enter area code and phone number."; $error = 1; } if ($newsletter == "") { $newsletter_failed="Please choose one option."; $error = 1; } if ($hear == "None selected" || $hear == "") { $hear_failed="Please choose one option."; $error = 1; } if ($comments == "") { $comments_failed="Please enter questions/comments."; $error = 1; } if ($error == 1) { $error_msg = "
   Required fields input missing or error.
"; }else { //send email to admin $to = "info@centranum.com"; $subject = "Infomation was requested"; $message = "info was requested by;
name: $firstname $lastname
email: $email
from company: $company
phone: $areacode - $phone
newsletter: $newsletter
comments: $comments
how to found us: $hear"; if (sendmail($to, $subject, $message, $headers)=="error") { $error_msg = "
   Sorry! The email failed to deliver to $email. Please try again later.
"; $maildeliver = "n"; }else { $maildeliver = "y"; } //insert a new record into the info table $info = new Info(); $info->set_firstname($firstname); $info->set_lastname($lastname); $info->set_email($email); $info->set_company($company); $info->set_areacode($area); $info->set_phone($phone); $info->set_newsletter($newsletter); $info->set_comments($comments); $info->set_hear($hear); $info->set_maildeliver($maildeliver); $info->set_info_date($info_date); $newinfo = $info->store(); if ($maildeliver == "y") { //confirm message header("location: contact_confirm.php"); } else { echo "Error in mail delivery"; } } } //-- news letter radio buttons if ($newsletter == 'n') { $letter_display = "Yes
"; $letter_display .= "No
"; }else { $letter_display = "Yes
"; $letter_display .= "No
"; } //-- how to find us selector $hear_opt_arr = get_hear_options(); $hear_val_arr = get_hear_values(); $hear_display = ""; ?> Centranum HRadvance - Contact Us




 

Contact Us
If you would like any further information regarding our products, services or opportunities for business partnerships, please contact us by completing this form, fields marked ** compulsory.

Thank you for your interest. We'll get back to you as soon as possible.

First Name**
Last Name**
Company**
   Phone**
E-Mail**

Please tell us how you found us:**


Comments/Questions:**


Receive Centranum newsletter with latest Talent and Performance management research:




Privacy Policy: The information above is requested for the purpose of providing to you information about our products and services. Confidentiality will be maintained. The information will not be provided to third parties, nor used for any other purpose.






 
image
image
image