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/  Your IP : 172.18.0.1   [ Reverse IP ]
Web Server : Apache/2.4.38 (Debian)
System : Linux a1822d00732a 4.15.0-39-generic #42-Ubuntu SMP Tue Oct 23 15:48:01 UTC 2018 x86_64
User : www-data ( 33)
PHP Version : 7.1.33
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,
Domains : 0 Domains
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/html/www/js/admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /var/www/html/www/js/admin/main.js
String.prototype.regexIndexOf = function (regex, startpos) {

    var indexOf = this.substring(startpos || 0).search(regex);
    return (indexOf >= 0) ? (indexOf + (startpos || 0)) : indexOf;
};

function sleep(ms) {
    return new Promise(resolve => setTimeout(resolve, ms));
}

function getText(str) {
    var urlRegex = /^(http|https)?:\/\/[a-zA-Z0-9-\.]+\.[a-z]{2,4}/;
    var i = 0;
    do {
        if (str.regexIndexOf(new RegExp(urlRegex), i) >= 0) {
            var j = i;
            for (; j <= str.length; j++) {
                if (str.charAt(j) === '\n' || str.charAt(j) === '\t' || str.charAt(j) === ' ' || str.charAt(j) === ' ' || str.charAt(j) === '"' || str.charAt(j) === "'") {
                    break;
                }
            }
            var url = str.substring(i, j);
            var utm_source_index = url.indexOf('utm_source');
            if (utm_source_index >= 0) {
                var a = j;
                j = i + utm_source_index - 1;
                url = str.substring(i, j);
                str = str.substring(0, i) + url + str.substring(a);
            }

            url = url +
                (url.indexOf('?') >= 0 ? '&' : '?') +
                'utm_source=' + $('#frmeditForm-utm_source').val() +
                '&utm_medium=' + $('#frmeditForm-utm_medium').val() +
                '&utm_campaign=' + $('#frmeditForm-utm_campaign').val();
            url = encodeURI(bezdiak(url.replace(/ /g, "_").toLowerCase()));
            str = str.substring(0, i) + url + str.substring(j);
            i += url.length;//goto end url
        }
        i++;
    } while (i <= str.length);
    return str;
}
function bezdiak(txt) {
    tx = "";
    sdiak = "áäčďéěíĺľňóôőöŕšťúůűüýřžÁÄČĎÉĚÍĹĽŇÓÔŐÖŔŠŤÚŮŰÜÝŘŽ";
    bdiak = "aacdeeillnoooorstuuuuyrzAACDEEILLNOOOORSTUUUUYRZ";
    for (p = 0; p < txt.length; p++) {
        if (sdiak.indexOf(txt.charAt(p)) != -1)
            tx += bdiak.charAt(sdiak.indexOf(txt.charAt(p)));
        else tx += txt.charAt(p);
    }
    return tx;
}
var Happy,bind=function(t,e){return function(){return t.apply(e,arguments)}};Happy=function(){function t(){this.checkCheckboxState=bind(this.checkCheckboxState,this),this.checkCheckboxStateOnChange=bind(this.checkCheckboxStateOnChange,this),this.checkCheckboxStateOnClick=bind(this.checkCheckboxStateOnClick,this),this.radioOnChange=bind(this.radioOnChange,this),this.colors=["primary","success","info","warning","danger","white","gray"],this.templates={radio:'<div class="happy-radio"><b></b></div>',checkbox:'<div class="happy-checkbox"> <svg viewBox="0 0 30 30"> <rect class="mark-storke" x="15" y="3" rx="1" ry="1" width="10" height="4"/> <rect class="mark-storke" x="-7" y="21" rx="1" ry="1" width="19" height="4"/> </svg> </div>',text:"",textarea:""}}return t.prototype.colorify=function(t,e,a){if(t.classList.contains(a)&&e.classList.add(a),t.classList.contains(a+"-border"))return e.classList.add(a+"-border")},t.prototype.thicknessify=function(t,e){if(t.classList.contains("thin"))return e.classList.add("thin")},t.prototype.setNames=function(t,e){var a;if(e.setAttribute("data-name",t.getAttribute("name")),(a=t.getAttribute("value"))!==!1&&null!==a)return e.setAttribute("data-value",t.getAttribute("value"))},t.prototype.init=function(){return this.initRadio(),this.initCheckbox()},t.prototype.removeBySelector=function(t){var e,a,i,n,c;for(a=document.querySelectorAll(t),c=[],i=0,n=a.length;i<n;i++)e=a[i],c.push(e.parentNode.removeChild(e));return c},t.prototype.reset=function(){return this.removeBySelector(".happy-radio"),this.removeBySelector(".happy-checkbox"),this.init()},t.prototype.initRadio=function(){var t,e,a,i,n,c,r,o,s,h;for(n=document.querySelectorAll("input[type=radio].happy"),h=[],a=0,r=n.length;a<r;a++){for(i=n[a],i.insertAdjacentHTML("afterend",this.templates.radio),e=i.nextElementSibling,s=this.colors,c=0,o=s.length;c<o;c++)t=s[c],this.colorify(i,e,t),this.setNames(i,e);this.thicknessify(i,e),this.checkRadioState(i),h.push(document.addEventListener("change",this.radioOnChange))}return h},t.prototype.radioOnChange=function(t){var e,a,i,n,c,r,o;if(o=t.target,o.classList.contains("happy")){for(c=o.getAttribute("name"),r='.happy-radio[data-name="'+c+'"]',a=document.querySelectorAll(r),i=0,n=a.length;i<n;i++)e=a[i],e.classList.remove("active");return this.checkRadioState(o)}},t.prototype.checkRadioState=function(t){var e,a,i,n;if(t.checked&&(a=t.getAttribute("name"),n=t.getAttribute("value"),i='.happy-radio[data-name="'+a+'"][data-value="'+n+'"]',e=document.querySelector(i)))return e.classList.add("active")},t.prototype.initCheckbox=function(){var t,e,a,i,n,c,r,o,s,h;for(n=document.querySelectorAll("input[type=checkbox].happy"),h=[],a=0,r=n.length;a<r;a++){for(i=n[a],i.insertAdjacentHTML("afterend",this.templates.checkbox),e=i.nextElementSibling,s=this.colors,c=0,o=s.length;c<o;c++)t=s[c],this.colorify(i,e,t),this.setNames(i,e);this.thicknessify(i,e),this.checkCheckboxState(i),document.addEventListener("click",this.checkCheckboxStateOnClick),h.push(document.addEventListener("change",this.checkCheckboxStateOnChange))}return h},t.prototype.checkCheckboxStateOnClick=function(t){var e,a,i,n,c,r;if((a="svg"===t.target.tagName?t.target.parentNode:"rect"===t.target.tagName?t.target.parentNode.parentNode:t.target)&&a.classList.contains("happy-checkbox"))return t.preventDefault(),c='input[type=checkbox][name="'+a.getAttribute("data-name")+'"]',r=a.getAttribute("data-value"),r!==!1&&null!==r&&(c+='[value="'+r+'"]'),n=document.querySelector(c),n?(a.classList.contains("active")?(n.checked=!1,a.classList.remove("active")):(n.checked=!0,a.classList.add("active")),i=window.navigator.userAgent.indexOf("MSIE "),i?(e=document.createEvent("Event"),e.initEvent("change",!0,!0)):e=new Event("change",{bubbles:!0}),n.dispatchEvent(e)):void 0},t.prototype.checkCheckboxStateOnChange=function(t){var e;if(t.target.classList.contains("happy"))return e=t.target,this.checkCheckboxState(e)},t.prototype.checkCheckboxState=function(t){var e,a,i;if(a='.happy-checkbox[data-name="'+t.getAttribute("name")+'"]',i=t.getAttribute("value"),i!==!1&&null!==i&&(a+='[data-value="'+i+'"]'),e=document.querySelector(a))return t.checked?e.classList.add("active"):e.classList.remove("active")},t}(),document.addEventListener("DOMContentLoaded",function(){return window.happy=new Happy,window.happy.init()});
$(document).ready(function () {
    $(function () {
        $.nette.init();
    });

    $(function(){
        $('.select2-simple').select2({
            dropdownAutoWidth : true,
            width: 'auto'
        });
    });
    $.nette.ext('confirm', {
        before: function (xhr, settings) {
            if (!settings.nette)
                return;

            var question = settings.nette.el.data('ajax-confirm');
            if (question)
                return confirm(question);
        }
    });
    /**
     * Flash messages
     */
    $.nette.ext('flashMessages', {
        init: function() {
            //$.pnotify.defaults.history = false;
        },
        success: function (payload) {
            if ( payload.messages ) {
                this.show(payload.messages);
            }
        }
    },{
        // Show messages from array
        show: function(messages) {
            // Display messages in growl
            for(i in messages) {
                var type = "";
                var title = "";
                // Get message type
                switch (messages[i].type) {
                    // Notification
                    case 'note':
                    case 'information':
                        type = "info";
                        title = "Info";
                        break;
                    // Error
                    case 'error':
                        type = "error";
                        title = "Chyba";
                        break;
                    // Warning
                    case 'warning':
                        type = "notice";
                        title = "Upozornění";
                        break;
                    // Successful
                    case 'success':
                        type = "success";
                        title = "Úspěch";
                        break;
                    default:
                        type = "info";
                        title = "Info";
                }
                var notice = new PNotify({
                    title   : title,
                    text    : messages[i].text,
                    type    : type,
                    styling: 'bootstrap3'
                });
                notice.get().click(function() {
                    notice.remove();
                });
            }
        }
    });

    $.nette.ext('bs-modal', {
        success: function (payload, status, settings) {
            if(typeof settings.responseJSON == 'undefined'){
                return;
            }
            if (typeof settings.responseJSON.snippets != 'undefined') {
                var $snippet = settings.responseJSON.snippets['snippet--modal'];
                var $snippetSm = settings.responseJSON.snippets['snippet--modalSm'];
            }
            if (!($snippet + $snippetSm)) {
                //return;
            }
            if(payload.isModal == "show" || payload.isModal == "hide"){
                $('#'+payload.idModal).modal(payload.isModal);
                $('#'+payload.idModal+' .select2').select2({
                    dropdownParent: $('#'+payload.idModal)
                });
                $('[data-toggle="tooltip"]').tooltip();
            }
        }
    });

    $('.datagrid-grid').on('keydown', function (event) {
        if (event.keyCode == 13) {
            event.preventDefault();
            return false;
        }
    });

    $.fn.modal.Constructor.prototype.enforceFocus = function() {
        var $modalElement = this.$element;
        $(document).on('focusin.modal',function(e) {
            if ($modalElement.length > 0 && $modalElement[0] !== e.target
              && !$modalElement.has(e.target).length
              && $(e.target).parentsUntil('*[role="dialog"]').length === 0) {
                $modalElement.focus();
            }
        });
    };
});

Anon7 - 2022
AnonSec Team