403Webshell
Server IP : 80.241.246.6  /  Your IP : 216.73.216.188
Web Server : Apache/2.4.25 (Debian)
System : Linux kharagauli 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
User : www-data ( 33)
PHP Version : 7.0.33-0+deb9u12
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,
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/kharagauli1/moduls/video_gallery_big/site/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/kharagauli1/moduls/video_gallery_big/site/js/youtube_script.js
/*
@author suxoza <suxoza@gmail.com>
*/

$(function(){
	maina = '';
	jQTubeUtil.init({
		key: 'AI39si7jDaM1hshJuWvQszAs7K95lF3uAaFqa36YzUEI3iTTXyOPAMAsLjPQjt8wK4L-6SVf-qxmjakPmuiuOVA1mzKxWFZQ7Q',
		orderby: 'viewCount',
		time: 'all_time',  
		maxResults: 20
	});
	

	
});

function finder(a){
    	
        var th = $(a);
        var val = th.val();
        
        if($('#colored_video').length)$('#colored_video').remove();
        if(val.indexOf('http://') != -1){
            th.parent().next().fadeOut(500);
            if(val.indexOf('v=') != -1){
                var values = $.trim(String(val));
                values = values.split('v=')[1];
                if(values.indexOf('&') != -1)values = values.split('&')[0];
                    if(values){
                        $.ajax({
                            url    : "/view/",
                            type   : "POST",
                            data   : "video_curl="+values,
                            success:function(data){
                                if($('#colored_video').length)$('#colored_video').remove();
                                if(data){
                                    th.after(' <button app="'+values+'" style="cursor:pointer" id="colored_video" onclick="add_one_video(this);">დამატება</button>');
                                }else th.after(' <span id="colored_video">აღნიშნული ვიდეოფაილი არ არსებობს!!!</span>');
                            }
                        });
                 }
           }else th.after(' <span id="colored_video">აღნიშნული ვიდეოფაილი არ არსებობს!!!</span>');
        }else{
            start_video(val,th);
        }   
	
}


function start_video(a,th){
     jQTubeUtil.suggest(a, function(response){
            var html = '';
            for(s in response.suggestions){
                    var sug = response.suggestions[s];
                    html += '<li><a style="cursor:pointer" onclick="autocomplete_click(this);">'+sug+'</a></li>';
            }
            if (response.suggestions.length){
                    th.parent().next().html(html).fadeIn(500);

            }else 
                    th.parent().next().fadeOut(500);

     });
}

function autocomplete_click_old(a){
    var th = $(a);
    var text = th.text();
    th.parent().parent().prev().find('.search').val(text);
    th.parent().parent().fadeOut(500);
    show_videos(th.parent().parent().prev().find('.search'));
}


function show_videos_old(a){
        var val = a.val();
       // var before_videos = $('<div>',{class:'before_videos',html:$('<img>',{src:'./img/ajax-loader.gif'})});

        before_videos.dialog({
                 close: function(event,ui){
                     if(a.hasClass('search_saxli')){
                         if($('.youtube_checkbox:checked').length){
                          var gallery_window = $('#gallery_window'); 
                          var silk = '';//alert(JSON.stringify(obj));
                           $('.youtube_checkbox:checked').each(function(){
                               obj['video'][gallery_window.attr('gallery_name')]['img'].push($(this).parent().attr('app'));
                           });$('#result').html(show_alboum());
                         }
                     }
                   before_videos.remove();
                 },
                 modal  : true,
                 width  : "auto",
                 height : "auto",
                 position: [200, 200],
                 title   : "add video from youtube",
                 buttons: {
                  "close" : function(){
                   before_videos.dialog('close');
                }
                },open: function (event, ui) {
                     before_videos.css({overflow: 'auto',height:"500px",display:"none"});
                  }
                });	

             start_show_video(before_videos,val,a);

}




Youez - 2016 - github.com/yon3zu
LinuXploit