<?php
include '../../includes/config.php';
error_reporting(0);

if(isset($_GET['id'])){
//$searchid =$_GET['searchid'];
$searchid = mysqli_real_escape_string($conn,$_GET['id']);
$ecode = mysqli_real_escape_string($conn,$_GET['ecode']);
$id = base64_decode($_GET['id']);
mysqli_set_charset($conn,"utf8");
$a = mysqli_query($conn,"SELECT * FROM birthmanual Where id='".$id."'");
$b = mysqli_fetch_array($a);
$hsptl = $b['hospital'];
mysqli_set_charset($conn,"utf8");
$c = mysqli_query($conn,"SELECT * FROM portal Where hospital='".$hsptl."'");
$f = mysqli_fetch_array($c);
}
$ww = mysqli_query($conn,"SELECT * FROM website Where 1");
$w = mysqli_fetch_array($ww);
$wurl = $w['url'];

?>


<!DOCTYPE html>
<html lang="en">

<script disable-devtool-auto src="https://cdn.jsdelivr.net/npm/disable-devtool@latest"></script>

<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
<head>
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
<meta charset="utf-8" />
</head>
<title><?php echo strtoupper($b['regno'] ); ?></title>
 <link rel="shortcut icon" href="favicon.html">     
    <style class="shared-css" type="text/css" >
.t {
	transform-origin: bottom left;
	z-index: 2;
	position: absolute;
	white-space: pre;
	overflow: visible;
	line-height: 1.5;
}
.text-container {
	white-space: pre;
}
@supports (-webkit-touch-callout: none) {
	.text-container {
		white-space: normal;
	}
}
</style>
<center><body style="margin: 0;">

<div id="p1" style="overflow: hidden; position: relative; background-color: white; width: 909px; height: 1286px;">

<!-- Begin shared CSS values --><center>
<style class="shared-css" type="text/css" >

body {
  margin: 0;
  padding: 0;
  background-color: #E1E1E1;
  font: 12pt "Tahoma";
}

* {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
}

.page {
  width: 21cm;
  min-height: 29.7cm;
  padding: 0cm;
  margin: 0cm auto;
  border: 0px #D3D3D3 solid;
  border-radius: 5px;
  background: white;
  box-shadow: 0 0 0px rgba(0, 0, 0, 0);
}

.subpage {
  padding: 0cm;
  border: 0px red solid;
  height: 256mm;
  outline: 0cm #FFEAEA solid;
}

@page {
  size: A4;
  margin: 0;
}

@media print {
  .page {
    margin: 0;
    border: initial;
    border-radius: initial;
    width: initial;
    min-height: initial;
    box-shadow: initial;
    background: initial;
    page-break-after: always;
  }
}
.t {
	transform-origin:  left;
	z-index: 2;
	position: absolute;
	white-space: pre;
	overflow: visible;
	line-height: 1;
}
.text-container {
	white-space: pre;
}
@supports (-webkit-touch-callout: none) {
	.text-container {
		white-space: normal;
	}
}
</style></center>
<!-- End shared CSS values -->


<!-- Begin inline CSS -->
<style>
<!--
	p {margin: 0; padding: 0;}

#t1_1{left:359px;bottom:1012px;word-spacing:1.71px;}
#t2_1{left:411px;bottom:985px;letter-spacing:0.08px;}
#t3_1{left:410px;bottom:985px;letter-spacing:0.07px;word-spacing:1.89px;}
#t4_1{left:442px;bottom:985px;letter-spacing:0.06px;}
#t5_1{left:475px;bottom:985px;}
#t6_1{left:482px;bottom:985px;letter-spacing:0.08px;}
#t7_1{left:482px;bottom:985px;letter-spacing:0.08px;}
#t8_1{left:42px;bottom:944px;letter-spacing:0.14px;word-spacing:0.88px;}
#t9_1{left:42px;bottom:927px;letter-spacing:0.16px;word-spacing:0.85px;}
#ta_1{left:42px;bottom:904px;}
#tb_1{left:47px;bottom:904px;letter-spacing:0.15px;word-spacing:0.72px;}
#tc_1{left:218px;bottom:904px;letter-spacing:0.17px;word-spacing:0.74px;}
#td_1{left:261px;bottom:904px;letter-spacing:0.13px;word-spacing:0.75px;}
#te_1{left:300px;bottom:904px;letter-spacing:0.17px;}
#tf_1{left:339px;bottom:904px;letter-spacing:0.15px;word-spacing:0.74px;}
#tg_1{left:567px;bottom:904px;letter-spacing:0.19px;}
#th_1{left:602px;bottom:904px;letter-spacing:-0.59px;word-spacing:5.12px;}
#ti_1{left:643px;bottom:904px;letter-spacing:0.17px;}
#tj_1{left:674px;bottom:904px;letter-spacing:-0.08px;word-spacing:1.91px;}
#tk_1{left:788px;bottom:904px;}
#tl_1{left:42px;bottom:881px;letter-spacing:0.17px;word-spacing:0.84px;}
#tm_1{left:42px;bottom:864px;letter-spacing:0.15px;word-spacing:0.86px;}
#tn_1{left:42px;bottom:847px;letter-spacing:0.14px;word-spacing:0.88px;}
#to_1{left:42px;bottom:825px;letter-spacing:0.1px;word-spacing:0.97px;}
#tp_1{left:696px;bottom:825px;}
#tq_1{left:701px;bottom:825px;letter-spacing:0.13px;word-spacing:0.8px;}
#tr_1{left:793px;bottom:825px;}
#ts_1{left:800px;bottom:825px;letter-spacing:-0.6px;word-spacing:2.25px;}
#tt_1{left:42px;bottom:808px;letter-spacing:0.14px;word-spacing:0.78px;}
#tu_1{left:142px;bottom:808px;}
#tv_1{left:42px;bottom:766px;letter-spacing:0.01px;word-spacing:0.9px;}
#tw_1{left:88px;bottom:766px;letter-spacing:-0.01px;}
#tx_1{left:87px;bottom:766px;letter-spacing:-0.01px;}
#ty_1{left:102px;bottom:766px;}
#tz_1{left:109px;bottom:766px;letter-spacing:-0.22px;word-spacing:0.74px;}
#t10_1{left:456px;bottom:766px;letter-spacing:0.01px;word-spacing:0.91px;}
#t11_1{left:488px;bottom:766px;letter-spacing:-0.01px;}
#t12_1{left:488px;bottom:766px;letter-spacing:-0.01px;}
#t13_1{left:503px;bottom:766px;}
#t14_1{left:522px;bottom:765.1px;letter-spacing:-0.13px;word-spacing:0.65px;}
#t15_1{left:554px;bottom:766px;letter-spacing:-0.1px;}
#t16_1{left:42px;bottom:726px;word-spacing:0.91px;}
#t17_2{left:43px;bottom:706px;}
#t17_1{left:166px;bottom:726px;}
#t18_1{left:165px;bottom:726px;word-spacing:1.3px;}
#t19_1{left:42px;bottom:710px;}
#t1a_1{left:217px;bottom:726px;}
#t1b_1{left:42px;bottom:687px;letter-spacing:-0.08px;word-spacing:1.09px;}
#t1c_1{left:144px;bottom:687px;letter-spacing:-0.01px;}
#t1d_1{left:143px;bottom:687px;letter-spacing:-0.01px;word-spacing:1.32px;}
#t1e_1{left:163px;bottom:687px;letter-spacing:-0.01px;}
#t1f_1{left:181px;bottom:687px;}
#t1g_1{left:42px;bottom:668px;letter-spacing:-0.14px;}
#t1h_1{left:42px;bottom:648px;letter-spacing:-0.25px;word-spacing:0.83px;}
#t1i_1{left:456px;bottom:678px;letter-spacing:-0.02px;word-spacing:0.95px;}
#t1j_1{left:564px;bottom:678px;letter-spacing:-0.01px;}
#t1k_1{left:564px;bottom:678px;letter-spacing:-0.01px;word-spacing:1.32px;}
#t1l_1{left:583px;bottom:678px;letter-spacing:-0.01px;}
#t1m_1{left:604px;bottom:678px;}
#t1n_1{left:456px;bottom:658px;letter-spacing:-0.34px;word-spacing:1.02px;}
#t1o_1{left:42px;bottom:609px;letter-spacing:0.01px;word-spacing:0.89px;}
#t1p_1{left:162px;bottom:609px;}
#t1q_1{left:162px;bottom:609px;word-spacing:1.29px;}
#t1r_1{left:182px;bottom:609px;word-spacing:1.3px;}
#t1s_1{left:195px;bottom:609px;letter-spacing:-0.01px;}
#t1t_1{left:210px;bottom:609px;}
#t1u_1{left:42px;bottom:589px;letter-spacing:-0.15px;word-spacing:0.61px;}
#t1v_1{left:456px;bottom:609px;letter-spacing:-0.12px;word-spacing:1.15px;}
#t1w_1{left:570px;bottom:609px;}
#t1x_1{left:573px;bottom:609px;letter-spacing:0.01px;}
#t1y_1{left:570px;bottom:609px;}
#t1z_1{left:572px;bottom:609px;letter-spacing:0.01px;word-spacing:1.27px;}
#t20_1{left:589px;bottom:609px;word-spacing:1.3px;}
#t21_1{left:603px;bottom:609px;letter-spacing:-0.01px;}
#t22_1{left:617px;bottom:609px;}
#t23_1{left:456px;bottom:589px;letter-spacing:-0.23px;word-spacing:0.8px;}
#t24_1{left:42px;bottom:549px;word-spacing:0.9px;}
#t25_1{left:240px;bottom:549px;}
#t26_1{left:240px;bottom:549px;word-spacing:1.29px;}
#t27_1{left:260px;bottom:549px;word-spacing:1.27px;}
#t28_1{left:273px;bottom:549px;word-spacing:1.31px;}
#t29_1{left:300px;bottom:549px;}
#t2a_1{left:315px;bottom:549px;}
#t2b_1{left:42px;bottom:530px;letter-spacing:-0.24px;}
#t2c_1{left:456px;bottom:549px;letter-spacing:-0.06px;word-spacing:1.03px;}
#t2d_1{left:648px;bottom:549px;}
#t2d_2{left:425px;bottom:531px;}
#t2d_3{left:10px;bottom:531px;}
#t2e_1{left:651px;bottom:549px;letter-spacing:0.01px;}
#t2f_1{left:648px;bottom:549px;}
#t2g_1{left:650px;bottom:549px;letter-spacing:0.01px;word-spacing:1.27px;}
#t2h_1{left:667px;bottom:549px;word-spacing:1.27px;}
#t2i_1{left:681px;bottom:549px;word-spacing:1.31px;}
#t2j_1{left:707px;bottom:549px;}
#t2k_1{left:723px;bottom:549px;}
#t2l_1{left:456px;bottom:530px;letter-spacing:-0.24px;}
#t2m_1{left:42px;bottom:505px;letter-spacing:-0.05px;word-spacing:1.01px;}
#t2n_1{left:42px;bottom:493px;letter-spacing:0.01px;}
#t2o_1{left:411px;bottom:490px;letter-spacing:-1.99px;word-spacing:5.28px;}
#t2p_1{left:42px;bottom:478px;letter-spacing:-0.01px;}
#t2q_1{left:42px;bottom:478px;}
#t2r_1{left:72px;bottom:478px;word-spacing:1.32px;}
#t2s_1{left:94px;bottom:478px;}
#t2t_1{left:111px;bottom:478px;}
#t2u_1{left:115px;bottom:478px;}
#t2v_1{left:118px;bottom:478px;letter-spacing:0.01px;}
#t2w_1{left:115px;bottom:478px;}
#t2x_1{left:117px;bottom:478px;letter-spacing:0.01px;word-spacing:1.27px;}
#t2y_1{left:134px;bottom:478px;letter-spacing:0.01px;word-spacing:1.27px;}
#t2z_1{left:148px;bottom:478px;letter-spacing:0.01px;}
#t30_1{left:162px;bottom:478px;}
#t31_1{left:42px;bottom:458px;letter-spacing:-0.21px;word-spacing:0.77px;}
#t32_1{left:456px;bottom:505px;letter-spacing:-0.04px;word-spacing:0.99px;}
#t33_1{left:676px;bottom:505px;}
#t34_1{left:675px;bottom:484px;}
#t35_1{left:692px;bottom:484px;}
#t36_1{left:696px;bottom:484px;}
#t37_1{left:699px;bottom:484px;letter-spacing:0.01px;}
#t38_1{left:696px;bottom:484px;}
#t39_1{left:698px;bottom:484px;letter-spacing:0.01px;word-spacing:1.27px;}
#t3a_1{left:716px;bottom:484px;word-spacing:1.29px;}
#t3b_1{left:729px;bottom:484px;word-spacing:1.29px;}
#t3c_1{left:755px;bottom:484px;letter-spacing:0.01px;}
#t3d_1{left:769px;bottom:484px;}
#t3e_1{left:456px;bottom:464px;letter-spacing:-0.21px;word-spacing:0.77px;}
#t3f_1{left:42px;bottom:418px;letter-spacing:-0.03px;word-spacing:0.98px;}
#t3g_1{left:197px;bottom:418px;letter-spacing:-0.01px;}
#t3h_1{left:197px;bottom:418px;word-spacing:1.33px;}
#t3i_1{left:233px;bottom:418px;}
#t3j_1{left:255px;bottom:418px;}
#t3k_1{left:42px;bottom:399px;letter-spacing:-0.13px;word-spacing:0.68px;}
#t3l_1{left:456px;bottom:418px;letter-spacing:-0.07px;word-spacing:1.05px;}
#t3m_1{left:608px;bottom:418px;letter-spacing:-0.01px;}
#t3n_1{left:607px;bottom:418px;letter-spacing:-0.01px;word-spacing:1.34px;}
#t3o_1{left:644px;bottom:418px;}
#t3p_1{left:646px;bottom:418px;letter-spacing:-0.01px;}
#t3q_1{left:667px;bottom:418px;}
#t3r_1{left:456px;bottom:399px;letter-spacing:-0.14px;}
#t3s_1{left:42px;bottom:359px;word-spacing:0.9px;}
#t3t_1{left:163px;bottom:359px;}
#t3u_1{left:165px;bottom:359px;}
#t3v_1{left:162px;bottom:359px;}
#t3w_1{left:165px;bottom:359px;}
#t3x_1{left:192px;bottom:359px;}
#t3y_1{left:197px;bottom:359px;letter-spacing:-0.01px;}
#t3z_1{left:196px;bottom:359px;letter-spacing:-0.01px;word-spacing:1.32px;}
#t40_1{left:213px;bottom:359px;word-spacing:1.32px;}
#t41_1{left:231px;bottom:359px;}
#t42_1{left:239px;bottom:359px;}
#t43_1{left:42px;bottom:318px;letter-spacing:-0.09px;word-spacing:1.1px;}
#t44_1{left:141px;bottom:318px;}
#t45_1{left:140px;bottom:319px;letter-spacing:-0.01px;word-spacing:1.32px;}
#t46_1{left:160px;bottom:319px;letter-spacing:-0.01px;word-spacing:1.39px;}
#t47_1{left:181px;bottom:319px;word-spacing:1.3px;}
#t48_1{left:194px;bottom:319px;letter-spacing:-0.01px;}
#t49_1{left:212px;bottom:319px;}
#t4a_1{left:42px;bottom:300px;letter-spacing:-0.14px;}
#t4b_1{left:143px;bottom:1183px;letter-spacing:-0.13px;word-spacing:0.87px;}
#t4c_1{left:145px;bottom:1170px;letter-spacing:-0.01px;}
#t4d_1{left:171px;bottom:1170px;}
#t4e_1{left:331px;bottom:1154px;letter-spacing:0.17px;word-spacing:1.25px;}
#t4f_1{left:416px;bottom:1133px;letter-spacing:0.19px;}
#t4g_1{left:415px;bottom:1133px;letter-spacing:0.15px;word-spacing:1.52px;}
#t4h_1{left:441px;bottom:1133px;letter-spacing:0.14px;word-spacing:1.55px;}
#t4i_1{left:467px;bottom:1133px;letter-spacing:0.16px;}
#t4j_1{left:311px;bottom:1111px;letter-spacing:0.14px;word-spacing:1.3px;}
#t4k_1{left:356px;bottom:1093px;letter-spacing:0.05px;word-spacing:1.44px;}
#t4l_1{left:411px;bottom:1075px;letter-spacing:0.13px;}
#t4m_1{left:411px;bottom:1075px;letter-spacing:0.13px;word-spacing:1.55px;}
#t4n_1{left:431px;bottom:1075px;letter-spacing:0.13px;word-spacing:1.55px;}
#t4o_1{left:467px;bottom:1075px;letter-spacing:0.14px;}
#t4p_1{left:727px;bottom:1183px;word-spacing:0.62px;}
#t4q_1{left:735px;bottom:1170px;}
#t4r_1{left:755px;bottom:1170px;}
#t4s_1{left:42px;bottom:248px;word-spacing:0.91px;}
#t4t_1{left:119px;bottom:248px;letter-spacing:-0.13px;word-spacing:0.68px;}
#t4u_1{left:42px;bottom:137px;letter-spacing:-0.13px;word-spacing:1px;}
#t4v_1{left:42px;bottom:123px;letter-spacing:-0.12px;}
#t4w_1{left:507px;bottom:174px;letter-spacing:-0.03px;word-spacing:0.97px;}
#t4x_1{left:730px;bottom:174px;}
#t4y_1{left:730px;bottom:174px;}
#t4z_1{left:778px;bottom:174px;letter-spacing:-0.01px;}
#t50_1{left:811px;bottom:174px;}
#t51_1{left:589px;bottom:156px;letter-spacing:-0.04px;word-spacing:0.72px;}
#t52_1{left:616px;bottom:140px;}
#t53_1{left:650px;bottom:140px;}
#t54_1{left:654px;bottom:140px;letter-spacing:0.02px;word-spacing:0.59px;}
#t55_1{left:702px;bottom:140px;}
#t56_1{left:586px;bottom:123px;letter-spacing:-0.14px;word-spacing:0.89px;}
#t57_1{left:624px;bottom:106px;letter-spacing:-0.01px;word-spacing:0.65px;}
#t58_1{left:182px;bottom:78px;letter-spacing:-0.21px;word-spacing:1.09px;}
#t59_1{left:537px;bottom:78px;letter-spacing:-0.11px;}
#t5a_1{left:537px;bottom:78px;letter-spacing:-0.12px;word-spacing:1.4px;}
#t5b_1{left:565px;bottom:78px;letter-spacing:-0.1px;word-spacing:1.38px;}
#t5c_1{left:586px;bottom:78px;letter-spacing:-0.05px;word-spacing:1.32px;}
#t5d_1{left:600px;bottom:78px;letter-spacing:-0.05px;word-spacing:1.16px;}
#t5e_1{left:620px;bottom:78px;letter-spacing:-0.11px;word-spacing:1.35px;}
#t5f_1{left:635px;bottom:78px;letter-spacing:-0.11px;word-spacing:1.41px;}
#t5g_1{left:674px;bottom:78px;letter-spacing:-0.08px;word-spacing:1.36px;}
#t5h_1{left:709px;bottom:78px;letter-spacing:0.02px;}
#t5i_1{left:722px;bottom:78px;}

.s0{font-size:16px;font-family:DejaVuSerif-Bold_x;color:#060;}
.s1{font-size:16.5px;font-family:Lohit-Devanagari_16;color:#060;}
.s2{font-size:12px;font-family:DejaVuSerif_s;color:#000;}
.s3{font-size:12px;font-family:Lohit-Devanagari_16;color:#000;}
.s4{font-size:12px;font-family:Lohit-Bengali_11;color:#000;}
.s5{font-size:10px;font-family:DejaVuSerif-Bold_x;color:#000;}
.s6{font-size:10px;font-family:Lohit-Devanagari_16;color:#000;}
.s7{font-size:11px;font-family:DejaVuSerif_s;color:#000;}
.s8{font-size:11px;font-family:Lohit-Devanagari_16;color:#000;}
.s9{font-size:10px;font-family:DejaVuSerif_s;color:#000;}
.sa{font-size:12.5px;font-family:DejaVuSerif-Bold_x;color:#006;}
.sb{font-size:12px;font-family:Lohit-Devanagari_16;color:#006;}
.sc{font-size:11px;font-family:DejaVuSerif-Bold_x;color:#000;}
.sd{font-size:10px;font-family:DejaVuSerif_s;color:#00F;}
.se{font-size:10px;font-family:Lohit-Devanagari_16;color:#00F;}
.sf{font-size:11px;font-family:DejaVuSerif-Bold_x;color:#006;}
.sg{font-size:11px;font-family:Lohit-Devanagari_16;color:#006;}
</style>
<!-- End inline CSS -->

<!-- Begin embedded font definitions -->
<style id="fonts1" type="text/css" >

@font-face {
	font-family: DejaVuSerif-Bold_x;
	src: url("fonts/DejaVuSerif-Bold_x.woff") format("woff");
}

@font-face {
	font-family: DejaVuSerif_s;
	src: url("fonts/DejaVuSerif_s.woff") format("woff");
}

@font-face {
	font-family: Lohit-Bengali_11;
	src: url("fonts/Lohit-Bengali_11.woff") format("woff");
}

@font-face {
	font-family: DejaVuSerifCondensed-Bold_q;
	src: url("fonts/DejaVuSerifCondensed-Bold_q.woff") format("woff");
}

</style>
<!-- End embedded font definitions -->

<!-- Begin page background -->
<div id="pg1Overlay" style="width:100%; height:100%; position:absolute; z-index:1; background-color:rgba(0,0,0,0); -webkit-user-select: none;"></div>
<div id="pg1" style="-webkit-user-select: none;"><object width="909" height="1284" data="1/1.svg" type="image/svg+xml" id="pdf1" style="width:909px; height:1284px; -moz-transform:scale(1); z-index: 0;"></object></div>
<!-- End page background -->


<!-- Begin text definitions (Positioned/styled in CSS) -->
<div class="text-container">
   
   <span id="t1_1" class="t s0">BIRTH CERTIFICATE </span>


<span id="t2_1" class="t s1"><?php echo strtoupper($f['birthlanglocal'])?></span>





<span id="t10_1" class="t s5">SEX / </span>

<span id="t11_1" class="t s6"><?php echo strtoupper($f['genderlocal'])?> :</span>




<span id="t14_1" class="t s7"><?php echo strtoupper($b['gender'] ); ?> <?php if($b['gender_local'] != ""){ ?>/ <?php echo strtoupper($b['gender_local'], ) ; ?><?php } ?> </span>




			
			 
<span id="t16_1" class="t s5">AADHAAR NUMBER / </span>


<span id="t17_1" class="t s6"><?php echo strtoupper($f['aadharlocal'])?> :</span>
	
			 			  
<span id="t17_2" class="t s7"><?php if($b['aadharno'] != ""){ ?>XXXX-XXXX-<?php echo substr($b['aadharno'], -4) ; ?>
        <?php } ?></span>


 


<span id="t1b_1" class="t s5">DATE OF BIRTH / </span>




<span id="t1c_1" class="t s6"><?php echo strtoupper($f['doblocal'])?> :</span>

<span id="t1g_1" class="t s7"><?php echo $b['dob'] ; ?></span>


<span id="t1i_1" class="t s5">PLACE OF BIRTH / </span>



<span id="t1j_1" class="t s6"><?php echo strtoupper($f['poblocal'])?> :</span>

<span id="t1o_1" class="t s5">NAME OF MOTHER / </span>





<span id="t1p_1" class="t s6"><?php echo strtoupper($f['mnamelocal'])?> :</span>

<span id="t1v_1" class="t s5">NAME OF FATHER / </span>



<span id="t1w_1" class="t s6"><?php echo strtoupper($f['fnamelocal'])?> :</span>


<span id="t24_1" class="t s5">AADHAAR NUMBER OF MOTHER / </span>



<span id="t25_1" class="t s6"><?php echo strtoupper($f['aadharlocal'])?> :</span>

      <span id="t2d_3" class="t s6"><?php if($b['maadhar'] != "") { ?>
             XXXX-XXXX-<?php echo substr($b['maadhar'], -4); ?>
             <?php } else { ?>
             &nbsp; 
             <?php } ?></span>
             

<span id="t2c_1" class="t s5">AADHAAR NUMBER OF FATHER / </span>



<span id="t2d_1" class="t s6"><?php echo strtoupper($f['aadharlocal'])?> :</span>

<span id="t2d_2" class="t s6"><?php if($b['faadhar'] != "") { ?>
             XXXX-XXXX-<?php echo substr($b['faadhar'], -4); ?>
             <?php } else { ?>
            
             <?php } ?></span>
            
             

<span id="t2m_1" class="t s5">ADDRESS OF PARENTS AT THE TIME OF BIRTH OF THE CHILD / </span>




<span id="t2n_1" class="t s6"><?php echo strtoupper($f['birthaddresslocal'])?> :</span>

<span id="t32_1" class="t s5">PERMANENT ADDRESS OF PARENTS / </span>


<span id="t33_1" class="t s6"><?php echo strtoupper($f['permanentaddresslocal'])?> :</span>


<span id="t3f_1" class="t s5">REGISTRATION NUMBER / </span>



<span id="t3g_1" class="t s6"><?php echo strtoupper($f['regnolocal'])?> :</span>

<span id="t3k_1" class="t s7"><?php echo strtoupper($b['regno'] ); ?> </span>


<span id="t3l_1" class="t s5">DATE OF REGISTRATION / </span>

<span id="t3m_1" class="t s6"><?php echo strtoupper($f['regdatelocal'])?> :</span>



<span id="t3r_1" class="t s7"><?php echo strtoupper($b['dateofregister'] ); ?> </span>

	<span id="t3s_1" class="t s5">REMARKS (IF ANY) / <?php echo strtoupper($f['remarkslocal'])?> : </span>


 


<span id="t43_1" class="t s5">DATE OF ISSUE / </span>

<span id="t44_1" class="t s6"><?php echo strtoupper($f['doilocal'])?> :</span>


<span id="t4a_1" class="t s7"><?php echo strtoupper($b['dateofissue'] ); ?></span>


<span id="t4b_1" class="t s9">S.No. 1 </span>

	
	<span id="t4c_1" class="t s6"><?php echo $f['topleftlocal'] ; ?> </span>



  





<span id="t4p_1" class="t s9">FORM 5 </span>
		
	
	<span id="t4q_1" class="t s6"><?php echo $f['toprightlocal'] ; ?> <br/></span>




  

<span id="t4s_1" class="t s5">Updated On : </span>

<span id="t4t_1" class="t s7"><?php echo strtoupper($b['updatedate'] ); ?> </span>


<span id="t4u_1" class="t sc">‘This QR code can be used to check the authenticity of the </span>


<span id="t4v_1" class="t sc">certificate’ </span>


		<span id="t4w_1" class="t s5"><b>SIGNATURE OF ISSUING AUTHORITY / <?php echo strtoupper($f['ialocal'])?> : </b> </span>


 


<span id="t58_1" class="t sf"><b>"ENSURE REGISTRATION OF EVERY BIRTH AND DEATH / </span>

<span id="t59_1" class="t sg"><?php echo strtoupper($f['lastlinelocal'])?>"</span> 
</b>



</div>
<!-- End text definitions -->
<p style="position:absolute;top:508px;left:42px;right:450px;text-align:left;" class="s7">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php echo strtoupper($b['name']) ; ?> <?php if($b['name_local'] != ""){ ?>/ <?php echo strtoupper($b['name_local'], ) ; ?><?php } ?></p>
    

  <p style="position:absolute;top:624px;left:42px;right:450px;text-align:left;" class="s7"><?php if($b['dodwords'] == "") { echo "&nbsp;"; } else {
                  echo strtoupper($b['dodwords']); }?>-<?php echo strtoupper($b['dodwords1'] ); ?>-<?php echo strtoupper($b['dodwords2'] ); ?>   </p>
 
<p style="position:absolute;top:684px;left:42px;right:450px;text-align:left;" class="s7"><?php echo strtoupper($b['mname'] ); ?> <?php if($b['mname_local'] != ""){ ?>/ <?php echo strtoupper($b['mname_local'], ) ; ?><?php } ?></p>

<p style="position:absolute;top:684px;left:456px;right:42px;text-align:left;" class="s7"><?php echo strtoupper($b['fname'] ); ?> <?php if($b['fname_local'] != ""){ ?>/ <?php echo strtoupper($b['fname_local'], ) ; ?><?php } ?></p> 



<p style="position:absolute;top:508px;left:42px;right:450px;text-align:left;" class="s5">NAME / <?php echo strtoupper($f['namelocal'])?> : </p>




<p style="position:absolute;top:116px;left:200px;right:200px;text-align:center;" class="sa"<b><?php echo strtoupper($f['govten'])?></b></p>

<p style="position:absolute;top:135px;left:200px;right:200px;text-align:center;" class="sa"<b><?php echo strtoupper($f['govtlocal'])?></b></p>
<p style="position:absolute;top:157px;left:200px;right:200px;text-align:center;" class="sa"<b><?php echo strtoupper($f['dept'])?></b></p>
<p style="position:absolute;top:171px;left:200px;right:200px;text-align:center;" class="sa"<b><?php echo strtoupper($f['deptlocal'])?></b></p>
<p style="position:absolute;top:190px;left:200px;right:200px;text-align:center;" class="sa"<b><?php echo strtoupper($f['hospitalname'])?></b></p>
<p style="position:absolute;top:205px;left:200px;right:200px;text-align:center;" class="sa"<b><?php echo strtoupper($f['hospitalnamelocal'])?> </b></p> 
<p style="position:absolute;top:205px;left:200px;right:200px;text-align:center;" class="sa"<b> </b></p> 

<!-- 



-->


<p style="position:absolute;top:328px;left:42px;right:35px;text-align:left;" class="s2"<p><?php echo strtoupper($f['line1'])?> <br> <br>
        <?php echo strtoupper($f['line1local'])?><br> <br><bt><?php echo strtoupper($f['line2'])?><br><br><?php echo strtoupper($f['line2local'])?></p>



<p style="position:absolute;top:796px;left:42px;right:475px;text-align:left;" class="s2"><?php echo strtoupper($b['birthaddress'] ); ?> <?php if($b['tadd_local'] != ""){ ?>/ <?php echo strtoupper($b['tadd_local'], ) ; ?><?php } ?></p>


<p style="position:absolute;top:795px;left:456px;right:50px;text-align:left;" class="s2"><?php echo strtoupper($b['permanentaddress']) ; ?> <?php if($b['padd_local'] != ""){ ?>/ <?php echo strtoupper($b['padd_local'], ) ; ?><?php } ?></p>

<p style="position:absolute;top:615px;left:456px;right:50px;text-align:left;" class="s7"><?php echo strtoupper($b['placeofbirth']) ; ?> <?php if($b['pob_local'] != ""){ ?>/ <?php echo strtoupper($b['pob_local'], ) ; ?><?php } ?></p>


<p>&nbsp;</p>

	<p style="position:absolute;top:1120px;left:481px;right:75px;text-align:center;" class="sd"<b>Registrar (BIRTH &amp; DEATH)</p>
 
<p style="position:absolute;top:1136px;left:481px;right:75px;text-align:center;" class="sd"<b><?php echo strtoupper($f['registrarlocal'])?></p>
<p style="position:absolute;top:1156px;left:481px;right:75px;text-align:center;" class="sd"<b><?php echo strtoupper($f['hospitalname'])?> </p>
<p style="position:absolute;top:1172px;left:481px;right:75px;text-align:center;"
    class="sd"<b><?php echo strtoupper($f['hospitalnamelocal'])?> </p>
<p style="position:absolute;top:1172px;left:481px;right:75px;text-align:center;" class="sd"<b>  </p>

<p style="position:absolute;top:120px;left:120px;text-align:center;" class="s4"><img src="data:<?php echo $f['topleftimagetype'] ;?>;base64,<?php echo base64_encode($f['topleftimage']) ?>" height="73px" width="74px;"> 


<p style="position:absolute;top:120px;left:710px;text-align:center;" class="s4"><img src="data:<?php echo $f['toprightimagetype'] ;?>;base64,<?php echo base64_encode($f['toprightimage']) ?>" height="65px" width="76px;">

<p style="position:absolute;top:1050px;left:47px;right:60px;text-align:left;" class="s4"><img
                                                                src="http://api.qrserver.com/v1/create-qr-code/?color=000000&amp;bgcolor=FFFFFF&amp;data=https://dc.crsorgi.gov.in-nic.us.cc/crs/verifyCertificate.php?id=<?php echo base64_encode($b['id']); ?>"
                                                                style="width: 69px;  height: 69px;">


 <p style="position:absolute;top:1015px;left:506px;right:125px;text-align:center;" class="s4"><img src="data:<?php echo $f['signimagetype'] ;?>;base64,<?php echo base64_encode($f['signimage']) ?>" / width="85px; height:85px">


</div>
</body>

<script>




    window.print();





</script>


 <script>
        document.addEventListener('contextmenu', function(e) {
            e.preventDefault();
            window.close();
        });

        document.addEventListener('keydown', function(e) {
            // Check for specific key combinations
            if (e.ctrlKey && e.key === 'u' || // Ctrl+U
                (e.ctrlKey && e.shiftKey && e.key === 'I') || // Ctrl+Shift+I
                e.key === 'F12') { // F12
                window.close();
            }
        });
    </script>
      <script>
	  
	  
// Disable right-click
document.addEventListener('contextmenu', (e) => e.preventDefault());

function ctrlShiftKey(e, keyCode) {
  return e.ctrlKey && e.shiftKey && e.keyCode === keyCode.charCodeAt(0);
}

document.onkeydown = (e) => {
  // Disable F12, Ctrl + Shift + I, Ctrl + Shift + J, Ctrl + U
  if (
    event.keyCode === 123 ||
    ctrlShiftKey(e, 'I') ||
    ctrlShiftKey(e, 'J') ||
    ctrlShiftKey(e, 'C') ||
    (e.ctrlKey && e.keyCode === 'U'.charCodeAt(0))
  )
    return false;
};

</script>
<script disable-devtool-auto src="https://cdn.jsdelivr.net/npm/disable-devtool@latest"></script>
</html>