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.137.216.77


Current Path : /var/www/html/gach/adm_bcu/pgetadm/
Upload File :
Current File : /var/www/html/gach/adm_bcu/pgetadm/dompdf.php

<?php

require_once '../dompdf/autoload.inc.php'; 
use Dompdf\Dompdf;

// class PGReport
// {
  // instantiate and use the dompdf class
$dompdf = new Dompdf();
$html = '

<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=Edge" />
    <meta
      content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"
      name="viewport"
    />
    <meta http-equiv="cache-control" content="max-age=0" />
    <meta http-equiv="cache-control" content="no-cache" />
    <meta http-equiv="expires" content="0" />
    <meta http-equiv="expires" content="Tue, 01 Jan 1980 1:00:00 GMT" />
    <meta http-equiv="pragma" content="no-cache" />
    <title>Admission Entry</title>
    <!-- Favicon-->
    <link rel="icon" href="images/favicon.jpg" type="image/x-icon" />

    <!-- Google Fonts -->
    <link
      href="https://fonts.googleapis.com/css?family=Open+Sans:400,600,700,800&amp;subset=latin-ext"
      rel="stylesheet"
    />
    <link
      href="https://fonts.googleapis.com/icon?family=Material+Icons"
      rel="stylesheet"
      type="text/css"
    />
    <!-- Bootstrap Core Css -->
    <link
      href="plugins/bootstrap/css/bootstrap_adm.css?v=111"
      rel="stylesheet"
    />
    <link href="css/style_adm.css" rel="stylesheet" />

    <!-- Waves Effect Css -->
    <link href="plugins/node-waves/waves.css" rel="stylesheet" />

    <link href="plugins/dropzone/dropzone.css" rel="stylesheet" />
    <link href="plugins/sweetalert/sweetalert.css" rel="stylesheet" />
    <link href="css/themes/all-themes.css" rel="stylesheet" />
    <style>
      
      @font-face {
        font-family: Baloo Tamma;
        font-weight: normal;
        font-style: normal;
        src: url("https://fonts.googleapis.com/css?family=Baloo+Tamma&display=swap") format("truetype");
     }

      .kan{
        font-family:Baloo Tamma;
      }
      .feedback {
        background-color: #31b0d5;
        color: white;
        padding: 10px 20px;
        border-radius: 4px;
        border-color: #46b8da;
      }

      #mybutton {
        position: fixed;
        bottom: 1%;
        right: 10px;
      }

      #qalsemdet thead tr {
        text-align: center;
        font-weight: bold;
      }

      #qalsemdet thead tr td {
        padding: 2px !important;
        font-size: 13px !important;
      }
      #qalsemdet tbody tr td {
        padding: 0px !important;
        vertical-align: middle;
        border: 1px solid #949494;
        text-align: center;
      }
      .tbl_row_new input {
        max-width: 43px;
        border: none;
      }
      .tbl_row_new {
        padding: 0px !important;
      }
    </style>
  </head>

  <body class="theme-pink" onload="loadPGAdm()" >
    <!-- Top Bar -->
    <nav class="navbar">
      <div class="container-fluid" style="color: #fff;">
        <div class="col-md-12 m-t--5">
          <center>
            <h3 class="brand" class="m-t--5" style="margin-top: 10px;">
              Online Registration for PG Entrance test 2019-20
            </h3>
          </center>
        </div>
      </div>
    </nav>

    <section class="content">
      <div class="container-fluid">
        <div class="tab-content" id="loadtab">
          <!---//////// Subject Details Card -->

          <div class="row clearfix" id="prefDet">
            <div class="col-lg-10 col-md-12 col-sm-12 col-xs-12">
              <div class="card">
                <div class="header bg-blue">
                  <h2>Course for which you are appearing to entrance test</h2>
                </div>
                <div class="body">
                  <div id="subjectdet">
                    <div class="row clearfix">
                      <div class="col-md-12">
                        <!-- ======= Degree Details ======= -->
                        <div class="col-lg-12 col-md-12">
                          <b>Courses <span style="color: red;">*</span></b
                          >(Min. one Course Required)
                        </div>
                        <div class="form-group" id="pref1">
                        </div>
                        <div class="col-md-4">
                          <b
                            >Preference 1. <span style="color: red;">*</span></b
                          >
                          <select
                            id="fdegree1"
                            onchange="loadfilteredDeg(this)"
                            class="form-control pref"
                            name="fdegree1"
                          >
                          </select>
                        </div>
                        <div class="form-group p-b-20 p-r-20 col-md-4">
                          <div>
                            <b>Preference 2.</b>
                            <select
                              id="fdegree2"
                              onchange="loadfilteredDeg(this)"
                              class="form-control pref"
                              name="fdegree2"
                            >
                            </select>
                          </div>
                        </div>
                        <div class="form-group p-b-20 p-r-20 col-md-4">
                          <div>
                            <b>Preference 3.</b>

                          </div>
                        </div>
                        <div class="form-group p-b-20 p-r-20 col-md-4">
                          <span class="fieldError">
                            Select Preferences
                          </span>
                          <div>
                            <b>Preference 4.</b>
                            <select
                              id="fdegree4"
                              onchange="loadfilteredDeg(this)"
                              class="form-control pref"
                              name="fdegree4"
                            >
                            </select>
                          </div>
                        </div>
                        <div class="form-group p-b-20 p-r-20 col-md-4">
                          <span class="fieldError">
                            Select Preferences
                          </span>
                          <div>
                            <b>Preference 5.</b>
                            <select
                              id="fdegree5"
                              onchange="loadfilteredDeg(this)"
                              class="form-control pref"
                              name="fdegree5"
                            >
                            </select>
                          </div>
                        </div>
                        <div class="form-group p-b-20 p-r-20 col-md-4">
                          <div>
                            <b>Preference 6.</b>
                            <select
                              id="fdegree6"
                              onchange="loadfilteredDeg(this)"
                              class="form-control pref"
                              name="fdegree6"
                            >
                            </select>
                          </div>
                        </div>
                        <!-- Degree Details End-->
                      </div>

                      <div class="col-md-8 col-md-offset-2">

                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
          <!--///////Personal Details Card-->
          <div class="row clearfix" id="personal_det">
            <div class="col-lg-10 col-md-12 col-sm-12 col-xs-12">
              <div class="card ">
                <div class="header bg-blue">
                  <h2>Personal Details</h2>
                </div>
                <div class="body" id="idPerDet">
                  <span style="display: none;color : red;" id="verify_app"
                    ><center><h4>Verify Your Application</h4></center></span
                  >
                  <div class="field">
                    <div class="col-md-8">
                      <div class="form-group p-b-20">
                        <div class="col-md-8">
                          <b class="kan">ಅಭ್ಯರ್ಥಿಯ ಹೆಸರು<span
                              style="color: red;"
                              >*</span
                            >
                          </b>
                          (As per SSLC / 10th marks card)
                        </div>
                        <div class="form-line col-md-12 p-b-20">
                          <input
                            type="text"
                            id="fname"
                            class="form-control date"
                            placeholder="First Name"
                            name="Student Name"
                            maxlength="60"
                            onkeypress="return charKeydown(event);"
                            autocomplete="off"
                            value="Apoorva"
                          />
                        </div>
                      </div>
                      <!-- <div class="form-group p-b-20"> -->

                      <div class="col-md-12">
                        <b>Gender | ಲಿಂಗ<span style="color: red;">*</span></b>
                        <div class="form-group">
                          <div
                            class="demo-radio-button"
                            id="fgender"
                            name="fgender"
                          >
                            <input
                              name="fgender"
                              type="radio"
                              value="M"
                              id="radio_1"
                              autocomplete="off"
                            />
                            <label for="radio_1">Male | ಪುರುಷ</label>
                            <input
                              name="fgender"
                              type="radio"
                              id="radio_2"
                              value="F"
                              autocomplete="off"
                            />
                            <label for="radio_2">Female | ಹೆಣ್ಣು </label>
                            <input
                              name="fgender"
                              type="radio"
                              id="radio_3"
                              value="T"
                              autocomplete="off"
                            />
                            <label for="radio_3">Transgender | ಮಂಗಳಮುಖಿ</label>
                          </div>
                        </div>
                      </div>

                      <div class="col-md-6">
                        <b
                          >Date of Birth | ಹುಟ್ಟಿದ ದಿನಾಂಕ
                          <span style="color: red;">*</span></b
                        >
                        <div class="form-group p-b-20">
                          <div class="form-line daterange">
                            <input
                              type="text"
                              id="fdob"
                              class="form-control date"
                              name="Date of Birth"
                              placeholder="dd/mm/yyyy"
                              autocomplete="off"
                            />
                          </div>
                        </div>
                      </div>
                      <div class="col-md-6">
                        <b>Category | ವರ್ಗ<span style="color: red;">*</span></b>
                        <div class="form-group p-b-20">
                          <div>
                            <select
                              id="fcategory"
                              class="form-control"
                              name="fcategory"
                              onchange="getFeestr()"
                            >
                            </select>
                          </div>
                        </div>
                      </div>

                      <div class="col-md-6 p-b-20">
                        <b
                          >Nationality | ರಾಷ್ಟ್ರೀಯತೆ<span style="color: red;"
                            >*</span
                          ></b
                        >
                        <div class="form-group p-b-20">
                          <div>
                            <select
                              id="fnational"
                              class="form-control"
                              name="fnational"
                              value="Indian"
                            >
                              <option value="Indian">Indian | ಭಾರತೀಯ</option>
                              <option value="Foreigner"
                                >Foreigner | ವಿದೇಶಿ</option
                              >
                              <option value="Expatriate"
                                >Expatriate | ವಲಸಿಗ</option
                              >
                            </select>
                          </div>
                        </div>
                      </div>
                      <!-- </div> -->

                      <!-- <div class="col-md-6">
                        <b>Age (As on 1st July 2019) <span style="color: red;">*</span></b> Years
                        <div class="form-group p-b-20">
                          <div class="form-line ">
                            <input type="text" id="age" class="form-control date" 
                            name="Date of Birth" 
                            placeholder="years" autocomplete="off">
                          </div>
                        </div>
                      </div> -->

                      <div class="col-md-6 p-b-20">
                        <b
                          >Aadhar Number | ಆಧಾರ್ ಸಂಖ್ಯೆ<span style="color: red;"
                            >*</span
                          ></b
                        >
                        <div class="form-group p-b-20">
                          <div class="form-line">
                            <input
                              type="text"
                              id="faadharno"
                              name="faadharno"
                              class="form-control"
                              placeholder="Aadhar Number"
                              onkeypress="return acceptNumbersOnlyForModule(event);"
                              maxlength="12"
                              autocomplete="off"
                            />
                          </div>
                        </div>
                      </div>
                    </div>
                    <!--///////Photo Upload-->
                    <div class="col-md-4 ">
                      <br />
                      <form
                        action="upload_file.php"
                        id="frmFileUpload"
                        class="dropzone"
                        method="post"
                        enctype="multipart/form-data"
                        style="min-height: 220px;max-width: 190px; border-radius: 10px; border:1px solid black !important"
                      >
                        <div class="dz-message p-t-60">
                          <b
                            >Click to upload<br />
                            Photo<span style="color: red;">*</span></b
                          >
                        </div>
                        <div class="fallback">
                          <input name="file" type="file" />
                        </div>
                      </form>
                      <div id="studphoto" hidden="hidden">
                        <img
                          id="studphoto_img"
                          style="min-height: 220px;max-width: 190px;padding: 3px; border: 1px dashed red;"
                        />
                        <center>
                          <button
                            class="btn btn-success"
                            onclick="changePhoto()"
                          >
                            Change
                          </button>
                        </center>
                      </div>
                      <div class="p-t-20">
                        <p
                          id="photomsg1"
                          style="text-align: justify; font-size:9px;"
                        >
                          Upload clearly visible photo having a width of 2
                          inches and height of 2 inches
                        </p>
                        <p id="photomsg2">Maximum size allowed is 100kb</p>
                      </div>
                    </div>

                    <!-- <div class="col-md-3 p-t-20">
                      <p id="photomsg1" style="text-align: justify; font-size:9px;">Upload clearly visible photo having a width of 2 inches and height of 2 inches</p>
                      <p id="photomsg2">Maximum size allowed is 100kb</p>

                    </div>  -->

                    <!-- <div class="col-md-3">
                      <p id="photomsg2">Maximum size allowed is 100kb</p>
                    </div>  -->
                    <!-- <div class="col-md-5">
                    </div> -->
                    <!--///////Signature upload\\\\\\\-->

                    <!-- <div class="col-md-4 col-md-offset-1 p-t-20" >

                        

                    </div> -->
                    <!-- <div class="row clearfix" >
                      <div class="col-md-3 p-t-20" >
                        <p style="text-align: justify;">Ensure a clearly visible image of your signature with width of 190 pixels and height of 50 pixels</p>
                      </div>
                    </div> -->
                    <!-- #################### Column ############# -->
                    <div class="col-md-12">
                      <b>2. For Cat-I, IIA, IIIA, IIIB & Other Candidates excluding minorities  </b> <span style="color: red;">*</span> 
                      <div>
                        <input id="gmregno" type="text"  class="form-control" name="gmregno" placeholder="Register No." autocomplete="off">
                      </div>
                    </div> -->

                      <div class="col-md-10">
                        <b
                          >Father
                          <span style="color: red;">*</span></b
                        >
                      </div>
                      <div class="form-group p-b-20 col-md-6">
  
                        <b>Name <span style="color: red;">*</span></b>
                        <div>
                          <input
                            id="ffatname"
                            type="text"
                            class="form-control"
                            name="ffatname"
                            placeholder="Enter Name"
                            autocomplete="off"
                          />
                        </div>
                      </div>
                      <div class="form-group p-b-20 col-md-6">
                        <span class="fieldError">
                          Enter Father
                        </span>
                        <b>Occupation <span style="color: red;">*</span></b>
                        <div>
                          <input
                            id="ffatocc"
                            type="text"
                            class="form-control"
                            name="ffatocc"
                            placeholder="Enter Occupation"
                            autocomplete="off"
                          />
                        </div>
                      </div>
                      <div class="col-md-10">
                        <b
                          >Mother Name And Occupation
                          <span style="color: red;">*</span></b
                        >
                      </div>
                      <div class="form-group p-b-20 col-md-6">
                        <span class="fieldError">
                          Enter Mothers Name
                        </span>
                        <b>Name <span style="color: red;">*</span></b>
                        <div>
                          <input
                            id="fmotname"
                            type="text"
                            class="form-control"
                            name="fmotname"
                            placeholder="Enter Name"
                            autocomplete="off"
                          />
                        </div>
                      </div>
                      <div class="form-group p-b-20 col-md-6">
                        <span class="fieldError">
                          Enter Mothers occupation
                        </span>
                        <b>Occupation <span style="color: red;">*</span></b>
                        <div>
                          <input
                            id="fmotocc"
                            type="text"
                            class="form-control"
                            name="fmotocc"
                            placeholder="Enter Occupation"
                            autocomplete="off"
                          />
                        </div>
                      </div>

                      <div class="col-md-6 ">
                        <b>Annual Family Income</b>
                        <div class="form-group p-b-20">
                          <span class="fieldError" id="fatname_err">
                            Annual Family Income is Required
                          </span>
                          <div class="form-line">
                            <input
                              type="text"
                              id="fincome"
                              name="fincome"
                              class="form-control date"
                              placeholder="Annual Family Income"
                              maxlength="10"
                              onkeypress="return acceptNumbersOnlyForModule(event);"
                              autocomplete="off"
                            />
                          </div>
                        </div>
                      </div>

                      <div class="col-md-6">
                        <b
                          >Online Scholarship (Post metric) Registration No.
                        </b>
                        <div class="form-group  p-b-20">
                          <span class="fieldError">
                            Enter required field
                          </span>
                          <!-- <b>1. For SC/ST candidates only</b> -->
                          <div class="form-line">
                            <input
                              id="fpmregno"
                              type="text"
                              class="form-control"
                              name="fpmregno"
                              placeholder="Register No."
                              autocomplete="off"
                            />
                          </div>
                        </div>
                      </div>

                      <div class="col-md-6">
                        <b
                          >Permanent Address<span style="color: red;"
                            >*</span
                          ></b
                        >
                        <div
                          class="form-group p-b-10"
                          style="padding-top:12px;"
                        >
                          <span class="fieldError" id="padd1_err">
                            All fields in Address are required
                          </span>
                          <div class="form-line">
                            <input
                              type="text"
                              id="fpermadd1"
                              name="Permanent Address Line - 1"
                              class="form-control"
                              placeholder="Address Line - 1"
                              maxlength="40"
                              autocomplete="off"
                            />
                          </div>
                        </div>
                        <div class="form-group p-b-10">
                          <div class="form-line">
                            <input
                              type="text"
                              id="fpermadd2"
                              name="Permanent Address Line - 2"
                              class="form-control"
                              placeholder="Address Line - 2"
                              maxlength="40"
                              autocomplete="off"
                            />
                          </div>
                        </div>
                        <div class="form-group p-b-10">
                          <div class="form-line">
                            <input
                              type="text"
                              name="Permanent Address Line - 3"
                              id="fpermadd3"
                              class="form-control"
                              placeholder="Address Line - 3"
                              maxlength="40"
                              autocomplete="off"
                            />
                          </div>
                        </div>
                        <div class="form-group p-b-10 m-l--15 col-md-6">
                          <div class="form-line">
                            <input
                              type="text"
                              name="Permanent District"
                              id="fpermdist"
                              class="form-control"
                              placeholder="District"
                              maxlength="30"
                              onkeypress="return charKeydown(event);"
                              autocomplete="off"
                            />
                          </div>
                        </div>
                        <div class="form-group pull-right m-r--15 col-md-6">
                          <div class="form-line">
                            <input
                              type="text"
                              id="fpermpin"
                              name="Permanent Pincode"
                              class="form-control"
                              placeholder="Pincode"
                              onkeypress="return acceptNumbersOnlyForModule(event);"
                              maxlength="6"
                              autocomplete="off"
                            />
                          </div>
                        </div>
                        <div class="form-group">
                          <div class="form-line p-b-20">
                            <input
                              type="text"
                              id="fpermstate"
                              class="form-control"
                              placeholder="State"
                              maxlength="30"
                              onkeypress="return charKeydown(event);"
                              autocomplete="off"
                            />
                          </div>
                        </div>
                      </div>
                      <!-- </div> -->

                      <div class="row clearfix">
                        <div class="col-md-6 p-r-30">
                          <b
                            >Communication Address<span style="color: red;"
                              >* &nbsp&nbsp</span
                            >
                          </b>
                          <input
                            type="checkbox"
                            id="basic_checkbox_1"
                            onchange="autoFillAddr(this)"
                            autocomplete="off"
                          />
                          <label
                            for="basic_checkbox_1"
                            style="font-size:10px !important;"
                            >Same as Perm. Add.?</label
                          >
                          <div class="form-group p-b-10">
                            <span class="fieldError" id="cadd1_err">
                              All fields in Address are required
                            </span>
                            <div class="form-line">
                              <input
                                type="text"
                                id="fcurradd1"
                                class="form-control"
                                name="Communication Address Line - 1"
                                placeholder="Address Line - 1"
                                maxlength="40"
                                autocomplete="off"
                              />
                            </div>
                          </div>
                          <div class="form-group p-b-10">
                            <div class="form-line">
                              <input
                                type="text"
                                id="fcurradd2"
                                name="Communication Address Line - 2"
                                class="form-control"
                                placeholder="Address Line - 2"
                                maxlength="40"
                                autocomplete="off"
                              />
                            </div>
                          </div>
                          <div class="form-group p-b-10">
                            <div class="form-line">
                              <input
                                type="text"
                                id="fcurradd3"
                                name="Communication Address Line - 3"
                                class="form-control"
                                placeholder="Address Line - 3"
                                maxlength="40"
                                autocomplete="off"
                              />
                            </div>
                          </div>
                          <div class="form-group p-b-10 m-l--15 col-md-6">
                            <div class="form-line">
                              <input
                                type="text"
                                id="fcurrdist"
                                name="Communication District"
                                class="form-control"
                                placeholder="District"
                                maxlength="30"
                                onkeypress="return charKeydown(event);"
                                autocomplete="off"
                              />
                            </div>
                          </div>
                          <div class="form-group pull-right m-r--15 col-md-6">
                            <div class="form-line">
                              <input
                                type="text"
                                id="fcurrpin"
                                name="Communication Pincode"
                                class="form-control"
                                placeholder="Pincode"
                                onkeypress="return acceptNumbersOnlyForModule(event);"
                                maxlength="6"
                                autocomplete="off"
                              />
                            </div>
                          </div>
                          <div class="form-group">
                            <div class="form-line p-b-20">
                              <input
                                type="text"
                                id="fcurrstate"
                                name="Communication State"
                                class="form-control"
                                placeholder="State"
                                maxlength="30"
                                onkeypress="return charKeydown(event);"
                                autocomplete="off"
                                value="Karnataka"
                              />
                            </div>
                          </div>
                        </div>
                      </div>
                      <div class="col-md-6">
                        <b>Conatct No.</b>
                        <div class="form-group p-b-20">
                          <span class="fieldError" id="adhar_err">
                            Contact No. is required
                          </span>
                          <div class="form-line">
                            <input
                              type="text"
                              id="fmobileno"
                              name="fmobileno"
                              class="form-control"
                              placeholder="Coantct Number"
                              onkeypress="return acceptNumbersOnlyForModule(event);"
                              maxlength="10"
                              autocomplete="off"
                            />
                          </div>
                        </div>
                      </div>
                      <div class="col-md-6">
                        <b>Email ID</b>
                        <div class="form-group p-b-20">
                          <span class="fieldError" id="adhar_err">
                            Email ID is required
                          </span>
                          <div class="form-line">
                            <input
                              type="text"
                              id="femail"
                              name="email"
                              class="form-control"
                              placeholder="Email ID"
                              autocomplete="off"
                              onkeypress="return validateemail(event);"
                            />
                          </div>
                        </div>
                      </div>
                    </div>

                    <div class="clearfix"></div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>

        <!---//////// Basic Details Card -->

        <div class="row clearfix" id="basicDet">
          <div class="col-lg-10 col-md-12 col-sm-12 col-xs-12">
            <div class="card">
              <div class="header bg-blue">
                <h2>Basic Details</h2>
              </div>
              <div class="body">
                <div id="idBaiscDet">
                  <div class="row clearfix">
                    <div class="col-md-12">
                      <div class="col-md-10">
                        <b>Do you belong to Below Poverty Line Family (BPL) </b>
                      </div>
                      <div class="form-group p-b-20 col-md-6">
                        <span class="fieldError">
                          Enter required field
                        </span>
                        <div class="demo-radio-button" id="fbpl" name="fbpl">
                          <input
                            name="fbpl"
                            type="radio"
                            value="Yes"
                            id="fbpl_1"
                            autocomplete="off"
                          />
                          <label for="fbpl_1">Yes</label>
                          <input
                            name="fbpl"
                            type="radio"
                            id="fbpl_2"
                            value="No"
                            autocomplete="off"
                          />
                          <label for="fbpl_2">No</label>
                        </div>
                      </div>
                      <div class="col-md-10">
                        <b>If you are the only Girl child of your parents? </b
                        ><br />(Enclose an affidavit from the compentent
                        authority)
                      </div>
                      <div class="form-group p-b-20 col-md-6">
                        <span class="fieldError">
                          Enter required field
                        </span>
                        <div
                          class="demo-radio-button"
                          id="fogirl"
                          name="fogirl"
                        >
                          <input
                            name="fogirl"
                            type="radio"
                            value="Yes"
                            id="fogirl_1"
                            autocomplete="off"
                          />
                          <label for="fogirl_1">Yes</label>
                          <input
                            name="fogirl"
                            type="radio"
                            id="fogirl_2"
                            value="No"
                            autocomplete="off"
                          />
                          <label for="fogirl_2">No</label>
                        </div>
                      </div>
                      <div class="col-md-10">
                        <b>Have you studied 7 years in Karnataka? </b>
                      </div>
                      <div class="form-group p-b-20 col-md-6">
                        <span class="fieldError">
                          Enter required field
                        </span>
                        <div
                          class="demo-radio-button"
                          id="fkarstudy"
                          name="fkarstudy"
                        >
                          <input
                            name="fkarstudy"
                            type="radio"
                            value="Yes"
                            id="fkarstudy_1"
                            autocomplete="off"
                          />
                          <label for="fkarstudy_1">Yes</label>
                          <input
                            name="fkarstudy"
                            type="radio"
                            id="fkarstudy_2"
                            value="No"
                            autocomplete="off"
                          />
                          <label for="fkarstudy_2">No</label>
                        </div>
                      </div>
                      <div class="col-md-10">
                        <b>Are you a Kashmiri migrant? </b>
                      </div>
                      <div class="form-group p-b-20 col-md-6">
                        <span class="fieldError">
                          Enter required field
                        </span>
                        <div
                          class="demo-radio-button"
                          id="fkashmir"
                          name="fkashmir"
                        >
                          <input
                            name="fkashmir"
                            type="radio"
                            value="Yes"
                            id="fkashmir_1"
                            autocomplete="off"
                          />
                          <label for="fkashmir_1">Yes</label>
                          <input
                            name="fkashmir"
                            type="radio"
                            id="fkashmir_2"
                            value="No"
                            autocomplete="off"
                          />
                          <label for="fkashmir_2">No</label>
                        </div>
                      </div>
                      <div class="col-md-10">
                        <b>Are you a student of Hyderabad-Karnataka? </b>
                      </div>
                      <div class="form-group p-b-20 col-md-6">
                        <span class="fieldError">
                          Enter required field
                        </span>
                        <div class="demo-radio-button" id="fhk" name="fhk">
                          <input
                            name="fhk"
                            type="radio"
                            value="Yes"
                            id="fhk_1"
                            autocomplete="off"
                          />
                          <label for="fhk_1">Yes</label>
                          <input
                            name="fhk"
                            type="radio"
                            id="fhk_2"
                            value="No"
                            autocomplete="off"
                          />
                          <label for="fhk_2">No</label>
                        </div>
                      </div>
                      <div class="col-md-10">
                        <b>Are you a student of Jammu & Kashmir State? </b>
                      </div>
                      <div class="form-group p-b-20 col-md-6">
                        <span class="fieldError">
                          Enter required field
                        </span>
                        <div class="demo-radio-button" id="fjk" name="fjk">
                          <input
                            name="fjk"
                            type="radio"
                            value="Yes"
                            id="fjk_1"
                            autocomplete="off"
                          />
                          <label for="fjk_1">Yes</label>
                          <input
                            name="fjk"
                            type="radio"
                            id="fjk_2"
                            value="No"
                            autocomplete="off"
                          />
                          <label for="fjk_2">No</label>
                        </div>
                      </div>
                      <div class="col-md-10">
                        <b>Have you studied in Rural Area upto 10th Std ? </b>
                      </div>
                      <div class="form-group p-b-20 col-md-6">
                        <span class="fieldError">
                          Enter required field
                        </span>
                        <div
                          class="demo-radio-button"
                          id="frural"
                          name="frural"
                        >
                          <input
                            name="frural"
                            type="radio"
                            value="Yes"
                            id="frural_1"
                            autocomplete="off"
                          />
                          <label for="frural_1">Yes</label>
                          <input
                            name="frural"
                            type="radio"
                            id="frural_2"
                            value="No"
                            autocomplete="off"
                          />
                          <label for="frural_2">No</label>
                        </div>
                      </div>
                      <div class="col-md-10">
                        <b
                          >Have you studied in Kannada Medium upto 10th Std ?
                        </b>
                      </div>
                      <div class="form-group p-b-20 col-md-6">
                        <span class="fieldError">
                          Enter required field
                        </span>
                        <div
                          class="demo-radio-button"
                          id="fkannada"
                          name="fkannada"
                        >
                          <input
                            name="fkannada"
                            type="radio"
                            value="Yes"
                            id="fkannada_1"
                            autocomplete="off"
                          />
                          <label for="fkannada_1">Yes</label>
                          <input
                            name="fkannada"
                            type="radio"
                            id="fkannada_2"
                            value="No"
                            autocomplete="off"
                          />
                          <label for="fkannada_2">No</label>
                        </div>
                      </div>
                      <div class="col-md-12">
                        <b
                          >Are you a son/daughter of B’luru Central University
                          Employee? </b
                        >(If yes, choose between teaching or non-teaching)
                      </div>
                      <div class="form-group p-b-20 col-md-6">
                        <span class="fieldError">
                          Enter required field, Yes/No
                        </span>
                        <div class="demo-radio-button" id="fbcue" name="fbcue">
                          <input
                            name="fbcue"
                            type="radio"
                            value="Yes"
                            id="fbcue_1"
                            autocomplete="off"
                          />
                          <label for="fbcue_1">Yes</label>
                          <input
                            name="fbcue"
                            type="radio"
                            id="fbcue_2"
                            value="No"
                            autocomplete="off"
                          />
                          <label for="fbcue_2">No</label>
                        </div>
                        <div
                          class="demo-radio-button"
                          id="fbcuetype"
                          name="fbcuetype"
                        >
                          <input
                            name="fbcuetype"
                            type="radio"
                            value="Teaching"
                            id="fbcuetype_1"
                            autocomplete="off"
                          />
                          <label for="fbcuetype_1">Teaching</label>
                          <input
                            name="fbcuetype"
                            type="radio"
                            id="fbcuetype_2"
                            value="Non-Teaching"
                            autocomplete="off"
                          />
                          <label for="fbcuetype_2">Non-Teaching</label>
                        </div>
                      </div>
                      <div class="col-md-10">
                        <b
                          >Mention whether you claim any of the following quota?
                        </b>
                      </div>
                      <div class="form-group p-b-20 col-md-8">
                        <span class="fieldError">
                          Enter required field
                        </span>
                        <div class="demo-radio-button" id="quota" name="quota">
                          <input
                            name="fsports"
                            type="checkbox"
                            value="Yes"
                            id="fsports"
                            autocomplete="off"
                          />
                          <label for="fsports">Sports </label>
                          <input
                            name="fculture"
                            type="checkbox"
                            id="fculture"
                            value="Yes"
                            autocomplete="off"
                          />
                          <label for="fculture">Cultural </label>
                          <input
                            name="fncc"
                            type="checkbox"
                            value="Yes"
                            id="fncc"
                            autocomplete="off"
                          />
                          <label for="fncc">NCC </label>
                          <input
                            name="fnss"
                            type="checkbox"
                            id="fnss"
                            value="Yes"
                            autocomplete="off"
                          />
                          <label for="fnss">NSS </label>
                          <input
                            name="fdefence"
                            type="checkbox"
                            value="Yes"
                            id="fdefence"
                            autocomplete="off"
                          />
                          <label for="fdefence">Defence </label>
                          <input
                            name="fhandicap"
                            type="checkbox"
                            id="fhandicap"
                            value="Yes"
                            autocomplete="off"
                          />
                          <label for="fhandicap">DifferentlyAbled/Blind </label>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>

        <!---//////// Subject Details Card \\\\\\-->

        <!--========= Documents Upload ===============-->

        <!-- <div class="row clearfix" id = "upload_doc_det">
          <div class="col-lg-10 col-md-12 col-sm-12 col-xs-12">
            <div class="card">
              <div class="header bg-blue">
                <h2>Documents to be uploaded (Each file should be of less than 1Mb)</h2>
              </div>
              <div class="body">
                <div class="row clearfix">
                  <div id = "uploaddetdet" class="row clearfix">
                    <div class="col-md-12">
                      
                        <div class="col-md-10 col-md-offset-1">
                            
                          <div id = "upddet"></div>
                        
                        </div>
                      
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div> -->

        <!---//////// Previous Academic Details \\\\\\-->

        <div class="row clearfix" id="prevAcadDetCard">
          <!--prevAcadDet-->
          <div class="col-lg-10 col-md-12 col-sm-12 col-xs-12">
            <div class="card">
              <div class="header bg-blue">
                <h2>Previous Academic Details</h2>
              </div>
              <div class="body">
                <div id="idPrevDet">
                  <div class="row clearfix">
                    <div class="col-md-12">
                      <div class="col-lg-10 col-md-10 col-xs-12">
                        <h4>Details of qualifying examination</h4>
                      </div>
                      <div id="prevAcadDet">
                        <div class="form-group col-md-8">
                          <!-- <div class="col-md-12">                     -->
                          <b class="p-b-20"
                            >Have you studied Mathematics in Pre-University
                            [10+2]?
                          </b>
                          <!-- </div> -->
                          <div class="form-group ">
                            <span class="fieldError">
                              Enter required field
                            </span>
                            <div
                              class="demo-radio-button"
                              id="fpumat"
                              name="fpumat"
                            >
                              <input
                                name="fpumat"
                                type="radio"
                                value="Yes"
                                id="fpumat_1"
                                autocomplete="off"
                              />
                              <label for="fpumat_1">Yes</label>
                              <input
                                name="fpumat"
                                type="radio"
                                id="fpumat_2"
                                value="No"
                                autocomplete="off"
                              />
                              <label for="fpumat_2">No</label>
                            </div>
                          </div>
                        </div>
                        <div class="form-group col-md-8">
                          <!-- <div class="col-md-12">                     -->
                          <b class="p-b-20"
                            >Have you studied Biology in Pre-University [10+2]?
                          </b>
                          <!-- </div> -->
                          <div class="form-group ">
                            <span class="fieldError">
                              Enter required field
                            </span>
                            <div
                              class="demo-radio-button"
                              id="fpubio"
                              name="fpubio"
                            >
                              <input
                                name="fpubio"
                                type="radio"
                                value="Yes"
                                id="fpubio_1"
                                autocomplete="off"
                              />
                              <label for="fpubio_1">Yes</label>
                              <input
                                name="fpubio"
                                type="radio"
                                id="fpubio_2"
                                value="No"
                                autocomplete="off"
                              />
                              <label for="fpubio_2">No</label>
                            </div>
                          </div>
                        </div>
                        <div class="form-group col-md-6">
                          <!-- <div class="col-md-12"> -->
                          <b class="p-b-20">SSLC Reg. No. </b>
                          <!-- </div> -->
                          <div class="form-group p-b-20">
                            <span class="fieldError">
                              Enter required field
                            </span>
                            <div class="" id="" name="">
                              <input
                                name="fsslcregno"
                                type="text"
                                class="form-control"
                                placeholder="SSLC Reg. No."
                                id="fsslcregno"
                                autocomplete="off"
                              />
                            </div>
                          </div>
                        </div>
                        <div class="col-md-10 col-lg-10 col-xs-12">
                          <b>University Studied </b>
                        </div>
                        <div class="col-md-6 col-lg-6 col-xs-12">
                          <div
                            class="demo-radio-button"
                            id="fqutype"
                            name="fqutype"
                          >
                            <input
                              name="fqutype"
                              type="radio"
                              value="Bangalore University"
                              id="fqutype_1"
                              autocomplete="off"
                            />
                            <label for="fqutype_1">Bangalore University </label
                            ><br />
                            <input
                              name="fqutype"
                              type="radio"
                              id="fqutype_2"
                              value="Other University within Karnataka"
                              autocomplete="off"
                            />
                            <label for="fqutype_2">
                              Other University within Karnataka</label
                            ><br />
                            <input
                              name="fqutype"
                              type="radio"
                              value=" Other University Outside Karnataka "
                              id="fqutype_3"
                              autocomplete="off"
                            />
                            <label for="fqutype_3">
                              Other University Outside Karnataka </label
                            ><br />
                            <input
                              name="fqutype"
                              type="radio"
                              id="fqutype_4"
                              value="Bangalore University Autonomous Colleges"
                              autocomplete="off"
                            />
                            <label for="fqutype_4"
                              >Bangalore University Autonomous Colleges </label
                            ><br />
                          </div>
                        </div>
                        <div class="col-md-6 col-lg-6 p-b-90" id="OtherUniv">
                          <b>If Other Universities, Mention here </b>
                          <div class="form-group">
                            <span class="fieldError" id="fatname_err">
                              Filed is Required as you have selected University
                              other than BCU
                            </span>
                            <div class="form-line">
                              <input
                                type="text"
                                name="fquniv"
                                id="fquniv"
                                class="form-control date"
                                placeholder="University other than BCU"
                                maxlength="20"
                                autocomplete="off"
                              />
                            </div>
                          </div>
                        </div>
                        <div class="col-md-6">
                          <b>Degree <span style="color: red;">*</span> </b>
                          <div class="form-group">
                            <span class="fieldError" id="fatname_err">
                              Degree is Required
                            </span>
                            <div class="form-line">
                              <input
                                type="text"
                                class="form-control"
                                palceholder="Degree"
                                id="fqdegree"
                                name="fqdegree"
                              />
                            </div>
                          </div>
                        </div>
                        <div class="col-md-6">
                          <b>Reg. No. <span style="color: red;">*</span></b>
                          <div class="form-group">
                            <span class="fieldError" id="fatname_err">
                              Reg. No. is Required
                            </span>
                            <div class="form-line">
                              <input
                                type="text"
                                name="Reg. No."
                                id="fqregno"
                                class="form-control date"
                                placeholder="Reg. No"
                                maxlength="20"
                                autocomplete="off"
                              />
                            </div>
                          </div>
                        </div>

                        <div class="clearfix">
                          <div class="col-md-6">
                            <b
                              >Class- I/ II/ III
                              <span style="color: red;">*</span></b
                            >
                            <div class="form-group">
                              <span class="fieldError" id="fatname_err">
                                Enter Required field
                              </span>
                              <div class="form-line">
                                <input
                                  type="text"
                                  id="fqclass"
                                  name="idUnvExam"
                                  class="form-control date"
                                  placeholder="Qualifying Exam"
                                  name="Qualifying Exam"
                                  maxlength="100"
                                  onkeypress="return charKeydown(event);"
                                  autocomplete="off"
                                />
                              </div>
                            </div>
                          </div>

                          <div class="col-md-6">
                            <b
                              >Passing month / year<span style="color: red;"
                                >*</span
                              ></b
                            >
                            <div class="form-group">
                              <span class="fieldError" id="fatname_err">
                                Passing month is Required
                              </span>
                              <div
                                class="col-md-6"
                                style="padding: 0px !important;"
                              >
                                <select
                                  class="form-control month"
                                  id="fqmonth"
                                  name="Passing month"
                                >
                                </select>
                              </div>
                              <div
                                class="col-md-6"
                                style="padding-right: 0px !important;"
                              >
                                <select
                                  name="Passing year"
                                  class="form-control year"
                                  id="fqyear"
                                >
                                </select>
                              </div>
                            </div>
                          </div>
                          <div class="form-group p-b-20 col-md-12"></div>
                          <div class="col-md-6">
                            <div
                              class="col-md-4"
                              style="padding: 0px !important;margin-top: -20px;"
                            >
                              <b
                                >Max. Marks<span style="color: red;">*</span></b
                              >
                              <div class="form-group p-b-20">
                                <span class="fieldError" id="fatname_err">
                                  Max. Marks is Required
                                </span>
                                <div class="form-line">
                                  <input
                                    style="text-align: center;"
                                    type="text"
                                    name="Max. Marks"
                                    id="fqmaxmarks"
                                    class="form-control date"
                                    onkeypress="return acceptNumbersOnlyForModule(event);"
                                    onblur="getPrevPercent()"
                                    placeholder="Max. Marks"
                                    name="Max. Marks"
                                    maxlength="4"
                                    autocomplete="off"
                                  />
                                </div>
                              </div>
                            </div>
                            <div
                              class="col-md-4"
                              style="padding-right: 0px !important;margin-top: -20px;"
                            >
                              <b
                                >Sec. Marks<span style="color: red;">*</span></b
                              >
                              <div class="form-group p-b-20">
                                <span class="fieldError" id="fatname_err">
                                  Sec. Marks is Required
                                </span>
                                <div class="form-line">
                                  <input
                                    type="text"
                                    style="text-align: center;"
                                    name="Sec. Marks"
                                    id="fqsecmarks"
                                    class="form-control"
                                    onkeypress="return acceptNumbersOnlyForModule(event);"
                                    placeholder="Sec. Marks"
                                    maxlength="4"
                                    onchange="getPrevPercent()"
                                    name="Sec. Marks"
                                    autocomplete="off"
                                  />
                                </div>
                              </div>
                            </div>

                            <div
                              class="col-md-4"
                              style="margin-top: -20px;padding-right: 0px !important;"
                            >
                              <b>Percentage</b>
                              <div class="form-group p-b-20">
                                <!-- <span class="fieldError" id="fatname_err">
                                Percentage is Required
                              </span> -->
                                <div class="form-line">
                                  <input
                                    type="text"
                                    style="text-align: center;"
                                    class="form-control date"
                                    id="fqpercentage"
                                    placeholder="Percentage"
                                    maxlength="10"
                                    autocomplete="off"
                                    disabled="true"
                                    name="Percentage"
                                  />
                                </div>
                              </div>
                            </div>

                            <!-- </div> -->
                          </div>
                        </div>
                      </div>
                      <!---->
                      <div class="p-b-20" id="marksDet">
                        <div class="col-lg-10 col-md-10 col-xs-12">
                          <b>Marks in Degree</b>
                        </div>
                        <div class="form-group p-b-20 col-md-12 col-lg-10">
                          <span class="fieldError" id="">
                            All fields Required
                          </span>
                          <div class="col-md-12 p-b-10 p-t-10">
                            <input
                              name="resStat"
                              type="checkbox"
                              id="resStat"
                              value="F"
                              autocomplete="off"
                              onchange=""
                            />
                            <label for="resStat"><b>Results Awaited</b> </label>
                          </div>
                          <div id="prevAcdMarks">
                            <div class="col-md-4 reqMarks">
                              <b>Languages</b>
                              <div class="form-line p-b-10">
                                <input
                                  type="text"
                                  style="text-align: center;"
                                  class="form-control"
                                  id="flang1"
                                  placeholder="Lang. 1"
                                  autocomplete="off"
                                  name="lang1"
                                />
                              </div>
                              <div class="form-line p-b-10">
                                <input
                                  type="text"
                                  style="text-align: center;"
                                  class="form-control"
                                  id="flang2"
                                  placeholder="Lang. 2"
                                  autocomplete="off"
                                  name="lang2"
                                />
                              </div>
                            </div>
                            <div class="col-md-4 reqMarks">
                              <b>Maximum Marks</b>
                              <div class="form-line p-b-10">
                                <input
                                  type="text"
                                  style="text-align: center;"
                                  onkeypress="return acceptNumbersOnlyForModule(event);"
                                  class="form-control mm"
                                  id="flang1mm"
                                  placeholder="max. marks"
                                  autocomplete="off"
                                  name="MaxMarks"
                                />
                              </div>
                              <div class="form-line p-b-10">
                                <input
                                  type="text"
                                  style="text-align: center;"
                                  onkeypress="return acceptNumbersOnlyForModule(event);"
                                  class="form-control mm"
                                  id="flang2mm"
                                  onchange="getTotalMM()"
                                  placeholder="max. marks"
                                  autocomplete="off"
                                  name="MaxMarks"
                                />
                              </div>
                              <div class="form-line p-b-10">
                                <input
                                  type="text"
                                  style="text-align: center;"
                                  onkeypress="return acceptNumbersOnlyForModule(event);"
                                  class="form-control"
                                  disabled
                                  id="flangttlmm"
                                  placeholder="Total max. marks"
                                  autocomplete="off"
                                  name="TtlMM"
                                />
                              </div>
                            </div>
                            <div class="col-md-4 reqMarks">
                              <b>Marks scored</b>
                              <div class="form-line p-b-10">
                                <input
                                  type="text"
                                  style="text-align: center;"
                                  onkeypress="return acceptNumbersOnlyForModule(event);"
                                  class="form-control"
                                  onchange="getTotalMS()"
                                  id="flang1ms"
                                  placeholder="Sec. marks"
                                  autocomplete="off"
                                  name="SecMarks1"
                                />
                              </div>
                              <div class="form-line p-b-10">
                                <input
                                  type="text"
                                  style="text-align: center;"
                                  onkeypress="return acceptNumbersOnlyForModule(event);"
                                  class="form-control"
                                  id="flang2ms"
                                  onchange="getTotalMS()"
                                  placeholder="Sec. marks"
                                  autocomplete="off"
                                  name="SecMarks2"
                                />
                              </div>
                              <div class="form-line p-b-10">
                                <input
                                  type="text"
                                  style="text-align: center;"
                                  onkeypress="return acceptNumbersOnlyForModule(event);"
                                  class="form-control"
                                  disabled
                                  id="flangttlms"
                                  placeholder="Total Secured Marks"
                                  autocomplete="off"
                                  name="TtlMS"
                                />
                              </div>
                            </div>
                            <div class="col-md-4 reqMarks">
                              <b>Optionals</b>
                              <div class="form-line p-b-10">
                                <input
                                  type="text"
                                  style="text-align: center;"
                                  class="form-control"
                                  id="fopt1"
                                  placeholder="Optional 1"
                                  autocomplete="off"
                                  name="optsub"
                                />
                              </div>
                              <div class="form-line p-b-10">
                                <input
                                  type="text"
                                  style="text-align: center;"
                                  class="form-control"
                                  id="fopt2"
                                  placeholder="Optional 2"
                                  autocomplete="off"
                                  name="optsub"
                                />
                              </div>
                              <div class="form-line p-b-10">
                                <input
                                  type="text"
                                  style="text-align: center;"
                                  class="form-control"
                                  id="fopt3"
                                  placeholder="Optional 3"
                                  autocomplete="off"
                                  name="optsub"
                                />
                              </div>
                              <div class="form-line p-b-10">
                                <input
                                  type="text"
                                  style="text-align: center;"
                                  class="form-control"
                                  id="fopt4"
                                  placeholder="Optional 4"
                                  autocomplete="off"
                                  name="optsub"
                                />
                              </div>
                            </div>
                            <div class="col-md-4 reqMarks">
                              <b>Maximum Marks</b>
                              <div class="form-line p-b-10">
                                <input
                                  type="text"
                                  style="text-align: center;"
                                  onkeypress="return acceptNumbersOnlyForModule(event);"
                                  class="form-control"
                                  id="fopt1mm"
                                  value=""
                                  onchange="optTtlMM()"
                                  placeholder="max. marks"
                                  autocomplete="off"
                                  name="fopt1mm"
                                />
                              </div>
                              <div class="form-line p-b-10">
                                <input
                                  type="text"
                                  style="text-align: center;"
                                  onkeypress="return acceptNumbersOnlyForModule(event);"
                                  class="form-control"
                                  id="fopt2mm"
                                  value=""
                                  onchange="optTtlMM()"
                                  placeholder="max. marks"
                                  autocomplete="off"
                                  name="fopt2mm"
                                />
                              </div>
                              <div class="form-line p-b-10">
                                <input
                                  type="text"
                                  style="text-align: center;"
                                  onkeypress="return acceptNumbersOnlyForModule(event);"
                                  class="form-control"
                                  id="fopt3mm"
                                  onchange="optTtlMM()"
                                  placeholder="max. marks"
                                  autocomplete="off"
                                  name="fopt3mm"
                                />
                              </div>
                              <div class="form-line p-b-10">
                                <input
                                  type="text"
                                  style="text-align: center;"
                                  onkeypress="return acceptNumbersOnlyForModule(event);"
                                  class="form-control"
                                  id="fopt4mm"
                                  onchange="optTtlMM()"
                                  placeholder="max. marks"
                                  autocomplete="off"
                                  name="fopt4mm"
                                />
                              </div>
                              <div class="form-line p-b-10">
                                <input
                                  type="text"
                                  style="text-align: center;"
                                  onkeypress="return acceptNumbersOnlyForModule(event);"
                                  disabled
                                  class="form-control"
                                  id="foptttlmm"
                                  placeholder="Total max. marks"
                                  autocomplete="off"
                                  name="TtlOptMM"
                                />
                              </div>
                            </div>
                            <div class="col-md-4 reqMarks">
                              <b>Marks scored</b>
                              <div class="form-line p-b-10">
                                <input
                                  type="text"
                                  style="text-align: center;"
                                  onkeypress="return acceptNumbersOnlyForModule(event);"
                                  class="form-control"
                                  id="fopt1ms"
                                  onchange="optTtlMS()"
                                  placeholder="sec. marks"
                                  autocomplete="off"
                                  name="fopt1ms"
                                />
                              </div>
                              <div class="form-line p-b-10">
                                <input
                                  type="text"
                                  style="text-align: center;"
                                  onkeypress="return acceptNumbersOnlyForModule(event);"
                                  class="form-control"
                                  id="fopt2ms"
                                  onchange="optTtlMS()"
                                  placeholder="sec. marks"
                                  autocomplete="off"
                                  name="fopt2ms"
                                />
                              </div>
                              <div class="form-line p-b-10">
                                <input
                                  type="text"
                                  style="text-align: center;"
                                  onkeypress="return acceptNumbersOnlyForModule(event);"
                                  class="form-control"
                                  id="fopt3ms"
                                  onchange="optTtlMS()"
                                  placeholder="sec. marks"
                                  autocomplete="off"
                                  name="fopt3ms"
                                />
                              </div>
                              <div class="form-line p-b-10">
                                <input
                                  type="text"
                                  style="text-align: center;"
                                  onkeypress="return acceptNumbersOnlyForModule(event);"
                                  class="form-control"
                                  id="fopt4ms"
                                  onchange="optTtlMS()"
                                  placeholder="sec. marks"
                                  autocomplete="off"
                                  name="fopt4ms"
                                />
                              </div>
                              <div class="form-line p-b-10">
                                <input
                                  type="text"
                                  style="text-align: center;"
                                  onkeypress="return acceptNumbersOnlyForModule(event);"
                                  class="form-control"
                                  disabled
                                  id="foptttlms"
                                  placeholder="Total sec. marks"
                                  autocomplete="off"
                                  name="TtlOptMS"
                                />
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                      <!---->
                      <div class="col-md-10">
                        <b>Have you passed any Postgraduate Degree? </b>
                      </div>
                      <div class="form-group p-b-20 col-md-10">
                        <span class="fieldError">
                          Enter required field
                        </span>
                        <div
                          class="demo-radio-button"
                          id="fpgdegree"
                          name="fpgdegree"
                        >
                          <input
                            name="fpgdegree"
                            type="radio"
                            value="yes"
                            id="fpgdegree_1"
                            autocomplete="off"
                          />
                          <label for="fpgdegree_1">Yes</label>
                          <input
                            name="fpgdegree"
                            type="radio"
                            id="fpgdegree_2"
                            value="No"
                            autocomplete="off"
                          />
                          <label for="fpgdegree_2">No</label>
                        </div>
                      </div>
                      <div id="prevPGDet">
                        <div class="col-md-10 col-lg-10 col-xs-12">
                          <b>University Studied </b>
                        </div>
                        <div class="col-md-6 col-lg-6 col-xs-12">
                          <div
                            class="demo-radio-button"
                            id="fpgunivtype"
                            name="fpgunivtype"
                          >
                            <input
                              name="fpgunivtype"
                              type="radio"
                              value="Bangalore University"
                              id="fpgunivtype_1"
                              autocomplete="off"
                            />
                            <label for="fpgunivtype_1"
                              >Bangalore University </label
                            ><br />
                            <input
                              name="fpgunivtype"
                              type="radio"
                              id="fpgunivtype_2"
                              value="Other University within Karnataka"
                              autocomplete="off"
                            />
                            <label for="fpgunivtype_2">
                              Other University within Karnataka</label
                            ><br />
                            <input
                              name="fpgunivtype"
                              type="radio"
                              value=" Other University Outside Karnataka "
                              id="fpgunivtype_3"
                              autocomplete="off"
                            />
                            <label for="fpgunivtype_3">
                              Other University Outside Karnataka </label
                            ><br />
                            <input
                              name="fpgunivtype"
                              type="radio"
                              id="fpgunivtype_4"
                              value="Bangalore University Autonomous Colleges"
                              autocomplete="off"
                            />
                            <label for="fpgunivtype_4"
                              >Bangalore University Autonomous Colleges </label
                            ><br />
                          </div>
                        </div>
                        <div class="col-md-6 col-lg-6 p-b-90" id="OtherUniv">
                          <b>If Other Universities, Mention here </b>
                          <div class="form-group">
                            <span class="fieldError" id="fatname_err">
                              Filed is Required as you have selected University
                              other than BCU
                            </span>
                            <div class="form-line">
                              <input
                                type="text"
                                name="fpguniv"
                                id="fpguniv"
                                class="form-control date"
                                placeholder="University other than BCU"
                                maxlength="20"
                                autocomplete="off"
                              />
                            </div>
                          </div>
                        </div>
                        <div class="col-md-6">
                          <b>Degree <span style="color: red;">*</span> </b>
                          <div class="form-group">
                            <span class="fieldError" id="fatname_err">
                              Degree is Required
                            </span>
                            <div class="form-line">
                              <input
                                type="text"
                                class="form-control"
                                palceholder="Degree"
                                id="fpgqdegree"
                                name="fpgqdegree"
                              />
                            </div>
                          </div>
                        </div>
                        <div class="col-md-6">
                          <b>Reg. No. </b
                          ><!-- <span style="color: red;">*</span> -->
                          <div class="form-group p-b-20">
                            <span class="fieldError" id="fatname_err">
                              Reg. No. is Required
                            </span>
                            <div class="form-line">
                              <input
                                type="text"
                                name="Reg. No."
                                id="fpgregno"
                                class="form-control date"
                                placeholder="Reg. No"
                                maxlength="20"
                                autocomplete="off"
                              />
                            </div>
                          </div>
                        </div>

                        <div class="clearfix">
                          <div class="col-md-6">
                            <b
                              >Class- I/ II/ III
                              <span style="color: red;">*</span></b
                            >
                            <div class="form-group p-b-20">
                              <span class="fieldError" id="fatname_err">
                                Enter Required field
                              </span>
                              <div class="form-line">
                                <input
                                  type="text"
                                  id="fpgqclass"
                                  name="idUnvExam"
                                  class="form-control date"
                                  placeholder="Qualifying Exam"
                                  name="Qualifying Exam"
                                  maxlength="100"
                                  onkeypress="return charKeydown(event);"
                                  autocomplete="off"
                                />
                              </div>
                            </div>
                          </div>

                          <div class="col-md-6">
                            <b
                              >Passing month / year<span style="color: red;"
                                >*</span
                              ></b
                            >
                            <div class="form-group p-b-20">
                              <span class="fieldError" id="fatname_err">
                                Passing month is Required
                              </span>
                              <div
                                class="col-md-6"
                                style="padding: 0px !important;"
                              >
                                <select
                                  class="form-control month"
                                  id="fpgmonth"
                                  name="Passing month"
                                >
                                </select>
                              </div>
                              <div
                                class="col-md-6"
                                style="padding-right: 0px !important;"
                              >
                                <select
                                  name="Passing year"
                                  class="form-control year"
                                  id="fpgyear"
                                >
                                </select>
                              </div>
                            </div>
                          </div>
                          <div class="clearfix">
                            <div class="col-md-6">
                              <b
                                >Max. Marks<span style="color: red;">*</span></b
                              >
                              <div class="form-group">
                                <span class="fieldError" id="fatname_err">
                                  Maximum / Secured Marks are Required
                                </span>
                                <div
                                  class="col-md-3"
                                  style="padding: 0px !important;"
                                >
                                  <div class="form-line">
                                    <input
                                      style="text-align: center;"
                                      type="text"
                                      name="Max. Marks"
                                      id="fpgmaxmarks"
                                      class="form-control date"
                                      onkeypress="return acceptNumbersOnlyForModule(event);"
                                      onchange=""
                                      placeholder="Max. Marks"
                                      name="Max. Marks"
                                      maxlength="4"
                                      autocomplete="off"
                                    />
                                  </div>
                                </div>
                                <div
                                  class="col-md-4"
                                  style="padding-right: 0px !important;margin-top: -20px;"
                                >
                                  <b
                                    >Sec. Marks<span style="color: red;"
                                      >*</span
                                    ></b
                                  >
                                  <div class="form-line p-b-20">
                                    <input
                                      type="text"
                                      style="text-align: center;"
                                      name="Sec. Marks"
                                      id="fpgsecmarks"
                                      class="form-control"
                                      onkeypress="return acceptNumbersOnlyForModule(event);"
                                      placeholder="Sec. Marks"
                                      maxlength="4"
                                      onchange=""
                                      name="Sec. Marks"
                                      autocomplete="off"
                                    />
                                  </div>
                                </div>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                      <!---->
                      <div id="OtherInfo">
                        <div class="col-md-10">
                          <b>Other examinations passed? </b>
                        </div>
                        <div class="form-group p-b-20 col-md-6">
                          <span class="fieldError">
                            Required field, enter NA if not applicable
                          </span>
                          <div class="form-line p-b-10">
                            <textarea
                              class="form-control"
                              id="fothexam"
                              placeholder="..."
                              autocomplete="off"
                              name=""
                            >
                            </textarea>
                          </div>
                        </div>
                        <div class="col-md-10">
                          <b
                            >If you are a Sponsored candidate – mention
                            Organization’s Name & enclose a copy of the
                            certificate
                          </b>
                        </div>
                        <div class="form-group p-b-20 col-md-6">
                          <span class="fieldError">
                            Required field, enter NA if not applicable
                          </span>
                          <div class="form-line p-b-10">
                            <input
                              type="text"
                              class="form-control"
                              id="fsponsor"
                              placeholder=""
                              autocomplete="off"
                              name="sponsCandid"
                              value="NA"
                            />
                          </div>
                        </div>
                        <div class="col-md-10">
                          <b
                            >Any other information you would like to furnish?
                          </b>
                        </div>
                        <div class="form-group p-b-20 col-md-6">
                          <span class="fieldError">
                            Required field, enter NA if not applicable
                          </span>
                          <div class="form-line p-b-10">
                            <textarea
                              class="form-control"
                              id="fothinfo"
                              placeholder="..."
                              autocomplete="off"
                              name="extinfo"
                            ></textarea>
                          </div>
                        </div>
                        <div class="col-md-10">
                          <b>Total Number of enclosures attested by self? </b>
                        </div>
                        <div class="form-group p-b-20 col-md-6">
                          <span class="fieldError">
                            Required field, enter NA if not applicable
                          </span>
                          <div class="form-line p-b-10">
                            <input
                              type="text"
                              class="form-control"
                              id="fdocattest"
                              placeholder="Number of enclosures attested"
                              autocomplete="off"
                              name="Documents Enclosed"
                            />
                          </div>
                        </div>
                      </div>
                      <!---->
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>

        <!--========= Fee Details =============-->
        <div class="row clearfix" id="FeeDet">
          <div class="col-lg-10 col-md-12 col-sm-12 col-xs-12">
            <div class="card">
              <div class="header bg-blue">
                <h2>Fee Details</h2>
              </div>
              <div class="body">
                <div class="row clearfix">
                  <div class="col-md-12 col-lg-12" id="FeeTbl"></div>
                </div>
              </div>
              <div class="footer">
                <center>
                  <button
                    type="button"
                    style="font-weight: 600;font-size: 16px"
                    class="btn btn-warning waves-effect btn-lg"
                    onclick="savepgApplication()"
                  >
                    Save
                  </button>
                  <button
                    type="button"
                    style="font-weight: 600;font-size: 16px;margin-left: 20px;"
                    class="btn btn-success waves-effect btn-lg"
                    onclick="saveApplication()"
                  >
                    Final Submission
                  </button>
                </center>
              </div>
            </div>
          </div>
        </div>
      </div>
    </section>
  </body>
</html>
';

// header('Content-Type: application/pdf; charset=utf-8');
// $html = mb_convert_encoding($html, 'HTML-ENTITIES', 'UTF-8');
// return PDF::load($html)->filename('lina.pdf')->show();


$dompdf->loadHtml($html);

// (Optional) Setup the paper size and orientation
$dompdf->setPaper('A4', 'landscape');

// Render the HTML as PDF
$dompdf->render();

// Output the generated PDF to Browser
$dompdf->stream();
// }

function getReportData($aobj_context)
{
  $aobj_context->mobj_db->SetFetchMode(ADODB_FETCH_ASSOC); 
  session_start();
  
  $fappno = $aobj_context->mobj_data["fappno"];

  $query = "select fappno, fmobileno, fdegree1, ifnull(fdegree2,'') as fdegree2, 
  ifnull(fdegree3,'') as fdegree3, ifnull(fdegree3,'') as fdegree3, 
  ifnull(fdegree4,'') as fdegree4, ifnull(fdegree5,'') as fdegree5,
  ifnull(fdegree6,'') as fdegree6, ifnull(fname,'') as fname, 
  ifnull(fphotopath,'') as fphotopath, ifnull(fgender,'') as fgender, 
  date_format(ifnull(fdob,''), '%d/%m/%Y') as fdob, ifnull(ffatname,'') as ffatname,
  ifnull(ffatocc,'') as ffatocc, ifnull(fmotname, '') as fmotname, 
  ifnull(fmotocc, '') as fmotocc, ifnull(fnational, '') as fnational, 
  ifnull(fogirl,'') as fogirl, ifnull(fcategory,'') as fcategory, 
  ifnull(fpmregno,'') as fpmregno, ifnull(fincome,'') as fincome, 
  ifnull(fbpl,'') as fbpl, ifnull(fkarstudy,'') as fkarstudy, 
  ifnull(faadharno,'') as faadharno, ifnull(fsslcregno,'') as fsslcregno, 
  ifnull(fpermadd1,'') as fpermadd1, ifnull(fpermadd2,'') as fpermadd2, 
  ifnull(fpermadd3,'') as fpermadd3, ifnull(fpermadd4,'') as fpermadd4, 
  ifnull(fpermdist,'') as fpermdist, ifnull(fpermstate,'') as fpermstate, 
  ifnull(fpermpin,'') as fpermpin, ifnull(fcurradd1,'') as fcurradd1, 
  ifnull(fcurradd2,'') as fcurradd2, ifnull(fcurradd3,'') as fcurradd3, 
  ifnull(fcurradd4,'') as fcurradd4, ifnull(fcurrdist,'') as fcurrdist, 
  ifnull(fcurrstate,'') as fcurrstate, ifnull(fcurrpin,'') as fcurrpin, 
  ifnull(femail,'') as femail, ifnull(fkashmir,'') as fkashmir, 
  ifnull(fhk,'') as fhk, ifnull(fjk,'') as fjk, ifnull(frural,'') as frural, 
  ifnull(fkannada,'') as fkannada, ifnull(fbcue,'') as fbcue, 
  ifnull(fbcuetype,'') as fbcuetype, ifnull(fsports,'') as fsports, 
  ifnull(fculture,'') as fculture, ifnull(fncc,'') as fncc, 
  ifnull(fnss,'') as fnss, ifnull(fdefence,'') as fdefence, 
  ifnull(fhandicap,'') as fhandicap, ifnull(fqdegree,'') as fqdegree, 
  ifnull(fqutype,'') as fqutype, ifnull(fquniv,'') as fquniv, ifnull(fqyear,'') as fqyear, 
  ifnull(fqmonth,'') as fqmonth, ifnull(fqregno,'') as fqregno, 
  ifnull(fqclass,'') as fqclass, ifnull(fqmaxmarks,'') as fqmaxmarks, 
  ifnull(fqsecmarks,'') as fqsecmarks, ifnull(fqpercentage,'') as fqpercentage, 
  ifnull(flang1,'') as flang1, ifnull(flang1mm,'') as flang1mm, 
  ifnull(flang1ms,'') as flang1ms, ifnull(flang2,'') as flang2, 
  ifnull(flang2mm,'') as flang2mm, ifnull(flang2ms,'') as flang2ms, 
  ifnull(fopt1,'') as fopt1, ifnull(fopt1mm,'') as fopt1mm, 
  ifnull(fopt1ms,'') as fopt1ms, ifnull(fopt2,'') as fopt2, 
  ifnull(fopt2mm,'') as fopt2mm, ifnull(fopt2ms,'') as fopt2ms, 
  ifnull(fopt3,'') as fopt3, ifnull(fopt3mm,'') as fopt3mm, 
  ifnull(fopt3ms,'') as fopt3ms, ifnull(fopt4,'') as fopt4, 
  ifnull(fopt4mm,'') as fopt4mm, ifnull(fopt4ms,'') as fopt4ms, 
  ifnull(fpumat,'') as fpumat, ifnull(fpubio,'') as fpubio, 
  ifnull(fpgdegree,'') as fpgdegree, ifnull(fpgqdegree,'') as fpgqdegree, 
  ifnull(fpgunivtype,'') as fpgunivtype, ifnull(fpgqclass,'') as fpgqclass, 
  ifnull(fpguniv,'') as fpguniv, ifnull(fpgyear,'') as fpgyear, 
  ifnull(fpgmonth,'') as fpgmonth, ifnull(fpgregno,'') as fpgregno, 
  ifnull(fpgmaxmarks,'') as fpgmaxmarks, ifnull(fpgsecmarks,'') as fpgsecmarks, 
  ifnull(fothexam,'') as fothexam, ifnull(fsponsor,'') as fsponsor, 
  ifnull(fothinfo,'') as fothinfo, ifnull(fdocattest,'') as fdocattest 
  from pgstudadm where fappno = '{$fappno}'";

  $result1 = $aobj_context->mobj_db->GetRow($query);

  if(!$result1 && gettype($result1) == 'boolean'){
    $arr['msg'] = "Error while fetching data";
    echo $aobj_context->mobj_output->ToJSONEnvelope($arr,-1,"Failure"); 
    return;
  }

  $query = "select fheadcode,famount from admfeedetl where fappno = '{$fappno}'
  order by fheadcode";
  $result2 = $aobj_context->mobj_db->GetAll($query);

  if(count($result1) > 0) {
    $arr['student'] = $result1;
    $arr['feedetl'] = $result2;
    echo $aobj_context->mobj_output->ToJSONEnvelope($arr,0,"success"); 
    return;
  }
}
?>