403Webshell
Server IP : 10.200.247.200  /  Your IP : 216.73.217.19
Web Server : Apache
System : Linux synergy-usa-sites 6.8.0-138-generic #138-Ubuntu SMP PREEMPT_DYNAMIC Fri Jul 31 22:41:49 UTC 2026 x86_64
User : jeremy ( 1001)
PHP Version : 8.4.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/hans_sites/phonelesswork.com/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/hans_sites/phonelesswork.com/phoneless.js
function update_company_info(frm) {
	var str = "action=update_company_info";
	$(frm).find('input,select,textarea').each(function() {
		if(this.type=='checkbox' || this.type=='radio') {
			if($(this).is(':checked')) {
				str += "&" + encodeURIComponent(this.name) + '=' + encodeURIComponent($(this).val());
			}
		} else {
			str += "&" + encodeURIComponent(this.name) + '=' + encodeURIComponent($(this).val());
		}
	});
	$.ajax
	({
		cache: false,
		type: "POST",
		data: str,
		url: "/form_submit.php", 
		success: function(msg)
		{
			window.location = "main_menu.php";
		},error: function(jqXHR, textStatus, errorThrown){
			alert(textStatus+' : '+errorThrown);
		}
	});
}

function update_device_info(frm) {
	var str = "action=update_device_info";
	$(frm).find('input,select,textarea').each(function() {
		if(this.type=='checkbox' || this.type=='radio') {
			if($(this).is(':checked')) {
				str += "&" + encodeURIComponent(this.name) + '=' + encodeURIComponent($(this).val());
			}
		} else {
			str += "&" + encodeURIComponent(this.name) + '=' + encodeURIComponent($(this).val());
		}
	});
	$.ajax
	({
		cache: false,
		type: "POST",
		data: str,
		url: "/form_submit.php", 
		success: function(msg)
		{
			window.location = "main_menu.php";
		},error: function(jqXHR, textStatus, errorThrown){
			alert(textStatus+' : '+errorThrown);
		}
	});
}

function run_timeclock_report(frm) {
	$('#timeclock_report_body').html("Loading...");
	var str = "action=run_timeclock_report";
	$(frm).find('input,select,textarea').each(function() {
		if(this.type=='checkbox' || this.type=='radio') {
			if($(this).is(':checked')) {
				str += "&" + encodeURIComponent(this.name) + '=' + encodeURIComponent($(this).val());
			}
		} else {
			str += "&" + encodeURIComponent(this.name) + '=' + encodeURIComponent($(this).val());
		}
	});
	$.ajax
	({
		cache: false,
		type: "POST",
		data: str,
		url: "/form_submit.php", 
		success: function(msg)
		{
			$('#timeclock_report_body').html(msg);
		},error: function(jqXHR, textStatus, errorThrown){
			alert(textStatus+' : '+errorThrown);
		}
	});
}

function delete_entries_today(frm) {
	if(confirm("Are you sure you want to remove all entries for today? This can not be undone.")) {
		$('#timeclock_report_body').html("Loading...");
		var str = "action=delete_entries_today";
		$.ajax
		({
			cache: false,
			type: "POST",
			data: str,
			url: "/form_submit.php", 
			success: function(msg)
			{
				$('#timeclock_report_body').html(msg);
			},error: function(jqXHR, textStatus, errorThrown){
				alert(textStatus+' : '+errorThrown);
			}
		});
	}
}

function send_contact_form(frm) {
	$('#save_button_container').html("Sending...");
	var str = "action=send_contact_form";
	$(frm).find('input,select,textarea').each(function() {
		if(this.type=='checkbox' || this.type=='radio') {
			if($(this).is(':checked')) {
				str += "&" + encodeURIComponent(this.name) + '=' + encodeURIComponent($(this).val());
			}
		} else {
			str += "&" + encodeURIComponent(this.name) + '=' + encodeURIComponent($(this).val());
		}
	});
	$.ajax
	({
		cache: false,
		type: "POST",
		data: str,
		url: "/form_submit.php", 
		success: function(msg)
		{
			$('#save_button_container').html("<p class=\"success_message\">Message Sent</p>");
		},error: function(jqXHR, textStatus, errorThrown){
			alert(textStatus+' : '+errorThrown);
		}
	});
}

function take_break(break_type,serial,tm) {
	$('#break_buttons').hide();
	var str = 'action=take_break&break_type=' + encodeURIComponent(break_type) + '&serial=' + encodeURIComponent(serial) + '&tm=' + encodeURIComponent(tm);
	$.ajax
	({
		cache: false,
		type: "POST",
		data: str,
		url: "/form_submit.php", 
		success: function(msg)
		{
			$('#break_result').html(msg);
		},error: function(jqXHR, textStatus, errorThrown){
			alert(textStatus+' : '+errorThrown);
		}
	});
}

function work_related_phone_use(serial,tm) {
	$('#break_buttons').hide();
	var str = 'action=work_related_phone_use&serial=' + encodeURIComponent(serial) + '&tm=' + encodeURIComponent(tm);
	$.ajax
	({
		cache: false,
		type: "POST",
		data: str,
		url: "/form_submit.php", 
		success: function(msg)
		{
			$('#break_result').html(msg);
		},error: function(jqXHR, textStatus, errorThrown){
			alert(textStatus+' : '+errorThrown);
		}
	});
}

function send_work_related_phone_use(frm) {
	var str = "action=send_work_related_phone_use";
	$(frm).find('input,select,textarea').each(function() {
		if(this.type=='checkbox' || this.type=='radio') {
			if($(this).is(':checked')) {
				str += "&" + encodeURIComponent(this.name) + '=' + encodeURIComponent($(this).val());
			}
		} else {
			str += "&" + encodeURIComponent(this.name) + '=' + encodeURIComponent($(this).val());
		}
	});
	$.ajax
	({
		cache: false,
		type: "POST",
		data: str,
		url: "/form_submit.php", 
		success: function(msg)
		{
			window.close();
		},error: function(jqXHR, textStatus, errorThrown){
			alert(textStatus+' : '+errorThrown);
		}
	});
}

function really_edit_timeclock(frm) {
	$(frm).find('.save_button_container').html("Saving...");
	var str = "action=really_edit_timeclock";
	$(frm).find('input,select,textarea').each(function() {
		if(this.type=='checkbox' || this.type=='radio') {
			if($(this).is(':checked')) {
				str += "&" + encodeURIComponent(this.name) + '=' + encodeURIComponent($(this).val());
			}
		} else {
			str += "&" + encodeURIComponent(this.name) + '=' + encodeURIComponent($(this).val());
		}
	});
	$.ajax
	({
		cache: false,
		type: "POST",
		data: str,
		url: "/form_submit.php", 
		success: function(msg)
		{
			$(frm).find('.save_button_container').html("<p class=\"success_message\">Saved</p>");
		},error: function(jqXHR, textStatus, errorThrown){
			alert(textStatus+' : '+errorThrown);
		}
	});
}

function really_delete_timeclock(me,id) {
	if(confirm("Are you sure you want to delete this timeclock entry? This can not be undone.")) {
		var str = "action=really_delete_timeclock&id=" + encodeURIComponent(id);
		$.ajax
		({
			cache: false,
			type: "POST",
			data: str,
			url: "/form_submit.php", 
			success: function(msg)
			{
				$(me).parents('tr:first').remove();
			},error: function(jqXHR, textStatus, errorThrown){
				alert(textStatus+' : '+errorThrown);
			}
		});
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit