0xV3NOMx
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



Your IP : 52.14.66.242


Current Path : /proc/thread-self/root/var/www/html/stph/Report_details/
Upload File :
Current File : //proc/thread-self/root/var/www/html/stph/Report_details/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")
	{
		
	}
	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_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")
	{
		
	}
	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_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")
	{
		
	}
	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_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")
	{
		
	}
	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_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")
	{
		
	}
	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_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")
	{
		
	}
	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")
	{
		
	}
	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_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")
	{
		
	}
	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_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")
	{
		
	}
	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_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")
	{
		
	}
	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_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")
	{
		
	}
	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_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")
	{
		
	}
	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_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")
	{
		
	}
	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_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")
	{
		
	}
	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_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")
	{
		
	}
	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_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")
	{
		
	}
	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_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")
	{
		
	}
	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_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")
	{
		
	}
	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_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);				
		}
	});
}