403Webshell
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/vx_testing/usa/members_old/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/usa_sites/vx_testing/usa/members_old/index.php
<?
/**
  * 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
  */
  	include_once($_SERVER['DOCUMENT_ROOT']."/vx/lib/inc.php");
	track_member_action('Page Visit','Home');
	if(!empty($_GET['subscribe'])) {
		if($_GET['subscribe']=='no') {
			$foo = file_get_contents('https://surfcrm.com/lcapi/TrackUpsellButton.php?site_code='.$siteCode.'&client_id='.$user.'&response=No&upsell_version='.urlencode($_SESSION['upsell_tracking_version']).'&upsell_version_description='.urlencode($_SESSION['upsell_tracking_version_description']));
			header("Location: /vx/usa/members/");
		}
	}
?>
<style>
	.section_box {
		padding:10px;
		border:2px solid #d8d8d8;
		border-radius:6px;
		margin:20px;
	}
	.section_box_link {
		display:block;
		text-decoration:none;
		color:inherit;
	}
	.section_header {
		font-size:20px;
		font-weight:bold;
	}
	.video {
		margin:10px auto;
		width:100%;
		position:relative;
	}
	.video img {
		width:100%;
	}
	#play_button {
		position: absolute;
		left: 42%;
		top: 37%;
		background: rgba(255,255,255,0.7);
		width: 100px;
		height: 100px;
		padding: 0px;
		border-radius: 60px;
		cursor: pointer;
		color: black;
		padding: 14px;
	}
	.category_box {
		text-align:center;
	}
	.category_box .iconItem {
		width:100px;
		height:100px;
	}
	.category_box .iconCell {
		height:50px;
	}
	.category_box .iconCell svg {
		width:48px;
	}
	.section_subheader {
		font-size:16px;
	}
	.center_image {
		display:block;
		width:80%;
		margin:5px auto;
	}
	#email_alerts_box, #teleseminars_box {
		text-align:center;
	}
	#coronavirus_box {
		border: 2px solid #c93156;
		color: #c93156;
	}
	#coronavirus_box .sicon {
		text-align:center;
		color: #c93156;
	}
</style>
<script type="text/javascript">
	function load_testimonial_form() {
		$.ajax({
			url:"/vx/usa/members/rate_the_site_from_popup.php",
			cache: false,
			type: "POST",
			data: '',
			success: function(results) {
				$('#bodyContainer').append(results);
				window.scrollTo(0, 0);
			}
		});
	}
</script>
<div class="relative block" id="Members" ng-controller="Members" style="min-height:400px; margin:0px auto; max-width:1000px; background: white;">
	<h1>Welcome to <?= $siteName;?></h1>
	<div><i>The best online source of funding applications for business, education, home buyers, real estate, &amp; personal needs!</i></div>
	<div class="row">
		<div class="col-sm-8">
			<?php
            ob_start();
            ?>
			<div class="section_box" id="new_funding_applications_box">
				<a href="/vx/usa/applications/" class="section_box_link">
					<div class="section_header sicon">Search over 10,000 funding applications</div>
					<p>Click on one of the funding categories to view our newest funding applications. <strong>We have added <?= (!empty($grants_found_in_the_last_30_days)) ? $grants_found_in_the_last_30_days : 0;?> applications in the last month.</strong> See the newest apps and be the first to start applying for them! Deadlines are approaching fast.</p>
					<div class="category_box">
						<div class="iconItem top" ng-repeat="(c, category) in categoryBoard" ng-show="category.count>0 && c<15">
							<div class="aib" style="top:0px; right:0px;">
							</div>
							<div class="rb top">
								<table style="width:100%; height:100%">
									<tr>
										<td class="iconCell">
											<div class="iconHolder">
												<div ng-bind-html="category.icon | trust"></div>
											</div>
										</td>
									</tr>
									<tr>
										<td class="displayText">
											<div class="text" ng-class="{'long_category_text': (category.category_name.length>14)}">
												{{category.category_name}} <span class="f10 italic normal">({{category.count}})</span>
											</div>
										</td>
									</tr>
								</table>
							</div>
						</div>
					</div>
					<center><i class="sicon">Click Here to View All the Categories</i></center>
				</a>
			</div>
			<?php $funding_stuff_box = ob_get_clean(); ?>
			<?php ob_start(); ?>
			<div class="section_box" id="professional_funding_services_box">
				<a href="/vx/usa/professional-grant-services/?autoplay=1" class="section_box_link">
					<div class="section_header sicon">Professional Services for Business Funding</div>
					<p>Professional Services are available for those looking for money for business, non-profit organizations, community assistance, and real estate projects.</p>
					<div class="video">
						<img src="https://surfcrm.com/training_calls/videos/usa_professional_services_thumb.png" />
						<div id="play_button"><span class="glyphicons glyphicons-play glyphicons-fw f64"></span></div>
					</div>
				</a>
			</div>
			<?php $professional_services_box = ob_get_clean(); ?>
			<?php
			$is_a_lead = false;
            $a_cats = array('1','3','5');
            $cat_res = $db->query("SELECT p.profile_category_id
                                    FROM lc2{$siteCode}_lc.lead_profile p
                                    LEFT JOIN lc2{$siteCode}_lc.lc_leads l ON l.id=p.lead_id
                                    WHERE l.customerID='{$user}'");
            if(!empty($cat_res)) {
                if(in_array($siteCode,array('nusaf','usagaorg','usft'))) {
                    if(in_array($cat_res[0]['profile_category_id'],array('8','13','2'))) {
                        $cat_res[0]['profile_category_id'] = '1';
                    } elseif(in_array($cat_res[0]['profile_category_id'],array('15'))) {
                        $cat_res[0]['profile_category_id'] = '2';
                    } elseif(in_array($cat_res[0]['profile_category_id'],array('11'))) {
                        $cat_res[0]['profile_category_id'] = '6';
                    } elseif(in_array($cat_res[0]['profile_category_id'],array('10','17','14','12','18'))) {
                        $cat_res[0]['profile_category_id'] = '4';
                    }
                }
                if(in_array($cat_res[0]['profile_category_id'],$a_cats)) {
                    $is_a_lead = true;
                }
            }
            if($is_a_lead) {
			    echo $professional_services_box;
			    echo $funding_stuff_box;
			} else {
               echo $funding_stuff_box;
               echo $professional_services_box; 
			}
			?>
		</div>
		<div class="col-sm-4">
			<?php /*
			<div class="section_box" id="email_alerts_box">
				<?php if(empty($_SESSION['subscriptions']['2'])) { ?>
					<a href="/vx/usa/subscribe/" class="section_box_link">
				<?php } else { ?>
					<a href="/vx/usa/alerts/" class="section_box_link">
				<?php } ?>
					<div class="section_header sicon">Email Alerts</div>
					<div class="section_subheader sicon">to your inbox</div>
					<img src="/vx/usa/images/email_alerts.png" class="center_image" />
					<p>Get the latest Funding Applications delivered to your inbox each week. Select the categories you are interested in and we will email you those applications that meet your criteria.</p>
				</a>
			</div>
			*/ ?>
			<div class="section_box" id="coronavirus_box">
				<a href="/vx/usa/coronavirus/" class="section_box_link">
					<img src="/vx/usa/images/covid19.png" class="center_image" />
					<div class="section_header sicon">Coronavirus<br />COVID-19<br />Assistance</div>
				</a>
			</div>
			<div class="section_box" id="teleseminars_box">
				<a href="/vx/usa/teleseminars/" class="section_box_link">
					<div class="section_header sicon">Tele-Seminars</div>
					<div class="section_subheader sicon">with a grant writer</div>
					<img src="/vx/usa/images/teleseminars.png" class="center_image" />
					<p>Get live help from our Grant Experts every Tuesday &amp; Thursday evening. During each 60-Minute tele-seminar, you will learn "How to Research" &amp; "How to fill out the Applications", &amp; "How to Properly Apply"</p>
				</a>
			</div>
			<div>
				<center><a href="#testimonial" onclick="load_testimonial_form(); return false;"><img src="/vx/usa/members/testimonial_header.png" style="width:85%;cursor:pointer;" title="Rate the Site" /></a></center>
			</div>
			<?php
				if(!empty($user)) {
					$is_there = $db->get_results("SELECT id
												FROM asap_leads.assetprotectionasap_impressions
												WHERE site_code='".$db->clean($siteCode)."'
												AND client_id='".$db->clean($user)."'
												AND ts >= '".date('Y-m-d H:i:s',strtotime('-5 minute'))."'
												LIMIT 1");
					if(empty($is_there)) {
						//$ab = rand(0,1);
						$ab = 0;
						if($ab==0) {
							$real_ab = 'a';
						} else {
							$real_ab = 'b';
						}
						$db->query("INSERT INTO asap_leads.assetprotectionasap_impressions
									(
										site_code
										,client_id
										,ab_testing
										,ip_address
										,ts
									) VALUES (
										'".$db->clean($siteCode)."'
										,'".$db->clean($user)."'
										,'".$db->clean($real_ab)."'
										,'".$db->clean($_SERVER['REMOTE_ADDR'])."'
										,NOW()
									)");
					}
				}
			?>
			<div class="section_box" id="assetprotectionasap_box">
				<?php if($ab==0) { ?>
				<center>
					<a href="https://assetprotectionasap.com/?ab=a" target="_blank" rel="nofollow" class="section_box_link">
						<div class="section_header sicon" style="color:black;font-family:Helvetica;font-size:26px;font-weight:normal;">Who will make <strong>YOUR</strong> medical decisions when you can't?</div>
						<img src="https://assetprotectionasap.com/images/DriversSeat.gif" style="width:100%;" class="center_image" />
						<p style="color:black;font-family:Helvetica;font-size:26px;font-weight:bold;">Decide Now!</p>
					</a>
				</center>
				<?php } elseif($ab==1) { ?>
				<center>
					<a href="https://assetprotectionasap.com/?ab=b" target="_blank" rel="nofollow" class="section_box_link">
						<img src="https://assetprotectionasap.com/images/DriversSeat.jpg" style="width:100%;" class="center_image" />
					</a>
				</center>
				<?php } else { ?>
				<center>
					<a href="https://assetprotectionasap.com/" target="_blank" rel="nofollow" class="section_box_link">
						<div class="section_header sicon" style="color:#0c45a2;font-family:Helvetica;font-size:30px;font-weight:normal;">Got Assets<br />to Protect?</div>
						<img src="https://assetprotectionasap.com/images/logo_bigger.png" class="center_image" />
						<p style="color:#0c45a2;font-family:Helvetica;font-size:16px;">Click here to learn<br />how to protect them</p>
					</a>
				</center>
				<?php } ?>
			</div>
		</div>
	</div>
</div>
<?php
	//have they ever submitted the testimonial
	$num_logins = $db->get_results("SELECT id FROM lc2admin.usa_testimonials
									WHERE site_code='".$db->clean($siteCode)."'
									AND client_id='".$db->clean($user)."'");
	if(empty($num_logins)) {
		$num_logins_when_shown = 0;
		$num_logins = $db->get_results("SELECT COUNT(*) as c FROM lc2{$siteCode}_lc.lc_logins WHERE lead_id='".$db->clean($user)."'");
		if(!empty($num_logins)) {
			$num_logins_when_shown = $num_logins[0]->c;
		}
		if($num_logins_when_shown >= 3 && $num_logins_when_shown < 5) {
			$num_last_time = 0;
			$num_logins = $db->get_results("SELECT num_logins_when_shown FROM lc2admin.usa_testimonials_impressions WHERE site_code='".$db->clean($siteCode)."' AND client_id='".$db->clean($user)."' ORDER BY ts DESC LIMIT 1");
			if(!empty($num_logins)) {
				$num_last_time = $num_logins[0]->num_logins_when_shown;
			}
			if($num_last_time*1+3 >= $num_logins_when_shown) {
				$db->query("INSERT INTO lc2admin.usa_testimonials_impressions
							(
								site_code
								,client_id
								,ts
								,num_logins_when_shown
							) VALUES (
								'".$db->clean($siteCode)."'
								,'".$db->clean($user)."'
								,NOW()
								,'".$db->clean($num_logins_when_shown)."'
							)");
				include($_SERVER['DOCUMENT_ROOT'].'/vx/usa/members/rate_the_site.php');
			}
		}
	}
	if($_SESSION['user']=='7235' && $_SESSION['email']=='demo@demo.com') {
		include($_SERVER['DOCUMENT_ROOT'].'/vx/usa/members/rate_the_site.php');
	}
	if(empty($_SESSION['showed_tour'])) {
		$num_logins = $db->get_results("SELECT COUNT(*) as c FROM lc2{$siteCode}_lc.lc_logins WHERE lead_id='".$db->clean($user)."'");
		$show_tour = 0;
		if(empty($num_logins)) {
			$show_tour = 1;
		} elseif($num_logins[0]->c*1<=1) {
			$show_tour = 1;
		}
		if($show_tour) {
			include($_SERVER['DOCUMENT_ROOT'].'/vx/usa/members/tour.php');
		}
	}
?>
<?
	$title = "Home : ".$siteName;
	include_once($_SERVER['DOCUMENT_ROOT']."/vx/usa/layout/body.php");
?>

Youez - 2016 - github.com/yon3zu
LinuXploit