Contact//CHECK TO SEE IF THE USER HAS SUBMITTED THE FORM if($_REQUEST['submitok']){ //GRAB OUR POST DATA $contact=stripslashes($_REQUEST['Contact']); $company=stripslashes($_REQUEST['Company']); $address=stripslashes($_REQUEST['Address']); $city=stripslashes($_REQUEST['City']); $state=stripslashes($_REQUEST['State']); $zip=stripslashes($_REQUEST['Zip']); $email=stripslashes($_REQUEST['Email']); $phone=stripslashes($_REQUEST['Phone']); $comments=stripslashes($_REQUEST['Comments']); //CONSTRUCT HTML EMAIL BODY $body = " Contact: $contactCompany: $company Address: $address City: $city State: $state Zip: $zip Email: $email Phone: $phone Comments: $comments "; //CONSTRUCT TEXT EMAIL BODY $body_notags =" Contact: $contact Company: $company Address: $address City: $city State: $state Zip: $zip Email: $email Phone: $phone Comments: $comments "; // include "_face/class/mimemail/htmlMimeMail.php"; // $messageSubject = "Contact from $contact"; $mail = new htmlMimeMail(); $mail->setHtml($body, $body_notags); $mail->setReturnPath("noreply@greatlakesbuildingtrades.com"); $mail->setFrom('noreply@greatlakesbuildingtrades.com'); $mail->setSubject($messageSubject); $mail->setHeader('X-Mailer', 'HTML Mime mail class (http://www.phpguru.org)'); // //if($mail->send(array('michele@pclearn.org'), 'mail')){ if($mail->send(array('jay@werkbot.com'), 'mail')){ print " Thank you for contacting us!"; print "If requested we will be in touch with you soon. "; }else{ print "An error has occured!"; print "We are sorry for the inconvenience, you may try to submit again. "; echo $common->contactForm($contact, $company, $address, $city, $state, $zip, $email, $phone, $comments); } }else{ echo $common->contactForm(); } ?> |
![]() |
For more information on on selecting a trade union for one job or many, contact Thomas Sandell, President, the Great Lakes Building Trades, 185 Pennbriar Dr. Erie, at 814-454-5324. For information on the Industry Partnership and its activities, contact Stacy Weber at Strategy Solutions, Inc., 814-480-8000 or email to stacy@getstrategy.com. |