| 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.org/ |
Upload File : |
<?php
//Only V9 starting 05/11/2022
header("Location: /v9/");
exit(0);
require_once($_SERVER['DOCUMENT_ROOT']."/assets/includes/php_header.php");
$categories = get_categories();
//$business_questions = get_business_questions();
//$education_questions = get_education_questions();
//$disability_questions = get_disability_questions();
/*function sub_question_recursive($q) {
global $education_questions;
if(isset($education_questions['subquestions'][$q])) {
foreach($education_questions['subquestions'][$q] as $s=>$d) { ?>
<div class="<?= $q;?>_sub" style="padding:5px 5px 5px 20px;display:block;clear:both;">
<?= $d['name'];?><br/>
<?php if($d['type']=='bool') {?>
<label><input type="radio" value="1" name="<?= $s;?>" id="<?= $s;?>_yes" /> Yes</label>
<label><input type="radio" value="0" name="<?= $s;?>" id="<?= $s;?>_no" /> No</label>
<br/>
<?php } elseif(strpos($d['type'],'range') > -1) {
$range = array();
$pieces = explode(':',$d['type']);
$range_limits = explode('-',$pieces[1]);
for($i=$range_limits[0]; $i<=$range_limits[1]; $i++) {
$range[$i] = $i;
} ?>
<select name="<?= $s;?>" id="<?= $s;?>">
<option value="">Select</option>
<?php foreach($range as $i=>$j) {?>
<option value="<?= $i;?>"><?= $j;?></option>
<?php }?>
</select>
<?php }
if(isset($education_questions['subquestions'][$s])) {
sub_question_recursive($s);
}?>
</div><?php
}
}
}*/
/*function sub_question_recursive_disability($q) {
global $disability_questions;
if(isset($disability_questions['subquestions'][$q])) {
foreach($disability_questions['subquestions'][$q] as $k=>$data) {
foreach($data as $s=>$d) { ?>
<div class="<?= $q;?>_sub" style="padding:5px 5px 5px 0px;display:block;clear:both;">
<?= $d['name'];?><br/>
<?php if($d['type']=='bool') {?>
<label><input type="radio" value="1" name="<?= $s;?>" id="<?= $s;?>_yes" /> Yes</label>
<label><input type="radio" value="0" name="<?= $s;?>" id="<?= $s;?>_no" /> No</label>
<br/>
<?php } elseif($d['type']=='text') {
?><input style="width:100%;" type="text" name="<?= $s;?>" id="<?= $s;?>" /><?php
} elseif(strpos($d['type'],'range') > -1) {
$range = array();
$pieces = explode(':',$d['type']);
$range_limits = explode('-',$pieces[1]);
for($i=$range_limits[0]; $i<=$range_limits[1]; $i++) {
$range[$i] = $i;
} ?>
<select name="<?= $s;?>" id="<?= $s;?>">
<option value="">Select</option>
<?php foreach($range as $i=>$j) {?>
<option value="<?= $i;?>"><?= $j;?></option>
<?php
}
?>
</select>
<?php
} elseif($d['type']=='textarea') {
?>
<textarea name="<?= $s;?>" id="<?= $s;?>"></textarea>
<?php
} elseif(strpos($d['type'],'select') > -1) {
$select = array();
$pieces = explode(':',$d['type']);
$more_pieces = explode('|',$pieces[1]);
?>
<select name="<?= $s;?>" id="<?= $s;?>">
<option value="">Select</option>
<?php foreach($more_pieces as $p) { ?>
<option value="<?= $p;?>"><?= $p;?></option>
<?php } ?>
</select>
<?php
}
if(isset($disability_questions['subquestions'][$s]))
{
sub_question_recursive_disability($s);
}
?>
</div>
<?php
}
}
}
} */
$granttype = $_GET['apptype'];
?>
<? include_once("{$_SERVER["DOCUMENT_ROOT"]}/header.php"); ?>
<script type="text/javascript" src="/assets/js/jquery-1.11.1.min.js"></script>
<script type="text/javascript" src="/assets/js/jquery.formatter.min.js"></script>
<script type="text/javascript" src="/assets/js/application_verify.js"></script>
<script>
$(document).ready( function() {
$('.subcategory,.subtext,#education_questions,#business_questions').hide().find('input,select,textarea').attr('disabled','disabled');
$('input[name=category_id]').click( function() {
var show_class = $(this).attr('class');
var subcat_elements = $('.subcategory[class~='+show_class+']');
$('.subcategory').hide().find('input,select,textarea').attr('disabled', 'disabled');
if(subcat_elements.length > 0) {
$('#subcategories').show();
subcat_elements.show().find('input,select,textarea').removeAttr('disabled');
} else {
$('#subcategories').hide().find('input,select,textarea').attr('disabled', 'disabled');
}
var granttype = this.className;
$('#granttype_input').val(granttype);
var amount_needed = $('select[name=app_amount_needed]').val();
if(granttype == 'business') {
$('#amount_needed').html('<select name="app_amount_needed"><option selected>Select</option><option value="$500 - $10,000">$500 - $10,000</option><option value="$10,000 - $25,000">$10,000 - $25,000</option><option value="$25,000 - $50,000">$25,000 - $50,000</option><option value="$50,000 - $100,000">$50,000 - $100,000</option><option value="$100,000 - $250,000">$100,000 - $250,000</option><option value="$250,000 - $500,000">$250,000 - $500,000</option><option value="$500,000 - $1,000,000">$500,000 - $1,000,000</option><option value="$1,000,000 +">$1,000,000 +</option></select>');
$('#business_questions').show('slow').find('input,select,textarea').removeAttr('disabled');
} else {
$('#amount_needed').html('<select name="app_amount_needed"><option selected>Select</option><option value="$500 - $10,000">$500 - $10,000</option><option value="$10,000 - $25,000">$10,000 - $25,000</option><option value="$25,000 - $50,000">$25,000 - $50,000</option><option value="$50,000 - $100,000">$50,000 - $100,000</option><option value="$100,000 or More">$100,000 or More</option></select>');
$('#business_questions').hide('slow').find('input,select,textarea').attr('disabled','disabled');
}
/*if(granttype == 'education') {
$('#education_questions').show().find('input,select,textarea').removeAttr('disabled');
} else {
$('#education_questions').hide().find('input,select,textarea').attr('disabled','disabled');
}*/
});
<?php
/*foreach($education_questions['subquestions'] as $slug=>$data) {
echo "$('.".$slug."_sub').hide().find('input,select,textarea').attr('disabled','disabled');";
echo "$('#".$slug."_yes').click(function() {
$('.".$slug."_sub').show().find('input,select,textarea').removeAttr('disabled');
});";
echo "$('#".$slug."_no').click(function() {
$('.".$slug."_sub').hide().find('input,select,textarea').attr('disabled','disabled');
});";
}*/
/*foreach($disability_questions['subquestions'] as $slug=>$data) {
echo "$('.".$slug."_sub').hide().find('input,select,textarea').attr('disabled','disabled');";
echo "$('#".$slug."_yes').click(function() {
$('.".$slug."_sub').slideDown().find('input,select,textarea').removeAttr('disabled');
});";
echo "$('#".$slug."_no').click(function() {
$('.".$slug."_sub').slideUp().find('input,select,textarea').attr('disabled','disabled');
});";
}*/
if(!empty($_REQUEST)) {
echo "$('input:radio[name=category_id]').filter(function() { return $(this).val()=='{$_REQUEST['category_id']}'; }).click();\n";
}
?>
});
// Create an associative array of 'pretty name' values
var prettynames = {
category_id:"Grant Category",
cc_fname:"First Name",
cc_lname:"Last Name",
cc_addr:"Address",
cc_city:"City",
cc_state:"State",
cc_zip:"Zip",
cc_phonearea:"Phone Number Area Code",
cc_phoneprefix:"Phone Number Prefix",
cc_phoneextension:"Phone Number Ending",
cc_email:"Email Address",
app_gender:"Gender",
app_citizenship:"Citizenship",
app_age:"Your age",
app_amount_needed:"The amount needed",
app_usedescription:"Describe what you will use the money for",
app_uniqueness:"Uniqueness",
diploma:"Do you have a high school diploma or GED?",
online_business:"Would you like to start an online business to make money while you go to school if we could help pay for your training?",
serious_scale:"In a scale of 1-10 how serious are you about getting a degree online?",
college:"Have you gone to college?",
degree:"Do you have a degree?",
willing_second_degree:"Are you willing to get a second degree in business?",
have_computer:"Do you have access to a computer for taking the online classes and working on your business?",
/*applied_ssd:"Have you ever applied for Social Security Disability?",
currently_applying:"If yes, \"Are you currently receiving Social Security benefits?\"",
denied_ssd:"Have you been denied for Social Security Disability?",
stopped_work:"Have you stopped working because of a disability?",
why_cant_work:"If yes, \"Why can't you work right now?\"",
out_of_work_12_months:"Do you expect to be out of work for at least 12 months?",
treatment:"Are you currently receiving treatment from a doctor?",
worked_5_years:"Have you worked approximately five of the last ten years?",
have_attorney:"Do you have an attorney helping you with this case?"*/
own_business:"Do you own your own business?",
name_of_business:"What is the Name of your Business?",
has_website:"Do you have a website?",
website:"What is your website?",
business_structured:"How is your business structured?",
how_many_employees:"How many employees do you have?",
annual_revenue:"What is the Total Gross Income of your business?",
defendant_lawsuit:"Have you or your business every been a defendant in a lawsuit?",
sued_protected:"Do you feel if you were sued, you are properly protected so you wouldn't lose any of your assets like your home, cars, building, etc?",
living_trust:"Do you have a living trust?"
};
// 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) {
// 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.
var msg;
var empty_fields = "";
var errors = "";
var required_fields = ['category_id','app_amount_needed','cc_fname','cc_lname','cc_zip','cc_email','phone_full','cc_addr','app_usedescription','app_uniqueness','cc_city','cc_state','app_age','app_gender'];
$(f).find('input,tel,textarea,select,number').each(function()
{
//only check for required fields
var element = $(this)[0];
var is_required = required_fields.indexOf(element.name);
if(is_required=='-1') {
//Not Required
} else {
//Required
if($(element).is(':hidden')) {
//Ignore
}
else if((element.name == 'cc_email')) {
if(/(.+)@(.+){2,}\.(.+){2,}/.test(element.value)) {
//valid email
} else {
errors += "- Please enter a valid email address\n";
}
}
else if ((element.name == 'phone_full')) {
var real_phone = element.value;
real_phone = real_phone.replace(/[^0-9]/g,'');
if(real_phone.length==10) {
//valid phone
} else {
errors += "- Please enter a valid phone number\n";
}
}
else if ((element.name == 'cc_zip')) {
var real_phone = element.value;
real_phone = real_phone.replace(/[^0-9]/g,'');
if(real_phone.length==5) {
//valid phone
} else {
empty_fields += "\n Zip Code";
}
}
else if ((element.type == 'text' || element.type == 'textarea') && (element.name != 'granttype_other'))
{
if ( (element.value == null || element.value == "") || isblank(element.value) )
{
empty_fields += "\n " + prettynames[element.name];
}
else
{
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];
}
}
else if (element.type == 'radio')
{
if (!$('[name='+element.name+']').filter(':checked').val() && empty_fields.indexOf(prettynames[element.name]) == -1)
{
empty_fields += "\n " + prettynames[element.name];
}
}
}
});
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;
}
function tab_phone(current,next) {
var currentfield = document.getElementById(current);
var nextfield = document.getElementById(next);
if (currentfield.value.length == 3) { nextfield.focus(); }
}
function checkZip(zip,me) {
zip = zip.replace(/[^0-9]/g,'');
if(zip.length==5) {
var str = 'zip='+encodeURIComponent(zip);
$.ajax
({
cache: false,
type: "POST",
dataType:"json",
data: str,
url: "/php/ZipToCity.php",
success: function(data)
{
if(!data.error) {
$('[name=cc_city]').val(data.city);
$('[name=cc_state]').val(data.state);
}
},error: function(jqXHR, textStatus, errorThrown) {
}
});
}
}
$(document).ready(function(){
$('input[name=phone_full]').formatter({
'pattern': '({{999}}) {{999}}-{{9999}}',
'persistent': false
});
});
</script>
<style>
.grant_category { margin-bottom:15px; width:95% }
.grant_category .txt {cursor:pointer; border-bottom:1px dotted #333333; margin-bottom:5px}
.grant_category .img {background-repeat:no-repeat; background-position:0px 2px; padding-left:50px; height:41px !important}
.grant_category .col {width:33%}
.grant_category .hrd {font-weight:bold; text-transform:uppercase; border-bottom:1px solid #333333; height:15px}
.grant_category .hrd span {font-weight:normal; text-transform:none; font-style:italic}
table#main-categories td { border-top:1px dotted #333333; padding:7px 0; }
table#main-categories td.first { border-top:none; }
.category { }
.subcategory { float:left; width:40%; }
.grant_category input { margin:0; }
.grant_category label { font-weight: normal; text-transform: uppercase; cursor: pointer; }
.grant_category p { font-size: 9px; margin-left:24px; }
</style>
</head>
<body>
<div id="size">
<div id="logo"></div>
<div id="text">
<div id="text_">
<div style="margin-left: 32px;margin-right:32px;">
<table cellpadding="2" cellspacing="0" border="0">
<tr>
<td>
<p class="header">USA Funding Applications Registration Form</p>
<p><i>The information you enter below is confidential and is only made available to a USA Funding
Applications Specialist.</i></p>
<p class="header">Step 1 of 3: Tell us about <u>You</u> and <u>Your Funding Needs</u></p>
<form action="https://www.usafundingapplications.org/order.php" method="POST" name="application" onSubmit="return verify(this);">
<fieldset>
<table cellpadding="2" cellspacing="0" class="questions">
<tr>
<td class="q">First Name:</td>
<td class="a"><input type="text" name="cc_fname" size="20"></td>
<td class="q">Last Name:</td>
<td class="a"><input type="text" name="cc_lname" size="20"></td>
</tr>
<tr>
<td class="q">Street Address:</td>
<td class="a"><input type="text" name="cc_addr" size="20"></td>
<td class="q">Zip</td>
<td class="a"><input type="tel" class="third" maxlength="5" id="id-cc-zip" name="cc_zip" onkeyup="checkZip($(this).val(),this);" value="<?= isset($_REQUEST['cc_zip']) ? $_REQUEST['cc_zip'] : null;?>" /></td>
</tr>
<tr>
<td class="q">City</td>
<td class="a"><input type="text" name="cc_city" value="<?= $_POST['cc_city'];?>" /></td>
<td class="q">State</td>
<td class="a">
<select name="cc_state">
<?php
$_STATES = array(''=>'','AL'=>'Alabama','AK'=>'Alaska','AS'=>'American Samoa','AZ'=>'Arizona','AR'=>'Arkansas','CA'=>'California','CO'=>'Colorado','CT'=>'Connecticut','DE'=>'Delaware','DC'=>'District of Columbia','FM'=>'Federated States of Micronesia','FL'=>'Florida','GA'=>'Georgia','GU'=>'Guam','HI'=>'Hawaii','ID'=>'Idaho','IL'=>'Illinois','IN'=>'Indiana','IA'=>'Iowa','KS'=>'Kansas','KY'=>'Kentucky','LA'=>'Louisiana','ME'=>'Maine','MD'=>'Maryland','MH'=>'Marshall Islands','MA'=>'Massachusetts','MI'=>'Michigan','MN'=>'Minnesota','MS'=>'Mississippi','MO'=>'Missouri','MT'=>'Montana','NE'=>'Nebraska','NV'=>'Nevada','NH'=>'New Hampshire','NJ'=>'New Jersey','NM'=>'New Mexico','NY'=>'New York','NC'=>'North Carolina','ND'=>'North Dakota','MP'=>'Northern Mariana Islands','OH'=>'Ohio','OK'=>'Oklahoma','OR'=>'Oregon','PW'=>'Palau','PA'=>'Pennsylvania','PR'=>'Puerto Rico','RI'=>'Rhode Island','SC'=>'South Carolina','SD'=>'South Dakota','TN'=>'Tennessee','TX'=>'Texas','UT'=>'Utah','VT'=>'Vermont','VI'=>'Virgin Islands','VA'=>'Virginia','WA'=>'Washington','WV'=>'West Virginia','WI'=>'Wisconsin','WY'=>'Wyoming');
foreach($_STATES as $k=>$v) {
?><option value="<?= $k;?>" <?= ($_POST['cc_state']==$k) ? 'selected' : '';?>><?= $v;?></option><?php
}
?>
</select>
</td>
</tr>
<tr>
<td class="q">Gender:</td>
<td class="a">
<select name="app_gender">
<option selected>Select...</option>
<option value="M">Male</option>
<option value="F">Female</option>
</select>
</td>
<td class="q">What is<br />your age?</td>
<td class="a">
<select name="app_age">
<option selected>Select...</option>
<option value="18-25">18-25</option>
<option value="26-34">26-34</option>
<option value="35-49">35-49</option>
<option value="50-65">50-65</option>
<option value="66-80">66-80</option>
<option value="80+">80 +</option>
</select>
</td>
</tr>
<tr>
<td class="q">Ethnicity</td>
<td class="a">
<select name="ethnicity">
<option value="">Select</option>
<option value="White">White</option>
<option value="Black or African American">Black or African American</option>
<option value="Native American">Native American</option>
<option value="Asian American">Asian American</option>
<option value="Native Hawaiian">Native Hawaiian</option>
<option value="Pacific Islander">Pacific Islander</option>
<option value="Middle Eastern American">Middle Eastern American</option>
<option value="Hispanic">Hispanic</option>
<option value="Latino">Latino</option>
<option value="Multi-racial">Multi-racial</option>
<option value="Other">Other</option>
</select>
</td>
<td class="q">Employment Status</td>
<td class="a">
<select name="employment_status">
<option value="">Select</option>
<option value="Employed Full-time">Employed Full-time</option>
<option value="Employed Part-time">Employed Part-time</option>
<option value="Self Employed">Self Employed</option>
<option value="Unemployed">Unemployed</option>
<option value="Retired">Retired</option>
<option value="Collecting Social Security">Collecting Social Security</option>
<option value="Disabled">Disabled</option>
</select>
</td>
</tr>
<tr>
<td class="q">Day Phone:</td>
<td class="a"><input type="tel" class="full" name="phone_full" value="<?= $_REQUEST['phone_full'];?>" /></td>
<td colspan="2" class="q"> </td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" class="questions">
<tr>
<td class="q">Citizenship Status:
<select name="app_citizenship">
<option selected>Select...</option>
<option value="U.S. Citizen">U.S. Citizen</option>
<option value="Resident Alien">Resident Alien</option>
<option value="Green Card Holder">Green Card Holder</option>
<option value="Permanent Resident">Permanent Resident</option>
<option value="Not Sure">Not Sure</option>
</select>
</td>
</tr>
</table>
</fieldset>
<br />
<fieldset>
<table cellpadding="2" cellspacing="0" class="questions">
<tr>
<td colspan="2" class="q">Choose which funding area you are interested in</td>
</tr>
<tr>
<td>
<?
if(!empty($categories['categories'])) {
?><table id="main-categories" cellpadding="2" cellspacing="0" class="grant_category"><?
$first = true;
foreach ($categories['categories'] as $id => $cat) { ?>
<tr>
<td <?= ($first) ? 'class="first"' : null; $first = false; ?>>
<input type="radio" name="category_id" id="<?=$id.'-'.$cat['slug'];?>" class="<?=$cat['slug'];?>" value="<?=$id;?>" />
<label for="<?=$id.'-'.$cat['slug'];?>" title="<?=$cat['name'];?><?=($cat['description'] != '') ? ' - '.$cat['description'] : null;?>"><?=$cat['name'];?></label>
<?=($cat['description'] != '') ? '<p>'.$cat['description'].'</p>' : null;?>
<?php if($cat['slug']=='personal') { ?>
<p class="subtext" style="clear:left;padding-top: 5px;margin: 0px 10px;font-size: 10px;font-style: italic;">*There are many Personal Assistance Programs that you can apply for as long as you meet the criteria, however there no Funding to pay off your credit cards or debt.</p>
<?php }?>
</td>
</tr>
<?
}
?></table><?
}
if(!empty($categories['subcategories'])) { ?>
<table id="subcategories" class="grant_category" cellpadding="2" cellspacing="0" style="display:none;">
<tr>
<td class="hrd" >Suggested Sub-Categories <span>(Check all that apply)</span></td>
</tr>
<tr><td style="padding-top:5px;"><?
foreach ($categories['subcategories'] as $sub_id => $subcat) { ?>
<div class="subcategory <?=implode(' ', $subcat['categories']);?>">
<input id="<?=$sub_id.'-'.$subcat['slug'];?>" type="checkbox" name="subcategories[]" value="<?=$subcat['id'];?>" />
<label for="<?=$sub_id.'-'.$subcat['slug'];?>"><?=$subcat['name'];?></label>
</div>
<?
} ?>
</td></tr>
</table><?
}
?>
</td>
</tr>
</table>
<?php /*
<table cellpadding="0" cellspacing="0" border="0" class="form_table" id="disability_questions">
<?php foreach($disability_questions['questions'] as $slug=>$data) {?>
<tr>
<td><?= $data['name'];?></td>
</tr>
<tr>
<td>
<?php if($data['type']=='bool') {?>
<label><input type="radio" value="1" name="<?= $slug;?>" id="<?= $slug;?>_yes" /> Yes</label>
<label><input type="radio" value="0" name="<?= $slug;?>" id="<?= $slug;?>_no" /> No</label>
<?php } elseif(strpos($data['type'],'range') > -1) {
$range = array();
$pieces = explode(':',$data['type']);
$range_limits = explode('-',$pieces[1]);
if($range_limits[0] > $range_limits[1]) {
for($i=$range_limits[0]; $i>=$range_limits[1]; $i--) {
$range[$i] = $i;
}
} else {
for($i=$range_limits[0]; $i<=$range_limits[1]; $i++) {
$range[$i] = $i;
}
}
?>
<select name="<?= $slug;?>" id="<?= $slug;?>">
<option value="">Select</option>
<?php foreach($range as $i=>$j) {?>
<option value="<?= $i;?>"><?= $j;?></option>
<?php }?>
</select>
<?php } elseif($data['type']=='textarea') {
?>
<textarea name="<?= $slug;?>" id="<?= $slug;?>"></textarea>
<?php
}
sub_question_recursive_disability($slug);
?>
</td>
</tr>
<?php } ?>
</table>
*/ ?>
<?php /*<table cellpadding="0" cellspacing="0" border="0" class="form_table" id="education_questions">
<?php foreach($education_questions['questions'] as $slug=>$data) {?>
<tr>
<td><?= $data['name'];?></td>
</tr>
<tr>
<td>
<?php if($data['type']=='bool') {?>
<label><input type="radio" value="1" name="<?= $slug;?>" id="<?= $slug;?>_yes" /> Yes</label>
<label><input type="radio" value="0" name="<?= $slug;?>" id="<?= $slug;?>_no" /> No</label>
<?php } elseif(strpos($data['type'],'range') > -1) {
$range = array();
$pieces = explode(':',$data['type']);
$range_limits = explode('-',$pieces[1]);
if($range_limits[0] > $range_limits[1]) {
for($i=$range_limits[0]; $i>=$range_limits[1]; $i--) {
$range[$i] = $i;
}
} else {
for($i=$range_limits[0]; $i<=$range_limits[1]; $i++) {
$range[$i] = $i;
}
}
?>
<select name="<?= $slug;?>" id="<?= $slug;?>">
<option value="">Select</option>
<?php foreach($range as $i=>$j) {?>
<option value="<?= $i;?>"><?= $j;?></option>
<?php }?>
</select>
<?php }
sub_question_recursive($slug);
?>
</td>
</tr>
<?php } ?>
</table>*/?>
<?php /*
<table cellpadding="0" cellspacing="0" border="0" class="form_table" id="business_questions">
<tr>
<td>What are the major financial needs for your business? <i>(Check all that apply)</i></td>
</tr>
<?php foreach($business_questions['questions'] as $slug=>$data) {?>
<tr>
<td>
<label><input type="checkbox" value="1" name="<?= $slug;?>" id="<?= $slug;?>_yes" style="vertical-align:middle;" /> <?= $data['name'];?></label>
</td>
</tr>
<?php } ?>
<tr>
<td>
Do you own your own business?
<label style="display:inline-block;width:auto;">Yes <input type="radio" name="own_business" value="yes" style="vertical-align:middle;" onclick="$('.has_business_show').show();" /></label>
<label style="display:inline-block;width:auto;">No <input type="radio" name="own_business" value="no" style="vertical-align:middle;" onclick="$('.has_business_show').hide();" /></label>
</td>
</tr>
<tr class="has_business_show" style="display:none;">
<td>
<label>What is the Name of your Business? <input type="text" name="name_of_business" value="" /></label>
</td>
</tr>
<tr class="has_business_show" style="display:none;">
<td>
Do you have a website?
<label style="display:inline-block;width:auto;">Yes <input type="radio" name="has_website" value="yes" style="vertical-align:middle;" onclick="$('.has_website_show').show();" /></label>
<label style="display:inline-block;width:auto;">No <input type="radio" name="has_website" value="no" style="vertical-align:middle;" onclick="$('.has_website_show').hide();" /></label>
</td>
</tr>
<tr class="has_website_show" style="display:none;">
<td>
<label>What is your website? <input type="text" name="website" value="" /></label>
</td>
</tr>
<tr class="has_business_show" style="display:none;">
<td>
<label>
How is your business structured?
<select name="business_structured" style="vertical-align:middle;">
<option value=""></option>
<option value="Sole Proprietor">Sole Proprietor</option>
<option value="Corporation">Corporation</option>
<option value="LLC">LLC</option>
</select>
</label>
</td>
</tr>
<tr class="has_business_show" style="display:none;">
<td>
<label>How many employees do you have? <input type="number" name="how_many_employees" value="" /></label>
</td>
</tr>
<tr class="has_business_show" style="display:none;">
<td>
<label>What is the Total Gross of your business? <small><i>(Total money received before any deductions like rent, cost of goods, and taxes)</i></small> <input type="number" name="annual_revenue" value="" /></label>
</td>
</tr>
<tr class="has_business_show" style="display:none;">
<td>
Have you or your business every been a defendant in a lawsuit?
<label style="display:inline-block;width:auto;">Yes <input type="radio" name="defendant_lawsuit" value="yes" style="vertical-align:middle;" /></label>
<label style="display:inline-block;width:auto;">No <input type="radio" name="defendant_lawsuit" value="no" style="vertical-align:middle;" /></label>
</td>
</tr>
<tr class="has_business_show" style="display:none;">
<td>
Do you feel if you were sued, you are properly protected so you wouldn't lose any of your assets like your home, cars, building, etc?
<label style="display:inline-block;width:auto;">Yes <input type="radio" name="sued_protected" value="yes" style="vertical-align:middle;" /></label>
<label style="display:inline-block;width:auto;">No <input type="radio" name="sued_protected" value="no" style="vertical-align:middle;" /></label>
</td>
</tr>
<tr class="has_business_show" style="display:none;">
<td>
Are you putting money into the business?
<label style="display:inline-block;width:auto;">Yes <input type="radio" name="putting_money_into_business" value="yes" style="vertical-align:middle;" onclick="$('.putting_money_into_business_show').show();" /></label>
<label style="display:inline-block;width:auto;">No <input type="radio" name="putting_money_into_business" value="no" style="vertical-align:middle;" onclick="$('.putting_money_into_business_show').hide();" /></label>
</td>
</tr>
<tr class="putting_money_into_business_show" style="display:none;">
<td>
<label>How much? <input type="number" name="putting_money_how_much" placeholder="$0.00" /></label>
</td>
</tr>
<tr>
<td>
Do you have a living trust?
<label style="display:inline-block;width:auto;">Yes <input type="radio" name="living_trust" value="yes" style="vertical-align:middle;" /></label>
<label style="display:inline-block;width:auto;">No <input type="radio" name="living_trust" value="no" style="vertical-align:middle;" /></label>
</td>
</tr>
</table>
*/?>
<div id="credit_questions" style="padding:0px 5px;">
<div style="padding:5px 0px;">
How would you describe your credit?<br />
<label>
<input type="radio" name="describe_credit" value="Excellent" <?= $_REQUEST['describe_credit']=='Excellent' ? 'checked' : '';?> style="vertical-align:middle;margin:0px;" />
Excellent
</label>
<label>
<input type="radio" name="describe_credit" value="Good" <?= $_REQUEST['describe_credit']=='Good' ? 'checked' : '';?> style="vertical-align:middle;margin:0px;" />
Good
</label>
<label>
<input type="radio" name="describe_credit" value="Fair" <?= $_REQUEST['describe_credit']=='Fair' ? 'checked' : '';?> style="vertical-align:middle;margin:0px;" />
Fair
</label>
<label>
<input type="radio" name="describe_credit" value="Poor" <?= $_REQUEST['describe_credit']=='Poor' ? 'checked' : '';?> style="vertical-align:middle;margin:0px;" />
Poor
</label>
</div>
<div style="padding:5px 0px;">
Do you want to improve your credit?<br />
<label>
<input type="radio" name="want_to_improve_credit" value="Yes" <?= $_REQUEST['want_to_improve_credit']=='Yes' ? 'checked' : '';?> onclick="if($(this).is(':checked')) { $('#want_to_improve_credit_yes').show(); } else { $('#want_to_improve_credit_yes').hide(); }" style="vertical-align:middle;margin:0px;" />
Yes
</label>
<label>
<input type="radio" name="want_to_improve_credit" value="No" <?= $_REQUEST['want_to_improve_credit']=='No' ? 'checked' : '';?> onclick="if($(this).is(':checked')) { $('#want_to_improve_credit_yes').hide(); } else { $('#want_to_improve_credit_yes').show(); }" style="vertical-align:middle;margin:0px;" />
No
</label>
</div>
<div id="want_to_improve_credit_yes" style="padding-left:40px;display:<?= $_REQUEST['want_to_improve_credit']=='Yes' ? 'block' : 'none';?>;">
<div style="padding:5px 0px;">
Have you been turned down for a loan in the last 60 days?<br />
<label>
<input type="radio" name="turned_down_for_loan" value="Yes" <?= $_REQUEST['turned_down_for_loan']=='Yes' ? 'checked' : '';?> style="vertical-align:middle;margin:0px;" />
Yes
</label>
<label>
<input type="radio" name="turned_down_for_loan" value="No" <?= $_REQUEST['turned_down_for_loan']=='No' ? 'checked' : '';?> style="vertical-align:middle;margin:0px;" />
No
</label>
</div>
<div style="padding:5px 0px;">
What is your main goal or reason to have good credit?<br />
<label>
<input type="radio" name="main_goal_for_good_credit" value="Buy a home" <?= $_REQUEST['main_goal_for_good_credit']=='Buy a home' ? 'checked' : '';?> style="vertical-align:middle;margin:0px;" />
Buy a home
</label>
<label>
<input type="radio" name="main_goal_for_good_credit" value="Buy a car" <?= $_REQUEST['main_goal_for_good_credit']=='Buy a car' ? 'checked' : '';?> style="vertical-align:middle;margin:0px;" />
Buy a car
</label>
<label>
<input type="radio" name="main_goal_for_good_credit" value="Other" <?= $_REQUEST['main_goal_for_good_credit']=='Other' ? 'checked' : '';?> style="vertical-align:middle;margin:0px;" />
Other
</label>
</div>
<div style="padding:5px 0px;">
What is your time frame for accomplishing your goal?<br />
<label>
<input type="radio" name="goal_time_frame" value="1-3 Months" <?= $_REQUEST['goal_time_frame']=='1-3 Months' ? 'checked' : '';?> style="vertical-align:middle;margin:0px;" />
1-3 Months
</label>
<label>
<input type="radio" name="goal_time_frame" value="4-6 Months" <?= $_REQUEST['goal_time_frame']=='4-6 Months' ? 'checked' : '';?> style="vertical-align:middle;margin:0px;" />
4-6 Months
</label>
<label>
<input type="radio" name="goal_time_frame" value="6-12 Months" <?= $_REQUEST['goal_time_frame']=='6-12 Months' ? 'checked' : '';?> style="vertical-align:middle;margin:0px;" />
6-12 Months
</label>
</div>
<div style="padding:5px 0px;">
How serious are you about fixing your credit?<br />
<div>
<label>
<input type="radio" name="how_serious" value="Very interested!" <?= $_REQUEST['how_serious']=='Very interested!' ? 'checked' : '';?> style="vertical-align:middle;margin:0px;" />
<strong>Very interested!</strong> I need to make a large purchase soon and need to improve it.
</label>
</div>
<div>
<label>
<input type="radio" name="how_serious" value="No Rush." <?= $_REQUEST['how_serious']=='No Rush.' ? 'checked' : '';?> style="vertical-align:middle;margin:0px;" />
<strong>No Rush.</strong> I'm just looking for options.
</label>
</div>
</div>
<div style="padding:5px 0px;">
Would you like to talk to a specialist to improve your credit?<br />
<label>
<input type="radio" name="talk_to_specialist" value="Yes" <?= $_REQUEST['talk_to_specialist']=='Yes' ? 'checked' : '';?> onclick="$('#talk_to_specialist_yes').show();" style="vertical-align:middle;margin:0px;" />
Yes
</label>
<label>
<input type="radio" name="talk_to_specialist" value="No" <?= $_REQUEST['talk_to_specialist']=='No' ? 'checked' : '';?> onclick="$('#talk_to_specialist_yes').hide();" style="vertical-align:middle;margin:0px;" />
No
</label>
</div>
<div id="talk_to_specialist_yes" style="display:<?= $_REQUEST['talk_to_specialist']=='Yes' ? 'block' : 'none';?>;">
<div style="padding:5px 0px;">
I give permission to have a credit pro from Pinnacle Credit Pros contact me.<br />
<label>
<input type="radio" name="give_permission_for_specialist" value="Yes" <?= $_REQUEST['give_permission_for_specialist']=='Yes' ? 'checked' : '';?> style="vertical-align:middle;margin:0px;" />
Yes
</label>
<label>
<input type="radio" name="give_permission_for_specialist" value="No" <?= $_REQUEST['give_permission_for_specialist']=='No' ? 'checked' : '';?> style="vertical-align:middle;margin:0px;" />
No
</label>
</div>
</div>
</div>
</div>
<?php /*
<div id="bankruptcy_questions" style="padding:0px 5px;">
<div style="padding:5px 0px;">
Have you filed a prior bankruptcy:<br />
<label>
<input type="radio" name="filed_bankruptcy" value="Yes" <?= $_REQUEST['filed_bankruptcy']=='Yes' ? 'checked' : '';?> onclick="if($(this).is(':checked')) { $('#filed_bankruptcy_yes').show(); } else { $('#filed_bankruptcy_yes').hide(); }" style="vertical-align:middle;margin:0px;" />
Yes
</label>
<label>
<input type="radio" name="filed_bankruptcy" value="No" <?= $_REQUEST['filed_bankruptcy']=='No' ? 'checked' : '';?> onclick="if($(this).is(':checked')) { $('#filed_bankruptcy_yes').hide(); } else { $('#filed_bankruptcy_yes').show(); }" style="vertical-align:middle;margin:0px;" />
No
</label>
</div>
<div id="filed_bankruptcy_yes" style="padding-left:40px;display:<?= $_REQUEST['filed_bankruptcy']=='Yes' ? 'block' : 'none';?>;">
<div style="padding:5px 0px;">
What chapter was it?<br />
<label>
<input type="radio" name="what_chapter" value="Chapter 7" <?= $_REQUEST['what_chapter']=='Chapter 7' ? 'checked' : '';?> style="vertical-align:middle;margin:0px;" />
Chapter 7
</label>
<label>
<input type="radio" name="what_chapter" value="Chapter 13" <?= $_REQUEST['what_chapter']=='Chapter 13' ? 'checked' : '';?> style="vertical-align:middle;margin:0px;" />
Chapter 13
</label>
</div>
<div style="padding:5px 0px;">
<label>
Date Filed:
<input type="date" name="date_filed" value="<?= $_REQUEST['date_filed'];?>" />
</label>
</div>
<div style="padding:5px 0px;">
Result:<br />
<label>
<input type="radio" name="bankruptcy_result" value="Dismissed" <?= $_REQUEST['bankruptcy_result']=='Dismissed' ? 'checked' : '';?> style="vertical-align:middle;margin:0px;" />
Dismissed
</label>
<label>
<input type="radio" name="bankruptcy_result" value="Discharged" <?= $_REQUEST['bankruptcy_result']=='Discharged' ? 'checked' : '';?> style="vertical-align:middle;margin:0px;" />
Discharged
</label>
<label>
<input type="radio" name="bankruptcy_result" value="In the middle of the process" <?= $_REQUEST['bankruptcy_result']=='In the middle of the process' ? 'checked' : '';?> style="vertical-align:middle;margin:0px;" />
In the middle of the process
</label>
</div>
</div>
<div style="padding:5px 0px;">
Have you considered bankruptcy?<br />
<label>
<input type="radio" name="considered_bankruptcy" value="Yes" <?= $_REQUEST['considered_bankruptcy']=='Yes' ? 'checked' : '';?> onclick="if($(this).is(':checked')) { $('#considered_bankruptcy_yes').show(); } else { $('#considered_bankruptcy_yes').hide(); }" style="vertical-align:middle;margin:0px;" />
Yes
</label>
<label>
<input type="radio" name="considered_bankruptcy" value="No" <?= $_REQUEST['considered_bankruptcy']=='No' ? 'checked' : '';?> onclick="if($(this).is(':checked')) { $('#considered_bankruptcy_yes').hide(); } else { $('#considered_bankruptcy_yes').show(); }" style="vertical-align:middle;margin:0px;" />
No
</label>
</div>
<div id="considered_bankruptcy_yes" style="padding-left:40px;display:<?= $_REQUEST['considered_bankruptcy']=='Yes' ? 'block' : 'none';?>;">
<div style="padding:5px 0px;">
<label>
Why?
<textarea name="considered_why"><?= $_REQUEST['considered_why'];?></textarea>
</label>
</div>
</div>
<div style="padding:5px 0px;">
Are you behind on ANY of your payments/bills including credit cards, car loans, mortgage, or tax payments?<br />
<label>
<input type="radio" name="behind_on_bills" value="Yes" <?= $_REQUEST['behind_on_bills']=='Yes' ? 'checked' : '';?> onclick="if($(this).is(':checked')) { $('#behind_on_bills_yes').show(); } else { $('#behind_on_bills_yes').hide(); }" style="vertical-align:middle;margin:0px;" />
Yes
</label>
<label>
<input type="radio" name="behind_on_bills" value="No" <?= $_REQUEST['behind_on_bills']=='No' ? 'checked' : '';?> onclick="if($(this).is(':checked')) { $('#behind_on_bills_yes').hide(); } else { $('#behind_on_bills_yes').show(); }" style="vertical-align:middle;margin:0px;" />
No
</label>
</div>
<div id="behind_on_bills_yes" style="padding-left:40px;display:<?= $_REQUEST['behind_on_bills']=='Yes' ? 'block' : 'none';?>;">
<div style="padding:5px 0px;">
<label>
How far behind are you?<br />
<label>
<input type="radio" name="how_far_behind" value="1 Month" <?= $_REQUEST['how_far_behind']=='1 Month' ? 'checked' : '';?> style="vertical-align:middle;margin:0px;" />
1 Month
</label>
<label>
<input type="radio" name="how_far_behind" value="2-3 Months" <?= $_REQUEST['how_far_behind']=='2-3 Months' ? 'checked' : '';?> style="vertical-align:middle;margin:0px;" />
2-3 Months
</label>
<label>
<input type="radio" name="how_far_behind" value="3-6 Months" <?= $_REQUEST['how_far_behind']=='3-6 Months' ? 'checked' : '';?> style="vertical-align:middle;margin:0px;" />
3-6 Months
</label>
<label>
<input type="radio" name="how_far_behind" value="Over 6 Months" <?= $_REQUEST['how_far_behind']=='Over 6 Months' ? 'checked' : '';?> style="vertical-align:middle;margin:0px;" />
Over 6 Months
</label>
</label>
</div>
<div style="padding:5px 0px;">
<label>
What is the approximate amount of your total unsecured debt <i>(credit cards)</i>:<br />
<input type="number" name="amount_of_unsecured_debt" value="<?= $_REQUEST['amount_of_unsecured_debt'];?>" />
</label>
</div>
<div style="padding:5px 0px;">
Do you owe past due taxes?<br />
<label>
<input type="radio" name="owe_backtaxes" value="Yes" <?= $_REQUEST['owe_backtaxes']=='Yes' ? 'checked' : '';?> onclick="if($(this).is(':checked')) { $('#owe_backtaxes_yes').show(); } else { $('#owe_backtaxes_yes').hide(); }" style="vertical-align:middle;margin:0px;" />
Yes
</label>
<label>
<input type="radio" name="owe_backtaxes" value="No" <?= $_REQUEST['owe_backtaxes']=='No' ? 'checked' : '';?> onclick="if($(this).is(':checked')) { $('#owe_backtaxes_yes').hide(); } else { $('#owe_backtaxes_yes').show(); }" style="vertical-align:middle;margin:0px;" />
No
</label>
</div>
<div id="owe_backtaxes_yes" style="padding-left:40px;display:<?= $_REQUEST['owe_backtaxes']=='Yes' ? 'block' : 'none';?>;">
<?php if(!empty($_REQUEST['bankruptcy_which_year'])) { ?>
<?php foreach($_REQUEST['bankruptcy_which_year'] as $k=>$v) { ?>
<div>
<label>
Which Tax Year?
<input type="number" name="bankruptcy_which_year[]" value="<?= $v;?>" />
</label><br />
<label>
Amount Owed?
<input type="number" name="bankruptcy_amount_owed[]" value="<?= $_REQUEST['bankruptcy_amount_owed'][$k];?>" />
</label>
</div>
<?php } ?>
<?php } ?>
<div onclick="$(this).clone().insertAfter(this); $(this).attr('onclick','');">
<label>
Which Tax Year?
<input type="number" name="bankruptcy_which_year[]" />
</label><br />
<label>
Amount Owed?
<input type="number" name="bankruptcy_amount_owed[]" />
</label>
</div>
</div>
<div style="padding:5px 0px;">
Are your wages being garnished or are any garnishments pending?<br />
<label>
<input type="radio" name="wages_garnished" value="Yes" <?= $_REQUEST['wages_garnished']=='Yes' ? 'checked' : '';?> onclick="if($(this).is(':checked')) { $('#wages_garnished_yes').show(); } else { $('#wages_garnished_yes').hide(); }" style="vertical-align:middle;margin:0px;" />
Yes
</label>
<label>
<input type="radio" name="wages_garnished" value="No" <?= $_REQUEST['wages_garnished']=='No' ? 'checked' : '';?> onclick="if($(this).is(':checked')) { $('#wages_garnished_yes').hide(); } else { $('#wages_garnished_yes').show(); }" style="vertical-align:middle;margin:0px;" />
No
</label>
</div>
<div id="wages_garnished_yes" style="padding-left:40px;display:<?= $_REQUEST['wages_garnished']=='Yes' ? 'block' : 'none';?>;">
<div style="padding:5px 0px;">
<label>
How much do you have in garnishments?
<input type="number" name="garnished_amount" value="<?= $_REQUEST['garnished_amount'];?>" />
</label>
</div>
</div>
<div style="padding:5px 0px;">
Do you have any judgments?<br />
<label>
<input type="radio" name="have_judgements" value="Yes" <?= $_REQUEST['have_judgements']=='Yes' ? 'checked' : '';?> style="vertical-align:middle;margin:0px;" />
Yes
</label>
<label>
<input type="radio" name="have_judgements" value="No" <?= $_REQUEST['have_judgements']=='No' ? 'checked' : '';?> style="vertical-align:middle;margin:0px;" />
No
</label>
</div>
<div style="padding:5px 0px;">
Are you being harassed by creditors?<br />
<label>
<input type="radio" name="harrased_by_creditors" value="Yes" <?= $_REQUEST['harrased_by_creditors']=='Yes' ? 'checked' : '';?> style="vertical-align:middle;margin:0px;" />
Yes
</label>
<label>
<input type="radio" name="harrased_by_creditors" value="No" <?= $_REQUEST['harrased_by_creditors']=='No' ? 'checked' : '';?> style="vertical-align:middle;margin:0px;" />
No
</label>
</div>
<div style="padding:5px 0px;">
Do you Own or Rent your Home?<br />
<label>
<input type="radio" name="rent_or_own" value="Own" <?= $_REQUEST['rent_or_own']=='Own' ? 'checked' : '';?> onclick="if($(this).is(':checked')) { $('#own_yes').show(); } else { $('#own_yes').hide(); }" style="vertical-align:middle;margin:0px;" />
Own
</label>
<label>
<input type="radio" name="rent_or_own" value="Rent" <?= $_REQUEST['rent_or_own']=='Rent' ? 'checked' : '';?> onclick="if($(this).is(':checked')) { $('#own_yes').hide(); } else { $('#own_yes').show(); }" style="vertical-align:middle;margin:0px;" />
Rent
</label>
</div>
<div id="own_yes" style="padding-left:40px;display:<?= $_REQUEST['rent_or_own']=='Own' ? 'block' : 'none';?>;">
<div style="padding:5px 0px;">
<label>
Current assessed value your home:<br />
<input type="number" name="value_of_home" value="<?= $_REQUEST['value_of_home'];?>" />
</label>
</div>
<div style="padding:5px 0px;">
Are you delinquent on your mortgage?<br />
<label>
<input type="radio" name="deliquent_on_mortgage" value="Yes" <?= $_REQUEST['deliquent_on_mortgage']=='Yes' ? 'checked' : '';?> style="vertical-align:middle;margin:0px;" />
Yes
</label>
<label>
<input type="radio" name="deliquent_on_mortgage" value="No" <?= $_REQUEST['deliquent_on_mortgage']=='No' ? 'checked' : '';?> style="vertical-align:middle;margin:0px;" />
No
</label>
</div>
</div>
<div style="padding:5px 0px;">
<label>
How many dependants are in your home?<br />
<input type="number" name="dependents_in_home" value="<?= $_REQUEST['dependents_in_home'];?>" />
</label>
</div>
<div style="padding:5px 0px;">
<label>
What is your average monthly household income?<br />
<input type="number" name="average_monthly_income" value="<?= $_REQUEST['average_monthly_income'];?>" />
</label>
</div>
<div style="padding:5px 0px;">
Any other income contributed to the household?<br />
<label>
<input type="radio" name="other_income_sources" value="Yes" <?= $_REQUEST['other_income_sources']=='Yes' ? 'checked' : '';?> style="vertical-align:middle;margin:0px;" />
Yes
</label>
<label>
<input type="radio" name="other_income_sources" value="No" <?= $_REQUEST['other_income_sources']=='No' ? 'checked' : '';?> style="vertical-align:middle;margin:0px;" />
No
</label>
</div>
<div style="padding:5px 0px;">
Are you currently in the middle of a lawsuit/injury settlement?<br />
<label>
<input type="radio" name="in_lawsuit" value="Own" <?= $_REQUEST['in_lawsuit']=='Yes' ? 'checked' : '';?> onclick="if($(this).is(':checked')) { $('#in_lawsuit_yes').show(); } else { $('#in_lawsuit_yes').hide(); }" style="vertical-align:middle;margin:0px;" />
Yes
</label>
<label>
<input type="radio" name="in_lawsuit" value="Rent" <?= $_REQUEST['in_lawsuit']=='No' ? 'checked' : '';?> onclick="if($(this).is(':checked')) { $('#in_lawsuit_yes').hide(); } else { $('#in_lawsuit_yes').show(); }" style="vertical-align:middle;margin:0px;" />
No
</label>
</div>
<div id="in_lawsuit_yes" style="padding-left:40px;display:<?= $_REQUEST['in_lawsuit']=='Yes' ? 'block' : 'none';?>;">
<div style="padding:5px 0px;">
<label>
Please Explain:
<textarea name="lawsuit_explain"><?= $_REQUEST['lawsuit_explain'];?></textarea>
</label>
</div>
</div>
<div style="padding:5px 0px;">
Would you be open to visiting with a debt relief consultant to help you improve your situation?<br />
<label>
<input type="radio" name="open_to_debt_relief" value="Yes" <?= $_REQUEST['open_to_debt_relief']=='Yes' ? 'checked' : '';?> style="vertical-align:middle;margin:0px;" />
Yes
</label>
<label>
<input type="radio" name="open_to_debt_relief" value="No" <?= $_REQUEST['open_to_debt_relief']=='No' ? 'checked' : '';?> style="vertical-align:middle;margin:0px;" />
No
</label>
</div>
</div>
</div>
</div>
*/ ?>
<table cellpadding="1" cellspacing="0" class="questions">
<tr>
<td class="q">How much money are you going to need?
<select name="app_amount_needed">
<option selected>Select...</option>
<option value="$500-$10,000">$500 - $10,000</option>
<option value="$10,000 - $25,000">$10,000 - $25,000</option>
<option value="$25,000 - $50,000">$25,000 - $50,000</option>
<option value="$50,000 - $100,000">$50,000 - $100,000</option>
<?
if ($granttype != 'business')
{
echo "<option value=\"$100,000 or More\">\$100,000 or More</option>";
}
else
{
?>
<option value="$100,000 - $250,000">$100,000 - $250,000</option>
<option value="$250,000 - $500,000">$250,000 - $500,000</option>
<option value="$500,000 - $1,000,000">$500,000 - $1,000,000</option>
<option value="$1,000,000 +">$1,000,000 +</option>
<?
}
?>
</select>
</td>
</tr>
</table>
<table cellpadding="2" cellspacing="0" class="questions">
<tr>
<td class="q">Describe what you will use the money for:</td>
</tr>
<tr>
<td class="a"><textarea name="app_usedescription" cols="64" rows="6"></textarea></td>
</tr>
<tr>
<td class="q">What unique things would separate you from other applicants applying for this money?</td>
</tr>
<tr>
<td class="a"><textarea name="app_uniqueness" cols="64" rows="6"></textarea></td>
</tr>
</table>
</fieldset>
<br />
<fieldset>
<table cellpadding="2" cellspacing="0" class="questions">
<tr>
<td class="q">What Email address would you like to use for your Username for your Online Funding Application Account?</td>
</tr>
<tr>
<td class="a"><input type="text" name="cc_email" size="30">
<br>
<i>(ie. yourmail@hotmail.com)</i></td>
</tr>
<?
/*
<tr>
<td class="a"><input type="text" name="cc_email_confirm" size="30">
<br>
<i>Confirm your email address</i></td>
</tr>
*/
?>
<tr>
<td class="a"><input type="checkbox" checked="checked" name="inform_me" id="inform_me" value="1">Yes, inform me of new funding opportunities!</td>
</tr>
<tr>
<td class="a"><i>** Your email is safe. We hate spam as much as you do!!</i></td>
</tr>
<tr>
<td class="a"><i>** Your <u>Email</u> will be <u>your username</u> for the USA Funding Applications website. Please double check it to be sure it is accurate!</i></td>
</tr>
</table>
</fieldset>
<center><input type="submit" value="" style="background:url(/assets/images/submit.jpg) top center no-repeat;width:144px;height:63px;border:0px;margin:20px auto;cursor:pointer"></center>
<input type="hidden" name="application" value="application">
<input type="hidden" name="tc" value="<?= $tc; ?>">
<input type="hidden" name="form_filled_out" value="<?= (!empty($_REQUEST['formfilledout'])) ? $_REQUEST['formfilledout'] : '/index.php';?>" />
<?= $trackerformparams; ?>
</form>
</td>
</tr>
</table>
</div>
</div>
<img src="https://www.surfcrm.com/lcapi/FormImpressionTracking.php?site=usafa&ip_address=<?= $_SERVER['REMOTE_ADDR'];?>&form_url=<?= urlencode((!empty($_REQUEST['formfilledout'])) ? $_REQUEST['formfilledout'] : '/index.php');?>" />
<script type="text/javascript">
window.setTimeout(function() {
var form_session = new Image();
form_session.src = "https://www.surfcrm.com/lcapi/FormSessionTracking.php?site=usafa&ip_address=<?= $_SERVER['REMOTE_ADDR'];?>&form_url=<?= urlencode((!empty($_REQUEST['formfilledout'])) ? $_REQUEST['formfilledout'] : '/index.php');?>";
},10000);
</script>
<? include_once("footer.php");