Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64
Apache
: 172.26.7.228 | : 18.119.124.204
Cant Read [ /etc/named.conf ]
5.6.40-24+ubuntu18.04.1+deb.sury.org+1
www-data
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
var /
www /
html /
oums /
js /
[ HOME SHELL ]
Name
Size
Permission
Action
.js.php
3.61
KB
-rw-r--r--
attendance.js
8.79
KB
-rwxr-xr-x
attendance13.09.2020.js
7.5
KB
-rwxr-xr-x
attendance_report.js
16.7
KB
-rwxr-xr-x
control.js
5.43
KB
-rwxr-xr-x
departments.js
11.45
KB
-rwxr-xr-x
documents.js
4.05
KB
-rwxr-xr-x
employees.js
24.3
KB
-rw-rw-r--
employees_arun.js
20.18
KB
-rwxr-xr-x
expense.js
7.21
KB
-rwxr-xr-x
expense_advance.js
4.6
KB
-rwxr-xr-x
expense_advance2.js
4.56
KB
-rw-rw-r--
expense_report.js
10.97
KB
-rwxr-xr-x
expense_report_summary.js
3.52
KB
-rwxr-xr-x
holidays.js
5.67
KB
-rwxr-xr-x
index.js
4.82
KB
-rwxr-xr-x
main.js
9.14
KB
-rwxr-xr-x
mainpage.js
17.48
KB
-rwxr-xr-x
mc_print.js
6.76
KB
-rwxr-xr-x
pg_app_edit.js
25.8
KB
-rwxr-xr-x
salary.js
4.72
KB
-rwxr-xr-x
salary_statement.js
4.21
KB
-rw-rw-r--
send_mail.js
1.27
KB
-rwxr-xr-x
send_sms.js
1.07
KB
-rwxr-xr-x
staff_move.js
6.49
KB
-rwxr-xr-x
task_reminder.js
7.92
KB
-rwxr-xr-x
task_reminder_old.js
4.94
KB
-rwxr-xr-x
task_review.js
5.74
KB
-rwxr-xr-x
task_update.js
5.74
KB
-rwxr-xr-x
upcoming_events.js
13.34
KB
-rw-rw-r--
user_departments.js
2.95
KB
-rwxr-xr-x
user_logs.js
2.63
KB
-rwxr-xr-x
user_password.js
3.97
KB
-rwxr-xr-x
user_rights.js
5.37
KB
-rwxr-xr-x
user_setup.js
6.31
KB
-rwxr-xr-x
work_assign.js
5.41
KB
-rw-rw-r--
work_entry.js
9.21
KB
-rwxr-xr-x
work_entry_org.js
4.26
KB
-rwxr-xr-x
work_entry_report.js
5.33
KB
-rwxr-xr-x
work_review.js
8.67
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : expense.js
function load_page() { load_page_data( window.location.href.substr(window.location.href.lastIndexOf('/') + 1) ) clrs_data() load_empl_data() document.getElementById('txtexpndate').value = get_today_date() } function clrs_data() { $('#btn_save').hide() $(function () { $('#txtexpndate').datepicker({ dateFormat: 'dd/mm/yy' }) }) document.getElementById('txtemplcode').focus() $('#page-container-grid').html('') } function load_empl_data() { $.ajax({ type: 'POST', url: 'src/expense.php', data: { load_data: 'empl_data', }, cache: false, beforeSend: function () { show_process() }, success: function (data) { $('#txtemplcode').html(data) load_dept_data() hide_process() }, error: function (data) { $('#txtemplcode').html('Error: ' + data) }, }) } function load_dept_data() { $.ajax({ type: 'POST', url: 'src/expense.php', data: { load_data: 'dept_data', empl_code: document.getElementById('txtemplcode').value, }, cache: false, success: function (data) { $('#txtdeptcode').html(data) }, error: function (data) { $('#txtdeptcode').html('Error: ' + data) }, }) } function view_data() { if (document.getElementById('txtemplcode').value == 0) { alert('Please select employee!') txtemplcode.focus() return false } if (document.getElementById('txtacnttype').value == 0) { alert('Please select account type!') txtacnttype.focus() return false } $host = 'oums' $.ajax({ type: 'POST', url: 'src/expense.php', data: { load_data: 'disp_data', dept_code: document.getElementById('txtdeptcode').value, empl_code: document.getElementById('txtemplcode').value, acnt_type: document.getElementById('txtacnttype').value, expn_date: document.getElementById('txtexpndate').value, }, cache: false, beforeSend: function () { show_process() }, success: function (data) { $('#page-container-grid').html(data) $('#btn_save').show() hide_process() }, error: function (data) { hide_process() $('#page-container-grid').html('Error: ' + data) }, }) } function validate_row(r) { var row_index = r.parentNode.parentNode.rowIndex var arr_index = row_index - 1 //Validate for expense head selection var arr_input = document.getElementsByName('txtheaddesc[]') if (arr_input[arr_index].value == '0') { alert('Please select description!') arr_input[arr_index].focus() return false } //Validate for expense amount var arr_input = document.getElementsByName('txtexpnamnt[]') if ( arr_input[arr_index].value == '0.00' || arr_input[arr_index].value <= '0' ) { alert('Please enter amount!') arr_input[arr_index].focus() return false } //Validate for expense head selection var arr_input = document.getElementsByName('txtclntcode[]') if (arr_input[arr_index].value == '0') { alert('Please select client!') arr_input[arr_index].focus() return false } //Load the element and values var table = document.getElementById('dataTable') var row_count = table.rows.length if (row_index + 1 == row_count) { var row = table.insertRow(row_count) row.insertCell(0).innerHTML = '<input type="text" id="txtslnolist[]" name="txtslnolist[]" class="form-control" disabled="disabled" value=' + row_count + ' style="text-align:center;">' row.insertCell(1).innerHTML = table.rows[1].cells[1].innerHTML row.insertCell(2).innerHTML = '<input type="text" id="txtexpnamnt[]" name="txtexpnamnt[]" class="form-control" value="0.00" style="text-align:right;"/>' row.insertCell(3).innerHTML = table.rows[1].cells[3].innerHTML row.insertCell(4).innerHTML = '<input type="text" id="txtexpnremk[]" name="txtexpnremk[]" class="form-control" value="" onBlur="validate_row(this)"/>' row.insertCell(5).innerHTML = table.rows[1].cells[5].innerHTML } } function deleteRow(r) { var row_index = r.parentNode.parentNode.rowIndex var arr_index = row_index - 1 if (row_index == 1) { document.getElementById('txtheaddesc[]').selectedIndex = '0' document.getElementById('txtexpnamnt[]').value = '0.00' document.getElementById('txtexpnremk[]').value = '' } else { document.getElementById('dataTable').deleteRow(row_index) } } function save_data() { if (document.getElementById('txtdeptcode').value == 0) { alert('Please select client!') txtdeptcode.focus() return false } if (document.getElementById('txtemplcode').value == 0) { alert('Please select employee!') txtemplcode.focus() return false } if (document.getElementById('txtacnttype').value == 0) { alert('Please select account type!') txtacnttype.focus() return false } var rowcount = $('#dataTable tr').length if (rowcount == 0) { alert('No details to save!') cmdview.focus() return false } var totl_rows = $('#dataTable tr').length - 1 var head_desc = [] var head_desc1 = document.getElementsByName('txtheaddesc[]') var expn_amnt = [] var expn_amnt1 = document.getElementsByName('txtexpnamnt[]') var clnt_code = [] var clnt_code1 = document.getElementsByName('txtclntcode[]') var expn_remk = [] var expn_remk1 = document.getElementsByName('txtexpnremk[]') for (var i = 0; i < totl_rows; i++) { head_desc[i] = head_desc1[i].value expn_amnt[i] = expn_amnt1[i].value clnt_code[i] = clnt_code1[i].value expn_remk[i] = expn_remk1[i].value } $.ajax({ type: 'POST', url: 'src/expense.php', dataType: 'json', data: { load_data: 'save_data', empl_code: document.getElementById('txtemplcode').value, dept_code: document.getElementById('txtdeptcode').value, acnt_type: document.getElementById('txtacnttype').value, expn_date: document.getElementById('txtexpndate').value, head_desc: head_desc, expn_amnt: expn_amnt, clnt_code: clnt_code, expn_remk: expn_remk, }, cache: false, beforeSend: function () { show_process() }, success: function (data) { hide_process() clrs_data() alert(data.mesg) }, error: function (data) { hide_process() $('#page-container-grid').html('Error: ' + data) }, }) }
Close