Please enter a valid and not hotmail or yahoo email."; $error = 1; } if ($name == "") { $name_failed="Please enter your name."; $error = 1; } if ($company == "") { $company_failed = "Please enter your Company Name."; $error = 1; } if ($position == "") { $position_failed = "Please enter your position in the company."; $error = 1; } if($phone == "") { $phone_failed = "Enter a valid phone number."; $error = 1; } if ($error == 1) { $error_msg = "

  Required fields input missing or error.

"; }else { //send email to admin $to = "info@centranum.com"; //$to = "j26.nz@hotmail.com"; $subject = "Request for Trial"; $message = "There is a request for trial by
Name: $name
Email: $email
"; if ($website) { $message .= "Website: $website
"; } if ($comments) { $message .= "Comment: $comments
"; } $message .= "Modules asked for:
"; if($performance_management == 'Y') { $message .= "Performance Management
"; } if($job_performance_management == 'Y') { $message .= "Job Relevant Performance Management
"; } if($capability_development == 'Y') { $message .= "Capability Development
"; } if($competency_management == 'Y') { $message .= "Competency Management
"; } if($feedback == 'Y') { $message .= "Customisable 360 feedback
"; } if($succession_modules == 'Y') { $message .= "Succession Modules
"; } if (sendmail($to, $subject, $message, $headers)=="error") { $error_msg = "
   Sorry! The email could not be delivered to $email. Please try again later.
"; $maildeliver = "n"; }else { $maildeliver = "y"; //send email to user $to = $email; $subject = "Request for Trial - Centranum"; $message = " As Requested Trial Centranum

Dear $name:

Thanks for registering for trial version. We will be in contact with you shortly.

In the meantime, if you have any questions, please email us at info@centranum.com

Thank you,
The Centranum Team

"; $headers = "MIME-Version: 1.0\r\n"."Content-type: text/html; charset=iso-8859-1\r\n". "From: info@centranum.com\r\n"."Reply-To: info@centranum.com\r\n"; if (sendmail($to, $subject, $message, $headers)=="error") { $error_msg = "
   Sorry! The email could not be delivered to $email. Please try again later.
"; $maildeliver = "n"; }else { $maildeliver = "y"; } } //record info to database $trial = new request_trial(); $trial->name = $name; $trial->email = $email; $trial->website = $website; $trial->phone = $phone; $trial->company = $company; $trial->position = $position; $trial->maildeliver = $maildeliver; $trial->performance_management = $performance_management; $trial->job_performance_management = $job_performance_management ; $trial->capability_development = $capability_development ; $trial->competency_management = $competency_management ; $trial->feedback = $feedback; $trial->succession_modules = $succession_modules ; $trial->comments = $comments ; $trial->store(); if($maildeliver == "y") { //confirm message header("location: http://www.centranum.com/register_confirm"); //echo "Your request is sent. Centranum team will contact you shortly. Thanks"; //exit; } $email_failed = ""; $name_failed = ""; $position_failed = ""; $phone_failed = ""; $company_failed = ""; $email = ""; $name = ""; } } ?> Request for Demo
Centranum

Request for Demo

Complete the form below and we will email you the access information and instruction for the trial.