• Hours of Operation: 8:00 a.m. – 4:00 p.m.
    Benefits & WSIB will be held on Mondays and Tuesdays
  • siteadmin@usw7135.ca
1031 Barton St. E.

Hamilton, Ontario L8L 3E2

1-855-879-7135

Toll Free Number

50th Anniversary Celebration Picnic RSVP

  • Home
  • 50th Anniversary Celebration Picnic RSVP

Registration is now closed.

[insert_php]
/*
global $wpdb;

if ($_POST[“button”] == “Submit”)
{
$time = function_exists(‘microtime’) ? microtime(true) : time();
$time = number_format($time, 4, ‘.’, ”);
foreach ($_POST as $key => $value)
{
if ($key != ‘button’)
{
$wpdb->insert( ‘usw7135ca_cf7dbplugin_submits’, array( ‘submit_time’ => $time, ‘form_name’ => ’50th Anniversary Celebration’, ‘field_name’ => $key, ‘field_value’ => $value ));
}
}
//SEND MAIL TO ADMIN
$to = ‘paras.prajapati@unionstrategiesinc.com’;
$subject = ‘RSVP to the 50th Anniversary Celebration’;
$body = ‘

Name: ‘ . $_POST[‘first-name’] . ‘ ‘ . $_POST[‘last-name’] . ‘

Email: ‘ . $_POST[‘your-email’] . ‘

Clock#: ‘ . $_POST[‘clock-num’] . ‘

Total number of people attending: ‘ . $_POST[‘totalattend-num’] . ‘

Ordered:

Total Male – Adult: ‘ . $_POST[‘male-num’] . ‘

Size selected:

XS: ‘ . $_POST[‘male-xs’] . ‘

S: ‘ . $_POST[‘male-s’] . ‘

M: ‘ . $_POST[‘male-m’] . ‘

L: ‘ . $_POST[‘male-l’] . ‘

XL: ‘ . $_POST[‘male-xl’] . ‘

2XL: ‘ . $_POST[‘male-2xl’] . ‘

3XL: ‘ . $_POST[‘male-3xl’] . ‘

4XL: ‘ . $_POST[‘male-4xl’] . ‘

Total Female – Adult: ‘ . $_POST[‘female-num’] . ‘

Size selected:

XS: ‘ . $_POST[‘female-xs’] . ‘

S: ‘ . $_POST[‘female-s’] . ‘

M: ‘ . $_POST[‘female-m’] . ‘

L: ‘ . $_POST[‘female-l’] . ‘

XL: ‘ . $_POST[‘female-xl’] . ‘

2XL: ‘ . $_POST[‘female-2xl’] . ‘

Total Male – Child: ‘ . $_POST[‘boy-num’] . ‘

Size selected:

XS: ‘ . $_POST[‘boy-xs’] . ‘

S: ‘ . $_POST[‘boy-s’] . ‘

M: ‘ . $_POST[‘boy-m’] . ‘

L: ‘ . $_POST[‘boy-l’] . ‘

XL: ‘ . $_POST[‘boy-xl’] . ‘

Total Female – Child: ‘ . $_POST[‘girl-num’] . ‘

Size selected:

XS: ‘ . $_POST[‘girl-xs’] . ‘

S: ‘ . $_POST[‘girl-s’] . ‘

M: ‘ . $_POST[‘girl-m’] . ‘

L: ‘ . $_POST[‘girl-l’] . ‘

XL: ‘ . $_POST[‘girl-xl’] . ‘

Transportation needed: ‘ . $_POST[‘your-trans’] . ‘

‘;
$headers = “From: USW 7135 ” . “\r\n”;
$headers .= “MIME-Version: 1.0” . “\r\n”;
$headers .= “Content-type:text/html;charset=UTF-8” . “\r\n”;
mail( $to , $subject , $body , $headers );
//END SEND MAIL TO ADMIN

//SEND MAIL TO MEMBER
$to = $_POST[‘your-email’];
$subject = ‘RSVP to the 50th Anniversary Celebration Receipt’;
if ($_POST[‘your-trans’] == ‘Yes’)
{
$bus = ‘Shuttle bus details will be posted on the website at usw7135.ca in June, 2017.’;
}
$body = ‘

This is your entry form. Please print this email and bring it with you to the 50th Anniversary Celebration Picnic on June 17, 2017.

Name: ‘ . $_POST[‘first-name’] . ‘ ‘ . $_POST[‘last-name’] . ‘

Email: ‘ . $_POST[‘your-email’] . ‘

Clock#: ‘ . $_POST[‘clock-num’] . ‘

Total number of people attending: ‘ . $_POST[‘totalattend-num’] . ‘

Ordered:

Total Male – Adult: ‘ . $_POST[‘male-num’] . ‘

Size selected:

XS: ‘ . $_POST[‘male-xs’] . ‘

S: ‘ . $_POST[‘male-s’] . ‘

M: ‘ . $_POST[‘male-m’] . ‘

L: ‘ . $_POST[‘male-l’] . ‘

XL: ‘ . $_POST[‘male-xl’] . ‘

2XL: ‘ . $_POST[‘male-2xl’] . ‘

3XL: ‘ . $_POST[‘male-3xl’] . ‘

4XL: ‘ . $_POST[‘male-4xl’] . ‘

Total Female – Adult: ‘ . $_POST[‘female-num’] . ‘

Size selected:

XS: ‘ . $_POST[‘female-xs’] . ‘

S: ‘ . $_POST[‘female-s’] . ‘

M: ‘ . $_POST[‘female-m’] . ‘

L: ‘ . $_POST[‘female-l’] . ‘

XL: ‘ . $_POST[‘female-xl’] . ‘

2XL: ‘ . $_POST[‘female-2xl’] . ‘

Total Male – Child: ‘ . $_POST[‘boy-num’] . ‘

Size selected:

XS: ‘ . $_POST[‘boy-xs’] . ‘

S: ‘ . $_POST[‘boy-s’] . ‘

M: ‘ . $_POST[‘boy-m’] . ‘

L: ‘ . $_POST[‘boy-l’] . ‘

XL: ‘ . $_POST[‘boy-xl’] . ‘

Total Female – Child: ‘ . $_POST[‘girl-num’] . ‘

Size selected:

XS: ‘ . $_POST[‘girl-xs’] . ‘

S: ‘ . $_POST[‘girl-s’] . ‘

M: ‘ . $_POST[‘girl-m’] . ‘

L: ‘ . $_POST[‘girl-l’] . ‘

XL: ‘ . $_POST[‘girl-xl’] . ‘

Transportation needed: ‘ . $_POST[‘your-trans’] . ‘

‘ . $bus . ‘

‘;
$headers = “From: USW 7135 ” . “\r\n”;
$headers .= “MIME-Version: 1.0” . “\r\n”;
$headers .= “Content-type:text/html;charset=UTF-8” . “\r\n”;
mail( $to , $subject , $body , $headers );
//END SEND MAIL TO MEMBER
echo ‘

RSVP Sent Successfully

You will receive email confirmation shortly.

Mark your calendars! Thank you for registering for the USW 7135 50th Anniversary Celebration Picnic! Please print the receipt email and bring it with you to the picnic on June 17, 2017.

You may now close this page.

‘;
}
*/
[/insert_php]


Select Language »