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/siteConfig.js
$(document).ready(function(){
	$("h2 > span").click(function() {
		var selectID = $(this).attr('id');
		var selectBot = selectID + "Bot";
		var varID = selectID.replace("hide","div");
		var currentState = $("#" + varID).css('display');
		if (currentState == "block") {
			$("#" + varID).slideUp('slow');
			$("#" + selectID).html('show');
			$("#" + selectBot).html('show');
		} else {
			$("#" + varID).slideDown('slow');
			$("#" + selectID).html('hide');
			$("#" + selectBot).html('hide');
		}
	});
	$(".hideConfig").click(function() {
		var selectID = $(this).attr('id');
		var selectTop = selectID.replace("Bot","");
		var varID = selectID.replace("hide","div");
		varID = varID.replace("Bot","");
		var currentState = $("#" + varID).css('display');
		if (currentState == "block") {
			$("#" + varID).slideUp('slow');
			$("#" + selectID).html('show');
			$("#" + selectTop).html('show');
		} else {
			$("#" + varID).slideDown('slow');
			$("#" + selectID).html('hide');
			$("#" + selectTop).html('hide');
		}
	});
	$(".updateGlobal").click(function(){
		var variableID = $(this).attr('id');
		var thisLang = $("#thisLang").val();
		var varID = variableID.replace("updateGlobal_","");
		var varValueID = variableID.replace("updateGlobal_","varValue_");
		var loadingID = variableID.replace("updateGlobal_","loadingWaiting_");

		var varValue = $("#" + varValueID).val();
		var configData = 'varID=' + varID + '&varValue=' + encodeURIComponent(varValue) + '&thisLang=' + thisLang;

		$("#" + variableID).fadeOut('fast', function() {
			$("#" + loadingID).fadeIn('fast');
			$.ajax({
				type: "POST",
				url: ADurl + "siteConfigUpdate.php",
				data:configData,
				success:function(data){
					$("#completeMsg_" + varID).html(data);
					$("#" + loadingID).fadeOut('fast', function() {
						$("#completeMsg_" + varID).fadeIn('fast');
						$("#completeMsg_" + varID).delay(5000).fadeOut('fast', function() {
							$("#" + variableID).fadeIn('fast');
						});
					});
				}
			})
		});
	});
});

Anon7 - 2022
AnonSec Team