!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 

uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/var/www/html/queuepro/node_modules/flatpickr/dist/esm/plugins/weekSelect/   drwxrwxr-x
Free 13.23 GB of 57.97 GB (22.83%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     weekSelect.js (3.05 KB)      -rwxrwxr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
import { getEventTarget } from "../../utils/dom";
function weekSelectPlugin() {
    return function (fp) {
        function onDayHover(event) {
            var day = getEventTarget(event);
            if (!day.classList.contains("flatpickr-day"))
                return;
            var days = fp.days.childNodes;
            var dayIndex = day.$i;
            var dayIndSeven = dayIndex / 7;
            var weekStartDay = days[7 * Math.floor(dayIndSeven)]
                .dateObj;
            var weekEndDay = days[7 * Math.ceil(dayIndSeven + 0.01) - 1].dateObj;
            for (var i = days.length; i--;) {
                var day_1 = days[i];
                var date = day_1.dateObj;
                if (date > weekEndDay || date < weekStartDay)
                    day_1.classList.remove("inRange");
                else
                    day_1.classList.add("inRange");
            }
        }
        function highlightWeek() {
            var selDate = fp.latestSelectedDateObj;
            if (selDate !== undefined &&
                selDate.getMonth() === fp.currentMonth &&
                selDate.getFullYear() === fp.currentYear) {
                fp.weekStartDay = fp.days.childNodes[7 * Math.floor(fp.selectedDateElem.$i / 7)].dateObj;
                fp.weekEndDay = fp.days.childNodes[7 * Math.ceil(fp.selectedDateElem.$i / 7 + 0.01) - 1].dateObj;
            }
            var days = fp.days.childNodes;
            for (var i = days.length; i--;) {
                var date = days[i].dateObj;
                if (date >= fp.weekStartDay && date <= fp.weekEndDay)
                    days[i].classList.add("week", "selected");
            }
        }
        function clearHover() {
            var days = fp.days.childNodes;
            for (var i = days.length; i--;)
                days[i].classList.remove("inRange");
        }
        function onReady() {
            if (fp.daysContainer !== undefined)
                fp.daysContainer.addEventListener("mouseover", onDayHover);
        }
        function onDestroy() {
            if (fp.daysContainer !== undefined)
                fp.daysContainer.removeEventListener("mouseover", onDayHover);
        }
        return {
            onValueUpdate: highlightWeek,
            onMonthChange: highlightWeek,
            onYearChange: highlightWeek,
            onOpen: highlightWeek,
            onClose: clearHover,
            onParseConfig: function () {
                fp.config.mode = "single";
                fp.config.enableTime = false;
                fp.config.dateFormat = fp.config.dateFormat
                    ? fp.config.dateFormat
                    : "\\W\\e\\e\\k #W, Y";
                fp.config.altFormat = fp.config.altFormat
                    ? fp.config.altFormat
                    : "\\W\\e\\e\\k #W, Y";
            },
            onReady: [
                onReady,
                highlightWeek,
                function () {
                    fp.loadedPlugins.push("weekSelect");
                },
            ],
            onDestroy: onDestroy,
        };
    };
}
export default weekSelectPlugin;

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0084 ]--