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


Current Path : /var/www/student/vskub/
Upload File :
Current File : /var/www/student/vskub/student.php

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<link rel="shortcut icon" type="image/jpg" href="img/favicon.jpg" />	
	<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" 
rel="stylesheet" 
integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" 
crossorigin="anonymous">
	<?php require_once("links/js_files.php");?> 
	<script src="js/candidate_list.js?v=5"></script>

	<script type="text/javascript">
		$(function(){
			
			$('.index_label_div').corner("5px").css("border","1px solid #336699");	
			$('.messageboard-div').corner("5px").css("border","1px solid #336699");	
			$('.submit_div_button').corner("5px");	
			$('.div_app_form_center_blue').corner("5px").css("border","1px solid #336699");
			  
			$('#tabs').tabs();  
			$('.ui-tabs .ui-tabs-nav li a').corner("tl tr");
			$("#guidelines").load("links/guidelines.html");

			OnloadCall()
			function OnloadCall()
			{
				url_object=GetUrlParameters();
				var r=url_object['r'];
				var c=url_object['c'];
				var li=url_object['li'];
				$("#result_error_div").hide();
				DisplayStudentSubjectDetails(r,c,li);
			}		
		});

	</script>
	<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js" 
integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" 
crossorigin="anonymous"></script>

</head>

<body>


<div class="modal fade" id="staticBackdrop" data-bs-backdrop="static" data-bs-keyboard="false" tabindex="-1" aria-labelledby="staticBackdropLabel" aria-hidden="false">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <h5 class="modal-title" id="staticBackdropLabel">UUCMS Register Number</h5>
        <!-- <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button> -->
      </div>
      <div class="modal-body">
	  <form>
  <div class="form-group">
    <label for="regno" style="font-size: 20px;">Register Number:</label>
    <input type="text" class="form-control" id="regno" aria-describedby="emailHelp" maxlength="12" >
  </div>

</form>      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-primary" onclick="saveuvcms()">Save</button>
      </div>
    </div>
  </div>
</div>
<input type="hidden" class="form-control" id="hidden" value='-' >

	
	<div id='main_frame'>
		<div class='header_main_div'>
			<?php require_once("links/header.php");?> 
			<div style='height:auto;overflow:auto;background:#FFFFFF;'>
				<div style="margin-top: 6px; border-bottom: solid 1px #979595;
					font-size: 12px; font-weight: bold;height:29px;background:#FFFFFF;">
					<div id="ContentPlaceHolder1_resultDate" style='float:left;'>
						<div style="height: 20px; width: 314px; text-align: left;float:left;
							padding-left: 10px; padding-top: 7px; color: Red" id="ResultpersonalLeftDiv">
						<span style="font-weight: bold;" id="ContentPlaceHolder1_lblDate"> </span>
						</div>
					</div>
					<div id="ContentPlaceHolder1_lastDate">
						<div style="height: 20px; width: 600px; float: right;
							text-align: right; padding-right: 10px; padding-top: 12px; color: Red" id="ResultpersonalRightDiv">
							<span style="font-weight: bold;" id="ContentPlaceHolder1_lblExmLastDate"></span>
						</div>
					</div>
				</div>
			
				<div id='tabs'>
					<ul>
						<li><a href='#guidelines'>Guidelines for Students</a></li>
						<li><a href='#index_main_page_result'>Exam Details</a></li>
						<li><a href='#applications'onclick='javascript:DisplayApplications();' >Your Applications</a></li>
						<?php $FUNIVCODE = $_SESSION['FUNIVCODE'];
						if($FUNIVCODE!='016' || $FUNIVCODE!='003U' || $FUNIVCODE!='026')
						{ ?>
						<li style='display:none;' id='downloadAdm'><a href='#applications' onclick='javascript:GenerateAdmissionTicket();' >Download Admission Ticket</a></li>
						<?php 	} ?>	
					</ul>
					<?php $FUNIVCODE = $_SESSION['FUNIVCODE'];
						if($FUNIVCODE=='003D')
							{ ?>
								<div id='uploadPhotoToAdmcard'  style='clear:both;'>
									<form name="form_module_image_upload" id="form_module_image_upload" enctype='multipart/form-data' action="#" method="post">
										<div style='margin-right:19px;text-align:center;'><p style='font-size:18px;color:red;'>Upload Photo to download Admission Ticket </p>
										</div>
										<div  id='input_div_14' style='margin-right:19px;float:left;margin:20px 20px;margin-left:400px;' >
											<img align='center' id='student_entry_atphoto' src='img/default_photo.jpg' onchange='DisplayUserSelectedPhotoAtDwn()' style='width:148px;z-index:1;height:187px; width:148px'></img>
										</div>		
										<div style='width:135Px;height:10px;'></div>
										<div id='input_div_14' style='width:200px;margin-right:19px;float:left;margin-left:400px;'>
											<input type='file' id="student_entry_upload"  size='20'  name="student_entry_upload"  onchange="DisplayUserSelectedPhotoAtDwn();"  style="height:23px;width:190px;" >						
										</div>

										<div class='raval_download' style='dispaly:none;margin-right:19px;width:100px;float:left;margin:20px 20px;margin-left:420px;' >
											<span  onclick="uploadAdmissionTicketPhoto();" style='float:left;margin-left:26px;cursor: pointer; line-height: 19px;font-size:14px;font-weight:bold;'>Upload</span>
										</div>
									</form>	
								</div>
					<?php   } ?> 
						<div id="index_main_page_result">
							<div id='result_error_div' style='display:none;'> 
							</div>
							<div id='result_success_div'></div>
						</div> 
		 
					<div id="guidelines" style='min-height:200px;overflow:auto;'></div>
					<div id="applications" style='min-height:200px;'> </div>
				</div>
			<?php require_once("links/footer.php");?> 

		</div>
	</div>
</div>
</body>
<script>

function saveuvcms(){
	// console.log('fsdf');
			var regno = document.getElementById("regno").value;
			var r=url_object['r'];


			var parameters ="&regno=" + regno + "&r=" + r;

	// console.log(parameters);

	if(regno == ''){
		alert('Enter Reg No.');
		return;
	}

			$.ajax({
    type: "POST",
    data: parameters,
    url: $host_url + "saveuvcms",
    success: (response) => {
		var response = JSON.parse(response);
      if(response.error_code == 0){
		$("#staticBackdrop").modal("hide");
		alert(response.data.data);

	  }else{
		  alert(response.data.data);
		  return;
	  }
    },
  });

		}
</script>
</html>