'error'], $redirect));
exit;
}
$to = 'lockbox@lisiten.com';
$subject = 'New Lead – FreeBusinessValuations.com';
$body =
"New Lead Submission\n\n" .
"First Name: {$first}\n" .
"Last Name: {$last}\n" .
"Company: {$company}\n" .
"ZIP: {$zip}\n" .
"Email: {$email}\n\n" .
"Message:\n{$msg}\n\n" .
"Submitted: " . current_time('mysql') . "\n" .
"IP: " . ($_SERVER['REMOTE_ADDR'] ?? 'unknown') . "\n";
$headers = [
'Content-Type: text/plain; charset=UTF-8',
"Reply-To: {$first} {$last} <{$email}>"
];
wp_mail($to, $subject, $body, $headers);
$redirect = wp_get_referer() ? wp_get_referer() : home_url('/');
wp_safe_redirect(add_query_arg(['lead' => 'success'], $redirect));
exit;
}
// -----------------------------
// Template output
// -----------------------------
get_header();
// You can set a default hero image here OR set a Featured Image on the page.
$hero_url = get_the_post_thumbnail_url(get_the_ID(), 'full');
if (!$hero_url) {
// Fallback image URL (replace with your own uploaded image URL)
$hero_url = 'https://via.placeholder.com/1920x1080';
}
$freebiz_link = 'https://freebusinessvaluations.com';
$lisiten_link = 'https://lisitenassociates.com';
$status = sanitize_text_field($_GET['lead'] ?? '');
?>
FREEBUSINESSVALUATIONS.COM
A SERVICE OF LISITEN ASSOCIATES, INC.
Thinking About Selling Your Business? Start With Expert Guidance — Not Guesswork.
Trusted M&A Advisors with Over 40 Years of Experience and $3 Billion in Successful Transactions.
Request a confidential conversation and a practical next-step plan for valuing and positioning your company for a successful sale.
Selling Businesses is Our Business.
Request Your Confidential Consultation
Thank you — we received your request and will be in touch shortly.
Please complete all required fields and enter a valid email address.
© Lisiten Associates, Inc. – Copyright All Rights Reserved