| Server IP : 10.200.247.200 / Your IP : 216.73.217.19 Web Server : Apache System : Linux synergy-usa-sites 6.8.0-138-generic #138-Ubuntu SMP PREEMPT_DYNAMIC Fri Jul 31 22:41:49 UTC 2026 x86_64 User : jeremy ( 1001) PHP Version : 8.4.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/asap_sites/assetprotectionasap.com/ |
Upload File : |
<?php
session_start();
include_once($_SERVER['DOCUMENT_ROOT'].'/php/db_config_lc_user.php');
include_once($_SERVER['DOCUMENT_ROOT'].'/php/phpCrypto.class.php');
include_once($_SERVER['DOCUMENT_ROOT'].'/php/mailgun.php');
include_once($_SERVER['DOCUMENT_ROOT'].'/php/NetworkMerchants.php');
include_once($_SERVER['DOCUMENT_ROOT'].'/include/ua.php');
$db = connect_lc2user_new('asap_leads');
$crypto = new phpCrypto();
$output = '';
if(!empty($_POST['submit'])) {
$output = 'We will contact you soon to help you get started!';
$to = 'heinz57@gmail.com';
$from = 'support@americansocietyforassetprotection.com';
$subject = 'ASAP A/B form filled out';
$body = "<p>{$_POST['first_name']} {$_POST['last_name']}</p>
<p>{$_POST['email']}</p>
<p>{$_POST['cell_phone']}</p>";
$attachments = array();
$db->query("UPDATE asap_leads.assetprotectionasap_leads
SET first_name='".$db->clean($_POST['first_name'])."'
,last_name='".$db->clean($_POST['last_name'])."'
,email='".$db->clean($_POST['email'])."'
,cell_phone='".$db->clean($_POST['cell_phone'])."'
WHERE id='".$db->clean($_SESSION['partial_order_id'])."'");
mailgun_send_message($to,$from,$subject,$body,1,'ASAP A/B form','hans@assetspeaker.com,cameron@assetspeaker.com,angela@blueprintnow.com','','',0,$attachments);
} else {
$db->query("INSERT INTO asap_leads.assetprotectionasap_leads
(
ip_address
,ab_testing
,ts
,referer
,browser
,device
,operating_system
) VALUES (
'".$db->clean($_SERVER['REMOTE_ADDR'])."'
,'".$db->clean($_GET['ab'])."'
,NOW()
,'".$db->clean($_SERVER['HTTP_REFERER'])."'
,'".$db->clean($browser)."'
,'".$db->clean($device)."'
,'".$db->clean($operatingSystem)."'
)");
$_SESSION['partial_order_id'] = $db->last_insert_id();
}
?>
<!doctype html>
<html lang="en">
<head>
<title>Asset Protection</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Contact us to learn about Asset Protection">
<link href="/css/glyphicons/css/glyphicons.css" rel="stylesheet" type="text/css" />
<link href="/css/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css" />
<link href="/css/normalize.css" rel="stylesheet" type="text/css" />
<link href="/css/style.css?ts=<?= time();?>" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="/css/glyphicons/css/glyphicons.css">
<style type="text/css">
.save_button {
font-size:18px;
padding: 10px 20px;
cursor:pointer;
border:2px outset #BBB;
margin:20px 0px;
}
.save_button:hover {
border:2px inset #BBB;
}
.error {
background:#993300;
text-align:center;
color:white;
padding:10px;
font-size:16px;
}
.output {
background:#33AA66;
text-align:center;
color:white;
padding:10px;
font-size:16px;
}
.hidden_form {
display:none;
}
.hidden_steps {
padding:20px;
}
.hidden_step {
display:none;
}
.step_next_button,.step_back_button {
border-style: solid;
border-width: 0px;
cursor: pointer;
font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif;
font-weight: normal;
line-height: normal;
margin: 0 0 1.25rem;
position: relative;
text-decoration: none;
text-align: center;
-webkit-appearance: none;
-webkit-border-radius: 0;
display: inline-block;
padding-top: 1rem;
padding-right: 2rem;
padding-bottom: 1.0625rem;
padding-left: 2rem;
font-size: 1rem;
background-color: #1e9500;
border-color: #007095;
color: white;
transition: background-color 300ms ease-out;
}
.step_next_button:hover,.step_back_button:hover {
background: #32b510;
}
.half_width {
width:49%;
}
.order_service_image {
vertical-align:top;
display:inline-block;
margin:0px 10px;
}
.order_service_image img {
width:100%;
}
.order_service_image_text {
font-family:'Playfair Display', serif;
font-size:23px;
font-weight:bold;
color: #093554;
padding:10px 0px;
}
.special_box {
font-family:Arial;
}
.special_box_header {
border-top-left-radius:25px;
border-top-right-radius:25px;
background:#1A4684;
padding:10px 21px;
color:white;
}
.special_box_body {
border-bottom-left-radius:25px;
border-bottom-right-radius:25px;
background:white;
color:black;
padding:10px;
border-left: 1px dashed #BBBBBB;
border-right: 1px dashed #BBBBBB;
border-bottom: 1px dashed #BBBBBB;
}
.special_box_body label {
font-size:14px;
}
.special_instructions {
width:100%;
height:36px;
font-size:12px;
line-height:18px;
border:none;
color:black;
background:#fff;
background: -webkit-gradient(linear, 0 0, 0 100%, from(#000), color-stop(4%, #fff)) 0 4px;
background: -webkit-linear-gradient(top, #000 0%, #fff 8%) 0 4px;
background: -moz-linear-gradient(top, #000 0%, #fff 8%) 0 4px;
background: -ms-linear-gradient(top, #000 0%, #fff 8%) 0 4px;
background: -o-linear-gradient(top, #000 0%, #fff 8%) 0 4px;
background: linear-gradient(top, #000 0%, #fff 8%) 0 4px;
-webkit-background-size: 100% 18px;
-moz-background-size: 100% 18px;
-ms-background-size: 100% 18px;
-o-background-size: 100% 18px;
background-size: 100% 18px;
}
.medium_margin_top {
margin-top:20px;
}
.all_caps {
text-transform:uppercase;
font-family:'Playfair Display', serif;
font-size:18px;
font-weight:bold;
}
label.boxed_input_label {
display:inline-block;
padding:0px 0px 0px 1%;
}
label.boxed_input_label input[type=text], label.boxed_input_label input[type=email], label.boxed_input_label input[type=tel] {
width:100%;
height:24px;
font-size:18px;
border:1px solid #BBB;
color:black;
background:#fff;
}
@media screen and (max-width : 520px) {
body {
width: 99%;
text-align:center;
}
.page_title {
font-size:20px;
}
.main_logo {
width:115px;
}
.first_name {
width:40%;
}
.last_name {
width:40%;
}
.half_width {
width:100%;
}
label.boxed_input_label {
width:100% !important;
}
.order_service_image {
width:100% !important;
margin:10px 0px;
}
label.bigger_letters_label {
display:block;
margin:5px;
font-size:20px;
}
.order_header {
padding-left:10px;
}
.fixed {
padding:15px 0px;
}
.questions_h3 {
font-size:11px;
}
.break_here {
display:block;
}
}
</style>
</head>
<body>
<div class="body_container">
<div class="header">
<img class="main_logo" alt="ASAP Logo" src="/images/logo.png" />
<div class="page_title">
American Society<br />
<i>for</i> Asset Protection
</div>
<div class="page_subtitles">
<div class="page_subtitle">
Protecting your Personal & Business Assets for Decades
</div>
</div>
<div class="header_underline"></div>
<div class="clear"></div>
</div>
<div class="main_content_container">
<div class="main_content">
<div>
<?php if(!empty($error)) { echo '<div class="error" style="margin-top:10px;">'.$error.'</div>'; };?>
<?php if(!empty($output)) { echo '<div class="output" style="margin-top:10px;">'.$output.'</div>'; };?>
</div>
<h1>Who will make your medical decisions when you can't?</h1>
<form method="post" action="index.php" id="order_form">
<div class="video_holder">
<video id="angie_blueprint_video" src="/images/DriversSeat.mp4" poster="/images/DriversSeatFirstFrame.jpg" ontimeupdate="save_update_time(this);" onmouseover="show_play_buttons();" onmouseout="hide_play_buttons();" onclick="this.muted = 0;" style="width:100%;" playsinline></video>
<div id="play_button" onmouseover="show_play_buttons();" onmouseout="hide_play_buttons();" onclick="$('video')[0].play(); $('video')[0].muted = 0; show_play_buttons();"><span class="glyphicons glyphicons-play glyphicons-fw f64"></span></div>
<div id="pause_button" onmouseover="show_play_buttons();" onmouseout="hide_play_buttons();" onclick="$('video')[0].pause(); show_play_buttons();"><span class="glyphicons glyphicons-pause glyphicons-fw f64"></span></div>
</div>
<div class="questionnaire">
<h1 class="questionnaire_title">Get Started Today!</h1>
<div>
<div>
<div class="form_row">
<div class="first_name">
<div class="question fullwidth">First Name</div>
<div class="answer fullwidth"><input type="text" name="first_name" placeholder="First" value="<?= $_SESSION['first_name'];?>" /></div>
</div>
<div class="last_name">
<div class="question fullwidth">Last Name</div>
<div class="answer fullwidth"><input type="text" name="last_name" placeholder="Last" value="<?= $_SESSION['last_name'];?>" /></div>
</div>
</div>
<div class="form_row">
<div class="question fullwidth">Email</div>
<div class="answer fullwidth"><input type="text" name="email" placeholder="Email" value="<?= $_SESSION['email'];?>" /></div>
</div>
<div class="form_row">
<div class="cell_phone">
<div class="question fullwidth">Mobile Phone</div>
<div class="answer fullwidth"><input type="tel" name="cell_phone" class="phone_number" placeholder="(333) 444-5555" value="<?= $_SESSION['cell_phone'];?>" /></div>
</div>
</div>
</div>
<br />
<center>
<input type="submit" class="step_next_button" name="submit" value="Get Started Today!" />
</center>
</div>
</div>
</form>
</div>
<div class="footer">
<div class="footer_divider"></div>
<div class="bbb_and_ssl">
<img alt="BBB" src="/images/bbb.png" />
<img alt="SSL" src="/images/ssl.png" />
</div>
</div>
</div>
</div>
<script src="js/vendor/jquery.js"></script>
<script type="text/javascript" src="/js/jquery/jquery.formatter.min.js"></script>
<script type="text/javascript">
var last_watch_updated = 0;
function track_video_watched() {
var str="track_video=1";
$.ajax({
method: "POST",
url: "/php/track_video_watched.php",
data: str
}).done(function( msg ) {
});
}
function track_video_watched_so_far(seconds) {
var str="seconds=" + seconds;
$.ajax({
method: "POST",
url: "/php/track_video_watched_so_far.php",
data: str
}).done(function( msg ) {
});
}
var tracked_video_started = false;
function track_video_started() {
if(!tracked_video_started) {
tracked_video_started = true;
var str="track_video=1";
$.ajax({
method: "POST",
url: "/php/track_video_started.php",
data: str
}).done(function( msg ) {
});
}
$('.step1').show();
}
var marked_tracked = false;
function save_update_time(me) {
if(!tracked_video_started) {
track_video_started();
}
if(last_watch_updated + 5 < me.currentTime) {
track_video_watched_so_far(me.currentTime);
last_watch_updated = me.currentTime;
hide_play_buttons();
}
if(me.currentTime >= 1874) {
if(!marked_tracked) {
track_video_watched();
marked_tracked = true;
}
$('.hidden_form').show();
$('.hidden_form_waiting').hide();
} else {
$('.hidden_form').hide();
$('.hidden_form_waiting').show();
}
}
function show_play_buttons() {
if($('video')[0].paused) {
$('#play_button').show();
$('#pause_button').hide();
} else {
$('#play_button').hide();
$('#pause_button').show();
}
}
function hide_play_buttons() {
$('#play_button,#pause_button').hide();
}
var is_running = false;
function do_partial_tracking() {
if(is_running) {
//do nothing
} else {
is_running = true;
var str = '';
$('#order_form').find('input,select,textarea').each(function() {
if(this.type=='checkbox') {
if($(this).is(':checked')) {
str += (str=='') ? '' : '&';
str += encodeURIComponent(this.name) + '=' + encodeURIComponent($(this).val());
}
} else {
str += (str=='') ? '' : '&';
str += encodeURIComponent(this.name) + '=' + encodeURIComponent($(this).val());
}
});
$.ajax({
url:"/php/track_partial_order.php",
cache: false,
type: "POST",
data: str,
success: function(results) {
is_running = false;
},
error: function(jqXHR, textStatus, errorThrown) {
is_running = false;
}
});
}
}
$('document').ready(function() {
do_partial_tracking();
$('input').blur(function() {
do_partial_tracking();
});
$('.phone_number').formatter({
'pattern': '({{999}}) {{999}}-{{9999}}',
'persistent': false
});
});
</script>
<!-- Facebook Pixel Code -->
<script>
!function(f,b,e,v,n,t,s)
{if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};
if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];
s.parentNode.insertBefore(t,s)}(window, document,'script',
'https://connect.facebook.net/en_US/fbevents.js');
fbq('init', '312665332714811');
fbq('track', 'PageView');
</script>
<noscript><img height="1" width="1" style="display:none"
src="https://www.facebook.com/tr?id=312665332714811&ev=PageView&noscript=1"
/></noscript>
<!-- End Facebook Pixel Code -->
</body>
</html>