403Webshell
Server IP : 209.209.40.120  /  Your IP : 216.73.217.112
Web Server : Microsoft-IIS/10.0
System : Windows NT NEWWWW 10.0 build 17763 (Windows Server 2019) i586
User : NEWWWW$ ( 0)
PHP Version : 8.3.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/Program Files (x86)/Mail Enable/Bin/NETWebAdmin/Mondo/lang/sys/scripts/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/Program Files (x86)/Mail Enable/Bin/NETWebAdmin/Mondo/lang/sys/scripts/LIBDKIMList.js
var gPreviousSelectedIndex = -1; // The previous selected row index of the list.

var LIST_ROW_STYLE_SELECTED = 'MsgList_SelectedRow';
var LIST_ROW_STYLE_1 = 'ME_MessageList0';
var LIST_ROW_STYLE_2 = 'ME_MessageList1';

var LIST_ID = 'MEMessageList';
var LIST_CONTAINER = 'msgList_shell_js';
var LIST_CONTAINER_INNER = 'msgList_container_js';

var gTotalItems;

var gNumLookupItemsPrev = 0;
var gNumLookupItemsNext = 0;

var gNumItemsThisPage;

var gItemsPerPage;
var gUnitScrollLength = 24;
var gItemsArraySize;

var gListFirstLoad = true;
var gNumDataColumns = 0;

var gListMethod = 'LIST-DKIM-DOMAINS';
var gListParams = '';

function ChangeListItem(ID) {
    //ShowWindow('DomainDetails.aspx?Cmd=Edit&Domain=' + ID, 'MailEnable', 'resizable:1;center:yes;dialogWidth:510px;dialogHeight:480px');
    ShowWindow('DKIMSelect.aspx?Cmd=Change&Domain=' + ID + '&ME_VALIDATIONTOKEN=' + g_opt['ME_VALIDATIONTOKEN'], 'MailEnable', 'resizable:1;center:yes;dialogWidth:510px;dialogHeight:480px');
    window.location.reload();
}

function ViewListItem(ID) {
    ChangeListItem(ID);
}

function CreateSelector(ID) {
    ShowWindow('DKIMNew.aspx?Cmd=Create&Domain=' + ID + '&ME_VALIDATIONTOKEN=' + g_opt['ME_VALIDATIONTOKEN'], 'MailEnable', 'resizable:1;center:yes;dialogWidth:510px;dialogHeight:220px');
}

function fnChangeItem(e) {
    if (e == undefined) {
        e = window.event;
    }
    var element = (e.target != undefined) ? e.target : e.srcElement;
    var sID = element.ID;

    sID = sID.replace('btnID_', '');

    ChangeListItem(sID)
}

function fnViewItem(e) {
    if (e == undefined) {
        e = window.event;
    }
    var element = (e.target != undefined) ? e.target : e.srcElement;
    var sID = element.ID;

    sID = sID.replace('btnID_', '');

    ViewListItem(sID);
}

function fnCreateItem(e) {
    if (e == undefined) {
        e = window.event;
    }
    var element = (e.target != undefined) ? e.target : e.srcElement;
    var sID = element.ID;

    sID = sID.replace('btnID_', '');

    CreateSelector(sID);
}

function ExtractData(oMailboxAttributes, XMLNode) {
    var XMLNodeAttributes;
    var DomainName, Status, ActiveSelector;
    XMLNodeAttributes = XMLNode.attributes;

    DomainName = GetXMLValue(XMLNodeAttributes.getNamedItem('ID'));
    Status = GetXMLValue(XMLNode.getElementsByTagName("STATUS")[0]);
    ActiveSelector = GetXMLValue(XMLNode.getElementsByTagName("ACTIVE_SELECTOR")[0]);

    oMailboxAttributes['MessageID'] = DomainName;
    oMailboxAttributes['DomainName'] = DomainName;
    oMailboxAttributes['DomainName_Full'] = DomainName;
    oMailboxAttributes['Label_Status'] = (Status == "1" ? t_("[ME_TXT-Signing]") : t_("[ME_TXT-NotCurrentlySigning]"));
    oMailboxAttributes['ActiveSelector'] = ActiveSelector;

    oMailboxAttributes['Graphic_Status'] = (Status == 1) ? 'icon_dkim.gif' : 'icon_domains.png';
    oMailboxAttributes['Status'] = (Status == 1) ? t_('[ME_TXT-Enabled]') : t_('[ME_TXT-Disabled]');
    oMailboxAttributes['Title_Status'] = (Status == 1) ? t_('[ME_TXT-Enabled]') : t_('[ME_TXT-Disabled]');
//    oMailboxAttributes['Graphic_RedirectionStatus'] = (RedirectionStatus == 1) ? 'forward_sm_off.gif' : 'send.gif';
//    oMailboxAttributes['Label_RedirectionStatus'] = (RedirectionStatus == 1) ? t_('[ME_TXT-(Redirected)]') + ' ' + RedirectionHosts : t_('[ME_TXT-(Local)]') + ' ' + RedirectionHosts;
//    oMailboxAttributes['Title_RedirectionStatus'] = RedirectionHosts;

    var oButtonsArray = new Array();
    var index = 0;

    var oActionNode = XMLNode.getElementsByTagName("ACTION")[index];

    while (oActionNode != null) {
        var sActionType = GetXMLValue(oActionNode.attributes.getNamedItem('TYPE'));
        var sActionLabel = GetXMLValue(oActionNode.getElementsByTagName('LABEL')[0]);
        var sID = GetXMLValue(oActionNode.getElementsByTagName('ID')[0]);

        if (sActionType.toUpperCase() == "CHANGE") {
            oButtonsArray[index] = { Label: sActionLabel, Action: fnChangeItem, ActionID: sID };
        }
//        else if (sActionType.toUpperCase() == "VIEW") {
//            oButtonsArray[index] = { Label: sActionLabel, Action: fnViewItem, ActionID: sID };
//        }
        else if (sActionType.toUpperCase() == "CREATE") {
            oButtonsArray[index] = { Label: sActionLabel, Action: fnCreateItem, ActionID: sID };
        }

        index++;
        oActionNode = XMLNode.getElementsByTagName("ACTION")[index];
    }
    oMailboxAttributes['ButtonsArray'] = oButtonsArray;
}

Youez - 2016 - github.com/yon3zu
LinuXploit