| 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/wp-content/themes/governmentgrants/ |
Upload File : |
<?php
/**
* Template Name: Application Page
*/
header("Location: /application-v9/");
exit(0);
function get_profile_categories() {
$cat_json = '';
$file = $_SERVER['DOCUMENT_ROOT'].'/app_cache/categories';
if(!$cat_json =@ file_get_contents($file)) {
$cat_json = file_get_contents('https://pcisecureform.com/lcapi/GetProfileCategories.php');
file_put_contents($file, $cat_json);
}
$categories = json_decode($cat_json, $assoc = true);
return $categories;
}
function get_subcats($cat,$categories) {
$subcats = array();
foreach($categories['subcategories'] as $key=>$value) {
if(isset($value['categories'][$cat])) {
$subcats[$key] = $categories['subcategories'][$key];
}
}
return $subcats;
}
$cats = get_profile_categories();
get_header();
?>
<?php if ( get_field( 'featured_image_big') ): ?>
<section class="featured-header bg-image bg-overlay-black align-center full-width" data-url="<?php the_field( 'featured_image_big' ); ?>">
<div class="amp-container v-center">
<?php if( get_field('custom_page_title') ): ?>
<h1 class="page-title color-white font-1-semibold"><?php the_field('custom_page_title'); ?></h1>
<?php else: ?>
<h1 class="page-title color-white font-1-semibold"><?php the_title(); ?></h1>
<?php endif ?>
</div>
</section>
<?php else: ?>
<section class="breadcrumbs bg-dark py50 mb-py30 align-center full-width">
<div class="amp-container">
<?php if( get_field('custom_page_title') ): ?>
<h1 class="page-title m0 color-white font-1-semibold"><?php the_field('custom_page_title'); ?></h1>
<?php else: ?>
<h1 class="page-title m0 color-white font-1-semibold"><?php the_title(); ?></h1>
<?php endif ?>
</div>
</section>
<?php endif ?>
<!--Page sections-->
<?php if( have_rows('add_section') ):
// loop through the rows of data
while ( have_rows('add_section') ) : the_row();?>
<section class="full-width <?php echo get_sub_field('section_class');?>" id="<?php echo get_sub_field('section_id');?>">
<div class="container">
<?php if( get_sub_field('section_header') ): ?>
<header class="section-header align-center">
<!--section header content-->
<?php the_sub_field( 'section_header' ); ?>
</header>
<?php endif ?>
<?php if( have_rows('grid_row') ):
while( have_rows('grid_row') ): the_row();?>
<div class="grid-row <?php echo get_sub_field('row_class');?>">
<?php if( have_rows('column') ):
while( have_rows('column') ): the_row();?>
<div class="<?php echo get_sub_field('column_class');?>">
<?php echo get_sub_field('column_content');?>
</div>
<?php endwhile; endif;?>
<!--end column-->
</div>
<?php endwhile; endif;?>
<!--end grid row-->
</div>
</section>
<?php endwhile; endif;?>
<section class="application-form clear pb50">
<div class="container">
<p class="header">Step 1 of 3: Tell us about <u>You</u> and <u>Your Funding Needs</u></p>
<form action-xhr="https://www.governmentgrants.us/wp-content/themes/governmentgrants/forms/application.php" method="post" target="_top">
<div class="grid-row fields">
<div class="input-box col-mb-6">
<input type="text" name="template-application-first-name" placeholder="First Name" class="f-name" required pattern="[a-zA-Z']+" title="Please use only letters" />
</div>
<div class="input-box col-mb-6">
<input type="text" name="template-application-last-name" placeholder="Last Name" class="l-name" required pattern="[a-zA-Z']+" title="Please use only letters" />
</div>
<div class="input-box col-mb-6">
<input type="text" name="template-application-street-address" placeholder="Street Address" class="street-address" required />
</div>
<div class="input-box col-mb-6">
<input type="number" name="template-application-zip" placeholder="Zip" class="zip" required />
</div>
<div class="input-box col-mb-6">
<input type="text" name="template-application-city" placeholder="City" class="city" required />
</div>
<div class="input-box col-mb-6">
<select id="input_2_4" name="template-application-state" required>
<option label="State">State</option>
<option value="AL">Alabama</option>
<option value="AK">Alaska</option>
<option value="AS">American Samoa</option>
<option value="AZ">Arizona</option>
<option value="AR">Arkansas</option>
<option value="CA">California</option>
<option value="CO">Colorado</option>
<option value="CT">Connecticut</option>
<option value="DE">Delaware</option>
<option value="DC">District of Columbia</option>
<option value="FM">Federated States of Micronesia</option>
<option value="FL">Florida</option>
<option value="GA">Georgia</option>
<option value="GU">Guam</option>
<option value="HI">Hawaii</option>
<option value="ID">Idaho</option>
<option value="IL">Illinois</option>
<option value="IN">Indiana</option>
<option value="IA">Iowa</option>
<option value="KS">Kansas</option>
<option value="KY">Kentucky</option>
<option value="LA">Louisiana</option>
<option value="ME">Maine</option>
<option value="MD">Maryland</option>
<option value="MH">Marshall Islands</option>
<option value="MA">Massachusetts</option>
<option value="MI">Michigan</option>
<option value="MN">Minnesota</option>
<option value="MS">Mississippi</option>
<option value="MO">Missouri</option>
<option value="MT">Montana</option>
<option value="NE">Nebraska</option>
<option value="NV">Nevada</option>
<option value="NH">New Hampshire</option>
<option value="NJ">New Jersey</option>
<option value="NM">New Mexico</option>
<option value="NY">New York</option>
<option value="NC">North Carolina</option>
<option value="ND">North Dakota</option>
<option value="MP">Northern Mariana Islands</option>
<option value="OH">Ohio</option>
<option value="OK">Oklahoma</option>
<option value="OR">Oregon</option>
<option value="PW">Palau</option>
<option value="PA">Pennsylvania</option>
<option value="PR">Puerto Rico</option>
<option value="RI">Rhode Island</option>
<option value="SC">South Carolina</option>
<option value="SD">South Dakota</option>
<option value="TN">Tennessee</option>
<option value="TX">Texas</option>
<option value="UT">Utah</option>
<option value="VT">Vermont</option>
<option value="VI">Virgin Islands</option>
<option value="VA">Virginia</option>
<option value="WA">Washington</option>
<option value="WV">West Virginia</option>
<option value="WI">Wisconsin</option>
<option value="WY">Wyoming</option>
</select>
</div>
<div class="input-box col-mb-6">
<select id="template-application-gender" name="template-application-gender" required>
<option value="" label="Gender">Gender</option>
<option value="M">Male</option>
<option value="F">Female</option>
</select>
</div>
<div class="input-box col-mb-6">
<select id="template-application-age" class="age" name="template-application-age" required>
<option value="" label="What is your age?">What is your age?</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>
</div>
<div class="input-box col-mb-6">
<input type="tel" name="template-application-phone" mask="(000)_000-0000" placeholder="Day Phone" class="phone" required />
</div>
<div class="input-box col-mb-6">
<select id="template-application-citizenship-status" name="template-application-citizenship-status" required>
<option value="Citizenship Status">Citizenship Status</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>
</div>
</div>
<div class="choose options clear">
<?php foreach($cats['categories'] as $cat_id=>$cat) { ?>
<label class="step-title"
[class]="currentStep != <?= $cat_id;?> ? 'step-title' : 'step-title step-active'"
on="tap:AMP.pushState({ currentStep: <?= $cat_id;?> })" role="button" tabindex="0" >
<input type="radio" name="template-application-business" id="<?= $cat_id;?>-<?= $cat['slug'];?>" class="<?= $cat['slug'];?>" value="<?= $cat_id;?>"><?= $cat['name'];?>
</label>
<?php } ?>
</div>
<div class="hidden-options clear">
<?php foreach($cats['categories'] as $cat_id=>$cat) {
$subcats = get_subcats($cat_id,$cats);
if(!empty($subcats)) {
?>
<section id="<?= $cat['slug'];?>" hidden [hidden]="currentStep!=<?= $cat_id;?>">
<div class="content">
<h3 class="hrd">Suggested Sub-Categories <span>(Check all that apply)</span></h3>
<?php foreach($subcats as $subcat_id=>$subcat) { ?>
<div class="subcategory <?= $subcat['slug'];?> col-mb-4">
<input id="<?= $subcat_id;?>-<?= $subcat['slug'];?>" type="checkbox" name="template-application-subcategories[]" value="<?= $subcat_id;?>">
<label for="<?= $subcat_id;?>-<?= $subcat['slug'];?>"> <?= $subcat['name'];?></label>
</div>
<?php } ?>
</div>
</section>
<?php }
} ?>
</div>
<div class="describe mt20 clear">
<label>How would you describe your credit?</label>
<br>
<label>
<input type="radio" name="template-application-describe-credit" value="Excellent">Excellent
</label>
<label>
<input type="radio" name="template-application-describe-credit" value="Good">Good
</label>
<label>
<input type="radio" name="template-application-describe-credit" value="Fair">Fair
</label>
<label>
<input type="radio" name="template-application-describe-credit" value="Poor">Poor
</label>
</div>
<div class="credit describe clear">
<label>Do you want to improve your credit?</label>
<br>
<label class="menuExpand" on="tap:credit.show" role="button" tabindex="0" [class]="expanded8 ? 'expanded menuExpand' : 'menuExpand'">
<input type="radio" name="template-application-improve-credit" value="Yes">Yes</label>
<label class="menuExpand" on="tap:credit.hide" role="button" tabindex="0" [class]="expanded8 ? 'expanded menuExpand' : 'menuExpand'">
<input type="radio" name="template-application-improve-credit" value="No">No</label>
</div>
<div class="improve-credit mb30 ml30" id="credit" data-class="" [class]="expanded8 ? 'expanded8' : ''" hidden="">
<div class="inner">
<label class="block mb5">Have you been turned down for a loan in the last 60 days?</label>
<label>
<input type="radio" name="template-application-loan" value="Yes">Yes
</label>
<label>
<input type="radio" name="template-application-loan" value="No">No
</label>
</div>
<div class="inner">
<label class="block mb5">What is your main goal or reason to have good credit?</label>
<label>
<input type="radio" name="template-application-good-credit" value="Buy a home">Buy a home
</label>
<label>
<input type="radio" name="template-application-good-credit" value="Buy a car"> Buy a car
</label>
<label>
<input type="radio" name="template-application-good-credit" value="Other">Other
</label>
</div>
<div class="inner">
<label class="block mb5">What is your time frame for accomplishing your goal?</label>
<label>
<input type="radio" name="template-application-time" value="1-3 Months"> 1-3 Months
</label>
<label>
<input type="radio" name="template-application-time" value="4-6 Months"> 4-6 Months
</label>
<label>
<input type="radio" name="template-application-time" value="6-12 Months"> 6-12 Months
</label>
</div>
<div class="inner">
<label class="block mb5">How serious are you about fixing your credit?</label>
<label class="block">
<input type="radio" name="template-application-serious" value="Very interested!">
<strong>Very interested!</strong> I need to make a large purchase soon and need to improve it.
</label>
<label class="block">
<input type="radio" name="template-application-serious" value="No Rush.">
<strong>No Rush.</strong> I'm just looking for options.
</label>
</div>
<div class="inner">
<label class="block mb5">Would you like to talk to a specialist to improve your credit?</label>
<label class="menuExpand" on="tap:inner-block.show" role="button" tabindex="0" [class]="expanded9 ? 'expanded menuExpand' : 'menuExpand'">
<input type="radio" name="template-application-specialist" value="Yes"> Yes
</label>
<label class="menuExpand" on="tap:inner-block.hide" role="button" tabindex="0" [class]="expanded9 ? 'expanded menuExpand' : 'menuExpand'">
<input type="radio" name="template-application-specialist" value="No"> No
</label>
</div>
<div class="inner-block" id="inner-block" [class]="expanded9 ? 'expanded9' : ''" hidden="">
<label class="block mb5">I give permission to have a credit pro from Pinnacle Credit Pros contact me.</label>
<label>
<input type="radio" name="template-application-permission" value="Yes"> Yes
</label>
<label>
<input type="radio" name="template-application-permission" value="No"> No
</label>
</div>
</div>
<div class="money mb20">
<label class="block mb5" for="template-application-money">How much money are you going to need?</label>
<select name="template-application-money" required>
<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>
</div>
<div class="describe-money mb20 clear">
<label class="block mb5" for="template-application-usedescription">Describe what you will use the money for:</label>
<textarea name="template-application-usedescription" cols="64" rows="6" required ></textarea>
</div>
<div class="applicants mb20 clear">
<label class="block mb5" for="template-application-uniqueness">What unique things would separate you from other applicants applying for this money?</label>
<textarea name="template-application-uniqueness" cols="64" rows="6"></textarea>
</div>
<div class="email-box clear">
<label class="block mb5">What Email address would you like to use for your Username for your Online Grant Application Account?</label>
<input type="text" name="template-application-email" required>
<i class="block fs-14">(ie. yourmail@hotmail.com)</i>
<i class="block small">** Your email is safe. We hate spam as much as you do!!</i>
<i class="block small">** Your <u>Email</u> will be <u>your username</u> for the Government Grants.us website. Please double check it to be sure it is accurate!</i>
</div>
<div class="inform clear">
<label for="template-application-inform">
<input type="checkbox" name="template-application-inform" value="Yes" checked="">Yes, I want to receive emails on New Funding Opportunities as well as New Tips!</label>
</div>
<div class="btn-wrapper align-center">
<input type="submit" name="button" id="esub_button" value="Submit" class="submit-btn btn">
</div>
<div class="form-message invalid-message">There are some input that needs fixing. Please fix them.</div>
<div submit-success="">
<template type="amp-mustache">Success! Thanks for contacting us!</template>
</div>
<div submit-error>
<template type="amp-mustache">{{message}}</template>
</div>
</form>
<div class="mormon_ad_container">
<div class="mormon_ad_side">
<p>To help provide you with the research help you need to apply, we have a small fee to cover the marketing and research costs associated with locating our database of thousands of applications. The fee is $34.95 for the first month of access. We also provide you with our GUARANTEE. If you apply to one of the sources on our site and get turned down, we will issue you a refund. All we ask is that you provide us with a copy of your denial letter. You will have 90 days from the date you register to submit your refund along with a copy of your denial letter. You have absolutely nothing to lose! We have the tools and resources to help you in your quest for funding!</p>
</div>
<div class="mormon_ad_side">
<?php include($_SERVER['DOCUMENT_ROOT'].'/wp-content/themes/governmentgrants/ads.php'); ?>
</div>
</div>
<div style="clear:both;"></div>
</div>
</section>
<?php $tracking_pixel = file_get_contents("https://www.pcisecureform.com/lcapi/FormImpressionTracking.php?site=ggus&ip_address=".$_SERVER['REMOTE_ADDR']."&form_url=".urlencode($_SERVER['REQUEST_URI'])); ?>
<?php get_footer();