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 : 18.226.34.148


Current Path : /proc/thread-self/root/var/www/html/jssm/js/
Upload File :
Current File : //proc/thread-self/root/var/www/html/jssm/js/studentphotolist.js

function Enablestudentphoto()
{
    $("#page_main_div").load('html_modules/studentphotolist.html?v=26092016',function()
	{
		document.getElementById('display_module_name').innerHTML = 'Student Photo List';
		document.getElementById('module_name_for_save').value = 'Student Photo List';
		getDefaultHeadFooterLinks('Student Photo List'); 
	});	
}


function downloadAllStudentPhotos()
{	
	/* if(trim($('#college_from').val()) =='')
	{
		alert("Enter College From");		
		$("#college_from").focus();
		return;
	}
	
	if(trim($('#degree_from').val()) == '')
	{
		alert("Enter Degree From");		
		$("#degree_from").focus();
		return;
	} */
	
/* 	var datastring = "&college_from="+$('#college_from').val()+"&college_to="+$('#college_to').val()+"&degree_from="+$('#degree_from').val()+"&degree_to="+$('#degree_to').val();
	//alert(datastring);
		$.ajax({
		type: "POST",
		url: $host_url+"checkphotoreport",
		data:datastring,
		success:checkphotoreportSuccess
	});  */ 
	
	window.location.href = $host_url+"generateAllStudentPhotosreport.demo&college_from="+$('#college_code_from').val()+"&college_to="+$('#college_code_to').val()+"&degree_from="+$('#degree_code_from').val()+"&degree_to="+$('#degree_code_to').val()+"&type="+$('#reporttype').val(); 

}

/* function checkphotoreportSuccess(responce)
{
	responce = eval('(' + responce + ')'); 
	if(responce.error_code == -1) 
	{
		alert('No details found for given data');
		return false;
	}
	else
		window.location.href = $host_url+"downloadAllStudentPhotosreport.demo&college_from="+$('#college_from').val()+"&college_to="+$('#college_to').val()+"&degree_from="+$('#degree_from').val()+"&degree_to="+$('#degree_to').val(); 	
} */