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/usa/functions/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/usa_sites/vx/usa/functions/5stepsStatus.php
<?

if(count($userPreferences) == 0)
{
	$userPreferences = $db->query("
										SELECT 
												*
										FROM $userDB.lc_preferences
										WHERE
											user = '$user'
											AND
											site_code = '$siteCode'
									");
}

$fiveSteps = array(
						array("step"=>1, "title"=>"Funding Goal"),
						array("step"=>2, "title"=>"Grant Alerts"),
						array("step"=>3, "title"=>"Search Database"),
						array("step"=>4, "title"=>"Favorite a Grant"),
						array("step"=>5, "title"=>"Apply for a Grant")
);

for($i=0; $i<count($fiveSteps); $i++)
{
	if($userPreferences['fiveStep'.($i+1)] == 'yes')
	{
		$fiveSteps[$i]['complete'] = true;
	}
	else
	{
		$fiveSteps[$i]['complete'] = false;
	}
}

$fiveStepsComplete = true;
for($i=0; $i<count($fiveSteps); $i++)
{
	if($fiveSteps[$i]['complete'] != true)
	{
		$fiveStepsComplete = false;
	}
}
if($userPreferences[0]['fiveStepSkipped'] == 'yes')
{
	$fiveStepsComplete = true;
}
?>

Youez - 2016 - github.com/yon3zu
LinuXploit