| 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/membersonly/ |
Upload File : |
<?php
session_start();
ob_start();
echo '<style type="text/css">
div.new_opportunities_page { font-size:12px; width:728px !important; }
</style>
<div style="padding-top:13px;">';
$_REQUEST['p'] = (!empty($_REQUEST['goto'])) ? $_REQUEST['page'] : $_REQUEST['p'];
echo file_get_contents("http://thegrantresearchdatabase.com/export_new_new.php?pass=LemmeIN&site=usaga&client_id=".$_SESSION['user_subscriptions']['id_1']['user_id']."&sort=" . $_REQUEST['sort']."&d=".$_REQUEST['d']."&p=".$_REQUEST['p']."&f_type=".$_REQUEST['f_type']."&c_type=".$_REQUEST['c_type']."&sc_type=".$_REQUEST['sc_type']."&ind_type=".$_REQUEST['ind_type']."&min_type=".$_REQUEST['min_type']."&state=".$_REQUEST['state']);
$pageHtml = ob_get_clean();
if(empty($_SESSION['user_subscriptions']['id_2'])) {
$pageHtml = str_replace('<input type="submit" name="submit" value="Filter"','<input type="submit" name="submit" value="Filter" onclick="$(\'#invisible_area\').click(); return false;"',$pageHtml);
ob_start();
?>
<style type="text/css">
#everything_but_the_form { position:relative; z-index:1; }
</style>
<script type="text/javascript">
var popup_opening = false;
function make_internal_popup(data,hide_close) {
if($('#id-popup-close-button').length>0) {
$('#id-popup-close-button').click();
}
$('body').append('<div id="id-popup-overlay"></div>');
$('body').append('<div id="id-popup-container"></div>');
$('#id-popup-overlay').attr('style','z-index:10012;position:fixed;top:0px;left:0px;bottom:0px;right:0px;background:rgba(0,0,0,.6);');
$('#id-popup-container').attr('style','z-index:10013;position:fixed;top:0px;left:0px;background:white;border-radius:16px;padding:15px;overflow:auto;');
$('#id-popup-container').html('<div style="position:absolute;top:4px;right:5px;padding:2px 6px;cursor:pointer;background:#ECECEC;color:red;" id="id-popup-close-button" onclick="$(\'#id-popup-container\').remove(); $(\'#id-popup-overlay\').remove();">X</div>');
if(hide_close) {
$('#id-popup-close-button').hide();
}
$('#id-popup-container').append(data);
$('#id-popup-container').css('max-height',$(window).height());
$('#id-popup-container').css('max-width',$(window).width());
$('#id-popup-container').css('left',$(window).width()/2 - $('#id-popup-container').width()/2);
$('#id-popup-container').css('top',$(window).height()/2 - $('#id-popup-container').height()/2);
}
$('document').ready(function() {
$('#everything_but_the_form').append('<div id="invisible_area" style="position:absolute;left:0px;right:0px;top:0px;bottom:0px;"></div>');
$('#invisible_area').click(function() {
if(popup_opening==true) {
} else {
make_internal_popup('<img src="/images/ajax-loader.gif" />',1);
popup_opening = true;
var str = 'page='+encodeURIComponent('New Funding Opportunities')+'&return_page=new_opportunities_new.php';
var popup_page = 'upsell_popup_v3.php';
var rand_num = Math.floor((Math.random() * 4)); //0-3
if(rand_num==1) {
popup_page = 'upsell_popup_v4.php';
} else if(rand_num==2) {
popup_page = 'upsell_popup_v5.php';
} else if(rand_num==3) {
popup_page = 'upsell_popup_v6.php';
}
$.ajax
({
cache: false,
type: "POST",
data: str,
url: "/membersonly/"+popup_page,
success: function(msg)
{
popup_opening = false;
make_internal_popup(msg,0);
},error: function(jqXHR, textStatus, errorThrown){
alert(textStatus+' : '+errorThrown);
}
});
}
});
});
</script>
<?php
$pageHtml .= ob_get_clean();
}
$dont_show_get_some_grants = true;
$title = 'New Opportunities Page';
include 'layout.php';