isMobile() ? ($detect->isTablet() ? 'tablet' : 'phone' ) : "computer" ); if( $deviceType == 'phone' ){ $mobilePage = "reserve.html"; header("Location: http://mobile.photoboothplus.com/" . $mobilePage); exit; } } /* End Mobile Detection */ /* Confirmation message for email */ $conversionT = false; $confirmation = false; $confMsg = ""; $error = 0; $error_txt = ""; if( isset( $_POST ) && isset( $_POST['email'] ) && $_POST['email'] != '' ){ if( isset( $_POST['verify'] ) && $_POST['verify'] != '' ){ echo "There was a problem posting your message. Please go back and try again."; exit; } $msg = ""; $msg .= "First Name :: " . ( $_POST['contact_first'] != '' ? $_POST['contact_first'] : "Not Given" ) . "\n"; $msg .= "Last Name :: " . ( $_POST['contact_last'] != '' ? $_POST['contact_last'] : "Not Provided" ) . "\n"; $msg .= "Phone :: " . $_POST['phone'] . "\n"; $msg .= "Email :: " . $_POST['email'] . "\n\n"; $msg .= "Comments :: " . $_POST['comments'] . "\n\n"; $msg .= "Lead Date :: " . date("c") . "\n"; $msg .= "Lead Source :: " . $_POST['site'] . " | Check Availability \n\n"; $msg .= "Event Date :: " . $_POST['event_date'] . "\n"; $msg .= "Event Location :: " . $_POST['event_location'] . "\n"; $msg .= "Event Type :: " . $_POST['event_type'] . "\n"; $msg .= "Booth Type :: " . $_POST['photo_booth_style'] . "\n"; $msg .= "Package :: " . $_POST['photo_package'] . "\n"; $to = "service@photoboothplus.com"; $subj = "Photo Booth PLUS | Check Availability"; $message = $msg; $headers = "From:nobody@photoboothplus.com" . "\r\n" . "Reply-To: " . $_POST['email'] . "\r\n" . "Bcc: sandusky.rob@gmail.com" . "\r\n" . "X-Mailer: PHP/" . phpversion(); if( mail($to,$subj,$message,$headers) === false ){ $confirmation = true; $error++; $error_txt .= "We are unable to send your message at this time, please try again, or contact service@photoboothplus.com directly."; } else { $confirmation = true; $confMsg = "

Thank you!

"; $confMsg .= "

Thanks for choosing Photo Booth Plus. We just received your submission and will get back to you within 24 hours to confirm availability.

"; $confMsg .= "

Thank You

"; $conversionT = true; } } ?> <?php echo $pTitle;?>

Check Photo Booth Availability

We can save the date!

"; echo ( $confMsg != '' ? $confMsg : $error_txt ); } ?>

Give us a call or fill out the short form below to see if a photo booth is available for your event. We'll get back to you with an answer within 24 hours. At that time you can also reserve your booth if you choose to do so.

First Name:  

Last Name:  

Email:  

Phone:  

Event Date:  

Event Type:  

Location (city):  

Select a Package:  

Booth Style:  

Comments:

After submitting your information we'll contact you to confirm that the date is available.