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/mobile/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/usa_sites/usafundingapplications.ai/mobile/js/form.js
var prevLink = '<a class="prev" href="#"><< Prev</a>';
        var nextLink = '<a class="next" href="#"><img src="images/next-blue.png"></a>';
        var navHTML = '<div class="prev-next">' +
                         nextLink +
                         prevLink +
                      '</div>';
        $(function(){
            // init
            $('#form > div')
                .hide()
                .append(navHTML);
            $('#one-step .prev').remove();
            $('#last-step .next').remove();
 
            // show first step
            $('#one-step').show();
 
            $('a.next').click(function(){
                var whichStep = $(this).parent().parent().attr('id');
 				var error = '';
				var success = true;
                if( whichStep == 'one-step' )
                {
                    // validate first-step
                    if($('[name=category_id]').filter(':checked').length!=1) {
						success = false;
						error += "Please tell us what type of grant you are interested in.\n";
					}
                }
                
                
                else if( whichStep == 'two-step' )
                {
                    // validate second-step
                    if($('[name=app_amount_needed]').filter(':checked').length!=1) {
						success = false;
						error += "How much money are you looking for?\n";
					}
                }
                else if( whichStep == 'three-step' )
                {
                    // validate third-step
                    if($('[name=app_gender]').filter(':checked').length!=1) {
						success = false;
						error += "Please fill out your gender.\n";
					}
                	if($('[name=app_age]').val() == '') {
						success = false;
						error += "Please fill out your age.\n";
					}
                }
            	else if( whichStep == 'four-step' )
                {
                    if($('[name=app_usedescription]').val() == '') {
						success = false;
						error += "Describe in detail how you'll use the money?\n";
					}
                    // validate fourth-step
                }
                else if( whichStep == 'five-step' )
                {
                 if($('[name=app_uniqueness]').val() == '') {
						success = false;
						error += "What makes you the ideal candidate for this funding opportunity?\n";
					}
                    // validate fifth-step
                }
                else if( whichStep == 'six-step' )
                {
                    if($('[name=cc_fname]').val() == '') {
						success = false;
						error += "Please fill out your first name.\n";
					}
                	if($('[name=cc_lname]').val() == '') {
						success = false;
						error += "Please fill out your last name.\n";
					}
                    // validate fifth-step
                }
                  else if( whichStep == 'seven-step' )
                {
                    if($('[name=phone_full]').val() == '') {
						success = false;
						error += "Please fill out your phone number.\n";
					}
                	if($('[name=cc_email]').val() == '') {
						success = false;
						error += "Please fill out your email.\n";
					}
                }

                else if( whichStep == 'last-step' )
                {
                 if($('[name=cc_zip]').val() == '') {
						success = false;
						error += "Please fill out your zip code.\n";
					}
                if($('[name=cc_addr]').val() == '') {
						success = false;
						error += "Please fill out your address.\n";
					}
                  
                }
 				if(success) {
					$(this).parent().parent().hide().next().show();
					window.scrollTo('0','0');
				} else {
					alert(error);
				}
				return false;
            });
 
            $('a.prev').click(function(){
                $(this).parent().parent().hide().prev().show();
            });
        });

Youez - 2016 - github.com/yon3zu
LinuXploit