<?php
	// Check user login or not
	include ('db.php');
	session_start();
	//$_SESSION['app_no'] = 'MPLAW02237';
	if(!isset($_SESSION['lid'])){
	 	//header('Location: https://mphc.gov.in');
		 
	 	header('Location: admit-card-login.php');
	}

?>

<html>
	<head>
			<meta charset="utf-8">
			<meta http-equiv="X-UA-Compatible" content="IE=edge">
			<meta name="viewport" content="width=device-width, initial-scale=1">
		<style>
		#h3{display:none;}
		@media print {
		  #dvprint,#h2{
			display: none;
		  }
		  #h3{
			display: block;
		  }		  
		}
		
		table, td, th {
			border: 1px solid;
		}
		td {
			height: 35px;
			font-size:11px;
		}
		table {
			width: 100%;
			border-collapse: collapse;
			margin:10px 0px;
		}
		</style>	
	</head>
	<body>
		<div id="menu2">
		<table style="font-family:Arial, Helvetica, sans-serif">
			<tr>
			<td style="border:2px solid #000">
			<div style="padding:5px;">
				<div style = "text-align:center">
					<img src="images/logo.png" style="width:60px;height:60px;"/><br>
					<div style = "font-weight:700">HIGH COURT OF MADHYA PRADESH : JABALPUR<br>
					(EXAMINATION CELL)<br>
					LAW CLERK-CUM-RESEARCH ASSISTANT EXAMINATION - 2022-23<br>
					Admit Card For Interview / Viva Voice</div>
				</div>
				<?php
					$query = "SELECT * FROM `app_details`
					INNER JOIN app_nos ON app_nos.app_no = app_details.app_no
					INNER JOIN schedulelist ON schedulelist.ScheduleId = app_nos.ScheduleId
					WHERE app_details.app_no = '".$_SESSION['app_no']."'";
					$result = mysqli_query($link, $query);
					$row1 = mysqli_fetch_assoc($result);
				?>
				<table>
					<tr>
						<td>
						ऑनलाइन आवेदन<br>(Online Application No)
						</td>
						<td>
						<?php echo $row1['app_no']; ?>
						</td>
						<td rowspan = "6" style = "padding: 0px 5px;">
							<img src="images/pic/<?php echo $row1['photo']; ?>" style="width:100%;height:200px;"/>
						</td>
					</tr>
					<tr>
						<td>
						आवेदक का नाम<br>(Name of the Candidate )
						</td>
						<td>
						<?php echo strtoupper($row1['full_name']); ?>
						</td>
					</tr>
					<tr>
						<td>
						पिता का नाम<br>(Father Name)
						</td>
						<td>
						<?php echo strtoupper($row1['father_name']); ?>
						</td>
					</tr>
					<tr>
						<td>
						जन्‍म की तारीख(Date Of Birth)
						</td>
						<td>
						<?php $date=date_create($row1['dob']); echo date_format($date,"d / M / Y"); ?>
						</td>
					</tr>
					<tr>
						<td>
						शारीरिक विकलांग<br>(Physical Handicapped)
						</td>
						<td>
						<?php  
							if($row1['handicapped'] == 'N'){
								echo 'No';
							}
							else{
								echo 'Yes'; 
							} 
						?>
						</td>
					</tr>
					<tr>
						<td>
						म.प्र. के मूल निवासी<br>(M.P. Domicile)
						</td>
						<td>
						<?php  
							if($row1['mp_domicile'] == 'N'){
								echo 'No';
							}
							else{
								echo 'Yes'; 
							} 
						?>
						</td>
					</tr>
					<tr>
						<td style = "width:25%">
						श्रेणी(Category) 
						</td>
						<td  style = "width:50%">
						<?php echo $row1['category']; ?>
						</td>
						<td  style = "width:25%;padding: 0px 5px;" rowspan = "3" >
							<img src="images/sign/<?php echo $row1['sign']; ?>" style="width:100%;height:80px;"/>
						</td>
					</tr>
					<tr>
						<td>
						केंद्र(Center)
						</td>
						<td>
						High Court Campus, High Court of M.P. Jabalpur.
						</td>
					</tr>
					<tr>
						<td>
						साक्षात्‍कार के लिए तिथि और उपस्थिति सूचना समय
						(Date and Reporting Time for Interview)
						</td>
						<td>
						<?php echo $row1['Date'].' ('.$row1['Day'].'), '.$row1['Time']; ?>
						</td>
					</tr>
				</table>
				<div style = "text-align:center;padding:5px 0px;background:#9ba1ab;font-weight: 600;margin: -6px;font-size: medium;">INSTRUCTIONS FOR CANDIDATES</div>
				<div style = "padding:5px;font-size:11px;line-height:15px">
					<div style = "padding:0px 5px;text-align: justify;">
						<table style = "width:100%;border:thin solid #fff">
							<tr>
								<td style = "width:2%;border: thin solid #fff;vertical-align:top;padding-top:4px">1.</td>
								<td style = "width:98%;border: thin solid #fff;line-height: 16px;padding-top: 0;text-align: justify;">
					Candidates are required to be present at the specified time along with the following documents in 3 sets (self-attested Photo Copies) & their Originals:-</td>
							</tr>
							<tr>
								<td style = "width:2%;border: thin solid #fff"></td>
								<td style = "width:98%;border: thin solid #fff;">A. Proof of Date of Birth(Mark sheet of High School/Higher Secondary/Equivalent Examination).</td>
							</tr>
							<tr>
								<td style = "width:2%;border: thin solid #fff"></td>
								<td style = "width:98%;border: thin solid #fff;">B. Mark Sheet of all Semesters/ Years of L.L.B and Degree.</td>
							</tr>
							<tr>
								<td style = "width:2%;border: thin solid #fff"></td>
								<td style = "width:98%;border: thin solid #fff;">C. Mark Sheet of all Semesters/ Years and Degree of Graduation and Post Graduation(If applicable).</td>
							</tr>
							<tr>
								<td style = "width:2%;border: thin solid #fff;vertical-align:top;padding-top:4px">2.</td>
								<td style = "width:98%;border: thin solid #fff;line-height: 16px;padding-top: 0;text-align: justify;">Candidate must  bring Original Photo ID (Like Aadhar Card, Voter ID, Driving License, Pan Card etc.) along with this Admit Card at the time of interview.</td>
							</tr>
							<tr>
								<td style = "width:2%;border: thin solid #fff;vertical-align:top;padding-top:4px">3.</td>
								<td style = "width:98%;border: thin solid #fff;line-height: 16px;padding-top: 0;text-align: justify;">Candidate should verify the particulars given in the Admit Card. In case of any descrepancy, inform immediately to MPHC about it, 
							so that it can be corrected in time. Otherwise no complaint shall be entartained in this regard at later stage.</td>
							</tr>
							<tr>
								<td style = "width:2%;border: thin solid #fff;vertical-align:top;padding-top:4px">4.</td>
								<td style = "width:98%;border: thin solid #fff;line-height: 16px;padding-top: 0;text-align: justify;">Permission to appear in the interview is provisional and if at any stage, it is found that the candidate does not fulfill the condition of
						advertisement or certificate are found forged or fabricated or information given by the candidate is false then his/ her candidature shall be
						rejected.</td>
							</tr>
						</table>
						<u><b>Note:-</b></u>
						<table style = "width:100%;border:thin solid #fff">
							<tr>
								<td style = "width:2%;border: thin solid #fff;vertical-align:top;padding-top:4px">(1)</td>
								<td style = "width:98%;border: thin solid #fff;line-height: 16px;padding-top: 0;text-align: justify;">Candidate absent in interview or found not eligible after scrutiny of the documents as mentioned above
						shall be disqualified. Date and time of interview will not be changed at the request of Candidate.</td>
							</tr>
							<tr>
								<td style = "width:2%;border: thin solid #fff;vertical-align:top;padding-top:4px">(2)</td>
								<td style = "width:98%;border: thin solid #fff;line-height: 16px;padding-top: 0;text-align: justify;">All original documents of the candidates regarding eligibility, as per condition of the Advertisement, shall be checked and if any candidate is
						found not eligible as per the requirement of advertisement, He/ She shall not be permitted in interview.</td>
							</tr>
						</table>
					</div>
				</div>
			<div style = "text-align:right;padding-right:25px;">
				<img src = "images/js.jpg" style = "height:60px;width:100px;margin-right: -25px;"><br>
				(जोगिन्‍दर सिंह)<br>रजिस्‍ट्रार(परीक्षा)
			</div>	<br>
		</div><br>
			</td>
			</tr>
		</table>
		
		<table  style="font-family:Arial, Helvetica, sans-serif; page-break-before: always;">
		  <tr>
			<td style = "vertical-align:top;height:950px;border:2px solid #000"">
			<div style = "text-align:center;padding:5px 0px;background:#9ba1ab;font-weight: 600;margin: -1px;font-size: medium;">INSTRUCTIONS REGARDING COVID-19</div>
			 <div style = "font-size:11px;line-height:15px; padding:0px 10px;text-align: justify;">
				<table style = "width:100%;border:thin solid #fff">
					<tr>
							<td style = "width:2%;border: thin solid #fff">1.</td>
							<td style = "width:98%;border: thin solid #fff;">Candidate should maintain proper minimum distance from other candidates.</td>
					</tr>	
					<tr>
						<td style = "border: thin solid #fff;">2.</td>
						<td style = "border: thin solid #fff;">Candidates will not be allowed to assemble as crowd outside or inside the Interview Venue.</td>
						</tr>
					<tr>
						<td style = "border: thin solid #fff;vertical-align:top;padding-top:4px;">3.</td>
						<td style = "border: thin solid #fff;">Candidates are advised to carry only the following items with them into the Interview Venue:-<br><br>
							(a) Admit Card along-with Self Declaration (Undertaking) annexed with Admit Card duly filled in.<br><br>
							(b) Mask & Hand gloves.<br><br></td>
						</tr>
					<tr>
						<td style = "border: thin solid #fff;vertical-align:top;padding-top:4px">4.</td>
						<td style = "border: thin solid #fff;line-height: 20px;padding-top: 0;text-align: justify;">Candidates are NOT allowed to carry any personal belongings including electronic devices, Mobile Phone, Wrist Watch and other banned/prohibited items.</td>
						</tr>
					<tr>
						<td style = "border: thin solid #fff;vertical-align:top;padding-top:4px">5.</td>
						<td style = "border: thin solid #fff;line-height: 20px;padding-top: 0;text-align: justify;">No candidate whould be allowed to enter the Interview venue, without Admit Card, Valid ID Proof, mask and proper thermal scanning before entry into Interview Venue.</td>
						</tr>
					<tr>
						<td style = "border: thin solid #fff;vertical-align:top;padding-top:4px">6.</td>
						<td style = "border: thin solid #fff;line-height: 20px;padding-top: 0;text-align: justify;">Those who are having symptoms like Fever, Cough, Breathing difficulty or signs of upper respiratory infection will be allowed to appear in Interview, 
				   subject to condition of their health, only in sitting separately.</td>
						</tr>
					<tr>
						<td style = "border: thin solid #fff;vertical-align:top;padding-top:4px">7.</td>
						<td style = "border: thin solid #fff;line-height: 20px;padding-top: 0;text-align: justify;">Candidates who are active patients of covid-19 pandemic shall not be allowed to enter in Interview Venue. In case he/she has ceased to be active 
				   patient to Covid-19 then he/she has to carry his/her negative report or proof thereof otherwise he/she be denied entry in Interview Venue.</td>
						</tr>
					<tr>
						<td style = "border: thin solid #fff;">8.</td>
						<td style = "border: thin solid #fff;">Everybody inside the Interview venue should wear face masks.</td>
						</tr>
					<tr>
						<td style = "border: thin solid #fff;">9.</td>
						<td style = "border: thin solid #fff;">High Court Officials will not be responsible for safe keep of personal belongings and there will be no such facility.</td>
						</tr>
					<tr>
						<td style = "border: thin solid #fff;vertical-align:top;padding-top:4px">10.</td>
						<td style = "border: thin solid #fff;line-height: 20px;padding-top: 0;text-align: justify;">Candidates are advised to go away from the premises of the Interview Venue immediately after the 
						Interview and to take soap & water bath after reaching their places of stay.</td>
						</tr>
					<tr>
						<td style = "border: thin solid #fff;">11.</td>
						<td style = "border: thin solid #fff;">Any other instructions given by the Health authorities/ Government depts. shall be binding on the condidates.</td>
						</tr>
				</table>
			</div>
			<div style = "text-align:center;padding:5px 0px;background:#9ba1ab;font-weight: 600;margin: -1px;font-size: medium;">SELF - DECLARATION</div>
			<div style = "font-size:11px;line-height:15px; padding:0px 10px;text-align: justify;">
				<table style = "width:100%;border:thin solid #fff">
					<tr>
							<td style = "width:2%;border: thin solid #fff"></td>
							<td style = "width:98%;border: thin solid #fff;" colspan = "4">We are concerned about your health, safety & hygiene. In the interest of your well-being and that of everyone at the venue, you are requested to declare 
					if you have any of the below listed symptoms by using a <sapn style = "font-size: medium;font-weight: 600;">&#10003;</sapn> (Yes, I have) or <sapn style = "font-size: medium;font-weight: 600;">&#x2717;</sapn> (No, I do not have).</td>
					</tr>	
					<tr>
						<td style = "width:2%;border: thin solid #fff"></td>
						<td style = "width:20%;border: thin solid #fff">Cough</td>
						<td style = "width:10%;border: thin solid #fff"><span style = "font-size: 40px;">□</span></td>
						<td style = "width:20%;border: thin solid #fff">Fever</td>
						<td style = "width:48%;border: thin solid #fff"><span style = "font-size: 40px;">□</span></td>
					</tr>	
					<tr>
						<td style = "width:2%;border: thin solid #fff"></td>
						<td style = "width:20%;border: thin solid #fff">Cold / Runny Nose</td>
						<td style = "width:10%;border: thin solid #fff"><span style = "font-size: 40px;">□</span></td>
						<td style = "width:20%;border: thin solid #fff">Breathing Problem</td>
						<td style = "width:48%;border: thin solid #fff"><span style = "font-size: 40px;">□</span></td>
					</tr>
					<tr>
						<td style = "width:2%;border: thin solid #fff"></td>
						<td style = "width:98%;border: thin solid #fff;" colspan = "4">
							I'm certifying that I've NOT tested Positive for the Coronavirus or indentified as a potential carrier of the COVID-19 virus.
						</td>
					</tr>	
					<tr>
						<td style = "width:2%;border: thin solid #fff"></td>
						<td style = "width:98%;border: thin solid #fff;" colspan = "4">
							<table style = "width:100%;border:thin solid #fff">							
								<tr>
									<td style = "width:20%;border: thin solid #fff;"><b>Candidate Name</b></td>
									<td style = "width:5%;border: thin solid #fff;"><b>:</b></td>
									<td style = "width:75%;border: thin solid #fff;">...........................................................................................................................................................</td>
								</tr>								
								<tr>
									<td style = "width:20%;border: thin solid #fff;"><b>Application No.</b></td>
									<td style = "width:5%;border: thin solid #fff;"><b>:</b></td>
									<td style = "width:75%;border: thin solid #fff;">...........................................................................................................................................................</td>
								</tr>								
								<tr>
									<td style = "width:20%;border: thin solid #fff;"><b>Date of Interview</b></td>
									<td style = "width:5%;border: thin solid #fff;"><b>:</b></td>
									<td style = "width:75%;border: thin solid #fff;">...........................................................................................................................................................</td>
								</tr>		
							</table>
							<br><br><br><br>
							<div style = "text-align:right;padding-right:25px;">
								<b>Signature of Candidate</b>
							</div>
							<br><br><br><br>
						</td>
					</tr>	
				</table>
			</div>
			</div>
			</td>
			</tr>
		</table>
		
		</div>
		
		<div id="dvprint" align="center">
			<input type="button" onclick="printDiv('menu2')" value="Print" />
			<button id="back" onclick="location.href='law-clerk-cum-research-assistant-examination-2022'" >Continue</button>
		</div>
			<script>
				function printDiv(divName) {
					var printContents = document.getElementById(divName).innerHTML;
					var originalContents = document.body.innerHTML;
					document.body.innerHTML = printContents;
					window.print();
					document.body.innerHTML = originalContents;
				}
			</script>
	</body>
	</html>
	<?php 
	session_destroy();
	ob_end_flush();
	?>