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/usafundingapplications.ai/newSite/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/usa_sites/usafundingapplications.ai/newSite/sidebar.php
<script>
var track_pieces = {};
function ucwords (str) {
    return (str + '').replace(/^([a-z])|\s+([a-z])/g, function ($1) {
        return $1.toUpperCase();
    });
}
function valid_email(email) {
	if(/(.+)@(.+){2,}\.(.+){2,}/.test(email)) {
		return true;
	} else {
		return false;
	}
}
function validate_step(step) {
	switch(step) {
		case 'busStep1':
		case 'busStep2':
		case 'busStep3':
		case 'reaStep1':
		case 'perStep1':
		case 'eduStep1':
		case 'comStep1':
			return true;
			break;
		case 'busStep4':
		case 'reaStep2':
		case 'perStep2':
		case 'eduStep2':
		case 'comStep2':
			var error = 'Please fix the problems below:'+"\n\n";
			var success = true;
			if($('#'+step).find('[name=app_amount_needed]').val() == 'Select...') {
				success = false;
				error += "You need to select how much money you want.";
			}
			if(success) {
				return true;
			} else {
				return error;
			}
			break;
		case 'busStep5':
		case 'reaStep3':
		case 'perStep3':
		case 'eduStep3':
		case 'comStep3':
			var error = 'Please fix the problems below:'+"\n\n";
			var success = true;
			if($('#'+step).find('[name=app_gender]').val() == '') {
				success = false;
				error += "You need to select your gender.\n";
			}
			if($('#'+step).find('[name=app_citizenship]').val() == '') {
				success = false;
				error += "You need to select your citizenship.\n";
			}
			if($('#'+step).find('[name=app_age]').val() == '') {
				success = false;
				error += "You need to type in your age.\n";
			}
			if($('#'+step).find('[name=cc_zip]').val() == '') {
				success = false;
				error += "You need to type in your zip code.\n";
			}
			if($('#'+step).find('[name=app_usedescription]').val() == '') {
				success = false;
				error += "You need to describe how you will use the funding.\n";
			}
			if($('#'+step).find('[name=cc_fname]').val() == '') {
				success = false;
				error += "You need to type in your first name.\n";
			}
			if($('#'+step).find('[name=cc_lname]').val() == '') {
				success = false;
				error += "You need to type in your last name.\n";
			}
			if($('#'+step).find('[name=cc_email]').val() == '') {
				success = false;
				error += "You need to type in your email address.\n";
			}
			else if(!valid_email($('#'+step).find('[name=cc_email]').val())) {
				success = false;
				error += "You need to type in a valid email address.\n";
			}
			if($('#'+step).find('[name=cc_phonearea]').val().replace(/[^0-9]/g,'') == '' || $('#'+step).find('[name=cc_phoneprefix]').val().replace(/[^0-9]/g,'') == '' || $('#'+step).find('[name=cc_phoneextension]').val().replace(/[^0-9]/g,'') == '') {
				success = false;
				error += "You need to type in your phone number.\n";
			}
			if(success) {
				return true;
			} else {
				return error;
			}
			break;
	}
}
function next_button_click(current_step,next_step) {
	var validation = validate_step(current_step);
	if(validation===true) {
		$('#'+current_step).hide();
		$('#'+next_step).fadeIn();
		$('#'+track_pieces['section']).find('.form_section .selections .real_selections').empty();
		$('#'+track_pieces['section']).find('.form_section .selections .real_selections').append('<div class="mainLnk '+track_pieces['section_id']+' selected"><h3>'+ucwords(track_pieces['section'])+'</h3></div>');
		for(i in track_pieces['subsection']) {
			if(track_pieces['subsection'][i]==1) {
				$('#subcategory_'+i).find('img:first').clone().attr('title',track_pieces['subsection_title'][i]).appendTo('#'+track_pieces['section']+' .form_section .selections .real_selections');
			}
		}
	} else {
		alert(validation);
	}
}
function reset_selections() {
	$('#'+track_pieces['section_id']).click();
}
function submit_form(frm) {
	var validation = validate_step($(frm).find('.form_section').attr('id'));
	if(validation===true) {
		var str = '';
		$(frm).find('input,select,textarea').each(function() {
			if(this.type=='radio' || this.type=='checkbox') {
				if($(this).is(':checked')) {
					str += (str=='') ? '' : '&';
					str += this.name + '=' + $(this).val();
				}
			} else {
				str += (str=='') ? '' : '&';
				str += this.name + '=' + $(this).val();
			}
		});
		for(i in track_pieces['subsection']) {
			str += (str=='') ? '' : '&';
			str += 'subcategories[]='+i;
		}
		for(i in track_pieces['checkboxes']) {
			str += (str=='') ? '' : '&';
			str += i + '=1';
		}
		var cat_id = '';
		switch(track_pieces['section']) {
			case 'business':
				cat_id = '1';
				break;
			case 'realestate':
				cat_id = '5';
				break;
			case 'personal':
				cat_id = '4';
				break;
			case 'education':
				cat_id = '2';
				break;
			case 'community':
				cat_id = '3';
				break;
		}
		str += (str=='') ? '' : '&';
		str += 'category_id=' + cat_id;
		//console.log(str);
		var pieces = str.split('&');
		$('body').append('<form method="post" action="/order.php" style="display:none;" id="temp_form"></form>');
		for(i in pieces) {
			var piece = pieces[i].split('=');
			if(piece[0]!='' && piece[0]!='undefined') {
				$('#temp_form').append('<input type="hidden" name="'+piece[0]+'" value="'+piece[1]+'" />');
				//ret += "\n" + piece[0] + ': ' + piece[1];
			}
		}
		$('#temp_form').submit();
		//alert(ret);
	} else {
		alert(validation);
	}
}
function checkZip(zip,me) {
	zip = zip.replace(/[^0-9]/g,'');
	if(zip.length==5) {
		var str = 'zip='+encodeURIComponent(zip);
		$.ajax
		({
			cache: false,
			type: "POST",
			dataType:"json",
			data: str,
			url: "/php/ZipToCity.php",	
			success: function(data)
			{
				if(!data.error) {
					$(me).parents('.sub_section').find('[name=cc_city]').val(data.city);
					$(me).parents('.sub_section').find('[name=cc_state]').val(data.state);
					$(me).parents('.sub_section').find('[name=cc_city]').parent().find('span').html(data.city + ', ' + data.state);
				}
			},error: function(jqXHR, textStatus, errorThrown) {
			}
		});	
	}
}
function TabNext(me,num,next) {
	if(me.value.length==num) {
		$(next).focus();
	}
}
$( document ).ready(function() {
	$('.funding_types img').each(function() {
		$(this).before('<p>'+$(this).data('type')+'</p>');
	});
	$(".funding_types a").hover(function(){
		$(this).find("img").stop().animate({"opacity": .15}, 300);
		$(this).find("p").stop().animate({"opacity": 1}, 300);
	},function(){
		$(this).find("img").stop().animate({"opacity": 1}, 300);
		$(this).find("p").stop().animate({"opacity": 0}, 300);
	});
	$(".main_section").click(function(){
		var section = $(this).data("section");
		$(".main_section").removeClass("selected").addClass("deselected");
		$(".section").hide();
		$(".sub_section").hide();
		$('#'+section).find('.sub_section:first').show();
		$(this).removeClass("deselected").addClass("selected");
		$('#'+section).fadeIn(300);
		track_pieces['section'] = section;
		track_pieces['section_id'] = $(this).attr('id');
	});
	$(".funding_sections a").click(function(){
		var sectionType = $(this).data("type");
		var sectionId = $(this).attr('id');
		$(".main_section").removeClass("selected").addClass("deselected");
		$("#"+sectionId+"Lnk").removeClass("deselected").addClass("selected");
		$(".section").hide();
		$('#'+sectionType).fadeIn(300);
		track_pieces['section'] = sectionType;
	});
	$(".btnLnk").click(function(){
		if($(this).hasClass("selected") ) {
			$(this).removeClass("selected");
			delete track_pieces['subsection'][$(this).attr('subcat_id')];
			delete track_pieces['subsection_title'][$(this).attr('subcat_id')];
		} else {
			$(this).addClass("selected");
			if(typeof(track_pieces['subsection'])=='undefined') { track_pieces['subsection'] = {}; }
			if(typeof(track_pieces['subsection_title'])=='undefined') { track_pieces['subsection_title'] = {}; }
			track_pieces['subsection'][$(this).attr('subcat_id')] = 1;
			track_pieces['subsection_title'][$(this).attr('subcat_id')] = $(this).attr('subcat_title');
		}
	});
	$(".sub_section input[type=checkbox]").click(function(){
		if($(this).is(":checked") ) {
			if(typeof(track_pieces['checkboxes'])=='undefined') { track_pieces['checkboxes'] = {}; }
			track_pieces['checkboxes'][$(this).attr('name')] = 1;
		} else {
			delete track_pieces['checkboxes'][$(this).attr('name')];
		}
	});
	$('.sub_section').hide();
});
</script>
<div class="side">

    <h2 style="color:#025290; text-align:center">Click on the Type of<br />Funding You Need</h2>
    <div class="sidebar_arrow"></div>
    <div class="funding_sections">
        <a href="#form" id="bus" class="busLnk" data-type="business">
            <img src="images/icn_business.png" />
            <h3>Business</h3></a>
        <a href="#form" id="rea" class="reaLnk" data-type="realestate">
            <img src="images/icn_real_estate.png" />
            <h3>Real Estate</h3></a>
        <a href="#form" id="per" class="perLnk" data-type="personal">
            <img src="images/icn_personal.png" />
            <h3>Personal</h3></a>
        <a href="#form" id="edu" class="eduLnk" data-type="education">
            <img src="images/icn_education.png" />
            <h3>Education</h3></a>
        <a href="#form" id="com" class="comLnk" data-type="community">
            <img src="images/icn_community.png" />
            <h3>Community</h3></a>
	</div>
    <h2>Funding in the News</h2>
    <div class="blurb">
        <p>"Federal Government provides 2 billion each year to help people pay their energy bills."</p>
        <img src="images/log_msn.png" />
    </div>
    <div class="blurb">
        <p>"Company Awards $150,000 in Business Grants"</p>
        <img src="images/log_reuters.png" />
    </div>
    <div class="blurb">
        <p>"25 People Revieve $500,000 'Genius' Fellowships"</p>
        <img src="images/log_newyorktimes.png" />
    </div>
    <div class="blurb">
        <p>"100,000 in Disability Grants Approved"</p>
        <img src="images/log_yourhub.png" />
    </div>
    <br /><br />

    <h2>Testimonials</h2>
        
    <script src="js/rotator.js" type="text/javascript" charset="utf-8"></script>

    <br clear='all'>
    <script type="text/javascript" charset="utf-8">
        $(document).ready(function() {
            $('ul#button_quotes').quote_rotator({
                randomize_first_quote: true,
				rotation_speed: 7000, 
                buttons: false
            });
        });
    </script>
    
    <div class="blurbs">
       <ul id="button_quotes">
            <li>
                <p>"Well laid out program and easy to understand. Easy for an old man with little computer knowledge to follow."</p>
                <h4>--Tommy Williams Sr.</h4>
            </li>
            <li>
                <p>"It covers every situation that can happen to mankind. The info gives straight and forward options. Thank you for assisting me."</p>
                <h4>--Elaine Twite</h4>
            </li>
            <li>
                <p>"It is good to be able to get funding for extra money."</p>
                <h4>--Carrie Maxwell</h4>
            </li>
        </ul>  
    </div>  
    <br />
    <div class="blurbs">
       <ul id="button_quotes">
            <li>
                <p>"I received customer assistance very quickly when I called. The ease and readability of the site is superb and I will recommend to my friends."</p>
                <h4>--Michelle M. Smith</h4>
            </li>
            <li>
                <p>"It is very diverse. Covers plenty of topics and gives you lots of opportunities to figure out what you're looking for."</p>
                <h4>--Leslie Roberts</h4>
            </li>
            <li>
                <p>"I everything about USA Grant it have much to offer. There is nothing to improve on, it is all good."</p>
                <h4>--Anthony Hammond</h4>
            </li>
        </ul>  
    </div>  
    <br />
    <div class="blurbs">
       <ul id="button_quotes">
            <li>
                <p>"It was easy to understand."</p>
                <h4>--Kenyatta Hendrix</h4>
            </li>
            <li>
                <p>"The site was easy to move around."</p>
                <h4>--Donna K McHenry</h4>
            </li>
            <li>
                <p>"It gives u a chance to apply for funding."</p>
                <h4>--Marlene Sease</h4>
            </li>
        </ul>  
    </div>  
    <br />
    <div class="blurbs">
       <ul id="button_quotes">
            <li>
                <p>"It is easy to use."</p>
                <h4>--Glenn Smith</h4>
            </li>
            <li>
                <p>"It's a good site with Excellent Information!"</p>
                <h4>--Gayle Comer</h4>
            </li>
            <li>
                <p>"They really cared about me and want me to get the help I need."</p>
                <h4>--Kathy</h4>
            </li>
        </ul>  
    </div>  
    <br />
    <div class="blurbs">
       <ul id="button_quotes">
            <li>
                <p>"The site is awesome and its so easy to use"</p>
                <h4>--Bianca Rodriguez</h4>
            </li>
            <li>
                <p>"Looks great - Go for it!"</p>
                <h4>--Lynda Harmon</h4>
            </li>
            <li>
                <p>"This site is the best site so far. It has user friendly tabs and is very informative."</p>
                <h4>-- Kelly Reese</h4>
            </li>
        </ul>  
    </div>  

    <!--h2>TESTIMONIALS</h2>
    <script src="js/rotator.js" type="text/javascript" charset="utf-8"></script>

    <br clear='all'>
    <script type="text/javascript" charset="utf-8">
        $(document).ready(function() {
            $('ul#button_quotes').quote_rotator({
                buttons: {
                    next: '>>',
                    previous: '<<'                
                }
            });
        });
    </script> 
    
    <h2>Available Funding</h2>

    <div class="funding_types">
        <a href="#form">
            <img src="images/icn_apartments.png" data-type="Apartments" /></a>
        <a href="#form">
            <img src="images/icn_education.png" data-type="Education" /></a>
        <a href="#form">
            <img src="images/icn_child_care.png" data-type="Child Care" /></a>
        <a href="#form">
            <img src="images/icn_food.png" data-type="Food & Nutrition" /></a>
        <a href="#form">
            <img src="images/icn_environment.png" data-type="Environment" /></a>
        <a href="#form">
            <img src="images/icn_real_estate.png" data-type="Real Estate" /></a>
        <a href="#form">
            <img src="images/icn_medical.png" data-type="Medical" /></a>
        <a href="#form">
            <img src="images/icn_home_improvement.png" data-type="Home Improvements" /></a>
        <a href="#form">
            <img src="images/icn_women.png" data-type="Women" /></a>
        <a href="#form">
            <img src="images/icn_green.png" data-type="Green" /></a>
        <a href="#form">
            <img src="images/icn_technology.png" data-type="Technology" /></a>
        <a href="#form">
            <img src="images/icn_business.png" data-type="Business" /></a>
    </div>
    <div class="clear"></div>

    <!--div class="blurbs">
       <ul id="button_quotes">
            <li>
                <p>"I received customer assistance very quickly when I called. The ease and readability of the site is superb and I will recommend to my friends."</p>
                <h4>--Michelle M. Smith</h4>
            </li>
            <li>
                <p>"It's a good site with Excellent Information!"</p>
                <h4>--Gayle Comer</h4>
            </li>
            <li>
                <p>"They really cared about me and want me to get the help I need."</p>
                <h4>--Kathy</h4>
            </li>
            <li>
                <p>"The site is awesome and its so easy to use"</p>
                <h4>--Bianca Rodriguez</h4>
            </li>
            <li>
                <p>"Looks great - Go for it!"</p>
                <h4>--Lynda Harmon</h4>
            </li>
            <li>
                <p>"This site is the best site so far. It has user friendly tabs and is very informative."</p>
                <h4>-- Kelly Reese</h4>
            </li>
            <li>
                <p>"It is very diverse. Covers plenty of topics and gives you lots of opportunities to figure out what you're looking for."</p>
                <h4>--Leslie Roberts</h4>
            </li>
            <li>
                <p>"I everything about USA Grant it have much to offer. There is nothing to improve on, it is all good."</p>
                <h4>--Anthony Hammond</h4>
            </li>
            <li>
                <p>"It was easy to understand."</p>
                <h4>--Kenyatta Hendrix</h4>
            </li>
            <li>
                <p>"The site was easy to move around."</p>
                <h4>--Donna K McHenry</h4>
            </li>
            <li>
                <p>"Well laid out program and easy to understand. Easy for an old man with little computer knowledge to follow."</p>
                <h4>--Tommy Williams Sr.</h4>
            </li>
            <li>
                <p>"It covers every situation that can happen to mankind. The info gives straight and forward options. Thank you for assisting me."</p>
                <h4>--Elaine Twite</h4>
            </li>
            <li>
                <p>"It is good to be able to get funding for extra money."</p>
                <h4>--Carrie Maxwell</h4>
            </li>
            <li>
                <p>"It gives u a chance to apply for funding."</p>
                <h4>--Marlene Sease</h4>
            </li>
            <li>
                <p>"It is easy to use."</p>
                <h4>--Glenn Smith</h4>
            </li>
        </ul>  
    </div>
    <!--div class="readMore">
        <a href="/testimonials.php" class="readMore moreGreen">Read More ></a>
    </div-->
</div>
	

Youez - 2016 - github.com/yon3zu
LinuXploit