AnonSec Shell
Server IP : 149.202.105.228  /  Your IP : 216.73.216.134
Web Server : Apache
System : Linux webm129.cluster030.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
User : atfycaf ( 116275)
PHP Version : 7.4.33
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/a/t/f/atfycaf/www/admin/js/jsF/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/a/t/f/atfycaf/www/admin/js/jsF/leagueEdit-1.js
$(document).ready(function(){
	$("#leagueType").selectmenu({
		change: function() {
			var thisVal = $(this).val();
			$.ajax({
				type:"POST",
				url: "leagueData.php",
				data: "tT=" + thisVal,
				cache: false,
				success: function(getRules) {
					$("#additonalRules").html(getRules);
				}
			});
		}
	});
	$("#customRules").selectmenu({
		change: function() {
			var thisVal = $(this).val();
			if (thisVal == "1") {
				$("#addRules").slideDown("slow");
			} else {
				$("#addRules").slideUp("slow");
			}
		}
	});
	$( "#leagueStartDate" ).datepicker({
		defaultDate: "+1w",
		changeMonth: true,
		changeYear: true,
		firstDay: 1,
		dateFormat: "dd/mm/yy"
	});

	$(document).on("click", "#photoGallery", function() {
		var thisBtn = $(this);
		var lID = $("#leagueID").val();
		$.ajax({
			type:"POST",
			url: "galleryCatNewT.php",
			data: "createLeagueCat=true&lID=" + lID,
			cache: false,
			success: function(createGallery) {
				thisBtn.attr("id", "photoGalleryU");
				thisBtn.data("gid", createGallery);
				thisBtn.html("Update the Photo Gallery for this league");
			}
		});
	});
	$(document).on("click", "#photoGalleryU", function() {
		var gID = $(this).data("gid");
		$("#mainContainer").append('<form action="galleryPhotoNew.html" method="post" id="updateGallery" target="_blank"><input type="hidden" name="galleryID" value="' + gID + '"><input type="hidden" name="getGallery" value="Edit This Gallery"></form>');
		document.getElementById('updateGallery').submit();
		$("#updateGallery").remove();
	});


	function getDate( element ) {
		var date;
		try {
			date = $.datepicker.parseDate( dateFormat, element.value );
		} catch( error ) {
			date = null;
		}
		return date;
	}
});

Anon7 - 2022
AnonSec Team