| 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/applied/ |
Upload File : |
<?
/**
* This framework has been created for a multitude of grant research websites.
*
* @copyright 2016-2021 Synergy Pro Marketing
* @author Aaron Campbell <aaron@synergymentoring.com>
* @license None, All Rights Reserved
* @package Business
*/
header("Location: /vx/usa/members/");
exit(0);
include_once($_SERVER['DOCUMENT_ROOT']."/vx/lib/inc.php");
track_member_action('Page Visit','Grants Applied For');
include_once($_SERVER['DOCUMENT_ROOT']."/vx/usa/lib/formalizeGrants.php");
$appliedList = $db->query("
SELECT
gg.*,
gusg.id AS favorite,
gga.did_apply,
gga.how_much_applied_for,
gt.name AS grant_type
FROM grdb.grd_grants_categories AS ggc
INNER JOIN grdb.grd_grants AS gg
ON gg.grants_id = ggc.grants_id
INNER JOIN grdb.grd_grants_applied AS gga
ON
gga.grants_id = gg.grants_id
AND
gga.user = '$user'
AND
gga.site_code = '$siteCode'
LEFT JOIN grdb.grd_usa_saved_grants AS gusg
ON
gusg.grants_id = gg.grants_id
AND
gusg.client_id = '$user'
AND
gusg.site_code = '$siteCode'
LEFT JOIN grdb.grd_types AS gt
ON gt.types_id = gg.types_id
WHERE
gga.user = '$user'
AND
gga.site_code = '$siteCode'
GROUP BY gg.grants_id
ORDER BY gg.deadline ASC, gg.amount DESC
");
$grantList = formalizeGrants($appliedList, $userDB, $states, $db, $user);
?>
<div class="rb p20" ng-controller="Applied">
<div class="rb">
<div class="rb <?=$phone ? 'pt20' : ''?> f24 bold left">
<div class="relative iblock glyphicons glyphicons-invoice f26" style="top:-4px;"></div>
<div class="relative iblock" style="top:-1px; margin-left:7px;">
<?=$phone ? 'Applied Grants' : 'Grants You Have Applied For'?>
</div>
</div>
</div>
<div class="rb cc" ng-if="!grantList || grantList.length == 0"
style="width:100%; min-height:500px;">
<div class="cd">
<div class="rb light-gray-bg p10 left dropshadow-light" style="max-width:500px;">
<div class="rb white-bg p20 left">
<div class="f18 bold">
Our records show that you have not applied for any grants.
</div>
<div class="rb pt20">
<div class="container-fluid">
<div class="row">
<div class="col-lg-4 col-md-4 col-sm-4 col-xs-4">
<div class="rb cc"
style="">
<div class="cd bblue">
<span class="glyphicons glyphicons-invoice f50"></span>
<div class="rb f14 bold">
Apply Now
</div>
</div>
<div class="cdl" style="width:0px; height:100%; margin-left:-3px;">
</div>
</div>
<div class="rb cc pt10">
<div class="relative iblock fa fa-hand-pointer-o f26"></div>
</div>
</div>
<div class="col-lg-8 col-md-8 col-sm-8 col-xs-8">
<span class="f16 bblue bold">
To apply for a grant, click the "Apply Now" icon found in a grant's detail descriptions and follow
the instructions found on the grantor's website.
</span>
</div>
</div>
</div>
</div>
<hr>
<div class="f18 bold">
Start now by searching our database of thousands of grants to find the grant that is right for you.
<br>
<br>
<div class="rb cc">
<span class="glyphicons glyphicons-database-search <?=$phone ? 'f40' : 'f26'?>" style="margin-top:-10px;"></span>
<?=$phone ? '<br>' : ''?>
<a href="/vx/usa/search/">
<span class="rollover-underline bblue bold pointer">
Search Our Database
</span>
</a>
</div>
</div>
</div>
</div>
</div>
<div class="cdl" style="min-height:500px"></div>
</div>
<?
if($phone)
{
$field = 'grantList';
$fieldType = 'Loading';
include($_SERVER['DOCUMENT_ROOT']."/vx/usa/layout/inc/m.grant.php");
}
else
{
$field = 'grantList';
$fieldType = 'Loading';
include($_SERVER['DOCUMENT_ROOT']."/vx/usa/layout/inc/grant.php");
}
?>
</div>
<?
$title = "Grants Applied For : ".$siteName;
include_once($_SERVER['DOCUMENT_ROOT']."/vx/usa/layout/body.php");
?>