| 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/usafundingapplications.ai/ |
Upload File : |
<?php
// The variables used in this page are supplied in order.php
require_once("{$_SERVER["DOCUMENT_ROOT"]}/tracker/client/TrackerLib.php");
$tracker = new TrackerLib("usaga");
$trackerformparams = $tracker->FormParameters();
$tc = (! isset($_POST['tc'])) ? 'none': $_POST['tc'];
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<script type="text/javascript">var _sf_startpt=(new Date()).getTime()</script>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
<title>USA Grant Applications.org - Order Page</title>
<script language="JavaScript1.1">
// Create an associative array of 'pretty name' values
var prettynames = {
cc_fname:"First Name",
cc_lname:"Last Name",
cc_addr:"Address",
cc_city:"City",
cc_state:"State",
cc_zip:"Zip",
cc_country:"Country",
cc_phonearea:"Phone Number Area Code",
cc_phoneprefix:"Phone Number Prefix",
cc_phoneextension:"Phone Number Ending",
cc_email:"Email Address",
cc_type:"Credit Card Type",
cc_num:"Credit Card Number",
cc_month:"Credit Card Expiration Month",
cc_year:"Credit Card Expiration Year",
cc_cvv:"Credit Card CVV"
};
// Utility function that returns true if a string contains only
// whitespace characters
// Taken from "Javascript: The Definitive Guide" pg. 264
function isblank(s)
{
for (var i=0; i < s.length; i++)
{
var c = s.charAt(i);
if ((c!=' ') && (c != '\n') && (c != ''))
{
return false;
}
}
return true;
}
// Credit Card Validation Javascript
// copyright 12th May 2003, by Stephen Chapman, Felgall Pty Ltd
// You have permission to copy and use this javascript provided that
// the content of the script is not changed in any way.
function validateCreditCard(s) {
// remove non-numerics
var v = "0123456789";
var w = "";
for (i=0; i < s.length; i++) {
x = s.charAt(i);
if (v.indexOf(x,0) != -1)
w += x;
}
// validate number
j = w.length / 2;
if (j < 6.5 || j > 8 || j == 7) return false;
k = Math.floor(j);
m = Math.ceil(j) - k;
c = 0;
for (i=0; i<k; i++) {
a = w.charAt(i*2+m) * 2;
c += a > 9 ? Math.floor(a/10 + a%10) : a;
}
for (i=0; i<k+m; i++) c += w.charAt(i*2+1-m) * 1;
return (c%10 == 0);
}
function verify(f)
{
// Taken from "Javascript: The Definitive Guide" pg. 264.
// Modified heavily to suit our needs
// Loop through each element of the form and validate each item
//
// Set the parameters for each field to be valid
// If a field doesn't have any modifiers it is assumed to be
// a text field that can not be blank.
f.cc_phonearea.requiredlength = 3;
f.cc_phonearea.numeric = true;
f.cc_phoneprefix.requiredlength = 3;
f.cc_phoneprefix.numeric = true;
f.cc_phoneextension.requiredlength = 4;
f.cc_phoneextension.numeric = true;
f.cc_zip.requiredlength = 5;
f.cc_zip.numeric = true;
f.cc_state.requiredlength = 2;
f.cc_num.numeric = true;
f.cc_month.requiredlength = 2;
f.cc_month.numeric = true;
f.cc_year.requiredlength = 4;
f.cc_year.numeric = true;
f.cc_cvv.numeric = true;
var msg;
var empty_fields = "";
var errors = "";
for (var i=0; i < f.length; i++)
{
var element = f.elements[i];
//document.getElementById('errorconsole').innerHTML += element.name + ":" + element.type + "<br>";
if (element.type == 'text')
{
if ( (element.value == null || element.value == "") || isblank(element.value) )
{
empty_fields += "\n " + prettynames[element.name];
continue;
}
if (element.numeric)
{
var v = parseFloat(element.value);
if (isNaN(v))
{
errors +="- The field " + prettynames[element.name] + " must be a number\n";
}
}
if ( (element.requiredlength > 0) && (element.value.length != element.requiredlength) )
{
errors += "- The field " + prettynames[element.name] + " must be " + element.requiredlength + " digits long\n";
}
}
else if (element.type == 'select-one')
{
// The first option, option[0] can not be selected
if ( (element.value == null || element.value == "" || element.selectedIndex == 0) || isblank(element.value) )
{
empty_fields += "\n " + prettynames[element.name];
continue;
}
}
}
if (f.agree2terms.checked == false)
{
errors += "- You must agree to the terms of this site\n";
}
if (! validateCreditCard(f.cc_num.value))
{
errors += "- Please enter a valid Credit Card Number\n";
}
if (!empty_fields && !errors) { return true; }
msg = "__________________________________\n\n";
msg += "The form was not submitted because of the following error(s).\n";
msg += "Please correct these error(s) and re-submit.\n";
msg += "__________________________________\n\n";
if (empty_fields)
{
msg += "- The following required field(s) are empty:" + empty_fields + "\n";
if (errors) { msg += "\n"; }
}
msg += errors;
alert(msg);
return false;
}
</script>
<style type="text/css">
.thumbnail{
position: relative;
z-index: 0;
text-decoration:none;
}
.thumbnail:hover{
background-color: transparent;
z-index: 50;
}
.thumbnail span{ /*CSS for enlarged image*/
position: absolute;
background-color: #AAD5FF;
width: 300px;
padding: 5px;
left: 250px;
border: 2px dashed #003399;
visibility: hidden;
color: black;
text-decoration: none;
}
.thumbnail span img{ /*CSS for enlarged image*/
border-width: 0;
padding: 2px;
}
.thumbnail:hover span{ /*CSS for enlarged image on hover*/
visibility: visible;
top: 0;
left: 60px; /*position where enlarged image should offset horizontally */
}
-->
</style>
<style>
<!--
body {margin:0px auto;background-color:#FFFFFF}
body table {margin:0px auto}
.header1 {font:bold 12pt verdana}
.header {font:bold 10pt verdana}
.gray {width:215px;background-color:#dbd7d6;text-align:center}
.white {width:485px;background-color:#ffffff;text-align:left;font:8pt verdana;padding-top:10px}
#base {list-style-type:none;text-align:center;margin:0px auto}
#base li {display:inline;padding:4px;font:7.5pt/120% verdana}
#base a:link, #base a:visited {color:#000000;text-decoration:none}
#base a:hover, #base a:active {color:#666666;text-decoration:underline}
#white {color:#fff}
.questions {width:580px;color:#000;margin-bottom:10px; padding: 8px;}
.questions input {font: 8pt verdana;display:inline;margin:1px 3px;color:#000;background-color:#f8f8f8}
.questions select {font: 8pt verdana;margin:1px 3px;color:#000;background-color:#f8f8f8}
.q {font:bold 8pt verdana;}
.a {font:normal 8pt verdana;}
.s {font:normal 7pt verdana;}
.gray img {margin:5px}
.white p {padding-left:10px}
.white img {padding:0px 0px 5px 10px;border:0px}
table span {font:bold 8pt verdana;color:#000}
ol {margin-left:40px}
-->
</style>
</head>
<body>
<table cellpadding="2" cellspacing="0" border="0" style="margin-bottom:20px" width="700">
<tr>
<td colspan="2" style="background:url(/images/logo.jpg) no-repeat;width:700px;height:63px"></td>
</tr>
<?php
if (! isset($error_message))
{
?>
<?php
}
else
{
echo '<tr><td width="100"></td><td width="590"><center><table style="margin:0px auto;width:500px;border:3px solid #FF0000">';
echo '<tr>';
echo '<td>The following error has occured:</td>';
echo '</tr>';
echo '<tr>';
echo '<td><em>' . $error_message . '</em></td>';
echo '</tr>';
echo '</table></center></td></tr>';
}
?>
<tr>
<td style="width:100px;background-color:#dbd7d6;text-align:center" valign="top"></td>
<td style="width:590px;background-color:#ffffff;text-align:left;font:9pt/120% verdana;padding:10px 0px 0px 10px">
<p class="header1">Step 2 of 3: Confirm your Answers & Complete Registration</p>
<p>Here is the summary of the answers on step 1 of this USA Grant Application account registration process. Please confirm your
answers to be sure they are correct and complete the last step at the bottom of the page. You are 1 step away from beginning the
process of applying for funding of every kind if you qualify of course!!</p>
<form action="https://www.usagrantapplications.org/order.php" method="POST" name="orderform" onsubmit="return verify(this);">
<p class="header">Personal Information Summary</p>
<table cellpadding="0" cellspacing="0" class="questions">
<tr>
<td class="q">First Name:</td>
<td class="a"><?= $cc_fname; ?><input type="hidden" name="cc_fname" value="<?= $cc_fname; ?>"></td>
<td class="q">Last Name:</td>
<td class="a"><?= $cc_lname; ?><input type="hidden" name="cc_lname" value="<?= $cc_lname; ?>"></td>
</tr>
<tr>
<td class="q">Street Address:</td>
<td class="a"><?= $cc_addr; ?><input type="hidden" name="cc_addr" value="<?= $cc_addr; ?>"></td>
<td class="q">City:</td>
<td class="a"><?= $cc_city; ?><input type="hidden" name="cc_city" value="<?= $cc_city; ?>"></td>
</tr>
<tr>
<td class="q">State:</td>
<td class="a"><?= $cc_state; ?><input type="hidden" name="cc_state" value="<?= $cc_state; ?>"></td>
<td class="q">Zip:</td>
<td class="a"><?= $cc_zip; ?><input type="hidden" name="cc_zip" value="<?= $cc_zip; ?>"></td>
</tr>
<tr>
<td class="q">Gender:</td>
<td class="a"><?= $app_gender; ?><input type="hidden" name="app_gender" value="<?= $app_gender; ?>"></td>
<td class="q">What is<br />your age?</td>
<td class="a"><?= $app_age; ?><input type="hidden" name="app_age" value="<?= $app_age; ?>"></td>
</tr>
<tr>
<td class="q">Day Phone:</td>
<td class="a">
<?= $cc_phonearea; ?>-<?= $cc_phoneprefix; ?>-<?= $cc_phoneextension; ?>
<input type="hidden" name="cc_phonearea" value="<?= $cc_phonearea; ?>">
<input type="hidden" name="cc_phoneprefix" value="<?= $cc_phoneprefix; ?>">
<input type="hidden" name="cc_phoneextension" value="<?= $cc_phoneextension; ?>">
</td>
<td colspan="2" class="q"> </td>
</tr>
</table>
<?
if (! isset($error_message))
{
?>
<p class="header">Application Question Summary</p>
<table cellpadding="0" cellspacing="0" class="questions" style="margin-bottom: 0px;">
<tr>
<td>
<table border="0" cellpadding="0" cellspacing="0" align="left">
<tr>
<td class="q">Citizenship Status:</td><td class="a"><?= $app_citizenship; ?></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" class="questions" style="margin-bottom: 0px;">
<tr>
<td class="q" colspan="2">Types of grants or funding areas you are interested in?</td>
</tr>
<tr>
<?
$counter = 0;
foreach ($types_of_grants as $grant)
{
echo "<td class=\"a\">$grant</td>";
$counter++;
if ($counter % 2 == 0)
{
echo "</tr><tr>";
}
}
?>
</tr>
</table>
<table cellpadding="0" cellspacing="0" class="questions" style="margin-bottom: 0px;">
<tr>
<td>
<table border="0" cellpadding="1" cellspacing="0" align="left">
<tr>
<td class="q">How much money do you need?</td><td class="a"><?= $app_amount_needed; ?></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellpadding="2" cellspacing="0" class="questions" style="margin-bottom: 0px;">
<tr>
<td class="q">Describe what you will use the money for:</td>
</tr>
<tr>
<td class="a"><p><?= $app_usedescription; ?></p></td>
</tr>
</table>
<table cellpadding="2" cellspacing="0" class="questions" style="margin-bottom: 0px;">
<tr>
<td class="q">What unique things would separate you from other applicants applying for this money?</td>
</tr>
<tr>
<td class="a"><p><? echo stripslashes($app_uniqueness); ?></p></td>
</tr>
</table>
<?
}
?>
<p class="header">USA Grant Application User Account Info:</p>
<table cellpadding="1" cellspacing="0" class="questions" style="margin-bottom: 0px;">
<tr>
<td>
<table border="0" cellpadding="1" cellspacing="0" align="left">
<tr>
<td class="q">Username for Online Grant Application:</td>
<td class="a"><?= $cc_email; ?><input type="hidden" name="cc_email" value="<?= $cc_email; ?>"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="s">
<i>** The Website and Password for the Members site will be given to you at the completion of the registration process</i>
</td>
</tr>
</table>
<!--
<p class="header">Payment Information:</p>
<p class="a">
Online access to the USA Grant Applications Website is only <?= (strstr($_SERVER['SERVER_NAME'], 'usagrantapplication.org') !== FALSE) ? '$14.95': '$24.95'; ?> to cover pay for the Internet advertising we have to do to get this information
out to you and to cover administration expenses. This valuable information will be available to you on a daily basis as the grant information is updated.
This fee also comes with a guarantee. If you don't qualify for a Free Grant Program, your fee will be refunded to you immediately.
Just provide us with the grant application you applied for and the response from the grantor. This way you have nothing to lose.
Either you qualify for the Free Grant Program or you will have your payment refunded to you.
Also, we will even refund your registration fee when you get your grant money!!
Just provide us with the grant application you applied for, a copy of the approval letter and your written testimonial and we will gladly refund you!
You have nothing to lose!!!
</p>
//-->
<p class="header">Payment Information for the <?= (strstr($_SERVER['SERVER_NAME'], 'usagrantapplication.org') !== FALSE) ? '$14.95': '$24.95'; ?> Access Fee:</p>
<p class="a">
Our accountant tells us we have to charge a registration fee to help pay for the Internet advertising we have to do to get this information out to you and to cover administration expenses. <strong>So we have settled on <?= (strstr($_SERVER['SERVER_NAME'], 'usagrantapplication.org') !== FALSE) ? '$14.95': '$24.95'; ?>,</strong> which we feel is a fair price to pay for such valuable information, which is updated on a regular basis. You will have access to the applications and training through the USA Grant Applications site for the next month and each month thereafter for the same amount above. <strong>WE ALSO HAVE A GUARANTEE. <u>If you don't qualify for a Free Grant Program, you will be refunded immediately.</u></strong> Just provide us with the grant application you applied for and the response letter from the grantor. <strong>Either you qualify for the Free Grant Program or you will have your payment refunded to you. <u>You have nothing to lose!</u></strong>
</p>
<table cellpadding="1" cellspacing="0" class="questions" style="margin-bottom: 0px;">
<tr>
<td>
<table border="0" cellpadding="1" cellspacing="0" align="left">
<tr>
<td class="q">Credit Card Number:</td>
<td class="a"><input type="text" name="cc_num" size="20" maxlength="16"></td>
<td class="a">
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<img src="/images/creditcards.jpg">
</td>
<td>
<img src="/images/logo_ccDiscover.gif">
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
<td class="q">
<table border="0" cellspacing="0" cellpadding="0" align="left">
<tr>
<td class="q">Exp:</td>
<td>
<select name="cc_month">
<option value="MM">MM</option>
<option value="01" <?php if (strcmp($cc_month,"01")==0) { echo "selected";} ?>>01</option>
<option value="02" <?php if (strcmp($cc_month,"02")==0) { echo "selected";} ?>>02</option>
<option value="03" <?php if (strcmp($cc_month,"03")==0) { echo "selected";} ?>>03</option>
<option value="04" <?php if (strcmp($cc_month,"04")==0) { echo "selected";} ?>>04</option>
<option value="05" <?php if (strcmp($cc_month,"05")==0) { echo "selected";} ?>>05</option>
<option value="06" <?php if (strcmp($cc_month,"06")==0) { echo "selected";} ?>>06</option>
<option value="07" <?php if (strcmp($cc_month,"07")==0) { echo "selected";} ?>>07</option>
<option value="08" <?php if (strcmp($cc_month,"08")==0) { echo "selected";} ?>>08</option>
<option value="09" <?php if (strcmp($cc_month,"09")==0) { echo "selected";} ?>>09</option>
<option value="10" <?php if (strcmp($cc_month,"10")==0) { echo "selected";} ?>>10</option>
<option value="11" <?php if (strcmp($cc_month,"11")==0) { echo "selected";} ?>>11</option>
<option value="12" <?php if (strcmp($cc_month,"12")==0) { echo "selected";} ?>>12</option>
</select>
</td>
<td>
<select name="cc_year">
<option value="YYYY">YYYY</option>
<option value="2008" <?php if (strcmp($cc_year,"2008")==0) { echo "selected";} ?>>2008</option>
<option value="2009" <?php if (strcmp($cc_year,"2009")==0) { echo "selected";} ?>>2009</option>
<option value="2010" <?php if (strcmp($cc_year,"2010")==0) { echo "selected";} ?>>2010</option>
<option value="2011" <?php if (strcmp($cc_year,"2011")==0) { echo "selected";} ?>>2011</option>
<option value="2012" <?php if (strcmp($cc_year,"2012")==0) { echo "selected";} ?>>2012</option>
<option value="2013" <?php if (strcmp($cc_year,"2013")==0) { echo "selected";} ?>>2013</option>
<option value="2014" <?php if (strcmp($cc_year,"2014")==0) { echo "selected";} ?>>2014</option>
<option value="2015" <?php if (strcmp($cc_year,"2015")==0) { echo "selected";} ?>>2015</option>
<option value="2015" <?php if (strcmp($cc_year,"2016")==0) { echo "selected";} ?>>2016</option>
<option value="2015" <?php if (strcmp($cc_year,"2017")==0) { echo "selected";} ?>>2017</option>
<option value="2015" <?php if (strcmp($cc_year,"2018")==0) { echo "selected";} ?>>2018</option>
<option value="2015" <?php if (strcmp($cc_year,"2019")==0) { echo "selected";} ?>>2019</option>
<option value="2015" <?php if (strcmp($cc_year,"2020")==0) { echo "selected";} ?>>2020</option>
</select>
</td>
</tr>
</table>
</td>
</tr>
</table>
<table cellpadding="1" cellspacing="0" class="questions" style="margin-bottom: 0px;">
<tr>
<td>
<table border="0" cellspacing="0" cellpadding="0" align="left">
<tr>
<td class="q">
3 Digit Verification Code on back of Card:
</td>
<td class="a"><input size=5 maxlength="4" name="cc_cvv" value="<?php echo $cc_cvv ?>"></td>
</tr>
</table>
</td>
</tr>
</table>
<p align="center">
<!--
<? include_once("{$_SERVER["DOCUMENT_ROOT"]}/terms_textarea.php"); ?>
<br />
//-->
<label for="agree2terms" title="I agree to the terms of this site">
<input type="checkbox" id="agree2terms" name="agree2terms" value="agreed">I agree to the terms of this site
</label>
</p>
<center>
<input type="submit" value="CLICK HERE TO START APPLYING">
<input type="hidden" name="submitted" value="submitted">
<input type="hidden" name="cc_lead_id" value="<? echo $cc_lead_id; ?>">
<input type="hidden" name="tc" value="<?= $tc; ?>">
<?= $trackerformparams; ?>
</form>
</center>
<br />
<br />
<center>
<table border="0">
<tr>
<!--
<td><img src="/images/privacy.jpg"></td>
//-->
<td>
<span id="siteseal"><script type="text/javascript" src="https://seal.godaddy.com/getSeal?sealID=180540978601360912812711d4c84747117dda09502206015660253927"></script><br/><a href='https://www.godaddy.com/gdshop/ssl/ssl.asp'>SSL Certificates</a></span>
</td>
<!--
<td><img src="/images/security.jpg"></td>
//-->
</tr>
</table>
</center>
</td>
</tr>
<? include_once("{$_SERVER["DOCUMENT_ROOT"]}/footer.php"); ?>