| 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/governmentgrants.us/vx/usa/pci_form/ |
Upload File : |
<?php
session_start();
require_once($_SERVER['DOCUMENT_ROOT'].'/vx_/site_info.php');
require_once($_SERVER['DOCUMENT_ROOT'].'/vx/lib/mysql.php');
if(empty($_SESSION['user_id'])) {
header("Location: /");
exit(0);
}
$user_id = $_SESSION['user_id'];
$res = $db->get_results("SELECT `password`,first,last,email,phone_1,address1,city,state,zip,cc_last_four,cc_exp_month,cc_exp_year,initial_fee,monthly_fee FROM lc2{$siteCode}_lc.lc_reseller WHERE id='".$db->clean($user_id)."'");
if(empty($res)) {
header("Location: /");
exit(0);
}
$site_res = $db->get_results("SELECT site_name,site_domain,refund_email,phone FROM lc2admin.site WHERE site_code='".$db->clean($siteCode)."'");
?>
<!doctype html>
<html>
<head>
<title>PCI Compliant Credit Card Form</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style type="text/css">
.container {
width:500px;
max-width:100%;
margin:0px auto;
text-align:center;
font-size:14px;
font-family: Helvetica;
}
.header {
text-align:center;
}
.header img {
width:100%;
}
.main_area {
text-align:left;
padding:10px;
}
.big_line {
margin:10px 0px;
}
.big_text {
font-size:28px;
color:#1e3891;
}
.pci_logo {
float:right;
}
.date_to_bill {
font-size:15px;
text-align:right;
font-style:italic;
color:#606060;
}
input[type=text],input[type=tel] {
padding:10px 20px;
width:90%;
margin:0px auto;
font-size:14px;
}
#submit_button {
background:#dfedd6;
border:1px solid black;
border-radius:5px;
cursor:pointer;
text-align:center;
padding:30px 0px;
width:90%;
}
#sidebar, .footer-top {display: none;}
#page{width: 100%;}
div#page{margin-left: 0}
.application-form p{margin-bottom: 0px;}
[visible-when-invalid] {display: none;}[visible-when-invalid].visible {display: block;font-size: 14px;margin-top: 5px;}.input-box {margin-bottom: 15px;}label {display: block;font-size: 16px;color: #777;text-align: left;margin-bottom: 5px;}lable .red {color: #d41616;}input.btn {height: auto;cursor: pointer;width: auto;}.error-message,.success-message {display: block;padding: 10px;text-align: center;font-size: 18px;margin-bottom: 30px;margin-top: 15px;}.error-message {border: 2px solid #d41616;color: #d41616;}.success-message {border: 2px solid #0ba80b;color: #0ba80b;}form.amp-form-submit-success [submit-success],form.amp-form-submit-error [submit-error] {margin-top: 16px;font-size: 18px;text-align: center;}form.amp-form-submit-success [submit-success] {color: green;}form.amp-form-submit-error [submit-error] {color: red;}form.amp-form-submit-success.hide-inputs > input {display: none;}[amp-access][amp-access-hide],amp-experiment,amp-live-list > [update],amp-share-tracking,form [submit-error],form [submit-success],form [submitting] {display: none;}select.user-invalid,textarea.user-invalid,form input.user-invalid {border: 1px solid #dc4e41;color: #000;}select.user-valid,textarea.user-valid,form.input.user-valid {border: 1px solid #4CAF50;color: #000;}fieldset.user-invalid {border: 2px solid #dc4e41;}fieldset.user-valid {border: 2px solid #4CAF50;}form .form-message {display: none;margin: 15px 0px;text-align: center;font-size: 16px;color: #fff;}.color-green {color: #4CAF50;}form.user-invalid .invalid-message {display: block;color: #dc4e41;text-align: center;padding: 5px;}form.user-valid .valid-message {display: block;color: #4CAF50;text-align: center;display: block;}form.amp-form-submitting .submitting-message {display: block;color: #000;text-align: center;}form.amp-form-submit-success [submit-success] {color: #0ba80b;}form.amp-form-submit-error [submit-error] {color: #dc4e41;}.verification-form label {display: block;}.amp-form-submit-success input,.amp-form-submit-success textarea {background: #fff;}form.user-valid.amp-form-submit-success .valid-message {display: none;}.cotact-form .user-valid.amp-form-submit-error + .amp-form-success-message {display: block;}
[amp-access][amp-access-hide], amp-experiment, amp-live-list>[update], amp-share-tracking, form [submit-error], form [submit-success], form [submitting] {
display: none;
}
form.amp-form-submit-success.user-invalid [submit-success] {display: none;}
form.amp-form-submit-success.user-valid [submit-success] {display: block;}
form input {
border: 1px solid #ccc;
padding-left: 15px;
height: 36px;
padding: 5px 10px;
font-size: 14px;
width: 100%; color: inherit;
}
input::placeholder{color: #000;}
form textarea{border: 1px solid #ccc;padding: 6px 8px;width: 100%;max-width: 300px; color: inherit;}
form select {
border: 1px solid #ccc;
padding-left: 15px;
height: 36px;
padding: 5px 10px;
font-size: 14px;
width: 100%; color: inherit;
}
[type="checkbox"], [type="radio"] {width: auto; height: auto;}
.submit-btn {
cursor: pointer;
border: none;
padding: 10px 20px;
margin-top: 20px;
margin-bottom: 20px;
color: #01697c;
text-transform: uppercase;
border: 2px solid #01697c;
font-weight: bold;
background-color: #fff;
transition: background 1s;
line-height: 1.2;
font-size: 14px;
}
.submit-btn:hover {
background-color: #01697c;
color: #fff;
}
[data-class="submenuItemContainer"]{display: none;}
[class*="expanded"] {
display: block;
}
form .chooose input{width: auto;height:10px;}
label{display: inline-block;font-size: 16px;text-transform: capitalize;color: #000;font-family: 'Poppins-Medium';margin-right: 5px;}
.choose .small{font-size: 10px;margin-left: 20px;margin-bottom: 15px;font-family: 'Poppins-Regular'; text-transform: capitalize;}
.choose label{display:block;text-transform: uppercase;}
[type="checkbox"], [type="radio"]{transform: translateY(1px);}
.hrd {
font-weight: bold;
text-transform: uppercase;
border-bottom: 1px solid #333333;
height: auto;
font-size: 18px;
padding-bottom:30px;
}
.hrd span {
font: bold 8pt verdana;
color: #000;
}
#funding input, #realestate input, #community input, #education input, #personal input, .describe input, .improve-credit input, {width: auto;height:auto;}
.describe input, .choose input{margin-right: 5px;}
.improve-credit .inner{margin-bottom: 10px;}
.email-box input, .money select{width: 100%;height:auto;max-width: 300px;}
.email-box [type="checkbox"]{width: auto;height:auto;}
.email-box .fs-14{margin-top: 5px;}
.email-box .small{font-size: 12px;margin-bottom: 5px;}
@media screen and (max-width: 767px) {
.main-header {display: none}
.subcategory{width: 50%;}
/*.application-form .subcategory:nth-child(2n+1){clear: left;} */
}
@media screen and (max-width: 479px){
.subcategory {
width: 100%;
}
.hrd {font-size: 15px; padding-bottom: 10px;}
.email-box input, .money select, form textarea{ max-width: 100%;}
}
</style>
</head>
<body>
<div class="container">
<div class="header">
<img src="/vx_/images/LogoA.png" />
</div>
<div class="main_area">
<div class="big_line">
<div class="big_text">Confirmation</div>
</div>
<div class="big_line">
<?php if($res[0]->password=='wait_for_billing') {
$sres = $db->get_results("SELECT amount,next_bill_date FROM lc2{$siteCode}_lc.lc_clients_subscriptions WHERE reseller_id='".$db->clean($user_id)."' AND subscription_id=2");
?>
<p>Congratulations! You are on your way to applying for Grant Money!</p>
<p>Your account will be charged $<?= $sres[0]->amount;?> on <?= $sres[0]->next_bill_date;?> and we will send you and email with your login information.</p>
<?php } else { ?>
<p class="header application__steps-title"><span class="application__bold">Login & Start Applying!</span></p>
<p>Congratulations! You are on your way to applying for Grant Money!</p>
<p>Below is your Account Information that will allow you to access the Member's Site right now!</p>
<?php } ?>
<center style="padding:10px 0px;">
<h3 style="padding-right:5px;">Your Credit Card Statement will display:</h3>
<div style="font-size:24px;">
<?php
include_once($_SERVER['DOCUMENT_ROOT'] . "/vx/lib/dinc.php");
$cc_res = $db->query("SELECT cc_descriptor FROM lc2{$_SITE_CODE}_lc.lc_billing WHERE client_id='".clean($user_id)."' ORDER BY bill_time DESC LIMIT 1");
echo (empty($cc_res[0]['cc_descriptor'])) ? 'USFUND.ORG 800-337-3471' : $cc_res[0]['cc_descriptor'];
?>
</div>
</center>
<?php if($res[0]->password=='wait_for_billing') { ?>
<?php } else { ?>
<h3>To View the Funding Applications and Start Applying,</h3>
<a href="/vx/usa/members/?user=<?= $res[0]->email; ?>&pass=<?= $res[0]->zip; ?>" style="font-size:24px;">Click Here to Login</a>
<div class="grid-row fields">
<div class="input-box col-mb-12">
<strong>Website:</strong> <a href="https://<?= $site_res[0]->site_domain;?>"><?= $site_res[0]->site_domain;?></a>
</div>
<div class="input-box col-mb-12">
<strong>Username:</strong> <?= $res[0]->email; ?>
</div>
<div class="input-box col-mb-12">
<strong>Password:</strong> <?= $res[0]->zip; ?>
</div>
<div class="input-box col-mb-12">
<strong>Contact Page: </strong> <a href="https://<?= $site_res[0]->site_domain;?>/vx/usa/contact/"><?= $site_res[0]->site_domain;?>/vx/usa/contact/</a>
</div>
</div>
<br />
<?php } ?>
<h3>Personal Information Summary</h3>
<div class="grid-row fields">
<div class="input-box col-mb-6">
<strong>First Name:</strong> <?= $res[0]->first; ?>
</div>
<div class="input-box col-mb-6">
<strong>Last Name:</strong> <?= $res[0]->last; ?>
</div>
<div class="input-box col-mb-6">
<strong>Address:</strong> <?= $res[0]->address1; ?>
</div>
<div class="input-box col-mb-6">
<strong>City:</strong> <?= $res[0]->city; ?>
</div>
<div class="input-box col-mb-6">
<strong>State:</strong> <?= $res[0]->state; ?>
</div>
<div class="input-box col-mb-6">
<strong>Zip:</strong> <?= $res[0]->zip; ?>
</div>
<div class="input-box col-mb-6">
<strong>Phone:</strong> <?= substr($res[0]->phone_1,0,3).'-'.substr($res[0]->phone_1,3,3).'-'.substr($res[0]->phone_1,6); ?>
</div>
</div>
<br />
<h3>Payment Information Summary</h3>
<div class="grid-row fields">
<div class="input-box col-mb-6">
<strong>Credit Card:</strong> ****<?= $res[0]->cc_last_four; ?>
</div>
<div class="input-box col-mb-6">
<strong>Expiration:</strong> <?= $res[0]->cc_exp_month; ?> / <?= $res[0]->cc_exp_year; ?>
</div>
<div class="input-box col-mb-6">
<strong>Amount:</strong> $<?= ($res[0]->password=='wait_for_billing') ? $res[0]->monthly_fee : $res[0]->initial_fee; ?>
</div>
<?php if($res[0]->password=='wait_for_billing') { ?>
<div class="input-box col-mb-6">
You account has not been charged yet.
</div>
<?php } ?>
</div>
<?php if($res[0]->password!='wait_for_billing') { ?>
<br />
<center>
<a href="/vx/usa/members/?user=<?= $res[0]->email; ?>&pass=<?= $res[0]->zip;?>" style="font-size:24px;">Click Here to Login</a>
</center>
<?php } ?>
</div>
<div class="big_line">
<center><img src="ssl_logo.png" /></center>
</div>
</div>
</div>
</body>
</html>