403Webshell
Server IP : 38.190.208.107  /  Your IP : 216.73.216.219
Web Server : nginx/1.28.1
System : Linux ht2026040333114 6.1.0-10-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.37-1 (2023-07-03) x86_64
User : www ( 1000)
PHP Version : 8.2.28
Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,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_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv,eval,assert,passthru,system,exec,shell_exec,popen,proc_open
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /www/wwwroot/wp.3/wp-content/plugins/wp-statistics/assets/dev/javascript/meta-box/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /www/wwwroot/wp.3/wp-content/plugins/wp-statistics/assets/dev/javascript/meta-box/pages.js
wps_js.pages_meta_box = {

    view: function (args = []) {
        let t = '';
        if (args.pages && args.pages.length > 0) {
            t += `<div class="o-table-wrapper"><table width="100%" class="o-table wps-new-table">
        <thead>
            <tr>
                <th scope="col" class="wps-pd-l">${wps_js._('title')}</th>
                <th scope="col" class="wps-pd-l"><span class="wps-order">${wps_js._('views')}</span></th>
                <th scope="col"><span class="screen-reader-text">Details</span></th>
            </tr>
        </thead>
        <tbody> `;
            const siteUrl = wps_js.global.admin_url.replace('/wp-admin/', '');
            let i = 1;
            args.pages.forEach(function (value) {
                const statisticsPagesWidget = document.getElementById('wp-statistics-pages-widget');
                let viewContentLabel = wps_js._('view');
                if (statisticsPagesWidget) {
                    const isInsideDashboardWidgets = statisticsPagesWidget.closest('#dashboard-widgets') !== null;
                    viewContentLabel = isInsideDashboardWidgets ? wps_js._('view') : window.innerWidth <= 500 ? wps_js._('view') : wps_js._('view_content');
                }
                t += `<tr>
			<td class="wps-pd-l"><div class="wps-ellipsis-parent" title="${value['title']}"><span class="wps-ellipsis-text">${value['title']}</span></div></td>
			<td class="wps-pd-l"><a href="${value['hits_page']}">${value['number']}</a></td>
		    <td class="wps-pd-l"><a target="_blank" class="wps-view-content" href="${value['link']}">${viewContentLabel}</a></td>
			</tr>`;
                i++;
            });

            t += `</tbody></table></div>`;
            return t;
        } else {
            return wps_js.no_meta_box_data()
        }

    }
};
window.addEventListener('resize', function () {
    window.addEventListener('resize', function () {
        const statisticsPagesWidget = document.getElementById('wp-statistics-pages-widget');
        let isInsideDashboardWidgets = null;
        if (statisticsPagesWidget) {
            isInsideDashboardWidgets = statisticsPagesWidget.closest('#dashboard-widgets') !== null;
        }
        const metaBoxes = document.querySelectorAll('.wps-view-content');
        if (metaBoxes.length > 0) {
            metaBoxes.forEach(function (metaBox) {
                metaBox.textContent = isInsideDashboardWidgets ? wps_js._('view') : window.innerWidth <= 500 ? wps_js._('view') : wps_js._('view_content');
                ;
            });
        }
    });
});

Youez - 2016 - github.com/yon3zu
LinuXploit