403Webshell
Server IP : 89.108.64.180  /  Your IP : 216.73.216.60
Web Server : Apache/2.4.41 (Ubuntu)
System : Linux 89-108-64-180.cloudvps.regruhosting.ru 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User : www-root ( 1010)
PHP Version : 8.0.30
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,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,
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/www-root/data/www/hotelvv.ru/wp-content/plugins/html5-video-player/tinymce/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/www-root/data/www/hotelvv.ru/wp-content/plugins/html5-video-player/tinymce/tinymce.js
jQuery(document).ready(function($) {
	
			sliderList = jQuery('#h5vptinymce_select_slider');

// END LOAD MEDIA

	jQuery("body").delegate("#h5vp_shortcode_button","click",function(){	
		
			mg_H = 300;
			mg_W = 550;
			sliderList.find('option').remove();
			jQuery("<option/>").val(0).text('Loading...').appendTo(sliderList);
			
		setTimeout(function() {
			tb_show( 'Insert Html5 Video Player', '#TB_inline?height='+mg_H+'&width='+mg_W+'&inlineId=h5vpmodal' );
			jQuery('#TB_window').css("height", mg_H);
			jQuery('#TB_window').css("width", mg_W);
			jQuery('#TB_window').css("top", ((jQuery(window).height() - mg_H) / 6) + 'px');
			jQuery('#TB_window').css("left", ((jQuery(window).width() - mg_W) / 4) + 'px');
			jQuery('#TB_window').css("margin-top", ((jQuery(window).height() - mg_H) / 6) + 'px');
			jQuery('#TB_window').css("margin-left", ((jQuery(window).width() - mg_W) / 4) + 'px');
			jQuery("#TB_window").css('height','auto');
			jQuery("#TB_ajaxContent").css('height','auto');
			jQuery("select#h5vptinymce_select_slider").val("select");
			
			//load ajax to grab slider list ( we need this methode to avoid conflict in media editor with another plugin )
			grabslider();
			

		}, 300);	
		
	});
	
	// add the shortcode to the post editor
	jQuery('#h5vp_insert_scrt').on("click", function () {

		if ( jQuery( "#h5vptinymce_select_slider" ).val() != 'select' ) {
		
			var sccode;
			sccode = "[video id="+jQuery( "#h5vptinymce_select_slider option:selected" ).val()+"]";
		
			if( jQuery('#wp-content-editor-container > textarea').is(':visible') ) {
				var val = jQuery('#wp-content-editor-container > textarea').val() + sccode;
				jQuery('#wp-content-editor-container > textarea').val(val);	
				}
				else {
				tinyMCE.activeEditor.execCommand('mceInsertContent', 0, sccode);
					}

			tb_remove();
			}
			else {
				alert('Please select slider first!');
				//tb_remove();
				}
		});	
		
		
function grabslider() {
	
			jQuery.ajax({
			url: ajaxurl,
			data:{
				'action': 'h5vp_grab_slider_list_ajax',
				'grabslider': 'yes'
			},
			dataType: 'JSON',
			type: 'POST',
			success:function(response){
				sliderList.find('option').remove();
				jQuery("<option/>").val('select').text('- Select Player -').appendTo(sliderList);
				jQuery.each(response, function(i, option)
				{
					jQuery("<option/>").val(option.val).text(option.title).appendTo(sliderList);
				});
			},
			error: function(errorThrown){
			   jQuery("<option/>").val('select').text('- Select Player -').appendTo(sliderList);
			}
			
		}); // End Grab	
		
}
		
		
});

Youez - 2016 - github.com/yon3zu
LinuXploit