| 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/usa_sites/vx_testing/usa/professional-grant-services/ |
Upload File : |
<?php
session_start();
include_once($_SERVER['DOCUMENT_ROOT'].'/vx/lib/ua.php');
include_once($_SERVER['DOCUMENT_ROOT'].'/vx/lib/func.php');
include_once($_SERVER['DOCUMENT_ROOT'].'/vx_/site_info.php');
include_once($_SERVER['DOCUMENT_ROOT'].'/vx/lib/mysql.php');
$user = $_SESSION['user'];
track_member_action('Page Visit','Professional Grant Services Unsubscribe');
$client_res = $db->query("SELECT id FROM coaching_allocator.leads WHERE leaddb='".$db->clean($siteCode)."' AND leadid='".$db->clean($user)."'");
$aid = 0;
if(empty($client_res)) {
$db->query("INSERT INTO coaching_allocator.leads
(
leaddb
,leadid
,marketer
,marketer_status
,marketer_statusdate
) VALUES (
'".$db->clean($siteCode)."'
,'".$db->clean($user)."'
,'jeremy'
,'DNC'
,NOW()
)");
$aid = $db->last_insert_id();
} else {
$aid = $client_res[0]['id'];
}
$db->query("UPDATE coaching_allocator.leads
SET current_stage='DNC'
,professional_services_unsubscribe='1'
,stage_set_by='unsubscribe email'
,stage_set_on=NOW()
,stage_next_email=''
,stage_next_email_date='0000-00-00'
WHERE id='".$db->clean($aid)."'");
?>
<style>
#application_info {
padding:10px 0px 20px 0px;
position:relative;
margin-top:10px;
}
.datepicker_box,.datepicker_time_box {
width:90%;
background: #c9f1fd;
border: 1px solid #00a4d3;
border-radius: 10px;
text-align:center;
padding:10px;
}
.datepicker_date, .datepicker_time {
display:inline-block;
padding: 5px 10px;
border:2px solid black;
border-radius: 10px;
background:white;
width:90%;
margin: 5px auto;
cursor:pointer;
}
.datepicker_date.datepicker_selected, .datepicker_time.datepicker_selected {
border:2px solid #008db1;
background: #4dd7fa;
}
.vamiddle, .vamiddle input {
vertical-align:middle;
font-size:20px;
}
.vamiddle input {
margin:0px 10px;
}
.schedule_appointment {
background: #91e4fb;
border:2px solid #00a4d3;
font-size:24px;
font-style:italic;
cursor:pointer;
padding:10px 20px;
border-radius:10px;
margin-top:10px;
}
.app_area {
margin:10px 20px;
}
.video {
margin:10px auto;
width:640px;
position:relative;
}
#play_button {
position: absolute;
left: 275px;
top: 143px;
background: rgba(255,255,255,0.7);
width: 100px;
height: 100px;
padding: 0px;
border-radius: 60px;
cursor: pointer;
color: black;
padding: 14px;
}
#pause_button {
display:none;
position: absolute;
left: 275px;
top: 143px;
background: rgba(255,255,255,0.7);
width: 100px;
height: 100px;
padding: 0px;
border-radius: 60px;
cursor: pointer;
color: black;
padding: 12px 10px 10px 10px;
}
#appointment_area {
margin-top:10px;
}
#loading_area {
font-size:24px;
font-weight:bold;
}
#blocked_off {
position:absolute;
top:0px;
bottom:0px;
left:0px;
right:0px;
z-index:2;
background:rgba(255,255,255,0.7);
}
#blocked_off_text {
position:relative;
z-index:3;
color:red;
}
</style>
<div class="relative block" ng-controller="Members" style="height:100%; min-height:400px; margin:0px auto; max-width:1000px; background: white;">
<div style="padding:0px 10px;">
<center>
<h1>Professional Grant Services - Unsubscribe</h1>
</center>
<div class="video">
<div class="row">
<div class="company_info_label">
You have been unsubscribed from getting more emails about Professional Grant Services.
</div>
</div>
</div>
</div>
</div>
<?php
$body = ob_get_clean();
$title = "Professional Grant Services : ".$_SESSION['site_name'];
include($_SERVER['DOCUMENT_ROOT'].'/vx/usa/layout/non_angular_layout.php');
?>