'; if (stristr($str,$word)) $nb++; return $nb; } function isEmail($str) { if(eregi("^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,4})$", $str)) return true; else return false; } $form_4_class='form_4_error'; $form_4_error=''; $form_4_spam=0; $form_4_td_22_class='form_4_info'; $form_4_td_22_error=' '; $form_4_td_22_value=''; $form_4_td_23_class='form_4_info'; $form_4_td_23_error=' '; $form_4_td_23_value=''; $form_4_td_25_class='form_4_info'; $form_4_td_25_error=' '; $form_4_td_25_value=''; $form_4_td_26_class='form_4_info'; $form_4_td_26_error=' '; $select_63_value='Yes'; $select_63_checked='0'; if ('eimquyCG'==my_get_post('form_4_submit')) { $form_4_error_string='There are errors which need correction.'; $form_4_td_22_error_class='form_4_error'; $form_4_td_22_error_must='Error: This field is required!'; $form_4_td_22_error_spam='Error: http: < > are not allowed!'; $form_4_td_22_value=my_get_post('Name' ,true); $form_4_body.='Name : '.my_get_post('Name')."\r\n"; if (''==trim(my_get_post('Name'))) {$form_4_td_22_class=$form_4_td_22_error_class; $form_4_td_22_error=$form_4_td_22_error_must; $form_4_error=$form_4_error_string;} $form_4_td_22_spam=form_4_count_spam(my_get_post('Name')); if ($form_4_td_22_spam>0) { if ($form_4_td_22_class!=$form_4_td_22_error_class) {$form_4_td_22_class=$form_4_td_22_error_class; $form_4_td_22_error=$form_4_td_22_error_spam; $form_4_error=$form_4_error_string;} $form_4_spam += $form_4_td_22_spam; } $form_4_td_23_error_class='form_4_error'; $form_4_td_23_error_must='Error: This field is required!'; $form_4_td_23_error_validation='Error: This field must be an email!'; $form_4_td_23_error_spam='Error: http: < > are not allowed!'; $form_4_td_23_value=my_get_post('Email' ,true); $form_4_body.='Email : '.my_get_post('Email')."\r\n"; if (''==trim(my_get_post('Email'))) {$form_4_td_23_class=$form_4_td_23_error_class; $form_4_td_23_error=$form_4_td_23_error_must; $form_4_error=$form_4_error_string;} if ($form_4_td_23_class!=$form_4_td_23_error_class && ''!=trim(my_get_post('Email')) && !isEmail(my_get_post('Email'))) {$form_4_td_23_class=$form_4_td_23_error_class; $form_4_td_23_error=$form_4_td_23_error_validation; $form_4_error=$form_4_error_string;} $form_4_td_23_spam=form_4_count_spam(my_get_post('Email')); if ($form_4_td_23_spam>0) { if ($form_4_td_23_class!=$form_4_td_23_error_class) {$form_4_td_23_class=$form_4_td_23_error_class; $form_4_td_23_error=$form_4_td_23_error_spam; $form_4_error=$form_4_error_string;} $form_4_spam += $form_4_td_23_spam; } $form_4_td_25_error_class='form_4_error'; $form_4_td_25_error_spam='Error: http: < > are not allowed!'; $form_4_td_25_value=my_get_post('Telephone' ,true); $form_4_body.='Telephone : '.my_get_post('Telephone')."\r\n"; $form_4_td_25_spam=form_4_count_spam(my_get_post('Telephone')); if ($form_4_td_25_spam>0) { if ($form_4_td_25_class!=$form_4_td_25_error_class) {$form_4_td_25_class=$form_4_td_25_error_class; $form_4_td_25_error=$form_4_td_25_error_spam; $form_4_error=$form_4_error_string;} $form_4_spam += $form_4_td_25_spam; } $form_4_td_26_error_class='form_4_error'; $form_4_body.='mailing : '.my_get_post('mailing')."\r\n"; if (my_get_post('mailing') == $select_63_value) $select_63_checked=1; else $select_63_checked=0; if (''==trim($form_4_error) && 0==$form_4_spam) { $receiver='rushworth.promotions@gmail.com'; $subject='Join Rushworth Promotions Mailing List'; $subject= substr($subject, 0, 255); $subject=str_replace("\n", " ", $subject); $subject=str_replace("\r", " ", $subject); $body=str_replace("\n.", "\n..", $form_4_body); if ($body!="") { $result=mail($receiver,$subject,$body,$header); if (!result) { echo 'ERROR: The PHP mail function mail($receiver,$subject,$body,$header); does not work properly on your server, please contact your web hosting.'; exit; } } if ($result) { $url='http://www.rushworthfestival.org/promotions/thank-you.php'; if (!headers_sent()){ header('Location: '.$url); exit; }else{ echo ''; echo ''; exit; } exit; } } if (trim($form_4_error)) $form_4_error="$form_4_error"; } if ($form_4_spam >= 3) sleep(20); if ($form_4_spam >= 3) $form_4_td_22_value=''; if ($form_4_spam >= 3) $form_4_td_23_value=''; if ($form_4_spam >= 3) $form_4_td_25_value=''; if ($form_4_spam >= 3) $select_63_checked='0'; function form_1_count_spam($str) { $nb=0; $word='http:'; if (stristr($str,$word)) $nb++; $word='<'; if (stristr($str,$word)) $nb++; $word='>'; if (stristr($str,$word)) $nb++; return $nb; } $form_1_class='form_1_error'; $form_1_error=''; $form_1_spam=0; $form_1_td_1_class='form_1_info'; $form_1_td_1_error=' '; $form_1_td_1_value=''; $form_1_td_2_class='form_1_info'; $form_1_td_2_error=' '; $form_1_td_2_value=''; $form_1_td_3_class='form_1_info'; $form_1_td_3_error=' '; $form_1_td_3_value=''; $form_1_td_4_class='form_1_info'; $form_1_td_4_error=' '; $form_1_td_4_value=''; $form_1_td_5_class='form_1_info'; $form_1_td_5_error=' '; $form_1_td_5_value=''; if ('bcdefghi'==my_get_post('form_1_submit')) { $form_1_error_string='There are errors which need correction.'; $form_1_td_1_error_class='form_1_error'; $form_1_td_1_error_must='Error: This field is required!'; $form_1_td_1_error_spam='Error: http: < > are not allowed!'; $form_1_td_1_value=my_get_post('Name' ,true); $form_1_body.='Name : '.my_get_post('Name')."\r\n"; if (''==trim(my_get_post('Name'))) {$form_1_td_1_class=$form_1_td_1_error_class; $form_1_td_1_error=$form_1_td_1_error_must; $form_1_error=$form_1_error_string;} $form_1_td_1_spam=form_1_count_spam(my_get_post('Name')); if ($form_1_td_1_spam>0) { if ($form_1_td_1_class!=$form_1_td_1_error_class) {$form_1_td_1_class=$form_1_td_1_error_class; $form_1_td_1_error=$form_1_td_1_error_spam; $form_1_error=$form_1_error_string;} $form_1_spam += $form_1_td_1_spam; } $form_1_td_2_error_class='form_1_error'; $form_1_td_2_error_must='Error: This field is required!'; $form_1_td_2_error_validation='Error: This field must be an email!'; $form_1_td_2_error_spam='Error: http: < > are not allowed!'; $form_1_td_2_value=my_get_post('Email' ,true); $form_1_body.='Email : '.my_get_post('Email')."\r\n"; if (''==trim(my_get_post('Email'))) {$form_1_td_2_class=$form_1_td_2_error_class; $form_1_td_2_error=$form_1_td_2_error_must; $form_1_error=$form_1_error_string;} if ($form_1_td_2_class!=$form_1_td_2_error_class && ''!=trim(my_get_post('Email')) && !isEmail(my_get_post('Email'))) {$form_1_td_2_class=$form_1_td_2_error_class; $form_1_td_2_error=$form_1_td_2_error_validation; $form_1_error=$form_1_error_string;} $form_1_td_2_spam=form_1_count_spam(my_get_post('Email')); if ($form_1_td_2_spam>0) { if ($form_1_td_2_class!=$form_1_td_2_error_class) {$form_1_td_2_class=$form_1_td_2_error_class; $form_1_td_2_error=$form_1_td_2_error_spam; $form_1_error=$form_1_error_string;} $form_1_spam += $form_1_td_2_spam; } $form_1_td_3_error_class='form_1_error'; $form_1_td_3_error_spam='Error: http: < > are not allowed!'; $form_1_td_3_value=my_get_post('Address' ,true); $form_1_body.='Address : '.my_get_post('Address')."\r\n"; $form_1_td_3_spam=form_1_count_spam(my_get_post('Address')); if ($form_1_td_3_spam>0) { if ($form_1_td_3_class!=$form_1_td_3_error_class) {$form_1_td_3_class=$form_1_td_3_error_class; $form_1_td_3_error=$form_1_td_3_error_spam; $form_1_error=$form_1_error_string;} $form_1_spam += $form_1_td_3_spam; } $form_1_td_4_error_class='form_1_error'; $form_1_td_4_error_spam='Error: http: < > are not allowed!'; $form_1_td_4_value=my_get_post('Telephone' ,true); $form_1_body.='Telephone : '.my_get_post('Telephone')."\r\n"; $form_1_td_4_spam=form_1_count_spam(my_get_post('Telephone')); if ($form_1_td_4_spam>0) { if ($form_1_td_4_class!=$form_1_td_4_error_class) {$form_1_td_4_class=$form_1_td_4_error_class; $form_1_td_4_error=$form_1_td_4_error_spam; $form_1_error=$form_1_error_string;} $form_1_spam += $form_1_td_4_spam; } $form_1_td_5_error_class='form_1_error'; $form_1_td_5_error_spam='Error: http: < > are not allowed!'; $form_1_td_5_value=my_get_post('Comments' ,true); $form_1_body.='Comments : '.my_get_post('Comments')."\r\n"; $form_1_td_5_spam=form_1_count_spam(my_get_post('Comments')); if ($form_1_td_5_spam>0) { if ($form_1_td_5_class!=$form_1_td_5_error_class) {$form_1_td_5_class=$form_1_td_5_error_class; $form_1_td_5_error=$form_1_td_5_error_spam; $form_1_error=$form_1_error_string;} $form_1_spam += $form_1_td_5_spam; } if (''==trim($form_1_error) && 0==$form_1_spam) { $receiver='rushworth.promotions@gmail.com'; $subject='From Contact Us Page'; $subject= substr($subject, 0, 255); $subject=str_replace("\n", " ", $subject); $subject=str_replace("\r", " ", $subject); $body=str_replace("\n.", "\n..", $form_1_body); if ($body!="") { $result=mail($receiver,$subject,$body,$header); if (!result) { echo 'ERROR: The PHP mail function mail($receiver,$subject,$body,$header); does not work properly on your server, please contact your web hosting.'; exit; } } if ($result) { $url='http://www.rushworthfestival.org/promotions/thank-you.php'; if (!headers_sent()){ header('Location: '.$url); exit; }else{ echo ''; echo ''; exit; } exit; } } if (trim($form_1_error)) $form_1_error="$form_1_error"; } if ($form_1_spam >= 3) sleep(20); if ($form_1_spam >= 3) $form_1_td_1_value=''; if ($form_1_spam >= 3) $form_1_td_2_value=''; if ($form_1_spam >= 3) $form_1_td_3_value=''; if ($form_1_spam >= 3) $form_1_td_4_value=''; if ($form_1_spam >= 3) $form_1_td_5_value=''; ?>

Brought to you by the Rushworth Easter Heritage Festival Inc.

PO Box 163    Rushworth    Vic   3612   Tel: 0481 354 154

Our Next Event is on 16/12/2017...

    

Contact Us

For more information on upcoming events, or to join our mailing list, Please contact us.

 

Name:
Email:
Address:
Telephone:
Comments:
 

About Us

Rushworth Promotions is managed and run by the Rushworth Easter Heritage Festival Committee Inc.  We are a not-for profit organisation.

Our goal is to promote entertaining and interesting events to:

  • engage the community
  • promote our local district
  • support local business, and
  • fundraise for the Rushworth Easter Heritage Festival

Your attendance and participation at our events goes a long way to keeping our town vibrant. For more information, you may like to look at our Rushworth Easter Heritage Festival website.

Click Here

Volunteers

An organisation like ours cannot operate without volunteers.  We are always on the look out for people to assist us.  If you have any spare time at all and would like to join our organisation, we'd be pleased to hear from you.  Read more about volunteering on our Rushworth Easter Heritage Website.

Click Here

News and Events

Keep up to date with what we are doing. Join our mailing list. It's easy,  free and we will not share your information with any other third party.

Name:
Email:
Telephone:
I want to join the mailing list