| 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/layout/ |
Upload File : |
<?php
session_start();
if (!isset($_SERVER['HTTPS']) || $_SERVER['HTTPS'] != 'on') {
header('Location: https://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']);
exit(0);
}
include_once($_SERVER['DOCUMENT_ROOT'].'/vx/lib/ua.php');
include_once($_SERVER['DOCUMENT_ROOT'].'/vx/lib/access.php');
include_once($_SERVER['DOCUMENT_ROOT'].'/vx/lib/mysql.php');
include_once($_SERVER['DOCUMENT_ROOT'].'/vx_/site_info.php');
$user = (empty($_SESSION['user'])) ? 0 : $_SESSION['user'];
if(empty($_SESSION['site_phone'])) {
$site_info = $db->get_results("SELECT refund_email,phone,site_name
FROM lc2admin.site
WHERE site_code='".$db->clean($siteCode)."'");
$_SESSION['site_phone'] = $site_info[0]->phone;
$_SESSION['site_email'] = $site_info[0]->refund_email;
$_SESSION['site_name'] = $site_info[0]->site_name;
$title .= $site_info[0]->site_name;
}
$clientRes = $db->query("SELECT visited_professional_services_page
FROM lc2{$siteCode}_lc.lc_reseller
WHERE
id = '$user'");
$_SESSION['visited_professional_services'] = '0';
if(!empty($clientRes)) {
if($clientRes[0]['visited_professional_services_page']!=0) {
$_SESSION['visited_professional_services'] = '1';
}
}
$clientRes = $db->query("SELECT id
FROM grdb.givesback_page_has_visited
WHERE
site_code='".$db->clean($siteCode)."'
AND client_id = '".$db->clean($user)."'");
$_SESSION['visited_givesback'] = '0';
if(!empty($clientRes)) {
$_SESSION['visited_givesback'] = '1';
}
$sitePhone = $_SESSION['site_phone'];
$siteEmail = $_SESSION['site_email'];
if((!empty($_REQUEST['user']) && !empty($_REQUEST['pass'])) || !empty($_REQUEST['l'])) {
ob_start();
include_once($_SERVER['DOCUMENT_ROOT'].'/vx/usa/layout/functions/non_angular_login.php');
$login_result = ob_get_clean();
if(empty($loginErrors)) {
header("Location: ".$_SERVER['SCRIPT_NAME']);
exit(0);
}
}
?>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<?
if(!empty($phone) || !empty($tablet))
{
?>
<!-- ================================================================================================ -->
<!-- DEVICE VIEWPORT TAG -->
<meta name="viewport" content="initial-scale=<?=$scale?>, minimum-scale=<?=$scale?>, maximum-scale=<?=$scale?>">
<?
}
?>
<title><?=$title?></title>
<link rel="stylesheet" type="text/css" href="/vx/layout/style/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="/vx/layout/style/font-awesome/6.1.2/css/all.css">
<link rel="stylesheet" type="text/css" href="/vx/layout/style/glyphicons/css/glyphicons.css">
<link rel="stylesheet" type="text/css" href="/vx_/css/theme.css">
<link rel="stylesheet" type="text/css" href="/vx_/css/common.css">
<link rel="stylesheet" type="text/css" href="/vx_/css/members.css" />
<link rel="stylesheet" type="text/css" href="/vx_/css/responsive.css">
<link rel="stylesheet" type="text/css" href="/vx/layout/style/default.css?ts=2023_11_10_11_03">
<link rel="apple-touch-icon" sizes="57x57" href="/vx_/images/icons/apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="/vx_/images/icons/apple-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="/vx_/images/icons/apple-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="/vx_/images/icons/apple-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="/vx_/images/icons/apple-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="/vx_/images/icons/apple-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="/vx_/images/icons/apple-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="/vx_/images/icons/apple-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="/vx_/images/icons/apple-icon-180x180.png">
<link rel="icon" type="image/png" sizes="192x192" href="/vx_/images/icons/android-icon-192x192.png">
<link rel="icon" type="image/png" sizes="32x32" href="/vx_/images/icon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="/vx_/images/icons/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="/vx_/images/icons/favicon-16x16.png">
<link rel="manifest" href="/vx_/images/icons/manifest.json">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="msapplication-TileImage" content="/vx_/images/icons/ms-icon-144x144.png">
<meta name="theme-color" content="#ffffff">
<link rel="icon" type="image/x-icon" href="/vx_/images/favicon.ico" />
<meta name="robots" content="index, follow" />
<?
if(!empty($metaKeywords))
{
?>
<meta name="keywords" content="<?=$metaKeywords?>">
<?
}
if(!empty($metaDescription))
{
?>
<meta name="description" content="<?=$metaDescription?>">
<?
}
?>
<meta property="og:url" content="<?= (!empty($host)) ? $host : '';?>" />
<meta property="og:title" content="<?= (!empty($title)) ? $title : '';?>" />
<meta property="og:type" content="website" />
<meta property="og:description" content="<?= (!empty($metaDescription)) ? $metaDescription : '';?>" />
<meta property="og:image" content="http://<?= (!empty($host)) ? $host : '';?>/vx_/images/og/logo.png" />
<meta property="fb:app_id" content="344394825919378" />
<script language="javascript" type="text/javascript" src="/vx/js/jquery/jquery-1.9.1.js"></script>
<script src="/vx/js/jquery.formatter.min.js"></script>
<script src="/vx/usa/js/nice_select/jquery.nice-select.min.js"></script>
<link rel="stylesheet" href="/vx/usa/js/nice_select/nice-select.css" />
<script type="text/javascript">
<?php if(empty($_SESSION['subscriptions']['2'])) { ?>
window.needs_upsell = 1;
<?php } else { ?>
window.needs_upsell = 0;
<?php } ?>
$('document').ready(function() {
$('a,.navigationButton').each(function() {
if($(this).attr('target')) {
} else {
$(this).click(function(event) {
$('#showOverlayMessage').show();
window.setInterval(function() {
$('#showOverlayMessage').hide();
},1000);
});
}
});
});
</script>
<script src="/vx/usa/layout/non_angular.js?d=2024_11_06"></script>
</head>
<body>
<?
if($phone)
{
?>
<div id="header" class="mheader fixed block white-bg noselect layer-top"
style="width:100%; top:0px; left:0px; height:auto;">
<div class="rib right" style="width:100%; height:100%;">
<div class="center-center" style="width:100%; height:100%;position:relative;">
<div class="item rib center-center pointer" style="position:absolute;top:20px;left:20px;z-index:2;">
<a href="/vx/usa/members" style="display:block;text-align:center;font-size:12px;">
<div><span class="fad fa-house f24" style="color:black;"></span></div>
<div>Home</div>
</a>
</div>
<div class="item rib center-center pointer" style="position:absolute;top:20px;right:20px;z-index:2;">
<a href="/vx/logout.php" style="display:block;text-align:center;font-size:12px;">
<div><span class="fad fa-arrow-right-from-bracket f24"></span></div>
<div>Logout</div>
</a>
</div>
<div class="logo rib center-center">
<img src="/vx_/images/Logo.png" class="hdrLogo phnHdrLogo" onclick="window.location = '/vx/usa/members/'"/>
</div>
</div>
<?
include($_SERVER['DOCUMENT_ROOT']."/vx/usa/layout/non_angular_menu.php");
?>
</div>
</div>
<?
}
else
{
?>
<div id="header" class="header fixed block noselect layer-top" style="width:100%; top:0px; left:0px; min-width:640px;">
<div class="rb pl10" style="height:100%;">
<div class="rib left" style="width:500px; height:100%;">
<div class="logo rib center-center">
<img src="/vx_/images/Logo.png" class="hdrLogo" onclick="window.location = '/vx/usa/members/'"/>
</div>
<div class="rib center-center" style="width:0px; height:100%; margin-left:-1px;"></div>
</div>
<?
include($_SERVER['DOCUMENT_ROOT']."/vx/usa/layout/non_angular_menu.php");
?>
</div>
</div>
<?
}
?>
<div class="rb" style="z-index:0;" id="real_body_container">
<table id="bodyTable" style="width:100%; height:100%;position:relative;">
<tr>
<?php if(!empty($user) && !empty($onMembers) && empty($phone)) { ?>
<td class="top" style="min-width:280px; max-width:320px; border-right:1px solid rgba(0,0,0,0.2);">
<div class="rb">
<?php include($_SERVER['DOCUMENT_ROOT']."/vx/usa/layout/inc/navigation_no_angular.php"); ?>
</div>
</td>
<?php } ?>
<?php if(!empty($onCourse) && !empty($user) && empty($phone)) { ?>
<td class="top" style="min-width:280px; max-width:320px;">
<div class="rb">
<?php include($_SERVER['DOCUMENT_ROOT']."/vx/usa/layout/inc/non_angular_courses.php"); ?>
</div>
</td>
<?php } ?>
<td id="bodyContainer" class="top" style="width:100%;">
<div id="additionalLoader" class="rb p20" style="display:none;"></div>
<?php if(!empty($onMembers)) {
if(!empty($user)) {
echo $body;
}
else
{
?>
<div class="rb center-center">
<div class="rib" style="width:<?=(!empty($phone)) ? '100%' : '990px'?>; min-height:780px;">
<?php include($_SERVER['DOCUMENT_ROOT'].'/vx/layout/non_angular_body_login.php'); ?>
</div>
</div>
<?php
}
}
else
{
echo $body;
}
?>
</td>
</tr>
</table>
</div>
<div id="showOverlayMessage" class="fixed full anchor layer-top cc" style="display:none;">
<div class="ab full anchor" style="background:rgba(0,0,0,0.07)"></div>
<div class="rb cc" style="width:100vw; height:100vh;">
<table border="0" style="width:100%; height:100%;">
<tr>
<td style="width:33%; height:33%;"></td>
<td style="width:33%; height:33%;"></td>
<td style="width:33%; height:33%;"></td>
</tr>
<tr>
<td style="width:33%; height:33%;"></td>
<td class="cc white-bg dropshadow-light"
style="min-width:300px; max-width:512px; min-height:300px; max-height:512px;">
<div class="rib cc blue p20">
<div class="rb cc pb10">
<i class="fa fa-spinner fa-pulse fa-3x fa-fw f40 gray"></i>
</div>
<div class="rb cc">
<span id="overlayMessageTitle" class="title f18 bold">Loading</span>
</div>
<div class="rb cc">
<span id="overlayMessageSubtitle" class="subTitle f14 bold gray"></span>
</div>
</div>
</td>
<td style="width:33%; height:33%;"></td>
</tr>
<tr>
<td style="width:33%; height:33%;"></td>
<td style="width:33%; height:33%;"></td>
<td style="width:33%; height:33%;"></td>
</tr>
</table>
</div>
</div>
<div id="reportBroken" class="fixed full anchor tblack cc layer-top" style="display:none;">
<div class="aib full anchor" onclick="$('#reportBroken').fadeOut(300)"></div>
<div class="cd">
<div class="rb white-bg p10 dropshadow-light" style="max-width:280px;">
<form ng-submit="submitReportBroken(broken)" method="post" enctype="multipart/form-data">
<div class="rib" ng-show="!broken.notSubmitted">
<div>
Please provide some details
<div class="rib pl10 xremove" onclick="$('#reportBroken').fadeOut(300)">
<i class="fa fa-times f16" aria-hidden="true"></i>
</div>
<hr />
<textarea ng-model="broken.comment" name="comment" class="" style=""></textarea>
<div class="rb" style="height:10px;"></div>
<div class="rb right">
<button type="submit" class="btn btn-primary">
Submit
</button>
</div>
</div>
</div>
<div class="rib left" ng-show="broken.notSubmitted">
<div class="rb f18 bold">
Thank you!
</div>
<div class="rb f14 p6">
We are always striving to keep our database up-to-date and as accurate as possible. A member of
our grant research team will be looking into the problem as soon as possible.
</div>
<div class="rb f14 p10 cc">
<button type="button" class="btn btn-info" onclick="$('#reportBroken').fadeOut(300)">
Close
</button>
</div>
</div>
</form>
</div>
</div>
<div class="cdl"></div>
</div>
<?php
//echo '<pre>'.print_r($_SESSION,true).'</pre>';
/**
* @file /vx_/tracking.php Google Tracking
* */
include($_SERVER['DOCUMENT_ROOT']."/vx_/tracking.php");
/**
* @file /lib/tracking.php VX and Surf Tracking
* */
require_once($_SERVER['DOCUMENT_ROOT'] . "/lib/tracking.php");
?>
</body>
</html>