$value) { if (is_array($value)) { $value = implode(",", $value); } $name = "$" . $key; $code = str_replace($name, $value, $code); } $code = str_replace('$ipaddress', $_SERVER['REMOTE_ADDR'], $code); return $code; } if ($_SERVER['REQUEST_METHOD'] == 'POST' && isset($_POST['formid']) && $_POST['formid'] == 'accordion1') { $mailto = 'sales@carvedimpressions.com'; $mailfrom = isset($_POST['email']) ? $_POST['email'] : $mailto; $subject = 'Question about 24x30 Key Single Upright-Grand'; $message = ''; $success_url = './../Info/formsuccess.html'; $error_url = './../Info/formerror.html'; $autoresponder_from = 'sales@carvedimpressions.com'; $autoresponder_name = 'Sales Manager'; $autoresponder_to = isset($_POST['email']) ? $_POST['email'] : $mailfrom; $autoresponder_subject = 'Thank you for your question'; $autoresponder_message = 'We sincerely appreciate your question concerning our products and will make every attempt to answer your question within the next 24-48 hours. However, due to unforseen circumstances, we sometimes are not able to answer all of our inbound messages all at once. Please be patient with us and we will try and get to your message as soon as we are able. Thank you very much! '; $eol = "\n"; $error = ''; $internalfields = array ("submit", "reset", "send", "filesize", "formid", "captcha_code", "recaptcha_challenge_field", "recaptcha_response_field", "g-recaptcha-response"); $mail = new PHPMailer(true); try { $mail->Subject = stripslashes($subject); $mail->From = $mailfrom; $mail->FromName = $mailfrom; $mailto_array = explode(",", $mailto); for ($i = 0; $i < count($mailto_array); $i++) { if(trim($mailto_array[$i]) != "") { $mail->AddAddress($mailto_array[$i], ""); } } if (!ValidateEmail($mailfrom)) { $error .= "The specified email address (" . $mailfrom . ") is invalid!\n
"; throw new Exception($error); } $mail->AddReplyTo($mailfrom); $message .= $eol; $message .= "IP Address : "; $message .= $_SERVER['REMOTE_ADDR']; $message .= $eol; foreach ($_POST as $key => $value) { if (!in_array(strtolower($key), $internalfields)) { if (is_array($value)) { $message .= ucwords(str_replace("_", " ", $key)) . " : " . implode(",", $value) . $eol; } else { $message .= ucwords(str_replace("_", " ", $key)) . " : " . $value . $eol; } } } $mail->CharSet = 'ISO-8859-1'; if (!empty($_FILES)) { foreach ($_FILES as $key => $value) { if ($_FILES[$key]['error'] == 0) { if (is_array($_FILES[$key]['name'])) { $count = count($_FILES[$key]['name']); for ($file = 0; $file < $count; $file++) { $mail->AddAttachment($_FILES[$key]['tmp_name'][$file], $_FILES[$key]['name'][$file]); } } else { $mail->AddAttachment($_FILES[$key]['tmp_name'], $_FILES[$key]['name']); } } } } $mail->WordWrap = 80; $mail->Body = $message; $mail->Send(); if (!ValidateEmail($autoresponder_from)) { $error .= "The specified autoresponder email address (" . $autoresponder_from . ") is invalid!\n
"; throw new Exception($error); } $mail->ClearAddresses(); $mail->ClearAttachments(); $autoresponder_subject = ReplaceVariables($autoresponder_subject); $mail->Subject = stripslashes($autoresponder_subject); $mail->From = $autoresponder_from; $mail->FromName = $autoresponder_name; $mail->AddAddress($autoresponder_to, ""); $mail->AddReplyTo($autoresponder_from); $autoresponder_message = ReplaceVariables($autoresponder_message); $autoresponder_message = stripslashes($autoresponder_message); $mail->MsgHTML($autoresponder_message); $mail->IsHTML(true); $mail->Send(); header('Location: '.$success_url); } catch (Exception $e) { $errorcode = file_get_contents($error_url); $replace = "##error##"; $errorcode = str_replace($replace, $e->getMessage(), $errorcode); echo $errorcode; } exit; } if ($_SERVER['REQUEST_METHOD'] == 'POST' && isset($_POST['formid']) && $_POST['formid'] == 'accordion2') { $mailto = 'sales@carvedimpressions.com'; $mailfrom = isset($_POST['email']) ? $_POST['email'] : $mailto; $subject = 'Question about 30x60 Frankin Upright-Grand'; $message = ''; $success_url = './../Info/formsuccess.html'; $error_url = './../Info/formerror.html'; $autoresponder_from = 'sales@carvedimpressions.com'; $autoresponder_name = 'Sales Manager'; $autoresponder_to = isset($_POST['email']) ? $_POST['email'] : $mailfrom; $autoresponder_subject = 'Thank you for your question'; $autoresponder_message = 'We sincerely appreciate your question concerning our products and will make every attempt to answer your question within the next 24-48 hours. However, due to unforseen circumstances, we sometimes are not able to answer all of our inbound messages all at once. Please be patient with us and we will try and get to your message as soon as we are able. Thank you very much! '; $eol = "\n"; $error = ''; $internalfields = array ("submit", "reset", "send", "filesize", "formid", "captcha_code", "recaptcha_challenge_field", "recaptcha_response_field", "g-recaptcha-response"); $mail = new PHPMailer(true); try { $mail->Subject = stripslashes($subject); $mail->From = $mailfrom; $mail->FromName = $mailfrom; $mailto_array = explode(",", $mailto); for ($i = 0; $i < count($mailto_array); $i++) { if(trim($mailto_array[$i]) != "") { $mail->AddAddress($mailto_array[$i], ""); } } if (!ValidateEmail($mailfrom)) { $error .= "The specified email address (" . $mailfrom . ") is invalid!\n
"; throw new Exception($error); } $mail->AddReplyTo($mailfrom); $message .= $eol; $message .= "IP Address : "; $message .= $_SERVER['REMOTE_ADDR']; $message .= $eol; foreach ($_POST as $key => $value) { if (!in_array(strtolower($key), $internalfields)) { if (is_array($value)) { $message .= ucwords(str_replace("_", " ", $key)) . " : " . implode(",", $value) . $eol; } else { $message .= ucwords(str_replace("_", " ", $key)) . " : " . $value . $eol; } } } $mail->CharSet = 'ISO-8859-1'; if (!empty($_FILES)) { foreach ($_FILES as $key => $value) { if ($_FILES[$key]['error'] == 0) { if (is_array($_FILES[$key]['name'])) { $count = count($_FILES[$key]['name']); for ($file = 0; $file < $count; $file++) { $mail->AddAttachment($_FILES[$key]['tmp_name'][$file], $_FILES[$key]['name'][$file]); } } else { $mail->AddAttachment($_FILES[$key]['tmp_name'], $_FILES[$key]['name']); } } } } $mail->WordWrap = 80; $mail->Body = $message; $mail->Send(); if (!ValidateEmail($autoresponder_from)) { $error .= "The specified autoresponder email address (" . $autoresponder_from . ") is invalid!\n
"; throw new Exception($error); } $mail->ClearAddresses(); $mail->ClearAttachments(); $autoresponder_subject = ReplaceVariables($autoresponder_subject); $mail->Subject = stripslashes($autoresponder_subject); $mail->From = $autoresponder_from; $mail->FromName = $autoresponder_name; $mail->AddAddress($autoresponder_to, ""); $mail->AddReplyTo($autoresponder_from); $autoresponder_message = ReplaceVariables($autoresponder_message); $autoresponder_message = stripslashes($autoresponder_message); $mail->MsgHTML($autoresponder_message); $mail->IsHTML(true); $mail->Send(); header('Location: '.$success_url); } catch (Exception $e) { $errorcode = file_get_contents($error_url); $replace = "##error##"; $errorcode = str_replace($replace, $e->getMessage(), $errorcode); echo $errorcode; } exit; } if ($_SERVER['REQUEST_METHOD'] == 'POST' && isset($_POST['formid']) && $_POST['formid'] == 'accordion3') { $mailto = 'sales@carvedimpressions.com'; $mailfrom = isset($_POST['email']) ? $_POST['email'] : $mailto; $subject = 'Question about 26x36 Teardrop Upright-Grand'; $message = ''; $success_url = './../Info/formsuccess.html'; $error_url = './../Info/formerror.html'; $autoresponder_from = 'sales@carvedimpressions.com'; $autoresponder_name = 'Sales Manager'; $autoresponder_to = isset($_POST['email']) ? $_POST['email'] : $mailfrom; $autoresponder_subject = 'Thank you for your question'; $autoresponder_message = 'We sincerely appreciate your question concerning our products and will make every attempt to answer your question within the next 24-48 hours. However, due to unforseen circumstances, we sometimes are not able to answer all of our inbound messages all at once. Please be patient with us and we will try and get to your message as soon as we are able. Thank you very much! '; $eol = "\n"; $error = ''; $internalfields = array ("submit", "reset", "send", "filesize", "formid", "captcha_code", "recaptcha_challenge_field", "recaptcha_response_field", "g-recaptcha-response"); $mail = new PHPMailer(true); try { $mail->Subject = stripslashes($subject); $mail->From = $mailfrom; $mail->FromName = $mailfrom; $mailto_array = explode(",", $mailto); for ($i = 0; $i < count($mailto_array); $i++) { if(trim($mailto_array[$i]) != "") { $mail->AddAddress($mailto_array[$i], ""); } } if (!ValidateEmail($mailfrom)) { $error .= "The specified email address (" . $mailfrom . ") is invalid!\n
"; throw new Exception($error); } $mail->AddReplyTo($mailfrom); $message .= $eol; $message .= "IP Address : "; $message .= $_SERVER['REMOTE_ADDR']; $message .= $eol; foreach ($_POST as $key => $value) { if (!in_array(strtolower($key), $internalfields)) { if (is_array($value)) { $message .= ucwords(str_replace("_", " ", $key)) . " : " . implode(",", $value) . $eol; } else { $message .= ucwords(str_replace("_", " ", $key)) . " : " . $value . $eol; } } } $mail->CharSet = 'ISO-8859-1'; if (!empty($_FILES)) { foreach ($_FILES as $key => $value) { if ($_FILES[$key]['error'] == 0) { if (is_array($_FILES[$key]['name'])) { $count = count($_FILES[$key]['name']); for ($file = 0; $file < $count; $file++) { $mail->AddAttachment($_FILES[$key]['tmp_name'][$file], $_FILES[$key]['name'][$file]); } } else { $mail->AddAttachment($_FILES[$key]['tmp_name'], $_FILES[$key]['name']); } } } } $mail->WordWrap = 80; $mail->Body = $message; $mail->Send(); if (!ValidateEmail($autoresponder_from)) { $error .= "The specified autoresponder email address (" . $autoresponder_from . ") is invalid!\n
"; throw new Exception($error); } $mail->ClearAddresses(); $mail->ClearAttachments(); $autoresponder_subject = ReplaceVariables($autoresponder_subject); $mail->Subject = stripslashes($autoresponder_subject); $mail->From = $autoresponder_from; $mail->FromName = $autoresponder_name; $mail->AddAddress($autoresponder_to, ""); $mail->AddReplyTo($autoresponder_from); $autoresponder_message = ReplaceVariables($autoresponder_message); $autoresponder_message = stripslashes($autoresponder_message); $mail->MsgHTML($autoresponder_message); $mail->IsHTML(true); $mail->Send(); header('Location: '.$success_url); } catch (Exception $e) { $errorcode = file_get_contents($error_url); $replace = "##error##"; $errorcode = str_replace($replace, $e->getMessage(), $errorcode); echo $errorcode; } exit; } if ($_SERVER['REQUEST_METHOD'] == 'POST' && isset($_POST['formid']) && $_POST['formid'] == 'accordion4') { $mailto = 'sales@carvedimpressions.com'; $mailfrom = isset($_POST['email']) ? $_POST['email'] : $mailto; $subject = 'Question about 30x26 French Curve Single Upright-Grand'; $message = ''; $success_url = './../Info/formsuccess.html'; $error_url = './../Info/formerror.html'; $autoresponder_from = 'sales@carvedimpressions.com'; $autoresponder_name = 'Sales Manager'; $autoresponder_to = isset($_POST['email']) ? $_POST['email'] : $mailfrom; $autoresponder_subject = 'Thank you for your question'; $autoresponder_message = 'We sincerely appreciate your question concerning our products and will make every attempt to answer your question within the next 24-48 hours. However, due to unforseen circumstances, we sometimes are not able to answer all of our inbound messages all at once. Please be patient with us and we will try and get to your message as soon as we are able. Thank you very much! '; $eol = "\n"; $error = ''; $internalfields = array ("submit", "reset", "send", "filesize", "formid", "captcha_code", "recaptcha_challenge_field", "recaptcha_response_field", "g-recaptcha-response"); $mail = new PHPMailer(true); try { $mail->Subject = stripslashes($subject); $mail->From = $mailfrom; $mail->FromName = $mailfrom; $mailto_array = explode(",", $mailto); for ($i = 0; $i < count($mailto_array); $i++) { if(trim($mailto_array[$i]) != "") { $mail->AddAddress($mailto_array[$i], ""); } } if (!ValidateEmail($mailfrom)) { $error .= "The specified email address (" . $mailfrom . ") is invalid!\n
"; throw new Exception($error); } $mail->AddReplyTo($mailfrom); $message .= $eol; $message .= "IP Address : "; $message .= $_SERVER['REMOTE_ADDR']; $message .= $eol; foreach ($_POST as $key => $value) { if (!in_array(strtolower($key), $internalfields)) { if (is_array($value)) { $message .= ucwords(str_replace("_", " ", $key)) . " : " . implode(",", $value) . $eol; } else { $message .= ucwords(str_replace("_", " ", $key)) . " : " . $value . $eol; } } } $mail->CharSet = 'ISO-8859-1'; if (!empty($_FILES)) { foreach ($_FILES as $key => $value) { if ($_FILES[$key]['error'] == 0) { if (is_array($_FILES[$key]['name'])) { $count = count($_FILES[$key]['name']); for ($file = 0; $file < $count; $file++) { $mail->AddAttachment($_FILES[$key]['tmp_name'][$file], $_FILES[$key]['name'][$file]); } } else { $mail->AddAttachment($_FILES[$key]['tmp_name'], $_FILES[$key]['name']); } } } } $mail->WordWrap = 80; $mail->Body = $message; $mail->Send(); if (!ValidateEmail($autoresponder_from)) { $error .= "The specified autoresponder email address (" . $autoresponder_from . ") is invalid!\n
"; throw new Exception($error); } $mail->ClearAddresses(); $mail->ClearAttachments(); $autoresponder_subject = ReplaceVariables($autoresponder_subject); $mail->Subject = stripslashes($autoresponder_subject); $mail->From = $autoresponder_from; $mail->FromName = $autoresponder_name; $mail->AddAddress($autoresponder_to, ""); $mail->AddReplyTo($autoresponder_from); $autoresponder_message = ReplaceVariables($autoresponder_message); $autoresponder_message = stripslashes($autoresponder_message); $mail->MsgHTML($autoresponder_message); $mail->IsHTML(true); $mail->Send(); header('Location: '.$success_url); } catch (Exception $e) { $errorcode = file_get_contents($error_url); $replace = "##error##"; $errorcode = str_replace($replace, $e->getMessage(), $errorcode); echo $errorcode; } exit; } if ($_SERVER['REQUEST_METHOD'] == 'POST' && isset($_POST['formid']) && $_POST['formid'] == 'accordion6') { $mailto = 'sales@carvedimpressions.com'; $mailfrom = isset($_POST['email']) ? $_POST['email'] : $mailto; $subject = 'Question about 24x28 Block 'O' Upright-Grand'; $message = ''; $success_url = './../Info/formsuccess.html'; $error_url = './../Info/formerror.html'; $autoresponder_from = 'sales@carvedimpressions.com'; $autoresponder_name = 'Sales Manager'; $autoresponder_to = isset($_POST['email']) ? $_POST['email'] : $mailfrom; $autoresponder_subject = 'Thank you for your question'; $autoresponder_message = 'We sincerely appreciate your question concerning our products and will make every attempt to answer your question within the next 24-48 hours. However, due to unforseen circumstances, we sometimes are not able to answer all of our inbound messages all at once. Please be patient with us and we will try and get to your message as soon as we are able. Thank you very much! '; $eol = "\n"; $error = ''; $internalfields = array ("submit", "reset", "send", "filesize", "formid", "captcha_code", "recaptcha_challenge_field", "recaptcha_response_field", "g-recaptcha-response"); $mail = new PHPMailer(true); try { $mail->Subject = stripslashes($subject); $mail->From = $mailfrom; $mail->FromName = $mailfrom; $mailto_array = explode(",", $mailto); for ($i = 0; $i < count($mailto_array); $i++) { if(trim($mailto_array[$i]) != "") { $mail->AddAddress($mailto_array[$i], ""); } } if (!ValidateEmail($mailfrom)) { $error .= "The specified email address (" . $mailfrom . ") is invalid!\n
"; throw new Exception($error); } $mail->AddReplyTo($mailfrom); $message .= $eol; $message .= "IP Address : "; $message .= $_SERVER['REMOTE_ADDR']; $message .= $eol; foreach ($_POST as $key => $value) { if (!in_array(strtolower($key), $internalfields)) { if (is_array($value)) { $message .= ucwords(str_replace("_", " ", $key)) . " : " . implode(",", $value) . $eol; } else { $message .= ucwords(str_replace("_", " ", $key)) . " : " . $value . $eol; } } } $mail->CharSet = 'ISO-8859-1'; if (!empty($_FILES)) { foreach ($_FILES as $key => $value) { if ($_FILES[$key]['error'] == 0) { if (is_array($_FILES[$key]['name'])) { $count = count($_FILES[$key]['name']); for ($file = 0; $file < $count; $file++) { $mail->AddAttachment($_FILES[$key]['tmp_name'][$file], $_FILES[$key]['name'][$file]); } } else { $mail->AddAttachment($_FILES[$key]['tmp_name'], $_FILES[$key]['name']); } } } } $mail->WordWrap = 80; $mail->Body = $message; $mail->Send(); if (!ValidateEmail($autoresponder_from)) { $error .= "The specified autoresponder email address (" . $autoresponder_from . ") is invalid!\n
"; throw new Exception($error); } $mail->ClearAddresses(); $mail->ClearAttachments(); $autoresponder_subject = ReplaceVariables($autoresponder_subject); $mail->Subject = stripslashes($autoresponder_subject); $mail->From = $autoresponder_from; $mail->FromName = $autoresponder_name; $mail->AddAddress($autoresponder_to, ""); $mail->AddReplyTo($autoresponder_from); $autoresponder_message = ReplaceVariables($autoresponder_message); $autoresponder_message = stripslashes($autoresponder_message); $mail->MsgHTML($autoresponder_message); $mail->IsHTML(true); $mail->Send(); header('Location: '.$success_url); } catch (Exception $e) { $errorcode = file_get_contents($error_url); $replace = "##error##"; $errorcode = str_replace($replace, $e->getMessage(), $errorcode); echo $errorcode; } exit; } if ($_SERVER['REQUEST_METHOD'] == 'POST' && isset($_POST['formid']) && $_POST['formid'] == 'accordion5') { $mailto = 'sales@carvedimpressions.com'; $mailfrom = isset($_POST['email']) ? $_POST['email'] : $mailto; $subject = 'Question about 24x26 Single Heart Upright-Grand'; $message = ''; $success_url = './../Info/formsuccess.html'; $error_url = './../Info/formerror.html'; $autoresponder_from = 'sales@carvedimpressions.com'; $autoresponder_name = 'Sales Manager'; $autoresponder_to = isset($_POST['email']) ? $_POST['email'] : $mailfrom; $autoresponder_subject = 'Thank you for your question'; $autoresponder_message = 'We sincerely appreciate your question concerning our products and will make every attempt to answer your question within the next 24-48 hours. However, due to unforseen circumstances, we sometimes are not able to answer all of our inbound messages all at once. Please be patient with us and we will try and get to your message as soon as we are able. Thank you very much! '; $eol = "\n"; $error = ''; $internalfields = array ("submit", "reset", "send", "filesize", "formid", "captcha_code", "recaptcha_challenge_field", "recaptcha_response_field", "g-recaptcha-response"); $mail = new PHPMailer(true); try { $mail->Subject = stripslashes($subject); $mail->From = $mailfrom; $mail->FromName = $mailfrom; $mailto_array = explode(",", $mailto); for ($i = 0; $i < count($mailto_array); $i++) { if(trim($mailto_array[$i]) != "") { $mail->AddAddress($mailto_array[$i], ""); } } if (!ValidateEmail($mailfrom)) { $error .= "The specified email address (" . $mailfrom . ") is invalid!\n
"; throw new Exception($error); } $mail->AddReplyTo($mailfrom); $message .= $eol; $message .= "IP Address : "; $message .= $_SERVER['REMOTE_ADDR']; $message .= $eol; foreach ($_POST as $key => $value) { if (!in_array(strtolower($key), $internalfields)) { if (is_array($value)) { $message .= ucwords(str_replace("_", " ", $key)) . " : " . implode(",", $value) . $eol; } else { $message .= ucwords(str_replace("_", " ", $key)) . " : " . $value . $eol; } } } $mail->CharSet = 'ISO-8859-1'; if (!empty($_FILES)) { foreach ($_FILES as $key => $value) { if ($_FILES[$key]['error'] == 0) { if (is_array($_FILES[$key]['name'])) { $count = count($_FILES[$key]['name']); for ($file = 0; $file < $count; $file++) { $mail->AddAttachment($_FILES[$key]['tmp_name'][$file], $_FILES[$key]['name'][$file]); } } else { $mail->AddAttachment($_FILES[$key]['tmp_name'], $_FILES[$key]['name']); } } } } $mail->WordWrap = 80; $mail->Body = $message; $mail->Send(); if (!ValidateEmail($autoresponder_from)) { $error .= "The specified autoresponder email address (" . $autoresponder_from . ") is invalid!\n
"; throw new Exception($error); } $mail->ClearAddresses(); $mail->ClearAttachments(); $autoresponder_subject = ReplaceVariables($autoresponder_subject); $mail->Subject = stripslashes($autoresponder_subject); $mail->From = $autoresponder_from; $mail->FromName = $autoresponder_name; $mail->AddAddress($autoresponder_to, ""); $mail->AddReplyTo($autoresponder_from); $autoresponder_message = ReplaceVariables($autoresponder_message); $autoresponder_message = stripslashes($autoresponder_message); $mail->MsgHTML($autoresponder_message); $mail->IsHTML(true); $mail->Send(); header('Location: '.$success_url); } catch (Exception $e) { $errorcode = file_get_contents($error_url); $replace = "##error##"; $errorcode = str_replace($replace, $e->getMessage(), $errorcode); echo $errorcode; } exit; } if ($_SERVER['REQUEST_METHOD'] == 'POST' && isset($_POST['formid']) && $_POST['formid'] == 'accordion7') { $mailto = 'sales@carvedimpressions.com'; $mailfrom = isset($_POST['email']) ? $_POST['email'] : $mailto; $subject = '20x20 Polished Upright-Grand'; $message = ''; $success_url = './../Info/formsuccess.html'; $error_url = './../Info/formerror.html'; $autoresponder_from = 'sales@carvedimpressions.com'; $autoresponder_name = 'Sales Manager'; $autoresponder_to = isset($_POST['email']) ? $_POST['email'] : $mailfrom; $autoresponder_subject = 'Thank you for your question'; $autoresponder_message = 'We sincerely appreciate your question concerning our products and will make every attempt to answer your question within the next 24-48 hours. However, due to unforseen circumstances, we sometimes are not able to answer all of our inbound messages all at once. Please be patient with us and we will try and get to your message as soon as we are able. Thank you very much! '; $eol = "\n"; $error = ''; $internalfields = array ("submit", "reset", "send", "filesize", "formid", "captcha_code", "recaptcha_challenge_field", "recaptcha_response_field", "g-recaptcha-response"); $mail = new PHPMailer(true); try { $mail->Subject = stripslashes($subject); $mail->From = $mailfrom; $mail->FromName = $mailfrom; $mailto_array = explode(",", $mailto); for ($i = 0; $i < count($mailto_array); $i++) { if(trim($mailto_array[$i]) != "") { $mail->AddAddress($mailto_array[$i], ""); } } if (!ValidateEmail($mailfrom)) { $error .= "The specified email address (" . $mailfrom . ") is invalid!\n
"; throw new Exception($error); } $mail->AddReplyTo($mailfrom); $message .= $eol; $message .= "IP Address : "; $message .= $_SERVER['REMOTE_ADDR']; $message .= $eol; foreach ($_POST as $key => $value) { if (!in_array(strtolower($key), $internalfields)) { if (is_array($value)) { $message .= ucwords(str_replace("_", " ", $key)) . " : " . implode(",", $value) . $eol; } else { $message .= ucwords(str_replace("_", " ", $key)) . " : " . $value . $eol; } } } $mail->CharSet = 'ISO-8859-1'; if (!empty($_FILES)) { foreach ($_FILES as $key => $value) { if ($_FILES[$key]['error'] == 0) { if (is_array($_FILES[$key]['name'])) { $count = count($_FILES[$key]['name']); for ($file = 0; $file < $count; $file++) { $mail->AddAttachment($_FILES[$key]['tmp_name'][$file], $_FILES[$key]['name'][$file]); } } else { $mail->AddAttachment($_FILES[$key]['tmp_name'], $_FILES[$key]['name']); } } } } $mail->WordWrap = 80; $mail->Body = $message; $mail->Send(); if (!ValidateEmail($autoresponder_from)) { $error .= "The specified autoresponder email address (" . $autoresponder_from . ") is invalid!\n
"; throw new Exception($error); } $mail->ClearAddresses(); $mail->ClearAttachments(); $autoresponder_subject = ReplaceVariables($autoresponder_subject); $mail->Subject = stripslashes($autoresponder_subject); $mail->From = $autoresponder_from; $mail->FromName = $autoresponder_name; $mail->AddAddress($autoresponder_to, ""); $mail->AddReplyTo($autoresponder_from); $autoresponder_message = ReplaceVariables($autoresponder_message); $autoresponder_message = stripslashes($autoresponder_message); $mail->MsgHTML($autoresponder_message); $mail->IsHTML(true); $mail->Send(); header('Location: '.$success_url); } catch (Exception $e) { $errorcode = file_get_contents($error_url); $replace = "##error##"; $errorcode = str_replace($replace, $e->getMessage(), $errorcode); echo $errorcode; } exit; } if ($_SERVER['REQUEST_METHOD'] == 'POST' && isset($_POST['formid']) && $_POST['formid'] == 'accordion8') { $mailto = 'sales@carvedimpressions.com'; $mailfrom = isset($_POST['email']) ? $_POST['email'] : $mailto; $subject = 'Question about 24x24 Polished Upright-Grand'; $message = ''; $success_url = './../Info/formsuccess.html'; $error_url = './../Info/formerror.html'; $autoresponder_from = 'sales@carvedimpressions.com'; $autoresponder_name = 'Sales Manager'; $autoresponder_to = isset($_POST['email']) ? $_POST['email'] : $mailfrom; $autoresponder_subject = 'Thank you for your question'; $autoresponder_message = 'We sincerely appreciate your question concerning our products and will make every attempt to answer your question within the next 24-48 hours. However, due to unforseen circumstances, we sometimes are not able to answer all of our inbound messages all at once. Please be patient with us and we will try and get to your message as soon as we are able. Thank you very much! '; $eol = "\n"; $error = ''; $internalfields = array ("submit", "reset", "send", "filesize", "formid", "captcha_code", "recaptcha_challenge_field", "recaptcha_response_field", "g-recaptcha-response"); $mail = new PHPMailer(true); try { $mail->Subject = stripslashes($subject); $mail->From = $mailfrom; $mail->FromName = $mailfrom; $mailto_array = explode(",", $mailto); for ($i = 0; $i < count($mailto_array); $i++) { if(trim($mailto_array[$i]) != "") { $mail->AddAddress($mailto_array[$i], ""); } } if (!ValidateEmail($mailfrom)) { $error .= "The specified email address (" . $mailfrom . ") is invalid!\n
"; throw new Exception($error); } $mail->AddReplyTo($mailfrom); $message .= $eol; $message .= "IP Address : "; $message .= $_SERVER['REMOTE_ADDR']; $message .= $eol; foreach ($_POST as $key => $value) { if (!in_array(strtolower($key), $internalfields)) { if (is_array($value)) { $message .= ucwords(str_replace("_", " ", $key)) . " : " . implode(",", $value) . $eol; } else { $message .= ucwords(str_replace("_", " ", $key)) . " : " . $value . $eol; } } } $mail->CharSet = 'ISO-8859-1'; if (!empty($_FILES)) { foreach ($_FILES as $key => $value) { if ($_FILES[$key]['error'] == 0) { if (is_array($_FILES[$key]['name'])) { $count = count($_FILES[$key]['name']); for ($file = 0; $file < $count; $file++) { $mail->AddAttachment($_FILES[$key]['tmp_name'][$file], $_FILES[$key]['name'][$file]); } } else { $mail->AddAttachment($_FILES[$key]['tmp_name'], $_FILES[$key]['name']); } } } } $mail->WordWrap = 80; $mail->Body = $message; $mail->Send(); if (!ValidateEmail($autoresponder_from)) { $error .= "The specified autoresponder email address (" . $autoresponder_from . ") is invalid!\n
"; throw new Exception($error); } $mail->ClearAddresses(); $mail->ClearAttachments(); $autoresponder_subject = ReplaceVariables($autoresponder_subject); $mail->Subject = stripslashes($autoresponder_subject); $mail->From = $autoresponder_from; $mail->FromName = $autoresponder_name; $mail->AddAddress($autoresponder_to, ""); $mail->AddReplyTo($autoresponder_from); $autoresponder_message = ReplaceVariables($autoresponder_message); $autoresponder_message = stripslashes($autoresponder_message); $mail->MsgHTML($autoresponder_message); $mail->IsHTML(true); $mail->Send(); header('Location: '.$success_url); } catch (Exception $e) { $errorcode = file_get_contents($error_url); $replace = "##error##"; $errorcode = str_replace($replace, $e->getMessage(), $errorcode); echo $errorcode; } exit; } if ($_SERVER['REQUEST_METHOD'] == 'POST' && isset($_POST['formid']) && $_POST['formid'] == 'accordion10') { $mailto = 'sales@carvedimpressions.com'; $mailfrom = isset($_POST['email']) ? $_POST['email'] : $mailto; $subject = 'Question about 18x20 Polished Upright-Grand'; $message = ''; $success_url = './../Info/formsuccess.html'; $error_url = './../Info/formerror.html'; $autoresponder_from = 'sales@carvedimpressions.com'; $autoresponder_name = 'Sales Manager'; $autoresponder_to = isset($_POST['email']) ? $_POST['email'] : $mailfrom; $autoresponder_subject = 'Thank you for your question'; $autoresponder_message = 'We sincerely appreciate your question concerning our products and will make every attempt to answer your question within the next 24-48 hours. However, due to unforseen circumstances, we sometimes are not able to answer all of our inbound messages all at once. Please be patient with us and we will try and get to your message as soon as we are able. Thank you very much! '; $eol = "\n"; $error = ''; $internalfields = array ("submit", "reset", "send", "filesize", "formid", "captcha_code", "recaptcha_challenge_field", "recaptcha_response_field", "g-recaptcha-response"); $mail = new PHPMailer(true); try { $mail->Subject = stripslashes($subject); $mail->From = $mailfrom; $mail->FromName = $mailfrom; $mailto_array = explode(",", $mailto); for ($i = 0; $i < count($mailto_array); $i++) { if(trim($mailto_array[$i]) != "") { $mail->AddAddress($mailto_array[$i], ""); } } if (!ValidateEmail($mailfrom)) { $error .= "The specified email address (" . $mailfrom . ") is invalid!\n
"; throw new Exception($error); } $mail->AddReplyTo($mailfrom); $message .= $eol; $message .= "IP Address : "; $message .= $_SERVER['REMOTE_ADDR']; $message .= $eol; foreach ($_POST as $key => $value) { if (!in_array(strtolower($key), $internalfields)) { if (is_array($value)) { $message .= ucwords(str_replace("_", " ", $key)) . " : " . implode(",", $value) . $eol; } else { $message .= ucwords(str_replace("_", " ", $key)) . " : " . $value . $eol; } } } $mail->CharSet = 'ISO-8859-1'; if (!empty($_FILES)) { foreach ($_FILES as $key => $value) { if ($_FILES[$key]['error'] == 0) { if (is_array($_FILES[$key]['name'])) { $count = count($_FILES[$key]['name']); for ($file = 0; $file < $count; $file++) { $mail->AddAttachment($_FILES[$key]['tmp_name'][$file], $_FILES[$key]['name'][$file]); } } else { $mail->AddAttachment($_FILES[$key]['tmp_name'], $_FILES[$key]['name']); } } } } $mail->WordWrap = 80; $mail->Body = $message; $mail->Send(); if (!ValidateEmail($autoresponder_from)) { $error .= "The specified autoresponder email address (" . $autoresponder_from . ") is invalid!\n
"; throw new Exception($error); } $mail->ClearAddresses(); $mail->ClearAttachments(); $autoresponder_subject = ReplaceVariables($autoresponder_subject); $mail->Subject = stripslashes($autoresponder_subject); $mail->From = $autoresponder_from; $mail->FromName = $autoresponder_name; $mail->AddAddress($autoresponder_to, ""); $mail->AddReplyTo($autoresponder_from); $autoresponder_message = ReplaceVariables($autoresponder_message); $autoresponder_message = stripslashes($autoresponder_message); $mail->MsgHTML($autoresponder_message); $mail->IsHTML(true); $mail->Send(); header('Location: '.$success_url); } catch (Exception $e) { $errorcode = file_get_contents($error_url); $replace = "##error##"; $errorcode = str_replace($replace, $e->getMessage(), $errorcode); echo $errorcode; } exit; } if ($_SERVER['REQUEST_METHOD'] == 'POST' && isset($_POST['formid']) && $_POST['formid'] == 'accordion9') { $mailto = 'sales@carvedimpressions.com'; $mailfrom = isset($_POST['email']) ? $_POST['email'] : $mailto; $subject = 'Question about 22x36 Deacon Upright-Grand'; $message = ''; $success_url = './../Info/formsuccess.html'; $error_url = './../Info/formerror.html'; $autoresponder_from = 'sales@carvedimpressions.com'; $autoresponder_name = 'Sales Manager'; $autoresponder_to = isset($_POST['email']) ? $_POST['email'] : $mailfrom; $autoresponder_subject = 'Thank you for your question'; $autoresponder_message = 'We sincerely appreciate your question concerning our products and will make every attempt to answer your question within the next 24-48 hours. However, due to unforseen circumstances, we sometimes are not able to answer all of our inbound messages all at once. Please be patient with us and we will try and get to your message as soon as we are able. Thank you very much! '; $eol = "\n"; $error = ''; $internalfields = array ("submit", "reset", "send", "filesize", "formid", "captcha_code", "recaptcha_challenge_field", "recaptcha_response_field", "g-recaptcha-response"); $mail = new PHPMailer(true); try { $mail->Subject = stripslashes($subject); $mail->From = $mailfrom; $mail->FromName = $mailfrom; $mailto_array = explode(",", $mailto); for ($i = 0; $i < count($mailto_array); $i++) { if(trim($mailto_array[$i]) != "") { $mail->AddAddress($mailto_array[$i], ""); } } if (!ValidateEmail($mailfrom)) { $error .= "The specified email address (" . $mailfrom . ") is invalid!\n
"; throw new Exception($error); } $mail->AddReplyTo($mailfrom); $message .= $eol; $message .= "IP Address : "; $message .= $_SERVER['REMOTE_ADDR']; $message .= $eol; foreach ($_POST as $key => $value) { if (!in_array(strtolower($key), $internalfields)) { if (is_array($value)) { $message .= ucwords(str_replace("_", " ", $key)) . " : " . implode(",", $value) . $eol; } else { $message .= ucwords(str_replace("_", " ", $key)) . " : " . $value . $eol; } } } $mail->CharSet = 'ISO-8859-1'; if (!empty($_FILES)) { foreach ($_FILES as $key => $value) { if ($_FILES[$key]['error'] == 0) { if (is_array($_FILES[$key]['name'])) { $count = count($_FILES[$key]['name']); for ($file = 0; $file < $count; $file++) { $mail->AddAttachment($_FILES[$key]['tmp_name'][$file], $_FILES[$key]['name'][$file]); } } else { $mail->AddAttachment($_FILES[$key]['tmp_name'], $_FILES[$key]['name']); } } } } $mail->WordWrap = 80; $mail->Body = $message; $mail->Send(); if (!ValidateEmail($autoresponder_from)) { $error .= "The specified autoresponder email address (" . $autoresponder_from . ") is invalid!\n
"; throw new Exception($error); } $mail->ClearAddresses(); $mail->ClearAttachments(); $autoresponder_subject = ReplaceVariables($autoresponder_subject); $mail->Subject = stripslashes($autoresponder_subject); $mail->From = $autoresponder_from; $mail->FromName = $autoresponder_name; $mail->AddAddress($autoresponder_to, ""); $mail->AddReplyTo($autoresponder_from); $autoresponder_message = ReplaceVariables($autoresponder_message); $autoresponder_message = stripslashes($autoresponder_message); $mail->MsgHTML($autoresponder_message); $mail->IsHTML(true); $mail->Send(); header('Location: '.$success_url); } catch (Exception $e) { $errorcode = file_get_contents($error_url); $replace = "##error##"; $errorcode = str_replace($replace, $e->getMessage(), $errorcode); echo $errorcode; } exit; } ?> Carved Impressions |
Single Special-Cut Upright Headstones
Starting at $ 2,299.00

LEARN MORE

The Key Shaped Polished headstone in the 24" x 6" x 30" size is the perfect size for customizing to fit your needs with a beautifully modern look in one of three colors; Jet Black, India Red (Rich Red), or Impressions Gray. Customization options include First, Middle and Last Name, Birth and Death Dates, Custom Graphic and an endearment up to 22 characters. To customize this stone for your loved ones, simply click on the "Add To Cart".

Questions?

Starting at $ 4,899.00

LEARN MORE

Our Polished Franklin headstone in the 30" x 8" x 60" size is a beautiful memorial for one or two people. This is available in three colors; Jet Black, India Red (Rich Red), or Impressions Gray and comes in a modern look perfect for memorializing your loved ones with customization options including First, Middle and Last Name, Birth and Death Dates, Custom Graphic and an endearment up to 22 characters. Click the "Add To Cart" button below to start the process on making this a special monument for the one your love.

Questions?

Starting at $ 2,299.00

LEARN MORE

The Polished Teardrop headstone is fully customizable with your loved ones First, Middle and Last Name, Birth and Death Dates, an Endearment with no more than 22 characters and a small graphic of your choosing on this granite in three distinct colors of Jet black, India Red (Rich Red) and Impressions Gray. To Learn More or start customizing this stone, click the "Add To Cart" button !

Questions?

Starting at $ 1,999.00

LEARN MORE

This Abstract Curve monument is ready for your to customize for your love one. It has plenty of room for their First, Middle and Last Name, Birth and Death Dates, an Endearment with no more than 22 characters and a graphic of your choosing. This monument comes in three distinct colors of Jet black, India Red (Rich Red) and Impressions Gray. Click on the "Add To Cart" button to learn more.

Questions?

Starting at $ 3,299.00

LEARN MORE

Are you or someone you know the ULTIMATE FAN? This headstone might be for you. Carved from the closest thing to Scarlet there is in granite, this India Red (Rich Red) granite is 24” x 6” x 28” and is a solid piece granite carved into the shape of a Block O with the infamous buckeye leaf and buckeye nut in relief on the front. With space for one First, Middle and Last Name and Birth and Death Date, everyone will know what team you rooted for! To learn more about this stone or to start customizing it for your loved one today, click on the "Add To Cart" button now!

Questions?

Starting at $ 1,499.00

LEARN MORE

Our Single Heart Polished Headstone that is 24" x 6" x 26" is the perfect heart for one person or child. It comes in Impressions Gray, Jet Black, India Red (Rich Red), or Salisbury Pink with all polished sides and can accommodate your loved ones First, Middle and Last Name, Birth and Death Dates, an endearment up to 20 characters and a graphic of your choice. Click on the "Add To Cart" button to start the customization process.

Questions?

Starting at $ 1,479.00

LEARN MORE

The 20" x 6" x  20" Single Serpentine Upright Memorial in customized with your loved ones information like; First, Middle Initial and Last Name, Birth and Death Dates, an endearment of no more than 18 characters, and a graphic that you think best represents them. We carry this in five colors; our Impressions Gray, Jet Black, and Dark Gray Cloud granite. Click on the "Add To Cart" button to get started!

Questions?

Starting at $ 1,479.00

LEARN MORE

This 24" x 6" x 24" Single Serpentine Upright Memorial is a great size for memorials of one person. It comes in Impressions Gray, Jet Black and Dark Gray Cloud granite and can be customized to your specifications including First, Middle Initial and Last Name, Birth and Death Date, an endearment of not more than 18 characters, and a graphic that you choose. To start customizing this for your loved one, click on the "Add To Cart" button .

Questions?

Starting at $ 1,379.00

LEARN MORE

The 18" x 6" x  20" Single Serpentine Upright Memorial in customized with your loved ones information like; First, Middle Initial and Last Name, Birth and Death Dates, an endearment of no more than 18 characters, and a graphic that you think best represents them. We carry this in five colors; our Impressions Gray, Jet Black, and Dark Gray Cloud granite. Click on the "Add To Cart" button to get started!

Questions?

Starting at $ 2,199.00

LEARN MORE

Our Polished Deacon headstone in the 22" x 6" x 36" size is a beautiful memorial for one or two people. This is available in three colors; Jet Black, India Red (Rich Red), or Impressions Gray and comes in a modern look perfect for memorializing your loved ones with customization options including First, Middle and Last Name, Birth and Death Dates, Custom Graphic and an endearment up to 22 characters. Click the "Add To Cart" button to start the process on making this a special monument for the one your love!

Questions?

2001 Kuntz Rd.  •  Dayton, OH 45404
sales@carvedimpressions.com