ncpc skylands

Contact the NCPC Skylands Region

is_valid) { $_SESSION['contactform']['passedimage'] = true; return true; } return false; } if($config['imagever'] == true){// If the image verification is enabled if(!isset($_SESSION['contactform']['passedimage'])){//We dont want to show the user the image verification if they have already passed it. $_SESSION['contactform']['passedimage'] = false; } require_once("recaptchalib.php");//Include the recaptcha class $javascript = << var RecaptchaOptions = { theme: 'custom', lang: 'en', custom_theme_widget: 'recaptcha_widget' }; EOD; $public = "6LcVYgQAAAAAABG5IOef21_v3tuhZXGRKEg-WXdP"; //Public Key for recaptcha $private = "6LcVYgQAAAAAAJFjVVeejrCHaugQ0pT5dT10IvsV";//Private key for recaptcha $error = null; //No Errors as of yet $recaptchahtml = recaptcha_get_html($public, $error);//Get the recaptcha HTML echo $javascript;//Display the recaptcha Javascript } if(!isset($_SESSION['contactform']['checktime'])){ // We only want to check how quickly the user entered the form once $_SESSION['contactform']['checktime'] = true; } function contactForm() {// This function contains all the form markup and HTML global $config, $recaptchahtml; $form = <<

! !

Please type in the word "NCPC" in this box to show you're a person: !

What is the subject for your message? !