<?php
session_start();

if (!isset($_SESSION['id'])) {
   header("location: index.php");
}

include "fetch_data.php";
include "connection.php";

$APP_ID = $_SESSION['id'];
// echo "$APP_ID";


//$sql = " SELECT AD_APP.APP_ROLL_NO,(SELECT AD_CAT.CAT_NAME FROM AD_CAT WHERE AD_APP.APP_CAT = AD_CAT.CAT_ID ) AS APP_CAT  FROM AD_APP WHERE APP_ID = '$APP_ID'";
$sql = "  SELECT * from AD_APP where  APP_ID = '$APP_ID'";

$parse = ociparse($conn, $sql);
oci_execute($parse);

// print_r($sql);
while ($row = oci_fetch_assoc($parse)) {
   $user_row[] = $row;
}

// var_dump($division);
// echo count($division);
oci_free_statement($parse);




















if (isset($_POST['submit'])) {


   $APP_ROLL_NO = $_POST['app_roll_no'];
   $APP_CAT = $_POST['ap_cat'];
   // $imdata=0;
   $imdata = $_POST['basedata'];
   $STD_NAME = $_POST['std_name'];
   $NICK_NAME = $_POST['nick_name'];
   $DOB  = date('d-m-Y', strtotime($_POST['dob']));
   // echo "$DOB";
   $BIRTH_REG_NO = $_POST['birth_reg_number'];
   $BLOOD_GR = $_POST['blood_group'];
   $RG_CODE = $_POST['religion'];
   $RG_SECT = $_POST['religion_sect'];
   $STD_MOBILE_NO = $_POST['std_mobile_number'];
   $SMS_MOBILE_NO = $_POST['sms_mobile_number'];
   $SSC_GR_CODE = $_POST['ssc_group_code'];
   $SCHOOL_NAME = $_POST['school_name'];
   $SCHOOL_ADDR = $_POST['school_address'];
   $BOARD_CODE = $_POST['board'];
   $EXAM_CENTER = $_POST['exam_center'];
   $EXAM_ROLL_NO = $_POST['exam_roll_number'];
   $EXAM_YEAR = $_POST['exam_year'];
   $REG_NO = $_POST['reg_no'];
   $SESSION_NO = $_POST['session'];
   $SSC_GPA = $_POST['ssc_gpa'];
   $TOTAL_APLUS = $_POST['number_of_aplus'];
   if ($APP_CAT === '1' || $APP_CAT === '2') {
      $MARKS_BANG = $_POST['s_bangla'];
      $MARKS_ENG = $_POST['s_english'];
      $MARKS_RELI = $_POST['s_religion'];
      $MARKS_MATH = $_POST['s_math'];
      // $MARKS_BGS= $_POST['s_global'];
      // $MARKS_ICT = $_POST['s_ict'];
      $MARKS_PHY = $_POST['s_physics'];
      $MARKS_CHE = $_POST['s_chemisty'];
      $MARKS_BIO = $_POST['s_biology'];
      $MARKS_HMATH = $_POST['s_higher_math'];
      // $MARKS_CRRE = $_POST['s_career_edutacation'];
      $OTHER_SUB1_NAME = $_POST['s_subject1'];
      $MARKS_OTHER_SUB1 = $_POST['s_subject1_gpa'];
      $OTHER_SUB2_NAME = $_POST['s_subject2'];
      $MARKS_OTHER_SUB2 = $_POST['s_subject2_gpa'];
      $OTHER_SUB3_NAME = $_POST['s_subject3'];
      $MARKS_OTHER_SUB3 = $_POST['s_subject3_gpa'];
      $ADD_SUB_NAME = $_POST['s_additional_subject'];
      $MARKS_ADD_SUB = $_POST['s_additional_subject_gpa'];
      $BANGLA = 'Y';
      $ENGLISH = 'Y';
      $ICT = 'Y';
      $PHYSICS = 'Y';
      $CHEMISTRY = 'Y';
      $HIGHER_MATH = 'N';
      $BIOLOGY = 'N';
      $scienceR = $_POST['scienceR'];
      if ($scienceR == 'HigherMath') {
         $HIGHER_MATH = 'Y';
      }
      if ($scienceR == 'Biology') {
         $BIOLOGY = 'Y';
      }
   } else if ($APP_CAT === '3') {
      $MARKS_BANG = $_POST['h_bangla'];
      $MARKS_ENG = $_POST['h_english'];
      $MARKS_RELI = $_POST['h_religion'];
      $MARKS_MATH = $_POST['h_mathematics'];
      $MARKS_SCIENCE = $_POST['h_science'];
      // $MARKS_ICT = $_POST['h_ict'];
      $MARKS_ECONOMICS = $_POST['h_economics'];
      // $MARKS_HIST = $_POST['h_his_bd'];
      // $MARKS_AGRI_STUD = $_POST['h_agri_studies'];
      // $MARKS_PHY_EDU = $_POST['h_physical_edu'];
      $MARKS_CIVICS = $_POST['h_civics'];
      $MARKS_GEO_ENV = $_POST['h_geography'];
      $OTHER_SUB1_NAME = $_POST['h_other_subject1'];
      $MARKS_OTHER_SUB1 = $_POST['h_other_subject1_gpa'];
      $OTHER_SUB2_NAME = $_POST['h_other_subject2'];
      $MARKS_OTHER_SUB2 = $_POST['h_other_subject2_gpa'];
      $OTHER_SUB3_NAME = $_POST['h_other_subject3'];
      $MARKS_OTHER_SUB3 = $_POST['h_other_subject3_gpa'];
      $OTHER_SUB4_NAME = $_POST['h_other_subject4'];
      $MARKS_OTHER_SUB4 = $_POST['h_other_subject4_gpa'];
      $ADD_SUB_NAME = $_POST['h_addi_subject'];
      $MARKS_ADD_SUB = $_POST['h_addi_subject_gpa'];
      $SUB_GR_CODE = $_POST['SelectGroup'];
      if ($SUB_GR_CODE === '03') {
         $BANGLA = 'Y';
         $ENGLISH = 'Y';
         $ICT = 'Y';
         $HISTORY = 'Y';
         $SOCIAL_WORKS = 'Y';

         $grpH = $_POST['grpH'];
         $LOGIC = 'N';
         $ENCONOMICS = 'N';
         if ($grpH === 'Logich') {
            $LOGIC = 'Y';
         }
         if ($grpH === 'Economicsh') {
            $ENCONOMICS = 'Y';
         }
         $ENCONOMICS . $LOGIC;
      }
      if ($SUB_GR_CODE === '04') {
         $BANGLA = 'Y';
         $ENGLISH = 'Y';
         $ICT = 'Y';
         $SOCIAL_WORKS = 'Y';
         $ENCONOMICS = 'Y';
         $grpW = $_POST['grpW'];
         $LOGIC = 'N';
         $CIVICS = 'N';
         if ($grpW === 'Logicw') {
            $LOGIC = 'Y';
         }
         if ($grpW === 'Civicsw') {
            $CIVICS = 'Y';
         }
         $LOGIC . $CIVICS;
      }
      if ($SUB_GR_CODE === '05') {
         $BANGLA = 'Y';
         $ENGLISH = 'Y';
         $ICT = 'Y';
         $LOGIC = 'Y';
         $GEOGRAPHY = 'Y';
         $grpG = $_POST['grpG'];
         $ENCONOMICS = 'N';
         $CIVICS = 'N';
         if ($grpG === 'Economicsg') {
            $ENCONOMICS = 'Y';
         }
         if ($grpG === 'Civicsg') {
            $CIVICS = 'Y';
         }
         $ENCONOMICS . $CIVICS;
      }

      if ($SUB_GR_CODE === '06') {
         $BANGLA = 'Y';
         $ENGLISH = 'Y';
         $ICT = 'Y';
         $LOGIC = 'Y';
         $HISTORY = 'Y';
         $grpL = $_POST['grpL'];
         $ENCONOMICS = 'N';
         $CIVICS = 'N';
         if ($grpL === 'Economicsl') {
            $ENCONOMICS = 'Y';
         }
         if ($grpL === 'Civicsl') {
            $CIVICS = 'Y';
         }
         $ENCONOMICS . $CIVICS;
      }
   } else if ($APP_CAT === '4') {
      $MARKS_BANG = $_POST['b_bangla'];
      $MARKS_ENG = $_POST['b_english'];
      $MARKS_RELI = $_POST['b_religion'];
      $MARKS_MATH = $_POST['b_mathematics'];
      $MARKS_SCIENCE = $_POST['b_science'];
      $MARKS_ACCNT = $_POST['b_accounting'];
      // $MARKS_ICT = $_POST['b_ict'];
      $MARKS_FIN_BANK = $_POST['b_finance'];
      $MARKS_BUSS_ENTER = $_POST['b_business'];
      // $MARKS_AGRI_STUD = $_POST['b_agriculture'];
      $OTHER_SUB1_NAME = $_POST['b_subject1'];
      $MARKS_OTHER_SUB1 = $_POST['b_subject1_gpa'];
      $OTHER_SUB2_NAME = $_POST['b_subject2'];
      $MARKS_OTHER_SUB2 = $_POST['b_subject2_gpa'];
      $OTHER_SUB3_NAME = $_POST['b_subject3'];
      $MARKS_OTHER_SUB3 = $_POST['b_subject3_gpa'];
      $OTHER_SUB4_NAME = $_POST['b_subject4'];
      $MARKS_OTHER_SUB4 = $_POST['b_subject4_gpa'];
      $ADD_SUB_NAME = $_POST['b_additional_sub'];
      $MARKS_ADD_SUB = $_POST['b_additional_sub_gpa'];
      $BANGLA = 'Y';
      $ENGLISH = 'Y';
      $ICT = 'Y';
      $ACCOUNTING = 'Y';
      $BUSS_ORG_MNG = 'Y';
      $FIN_BANK_INS = 'Y';
      $STATISTICS = 'N';
      $ENCONOMICS = 'N';
      $busR = $_POST['busR'];
      if ($busR == 'Statistics') {
         $STATISTICS = 'Y';
      }
      if ($busR == 'Economics') {
         $ENCONOMICS = 'Y';
      }
   }






   $PERM_ADDRS = $_POST['permanent_address'];
   $DHK_RES_ADDRS = $_POST['dhaka_resi_address'];
   $F_NAME = $_POST['f_name'];
   $F_OCCU = $_POST['f_occupation'];
   $F_DESIG = $_POST['f_designation'];
   $F_NID = $_POST['f_national_id_number'];
   $F_OFF_ADDRS = $_POST['f_office_Address'];
   $F_MOBILE_NO = $_POST['f_mobile_number'];
   $MONTH_INCOME_PARENTS = $_POST['f_monthly_income'];
   $TOT_FAMILY_INCOME = $_POST['family_monthly_income'];
   $M_NAME = $_POST['m_name'];
   $M_OCCU = $_POST['m_occupation'];
   $M_DESIG = $_POST['m_designation'];
   $M_NID = $_POST['m_national_id_number'];
   $M_OFF_ADDRS = $_POST['m_office_address'];
   $M_MOBILE_NO = $_POST['m_mobile_number'];
   $LG_NAME = $_POST['local_name'];
   $LG_RELATION = $_POST['local_relationship'];
   $LG_OCCU = $_POST['local_occupation'];
   $LG_DESIG = $_POST['local_designation'];
   $LG_DHK_RES_ADDRS = $_POST['local_dhaka_Address'];
   $LG_MOBILE_NO = $_POST['local_mobile_number'];
   $PR_NAME = $_POST['progress_name'];
   $PR_RELATION = $_POST['progress_relationship'];
   $PR_ADDRS = $_POST['progress_address'];
   $PR_MOBILE_NO = $_POST['progress_mobile_number'];

   // $BANGLA = '';
   // $ENGLISH = '';
   // $ICT = '';
   // $PHYSICS = '';
   // $CHEMISTRY = '';
   // $ACCOUNTING = '';
   // $BUSS_ORG_MNG = '';
   // $FIN_BANK_INS = '';
   //$HISTORY = '';
   //$SOCIAL_WORKS = '';
   //$HIGHER_MATH = '';
   //$BIOLOGY = '';
   // $STATISTICS = '';
   // $ENCONOMICS = '';
   //$LOGIC = '';
   //$GEOGRAPHY = '';
   //$CIVICS = '';
   $SPORTS_DTLS = $_POST['sports'];
   $CLUBS_DTLS = $_POST['clubs'];
   $OTHERS_DTLS = $_POST['others'];
   $STD_NAME_B = $_POST['std_name_b'];






   $returnval = 0;
   //    $stid = oci_parse($conn, "begin PKG_AD_ADM.DPD_AD_ADM_INSERT(:o_status,:APP_ID,:APP_ROLL_NO,:APP_CAT,:imdata,:STD_NAME,:NICK_NAME,:DOB,:BIRTH_REG_NO,:BLOOD_GR,:RG_CODE,:RG_SECT,:STD_MOBILE_NO,:SMS_MOBILE_NO,:SSC_GR_CODE,:SCHOOL_NAME,:SCHOOL_ADDR,:BOARD_CODE,:EXAM_CENTER,:EXAM_ROLL_NO,:EXAM_YEAR,:REG_NO,:SESSION_NO,:SSC_GPA,:TOTAL_APLUS,:MARKS_BANG,
   //    :MARKS_ENG,:MARKS_RELI,:MARKS_MATH,:MARKS_BGS,:MARKS_SCIENCE,:MARKS_ACCNT,:MARKS_ICT,:MARKS_PHY,:MARKS_CHE,:MARKS_BIO,
   //    :MARKS_HMATH,:MARKS_CRRE,:MARKS_FIN_BANK,:MARKS_BUSS_ENTER,:MARKS_AGRI_STUD,:OTHER_SUB1_NAME,:MARKS_OTHER_SUB1,:OTHER_SUB2_NAME,:MARKS_OTHER_SUB2,:ADD_SUB_NAME,:MARKS_ADD_SUB,:PERM_ADDRS,:DHK_RES_ADDRS,:F_NAME,:F_OCCU,:F_DESIG,
   //    :F_NID,:F_OFF_ADDRS,:F_MOBILE_NO,:MONTH_INCOME_PARENTS,:TOT_FAMILY_INCOME,:M_NAME,:M_OCCU,:M_DESIG,:M_NID,:M_OFF_ADDRS,:M_MOBILE_NO,:LG_NAME,:LG_RELATION,:LG_OCCU,:LG_DESIG,:LG_DHK_RES_ADDRS,:LG_MOBILE_NO,:PR_NAME,:PR_RELATION,:PR_ADDRS,:PR_MOBILE_NO,:SUB_GR_CODE,:BANGLA,:ENGLISH,:ICT,:PHYSICS,:CHEMISTRY,:ACCOUNTING,:BUSS_ORG_MNG,:FIN_BANK_INS,:HISTORY,:SOCIAL_WORKS,:HIGHER_MATH,:BIOLOGY,:STATISTICS,:ENCONOMICS,:LOGIC,:GEOGRAPHY,:CIVICS,:SPORTS_DTLS,:CLUBS_DTLS,:OTHERS_DTLS,:OTHER_SUB3_NAME,:MARKS_OTHER_SUB3,:OTHER_SUB4_NAME,:MARKS_OTHER_SUB4,:MARKS_HIST,:MARKS_CIVICS,:MARKS_GEO_ENV,:MARKS_PHY_EDU); end;");



   $stid = oci_parse($conn, "begin PKG_AD_ADM.DPD_AD_ADM_INSERT(:o_status,:APP_ID,:APP_ROLL_NO,:APP_CAT,:imdata,:STD_NAME,:NICK_NAME,:DOB,:BIRTH_REG_NO,:BLOOD_GR,:RG_CODE,:RG_SECT,:STD_MOBILE_NO,:SMS_MOBILE_NO,:SSC_GR_CODE,:SCHOOL_NAME,:SCHOOL_ADDR,:BOARD_CODE,:EXAM_CENTER,:EXAM_ROLL_NO,:EXAM_YEAR,:REG_NO,:SESSION_NO,:SSC_GPA,:TOTAL_APLUS,:MARKS_BANG,
   :MARKS_ENG,:MARKS_RELI,:MARKS_MATH,:MARKS_BGS,:MARKS_SCIENCE,:MARKS_ACCNT,:MARKS_ICT,:MARKS_PHY,:MARKS_CHE,:MARKS_BIO,
   :MARKS_HMATH,:MARKS_CRRE,:MARKS_FIN_BANK,:MARKS_BUSS_ENTER,:MARKS_AGRI_STUD,:OTHER_SUB1_NAME,:MARKS_OTHER_SUB1,:OTHER_SUB2_NAME,:MARKS_OTHER_SUB2,:ADD_SUB_NAME,:MARKS_ADD_SUB,:PERM_ADDRS,:DHK_RES_ADDRS,:F_NAME,:F_OCCU,:F_DESIG,
   :F_NID,:F_OFF_ADDRS,:F_MOBILE_NO,:MONTH_INCOME_PARENTS,:TOT_FAMILY_INCOME,:M_NAME,:M_OCCU,:M_DESIG,:M_NID,:M_OFF_ADDRS,:M_MOBILE_NO,:LG_NAME,:LG_RELATION,:LG_OCCU,:LG_DESIG,:LG_DHK_RES_ADDRS,:LG_MOBILE_NO,:PR_NAME,:PR_RELATION,:PR_ADDRS,:PR_MOBILE_NO,:SUB_GR_CODE,:BANGLA,:ENGLISH,:ICT,:PHYSICS,:CHEMISTRY,:ACCOUNTING,:BUSS_ORG_MNG,:FIN_BANK_INS,:HISTORY,:SOCIAL_WORKS,:HIGHER_MATH,:BIOLOGY,:STATISTICS,:ENCONOMICS,:LOGIC,:GEOGRAPHY,:CIVICS,:SPORTS_DTLS,:CLUBS_DTLS,:OTHERS_DTLS,:OTHER_SUB3_NAME,:MARKS_OTHER_SUB3,:OTHER_SUB4_NAME,:MARKS_OTHER_SUB4,:MARKS_HIST,:MARKS_CIVICS,:MARKS_GEO_ENV,:MARKS_PHY_EDU,:MARKS_ECONOMICS,:STD_NAME_B); end;");


   oci_bind_by_name($stid, ":o_status", $returnval, -1, SQLT_INT);
   oci_bind_by_name($stid, ":APP_ID", $APP_ID, -1, SQLT_INT);
   oci_bind_by_name($stid, ":APP_ROLL_NO", $APP_ROLL_NO, -1, SQLT_INT);
   oci_bind_by_name($stid, ":APP_CAT", $APP_CAT, -1, SQLT_INT);
   oci_bind_by_name($stid, ":imdata", $imdata, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":STD_NAME", $STD_NAME, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":NICK_NAME", $NICK_NAME, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":DOB", $DOB, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":BIRTH_REG_NO", $BIRTH_REG_NO, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":BLOOD_GR", $BLOOD_GR, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":RG_CODE", $RG_CODE, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":RG_SECT", $RG_SECT, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":STD_MOBILE_NO", $STD_MOBILE_NO, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":SMS_MOBILE_NO", $SMS_MOBILE_NO, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":SSC_GR_CODE", $SSC_GR_CODE, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":SCHOOL_NAME", $SCHOOL_NAME, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":SCHOOL_ADDR", $SCHOOL_ADDR, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":BOARD_CODE", $BOARD_CODE, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":EXAM_CENTER", $EXAM_CENTER, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":EXAM_ROLL_NO", $EXAM_ROLL_NO, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":EXAM_YEAR", $EXAM_YEAR, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":REG_NO", $REG_NO, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":SESSION_NO", $SESSION_NO, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":SSC_GPA", $SSC_GPA, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":TOTAL_APLUS", $TOTAL_APLUS, -1, SQLT_INT);
   oci_bind_by_name($stid, ":MARKS_BANG", $MARKS_BANG, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":MARKS_ENG", $MARKS_ENG, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":MARKS_RELI", $MARKS_RELI, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":MARKS_MATH", $MARKS_MATH, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":MARKS_BGS", $MARKS_BGS, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":MARKS_SCIENCE", $MARKS_SCIENCE, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":MARKS_ACCNT", $MARKS_ACCNT, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":MARKS_ICT", $MARKS_ICT, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":MARKS_PHY", $MARKS_PHY, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":MARKS_CHE", $MARKS_CHE, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":MARKS_BIO", $MARKS_BIO, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":MARKS_HMATH", $MARKS_HMATH, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":MARKS_CRRE", $MARKS_CRRE, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":MARKS_FIN_BANK", $MARKS_FIN_BANK, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":MARKS_BUSS_ENTER", $MARKS_BUSS_ENTER, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":MARKS_AGRI_STUD", $MARKS_AGRI_STUD, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":OTHER_SUB1_NAME", $OTHER_SUB1_NAME, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":MARKS_OTHER_SUB1", $MARKS_OTHER_SUB1, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":OTHER_SUB2_NAME", $OTHER_SUB2_NAME, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":MARKS_OTHER_SUB2", $MARKS_OTHER_SUB2, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":ADD_SUB_NAME", $ADD_SUB_NAME, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":MARKS_ADD_SUB", $MARKS_ADD_SUB, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":PERM_ADDRS", $PERM_ADDRS, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":DHK_RES_ADDRS", $DHK_RES_ADDRS, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":F_NAME", $F_NAME, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":F_OCCU", $F_OCCU, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":F_DESIG", $F_DESIG, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":F_NID", $F_NID, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":F_OFF_ADDRS", $F_OFF_ADDRS, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":F_MOBILE_NO", $F_MOBILE_NO, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":MONTH_INCOME_PARENTS", $MONTH_INCOME_PARENTS, -1, SQLT_INT);
   oci_bind_by_name($stid, ":TOT_FAMILY_INCOME", $TOT_FAMILY_INCOME, -1, SQLT_INT);
   oci_bind_by_name($stid, ":M_NAME", $M_NAME, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":M_OCCU", $M_OCCU, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":M_DESIG", $M_DESIG, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":M_NID", $M_NID, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":M_OFF_ADDRS", $M_OFF_ADDRS, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":M_MOBILE_NO", $M_MOBILE_NO, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":LG_NAME", $LG_NAME, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":LG_RELATION", $LG_RELATION, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":LG_OCCU", $LG_OCCU, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":LG_DESIG", $LG_DESIG, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":LG_DHK_RES_ADDRS", $LG_DHK_RES_ADDRS, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":LG_MOBILE_NO", $LG_MOBILE_NO, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":PR_NAME", $PR_NAME, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":PR_RELATION", $PR_RELATION, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":PR_ADDRS", $PR_ADDRS, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":PR_MOBILE_NO", $PR_MOBILE_NO, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":SUB_GR_CODE", $SUB_GR_CODE, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":BANGLA", $BANGLA, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":ENGLISH", $ENGLISH, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":ICT", $ICT, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":PHYSICS", $PHYSICS, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":CHEMISTRY", $CHEMISTRY, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":ACCOUNTING", $ACCOUNTING, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":BUSS_ORG_MNG", $BUSS_ORG_MNG, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":FIN_BANK_INS", $FIN_BANK_INS, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":HISTORY", $HISTORY, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":SOCIAL_WORKS", $SOCIAL_WORKS, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":HIGHER_MATH", $HIGHER_MATH, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":BIOLOGY", $BIOLOGY, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":STATISTICS", $STATISTICS, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":ENCONOMICS", $ENCONOMICS, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":LOGIC", $LOGIC, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":GEOGRAPHY", $GEOGRAPHY, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":CIVICS", $CIVICS, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":SPORTS_DTLS", $SPORTS_DTLS, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":CLUBS_DTLS", $CLUBS_DTLS, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":OTHERS_DTLS", $OTHERS_DTLS, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":OTHER_SUB3_NAME", $OTHER_SUB3_NAME, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":MARKS_OTHER_SUB3", $MARKS_OTHER_SUB3, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":OTHER_SUB4_NAME", $OTHER_SUB4_NAME, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":MARKS_OTHER_SUB4", $MARKS_OTHER_SUB4, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":MARKS_HIST", $MARKS_HIST, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":MARKS_CIVICS", $MARKS_CIVICS, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":MARKS_GEO_ENV", $MARKS_GEO_ENV, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":MARKS_PHY_EDU", $MARKS_PHY_EDU, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":MARKS_ECONOMICS", $MARKS_ECONOMICS, -1, SQLT_CHR);
   oci_bind_by_name($stid, ":STD_NAME_B", $STD_NAME_B, -1, SQLT_CHR);
   oci_execute($stid);

   // print $returnval;

   oci_free_statement($stid);
   oci_close($conn);
   if ($returnval == '0') {
      echo '<script>alert("Please carefully fill up all the fields.")</script>';
   } else if ($returnval == '1') {
      echo '<script>
      alert("Your Application is Submitted!!");
      // window.location.href = "https://www.itbadmission.com/ndc/view1.php";
      window.location.href = "103.106.118.10/ndc_2023/view1.php";
      // window.location.href = "http://localhost/ndc_admission_final/admission.php";
      // window.location.href = "https://ndc.iadmissionbd.net/admission.php";
      </script>';
   } else if ($returnval == '2') {
      echo '<script>alert("Your Submit Uncessfull Please another time carefully fill up all the fields.")</script>';
   } else if ($returnval == '3') {
      echo '<script>alert(Already Submitted Please Update Your Profile(if needed) and Make Payment")</script>';
   }























}


?>



<html lang="en">

<head>

   <!-- Google tag (gtag.js) -->
   <script async src="https://www.googletagmanager.com/gtag/js?id=G-GQPGJ4YN30"></script>
   <script>
      window.dataLayer = window.dataLayer || [];

      function gtag() {
         dataLayer.push(arguments);
      }
      gtag('js', new Date());

      gtag('config', 'G-GQPGJ4YN30');
   </script>
   <meta charset="UTF-8">
   <meta http-equiv="X-UA-Compatible" content="IE=edge">
   <meta name="viewport" content="width=device-width, initial-scale=1.0">
   <title>NDC Addmission</title>
   <!-- using online links -->
   <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/css/bootstrap.min.css" integrity="sha384-GJzZqFGwb1QTTN6wy59ffF1BuGJpLSa9DkKMp0DgiMDm4iYMj70gZWKYbI706tWS" crossorigin="anonymous">

   <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.2/css/all.css" integrity="sha384-oS3vJWv+0UjzBfQzYUhtDYW+Pj2yciDJxpsK1OYPAYjqT085Qq/1cq5FLXAZQ7Ay" crossorigin="anonymous">

   <link rel="stylesheet" href="//malihu.github.io/custom-scrollbar/jquery.mCustomScrollbar.min.css">

   <!-- CSS only -->
   <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.0/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-KyZXEAg3QhqLMpG8r+8fhAXLRk2vvoC2f3B09zVXn8CA5QIVfZOJ3BCsw2P0p/We" crossorigin="anonymous">
   <!-- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script> -->
   <style>
      select[readonly] {
         background: #eee;
         /*Simular campo inativo - Sugestão @GabrielRodrigues*/
         pointer-events: none;
         touch-action: none;
      }
   </style>
</head>

<body>






   <!-- dashboard start -->
   <?php include 'dashboard.php'; ?>
   <!-- dashboard end -->

   <form action="" method="POST" onsubmit="return myfun()" enctype="multipart/form-data">
      <div class="container">
         <div class="card">
            <?php //include 'marquee_admission.php'; ?>
            <div class="card-body">
               <header class="col-lg-12 col-md-12 col-sm-12 text-center">
                  <div class="row m-3">
                     <div class="col-lg-4 col-md-4 col-sm-12">
                        <div class="row">
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <img id="" src="assets\img\logo.jpg" alt="NDC_Logo" width="130px" height="130px"></img>


                           </div>
                        </div>
                     </div>
                     <div class="col-lg-4 col-md-4 col-sm-12">
                        <div class="row">
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <h6 class="fw-bolder">NOTRE DAME COLLEGE, DHAKA</h6>
                              <h6 class="fw-bolder">ADMISSION FORM 2022-2023</h6>

                              <h6> GROUP:</h6>
                              <?php
                              include 'connection.php';

                              $sql = "select * from AD_CAT";
                              $parseresults = ociparse($conn, $sql);
                              ociexecute($parseresults);

                              echo '<select class="form-select" name="ap_cat" id="ap_cat" readonly="readonly" tabindex="-1" aria-disabled="true" >';
                              echo '<option value="">Select Your Subject</option>';
                              while ($row = oci_fetch_assoc($parseresults)) {
                                 if ($row['CAT_CODE'] == $user_row[0]['APP_CAT']) {
                                    echo '<option value=' . $row['CAT_CODE'] . ' selected>' . $row['CAT_NAME'] . '</option>';
                                 } else {
                                    echo '<option value=' . $row['CAT_CODE'] . '>' . $row['CAT_NAME'] . '</option>';
                                 }
                              }
                              echo '</select>';
                              oci_free_statement($parseresults);
                              oci_close($conn);
                              ?>











                           </div>
                        </div>
                     </div>



                     <div class="col-lg-4 col-md-4 col-sm-12">
                        <div class="row">
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <img src="data:image/jpeg;base64,<?php echo $photoout; ?>" id="output_image" width="130px" height="130px"></img>
                              <input type="text" class="form-control" name="basedata" id="basedata" hidden value="<?php echo $photoout; ?>">

                           </div>
                        </div>
                     </div>



                  </div>
                  <div class="row">
                     <div class="col-lg-4 col-md-4 col-sm-12">
                     </div>
                     <div class="col-lg-4 col-md-4 col-sm-12">
                        <div class="row ">
                           <div class="col-lg-6 col-md-6 col-sm-12">
                              <label for="text" class="font-weight-bold">Application ID No.:</label>
                           </div>
                           <div class="col-lg-4 col-md-4 col-sm-12">
                              <input style="text-align: center; font-weight:bold;" type="text" name="app_roll_no" id="app_roll_no" value="<?php echo $user_row[0]['APP_ROLL_NO']; ?>" readonly>
                           </div>
                        </div>
                     </div>
                     <div class="col-lg-4 col-md-4 col-sm-12">
                     </div>
                  </div>
                  <div class="row">
                     <div class="col-lg-12 col-md-12 col-sm-12">
                        <h5 class="font-weight-bold">ফরম পূরণের নির্দেশিকাঃ ভর্তি ফরমের সকল তথ্য ফিল্ড সঠিক ও নির্ভুলভাবে পূরণ করতে হবে। তোমার পূরণকৃত তথ্য ঢাকা শিক্ষা বোর্ড ও কলেজের বিভিন্ন কাজে ব্যবহার ও সংরক্ষন করা হবে। </h5>
                     </div>
                  </div>
               </header>
               <div class="form-body">

                  <div class="row m-3">
                     <div class="col-lg-3 col-md-3 col-sm-12">
                        <div class="row">
                           <div class="">
                              <label for="text" class="font-weight-bold"><u>STUDENT'S INFORMATION:</u></label>
                           </div>
                        </div>
                     </div>
                  </div>
                  <div class="row m-3">
                     <div class="col-lg-8 col-md-7 col-sm-12">
                        <div class="row ">
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <label for="text">Please enter your name as it appears on your SSC records or other official documents:</label>
                           </div>
                           <div class="col-lg-11 col-md-7 col-sm-12">
                              <input type="text" class="form-control" placeholder="Student's name in English" name="std_name" id="std_name" oninput="checkLength(this)">
                           </div>


                           <div class="col-lg-11 col-md-7 col-sm-12" style="margin-top: 10px;">
                              <input type="text" class="form-control" placeholder="Student's name in Bengali (Use Sutonny Font)" name="std_name_b" id="std_name_b" oninput="checkLength1(this)">
                           </div>
                        </div>
                     </div>
                     <div class="col-lg-4 col-md-5 col-sm-12">
                        <div class="row">
                           <div class="col-lg-12 col-md-5 col-sm-12">
                              <label for="text" class="text-center">Nickname:</label>
                           </div>
                           <div class="col-lg-10 col-md-6 col-sm-12" style="margin-top: 22px;">
                              <input type="text" class="form-control" name="nick_name" id="nick_name" oninput="checkLength2(this)">
                           </div>
                        </div>
                     </div>
                  </div>
                  <div class="row m-3">
                     <div class="col-lg-3 col-md-3 col-sm-12">
                        <div class="row">
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <label for="Date" class="text-center">Date of Birth:</label>
                           </div>
                           <div class="col-lg-12 col-md-12 col-sm-12 ">
                              <input type="Date" class="form-control" name="dob" id="dob">
                           </div>
                        </div>
                     </div>
                     <div class="col-lg-3 col-md-3 col-sm-12">
                        <div class="row">
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <label for="text" class="text-center">Birth Reg. No.:</label>
                           </div>
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <input type="text" class="form-control" name="birth_reg_number" id="birth_reg_number">
                           </div>
                        </div>
                     </div>
                     <div class="col-lg-3 col-md-3 col-sm-12">
                        <div class="row">
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <label for="text" class="text-center">Blood Group:</label>
                           </div>
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <input type="text" class="form-control" name="blood_group" id="blood_group">
                           </div>
                        </div>
                     </div>
                     <div class="col-lg-3 col-md-3 col-sm-12">
                        <div class="row">
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <label for="text" class="text-center">Religion:</label>
                           </div>
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <select class="form-select form-control" name="religion" id="religion">
                                 <option value="">Select Your Religion</option>
                                 <option value="1">Islam</option>
                                 <option value="2">Hindu</option>
                                 <option value="3">Christian</option>
                                 <option value="4">Buddhist</option>
                              </select>
                           </div>
                        </div>
                     </div>
                  </div>
                  <div class="row m-3">
                     <div class="col-lg-3 col-md-3 col-sm-12">
                        <div class="row">
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <label for="text" class="text-center">Religious Sect./Caste:</label>
                           </div>
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <input type="text" class="form-control" name="religion_sect" id="religion_sect">
                           </div>
                        </div>
                     </div>
                  </div>
                  <div class="row m-3">
                     <div class="col-lg-5 col-md-6 col-sm-12">
                        <div class="row">
                           <div class="col-lg-6 col-md-6 col-sm-12">
                              <label for="text" class="">Student's Mobile No.:</label>
                           </div>
                           <div class="col-lg-6 col-md-6 col-sm-12">
                              <input type="text" class="form-control" name="std_mobile_number" id="std_mobile_number" oninput="validateNumber(this)">
                              <span id="msg" style="color:red; font-weight:bold; font-size: 12px;"></span>


                           </div>
                        </div>
                     </div>
                     <div class="col-lg-7 col-md-6 col-sm-12">
                        <div class="row">
                           <div class="col-lg-7 col-md-4 col-sm-12">
                              <label for="text" class="">Preferred Phone Number for College SMS:</label>
                           </div>
                           <div class="col-lg-5 col-md-8 col-sm-12">
                              <input type="text" class="form-control" name="sms_mobile_number" id="sms_mobile_number" oninput="validateNumber1(this)">
                              <span id="msg1" style="color:red; font-weight:bold; font-size: 12px;"></span>
                           </div>
                        </div>
                     </div>
                  </div>
                  <div class="row m-3">
                     <div class="">
                        <label for="text" class="font-weight-bold"><u>SSC INFORMATION:</u></label>
                     </div>
                  </div>
                  <div class="row m-3">
                     <div class="col-lg-3 col-md-12 col-sm-12">
                        <div class="row">
                           <div class="col-lg-12 col-md-2 col-sm-12">
                              <label for="text" class="text-center ">SSC Group:</label>
                           </div>
                           <div class="col-lg-8 col-md-7 col-sm-12">
                              <!-- <input type="text" class="form-control" name="ssc_group_code"
                                    id="ssc_group_code"> -->

                              <select class="form-select form-control" name="ssc_group_code" id="ssc_group_code">
                                 <option value="">Select Your SSC Group</option>
                                 <option value="1">Science</option>
                                 <option value="2">Humanities</option>
                                 <option value="3">General</option>
                                 <option value="4">Business Studies</option>

                              </select>
                           </div>
                        </div>
                     </div>
                     <div class="col-lg-4 col-md-12 col-sm-12">
                        <div class="row">
                           <div class="col-lg-10 col-md-2 col-sm-12">
                              <label for="text" class="text-center ">School Name:</label>
                           </div>
                           <div class="col-lg-12 col-md-7 col-sm-12">
                              <input type="text" class="form-control" name="school_name" id="school_name" oninput="checkLength3(this)">
                           </div>
                        </div>
                     </div>
                     <div class="col-lg-5 col-md-12 col-sm-12">
                        <div class="row">
                           <div class="col-lg-12 col-md-2 col-sm-12">
                              <label for="text" class="text-center ">School Address:</label>
                           </div>
                           <div class="col-lg-10 col-md-7 col-sm-12">
                              <input type="text" class="form-control" name="school_address" id="school_address" oninput="checkLength4(this)">
                           </div>
                        </div>
                     </div>
                  </div>
                  <div class="row m-3">
                     <div class="col-lg-3 col-md-3 col-sm-12">
                        <div class="row">
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <label for="text" class="text-center">Board:</label>
                           </div>
                           <div class="col-lg-12 col-md-12 col-sm-12 ">
                              <!-- <input type="text" class="form-control" name="board" id="board"> -->
                              <select class="form-select form-control" name="board" id="board">
                                 <option value="">Select Your Board</option>
                                 <option value="01">Barishal</option>
                                 <option value="02">Chattogram</option>
                                 <option value="03">Cumilla</option>
                                 <option value="04">Dhaka</option>
                                 <option value="05">Jashore</option>
                                 <option value="06">Mymensingh</option>
                                 <option value="07">Rajshahi</option>
                                 <option value="08">Sylhet</option>
                                 <option value="09">Dinajpur</option>
                                 <option value="10">Madrasah</option>



                              </select>
                           </div>
                        </div>
                     </div>
                     <div class="col-lg-3 col-md-3 col-sm-12">
                        <div class="row">
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <label for="text" class="text-center">Exam Centre:</label>
                           </div>
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <input type="text" class="form-control" name="exam_center" id="exam_center" oninput="checkLength5(this)">
                           </div>
                        </div>
                     </div>
                     <div class="col-lg-3 col-md-3 col-sm-12">
                        <div class="row">
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <label for="text" class="text-center">SSC Roll No.:</label>
                           </div>
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <input type="text" class="form-control" name="exam_roll_number" id="exam_roll_number">
                           </div>
                        </div>
                     </div>
                     <div class="col-lg-3 col-md-3 col-sm-12">
                        <div class="row">
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <label for="text" class="text-center">Exam Year:</label>
                           </div>
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <input type="text" class="form-control" name="exam_year" id="exam_year">
                           </div>
                        </div>
                     </div>
                  </div>
                  <div class="row m-3">
                     <!-- <div class="col-lg-3 col-md-3 col-sm-12">
                           <div class="row">
                              <div class="col-lg-12 col-md-12 col-sm-12">
                                 <label for="text" class="text-center">Exam Year:</label> 
                              </div>
                              <div class="col-lg-12 col-md-12 col-sm-12">
                                 <input type="text" class="form-control" name="" id="">
                              </div>
                           </div>
                        </div> -->
                     <div class="col-lg-3 col-md-3 col-sm-12">
                        <div class="row">
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <label for="text" class="text-center">Reg. No.:</label>
                           </div>
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <input type="text" class="form-control" name="reg_no" id="reg_no">
                           </div>
                        </div>
                     </div>
                     <div class="col-lg-3 col-md-3 col-sm-12">
                        <div class="row">
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <label for="text" class="text-center">Reg. Year/Session:</label>
                           </div>
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <input type="text" class="form-control" name="session" id="session">
                           </div>
                        </div>
                     </div>
                     <div class="col-lg-3 col-md-3 col-sm-12">
                        <div class="row">
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <label for="text" class="text-center ">SSC GPA:</label>
                           </div>
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <input type="text" class="form-control" name="ssc_gpa" id="ssc_gpa">
                              <span id="e_ssc_gpa" style="color:red; font-weight:bold"></span>
                           </div>
                        </div>
                     </div>


                     <div class="col-lg-3 col-md-3 col-sm-12">
                        <div class="row">
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <label for="text" class="text-center ">Number of A+:</label>
                           </div>
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <input type="text" class="form-control" name="number_of_aplus" id="number_of_aplus">
                           </div>
                        </div>
                     </div>
                  </div>
                  <!-- <div class="row m-3">
                        <div class="col-lg-3 col-md-3 col-sm-12">
                           <div class="row">
                              <div class="col-lg-12 col-md-12 col-sm-12">
                                 <label for="text" class="text-center ">Number of A+:</label>
                              </div>
                              <div class="col-lg-12 col-md-12 col-sm-12">
                                 <input type="text" class="form-control" name=""
                                    id="">
                              </div>
                           </div>
                        </div>
                     </div> -->
                  <div class="row m-3">
                     <div class="">
                        <label for="text" class="font-weight-bold"><u>SSC SUBJECTS & MARKS:</u></label>
                     </div>
                  </div>


                  <div class="row " id="ssc_science">
                     <div class="row m-3">
                        <div class="col-lg-3 col-md-3 col-sm-12">
                           <div class="row">
                              <div class="col-lg-12 col-md-12 col-sm-12">
                                 <label for="text" class="text-center ">Bangla:</label>
                              </div>
                              <div class="col-lg-12 col-md-12 col-sm-12">
                                 <input type="text" class="form-control" name="s_bangla" id="s_bangla">
                              </div>
                           </div>
                        </div>
                        <div class="col-lg-3 col-md-3 col-sm-12">
                           <div class="row">
                              <div class="col-lg-12 col-md-12 col-sm-12">
                                 <label for="text" class="text-center ">English:</label>
                              </div>
                              <div class="col-lg-12 col-md-12 col-sm-12">
                                 <input type="text" class="form-control" name="s_english" id="s_english">
                              </div>
                           </div>
                        </div>
                        <div class="col-lg-3 col-md-3 col-sm-12">
                           <div class="row">
                              <div class="col-lg-12 col-md-12 col-sm-12">
                                 <label for="text" class="text-center ">Religion:</label>
                              </div>
                              <div class="col-lg-12 col-md-12 col-sm-12">
                                 <input type="text" class="form-control" name="s_religion" id="s_religion">
                              </div>
                           </div>
                        </div>
                        <div class="col-lg-3 col-md-3 col-sm-12">
                           <div class="row">
                              <div class="col-lg-12 col-md-12 col-sm-12">
                                 <label for="text" class="text-center ">Mathematics:</label>
                              </div>
                              <div class="col-lg-12 col-md-12 col-sm-12">
                                 <input type="text" class="form-control" name="s_math" id="s_math">
                              </div>
                           </div>
                        </div>
                     </div>

                     <div class="row m-3">
                        <!-- <div class="col-lg-3 col-md-3 col-sm-12">
                              <div class="row">
                                 <div class="col-lg-12 col-md-12 col-sm-12">
                                    <label for="text" class="text-center ">Bangladesh & Global Studies:</label>
                                 </div>
                                 <div class="col-lg-12 col-md-12 col-sm-12">
                                    <input type="text" class="form-control" name="s_global"
                                       id="s_global">
                                 </div>
                              </div>
                           </div> -->
                        <!-- <div class="col-lg-3 col-md-3 col-sm-12">
                              <div class="row">
                                 <div class="col-lg-12 col-md-12 col-sm-12">
                                    <label for="text" class="text-center ">ICT:</label>
                                 </div>
                                 <div class="col-lg-12 col-md-12 col-sm-12">
                                    <input type="text" class="form-control" name="s_ict"
                                       id="s_ict">
                                 </div>
                              </div>
                           </div> -->
                        <div class="col-lg-3 col-md-3 col-sm-12">
                           <div class="row">
                              <div class="col-lg-12 col-md-12 col-sm-12">
                                 <label for="text" class="text-center ">Physics:</label>
                              </div>
                              <div class="col-lg-12 col-md-12 col-sm-12">
                                 <input type="text" class="form-control" name="s_physics" id="s_physics">
                              </div>
                           </div>
                        </div>
                        <div class="col-lg-3 col-md-3 col-sm-12">
                           <div class="row">
                              <div class="col-lg-12 col-md-12 col-sm-12">
                                 <label for="text" class="text-center ">Chemistry:</label>
                              </div>
                              <div class="col-lg-12 col-md-12 col-sm-12">
                                 <input type="text" class="form-control" name="s_chemisty" id="s_chemisty">
                              </div>
                           </div>
                        </div>


                        <div class="col-lg-3 col-md-3 col-sm-12">
                           <div class="row">
                              <div class="col-lg-12 col-md-12 col-sm-12">
                                 <label for="text" class="text-center ">Biology:</label>
                              </div>
                              <div class="col-lg-12 col-md-12 col-sm-12">
                                 <input type="text" class="form-control" name="s_biology" id="s_biology">
                              </div>
                           </div>
                        </div>
                        <div class="col-lg-3 col-md-3 col-sm-12">
                           <div class="row">
                              <div class="col-lg-12 col-md-12 col-sm-12">
                                 <label for="text" class="text-center ">Higher Math:</label>
                              </div>
                              <div class="col-lg-12 col-md-12 col-sm-12">
                                 <input type="text" class="form-control" name="s_higher_math" id="s_higher_math">
                              </div>
                           </div>
                        </div>



                     </div>

                     <!-- <div class="row m-3">
                           
                           <div class="col-lg-3 col-md-3 col-sm-12">
                              <div class="row">
                                 <div class="col-lg-12 col-md-12 col-sm-12">
                                    <label for="text" class="text-center ">Career Education:</label>
                                 </div>
                                 <div class="col-lg-12 col-md-12 col-sm-12">
                                    <input type="text" class="form-control" name="s_career_edutacation"
                                       id="s_career_edutacation">
                                 </div>
                              </div>
                           </div>
                        </div> -->

                     <h6 class="font-weight-bold">Other Subjects & Marks:</h6>

                     <div class="row m-3">
                        <div class="col-lg-3 col-md-3 col-sm-11">
                           <div class="row">
                              <div class="col-lg-8 col-md-8 col-sm-12">
                                 <input type="text" class="form-control" placeholder="Other Subject 1" name="s_subject1" id="s_subject1">
                              </div>
                              <div class="col-lg-4 col-md-4 col-sm-12">
                                 <input type="text" class="form-control" name="s_subject1_gpa" id="s_subject1_gpa">
                              </div>
                           </div>
                        </div><span class="col-lg-1 col-md-1 col-sm-1 font-weight-bold">;</span>


                        <div class="col-lg-3 col-md-3 col-sm-11">
                           <div class="row">
                              <div class="col-lg-8 col-md-8 col-sm-12">
                                 <input type="text" class="form-control" placeholder="Other Subject 2" name="s_subject2" id="s_subject2">
                              </div>
                              <div class="col-lg-4 col-md-4 col-sm-12">
                                 <input type="text" class="form-control" name="s_subject2_gpa" id="s_subject2_gpa">
                              </div>
                           </div>
                        </div><span class="col-lg-1 col-md-1 col-sm-1 font-weight-bold">;</span>


                        <div class="col-lg-3 col-md-3 col-sm-11">
                           <div class="row">
                              <div class="col-lg-8 col-md-8 col-sm-12">
                                 <input type="text" class="form-control" placeholder="Other Subject 3" name="s_subject3" id="s_subject2">
                              </div>
                              <div class="col-lg-4 col-md-4 col-sm-12">
                                 <input type="text" class="form-control" name="s_subject3_gpa" id="s_subject2_gpa">
                              </div>
                           </div>
                        </div>

                        <div class="col-lg-5 col-md-5 col-sm-12" style="margin-top: 20px;">
                           <div class="row">
                              <div class="col-lg-5 col-md-5 col-sm-12">
                                 <label for="text" class="text-center ">Additional Sub. and Marks:</label>
                              </div>
                              <div class="col-lg-4 col-md-4 col-sm-12">
                                 <input type="text" class="form-control" name="s_additional_subject" id="s_additional_subject">
                              </div>
                              <div class="col-lg-3 col-md-3 col-sm-12">
                                 <input type="text" class="form-control" name="s_additional_subject_gpa" id="s_additional_subject_gpa">
                              </div>
                           </div>
                        </div>
                     </div>
                  </div>

                  <div class="row " id="ssc_humanities">
                     <div class="row m-3">
                        <div class="col-lg-3 col-md-3 col-sm-12">
                           <div class="row">
                              <div class="col-lg-12 col-md-12 col-sm-12">
                                 <label for="text" class="text-center ">Bangla:</label>
                              </div>
                              <div class="col-lg-12 col-md-12 col-sm-12">
                                 <input type="text" class="form-control" name="h_bangla" id="h_bangla">
                              </div>
                           </div>
                        </div>
                        <div class="col-lg-3 col-md-3 col-sm-12">
                           <div class="row">
                              <div class="col-lg-12 col-md-12 col-sm-12">
                                 <label for="text" class="text-center ">English:</label>
                              </div>
                              <div class="col-lg-12 col-md-12 col-sm-12">
                                 <input type="text" class="form-control" name="h_english" id="h_english">
                              </div>
                           </div>
                        </div>
                        <div class="col-lg-3 col-md-3 col-sm-12">
                           <div class="row">
                              <div class="col-lg-12 col-md-12 col-sm-12">
                                 <label for="text" class="text-center ">Religion:</label>
                              </div>
                              <div class="col-lg-12 col-md-12 col-sm-12">
                                 <input type="text" class="form-control" name="h_religion" id="h_religion">
                              </div>
                           </div>
                        </div>
                        <div class="col-lg-3 col-md-3 col-sm-12">
                           <div class="row">
                              <div class="col-lg-12 col-md-12 col-sm-12">
                                 <label for="text" class="text-center ">Mathematics:</label>
                              </div>
                              <div class="col-lg-12 col-md-12 col-sm-12">
                                 <input type="text" class="form-control" name="h_mathematics" id="h_mathematics">
                              </div>
                           </div>
                        </div>
                     </div>

                     <div class="row m-3">
                        <div class="col-lg-3 col-md-3 col-sm-12">
                           <div class="row">
                              <div class="col-lg-12 col-md-12 col-sm-12">
                                 <label for="text" class="text-center ">Science:</label>
                              </div>
                              <div class="col-lg-12 col-md-12 col-sm-12">
                                 <input type="text" class="form-control" name="h_science" id="h_science">
                              </div>
                           </div>
                        </div>

                        <div class="col-lg-3 col-md-3 col-sm-12">
                           <div class="row">
                              <div class="col-lg-12 col-md-12 col-sm-12">
                                 <label for="text" class="text-center ">Civics and Citizenship:</label>
                              </div>
                              <div class="col-lg-12 col-md-12 col-sm-12">
                                 <input type="text" class="form-control" name="h_civics" id="h_civics">
                              </div>
                           </div>
                        </div>

                        <div class="col-lg-3 col-md-3 col-sm-12">
                           <div class="row">
                              <div class="col-lg-12 col-md-12 col-sm-12">
                                 <label for="text" class="text-center ">Economics:</label>
                              </div>
                              <div class="col-lg-12 col-md-12 col-sm-12">
                                 <input type="text" class="form-control" name="h_economics" id="h_economics">
                              </div>
                           </div>
                        </div>


                        <div class="col-lg-3 col-md-3 col-sm-12">
                           <div class="row">
                              <div class="col-lg-12 col-md-12 col-sm-12">
                                 <label for="text" class="text-center ">Geography and Environment:</label>
                              </div>
                              <div class="col-lg-12 col-md-12 col-sm-12">
                                 <input type="text" class="form-control" name="h_geography" id="h_geography">
                              </div>
                           </div>
                        </div>
                        <!-- <div class="col-lg-3 col-md-3 col-sm-12">
                              <div class="row">
                                 <div class="col-lg-12 col-md-12 col-sm-12">
                                    <label for="text" class="text-center ">ICT:</label>
                                 </div>
                                 <div class="col-lg-12 col-md-12 col-sm-12">
                                    <input type="text" class="form-control" name="h_ict"
                                       id="h_ict">
                                 </div>
                              </div>
                           </div> -->
                        <!-- <div class="col-lg-3 col-md-3 col-sm-12">
                              <div class="row">
                                 <div class="col-lg-12 col-md-12 col-sm-12">
                                    <label for="text" class="text-center ">Career Education:</label>
                                 </div>
                                 <div class="col-lg-12 col-md-12 col-sm-12">
                                    <input type="text" class="form-control" name="h_career_education"
                                       id="h_career_education">
                                 </div>
                              </div>
                           </div> -->
                        <!-- <div class="col-lg-3 col-md-3 col-sm-12">
                              <div class="row">
                                 <div class="col-lg-12 col-md-12 col-sm-12">
                                    <label for="text" class="text-center ">Hist. of Bangladesh & World Civ.:</label>
                                 </div>
                                 <div class="col-lg-12 col-md-12 col-sm-12">
                                    <input type="text" class="form-control" name="h_his_bd"
                                       id="h_his_bd">
                                 </div>
                              </div>
                           </div> -->
                     </div>

                     <!-- <div class="row m-3">
                           <div class="col-lg-3 col-md-3 col-sm-12">
                              <div class="row">
                                 <div class="col-lg-12 col-md-12 col-sm-12">
                                    <label for="text" class="text-center ">Agriculture Studies:</label>
                                 </div>
                                 <div class="col-lg-12 col-md-12 col-sm-12">
                                    <input type="text" class="form-control" name="h_agri_studies"
                                       id="h_agri_studies">
                                 </div>
                              </div>
                           </div>
                           <div class="col-lg-3 col-md-3 col-sm-12">
                              <div class="row">
                                 <div class="col-lg-12 col-md-12 col-sm-12">
                                    <label for="text" class="text-center ">Physical Edu. Health & Sports:</label>
                                 </div>
                                 <div class="col-lg-12 col-md-12 col-sm-12">
                                    <input type="text" class="form-control" name="h_physical_edu"
                                       id="h_physical_edu">
                                 </div>
                              </div>
                           </div>
                           <div class="col-lg-3 col-md-3 col-sm-12">
                              <div class="row">
                                 <div class="col-lg-12 col-md-12 col-sm-12">
                                    <label for="text" class="text-center ">Civics and Citizenship:</label>
                                 </div>
                                 <div class="col-lg-12 col-md-12 col-sm-12">
                                    <input type="text" class="form-control" name="h_civics"
                                       id="h_civics">
                                 </div>
                              </div>
                           </div>
                           <div class="col-lg-3 col-md-3 col-sm-12">
                              <div class="row">
                                 <div class="col-lg-12 col-md-12 col-sm-12">
                                    <label for="text" class="text-center ">Geography and Environment:</label>
                                 </div>
                                 <div class="col-lg-12 col-md-12 col-sm-12">
                                    <input type="text" class="form-control" name="h_geography"
                                       id="h_geography">
                                 </div>
                              </div>
                           </div>
                        </div> -->

                     <h6 class="font-weight-bold">Other Subjects & Marks:</h6>

                     <div class="row m-3">
                        <div class="col-lg-3 col-md-3 col-sm-11">
                           <div class="row">
                              <div class="col-lg-8 col-md-8 col-sm-12">
                                 <input type="text" class="form-control" name="h_other_subject1" id="h_other_subject1">
                              </div>
                              <div class="col-lg-4 col-md-4 col-sm-12">
                                 <input type="text" class="form-control" name="h_other_subject1_gpa" id="h_other_subject1_gpa">
                              </div>
                           </div>
                        </div><span class="col-lg-1 col-md-1 col-sm-1 font-weight-bold">;</span>


                        <div class="col-lg-3 col-md-3 col-sm-11">
                           <div class="row">
                              <div class="col-lg-8 col-md-8 col-sm-12">
                                 <input type="text" class="form-control" name="h_other_subject2" id="h_other_subject2">
                              </div>
                              <div class="col-lg-4 col-md-4 col-sm-12">
                                 <input type="text" class="form-control" name="h_other_subject2_gpa" id="h_other_subject2_gpa">
                              </div>
                           </div>
                        </div><span class="col-lg-1 col-md-1 col-sm-1 font-weight-bold">;</span>

                        <div class="col-lg-3 col-md-3 col-sm-11">
                           <div class="row">
                              <div class="col-lg-8 col-md-8 col-sm-12">
                                 <input type="text" class="form-control" name="h_other_subject3" id="h_other_subject3">
                              </div>
                              <div class="col-lg-4 col-md-4 col-sm-12">
                                 <input type="text" class="form-control" name="h_other_subject3_gpa" id="h_other_subject3_gpa">
                              </div>
                           </div>
                        </div><span class="col-lg-1 col-md-1 col-sm-1 font-weight-bold">;</span>

                     </div>

                     <div class="row m-3">
                        <div class="col-lg-3 col-md-3 col-sm-12">
                           <div class="row">
                              <div class="col-lg-8 col-md-8 col-sm-12">
                                 <input type="text" class="form-control" name="h_other_subject4" id="h_other_subject4">
                              </div>
                              <div class="col-lg-4 col-md-4 col-sm-12">
                                 <input type="text" class="form-control" name="h_other_subject4_gpa" id="h_other_subject4_gpa">
                              </div>
                           </div>
                        </div><span class="col-lg-1 col-md-1 col-sm-1 font-weight-bold">;</span>
                        <div class="col-lg-6 col-md-6 col-sm-12">
                           <div class="row">
                              <div class="col-lg-5 col-md-5 col-sm-12">
                                 <label for="text" class="text-center ">Additional Sub. and Marks:</label>
                              </div>
                              <div class="col-lg-4 col-md-4 col-sm-12">
                                 <input type="text" class="form-control" name="h_addi_subject" id="h_addi_subject">
                              </div>
                              <div class="col-lg-3 col-md-3 col-sm-12">
                                 <input type="text" class="form-control" name="h_addi_subject_gpa" id="h_addi_subject_gpa">
                              </div>
                           </div>
                        </div>
                     </div>
                  </div>

                  <div class="row " id="ssc_business">
                     <div class="row m-3">
                        <div class="col-lg-3 col-md-3 col-sm-12">
                           <div class="row">
                              <div class="col-lg-12 col-md-12 col-sm-12">
                                 <label for="text" class="text-center ">Bangla:</label>
                              </div>
                              <div class="col-lg-12 col-md-12 col-sm-12">
                                 <input type="text" class="form-control" name="b_bangla" id="b_bangla">
                              </div>
                           </div>
                        </div>
                        <div class="col-lg-3 col-md-3 col-sm-12">
                           <div class="row">
                              <div class="col-lg-12 col-md-12 col-sm-12">
                                 <label for="text" class="text-center ">English:</label>
                              </div>
                              <div class="col-lg-12 col-md-12 col-sm-12">
                                 <input type="text" class="form-control" name="b_english" id="b_english">
                              </div>
                           </div>
                        </div>
                        <div class="col-lg-3 col-md-3 col-sm-12">
                           <div class="row">
                              <div class="col-lg-12 col-md-12 col-sm-12">
                                 <label for="text" class="text-center ">Religion:</label>
                              </div>
                              <div class="col-lg-12 col-md-12 col-sm-12">
                                 <input type="text" class="form-control" name="b_religion" id="b_religion">
                              </div>
                           </div>
                        </div>
                        <div class="col-lg-3 col-md-3 col-sm-12">
                           <div class="row">
                              <div class="col-lg-12 col-md-12 col-sm-12">
                                 <label for="text" class="text-center ">Mathematics:</label>
                              </div>
                              <div class="col-lg-12 col-md-12 col-sm-12">
                                 <input type="text" class="form-control" name="b_mathematics" id="b_mathematics">
                              </div>
                           </div>
                        </div>
                     </div>

                     <div class="row m-3">
                        <div class="col-lg-3 col-md-3 col-sm-12">
                           <div class="row">
                              <div class="col-lg-12 col-md-12 col-sm-12">
                                 <label for="text" class="text-center ">Science:</label>
                              </div>
                              <div class="col-lg-12 col-md-12 col-sm-12">
                                 <input type="text" class="form-control" name="b_science" id="b_science">
                              </div>
                           </div>
                        </div>
                        <div class="col-lg-3 col-md-3 col-sm-12">
                           <div class="row">
                              <div class="col-lg-12 col-md-12 col-sm-12">
                                 <label for="text" class="text-center ">Accounting:</label>
                              </div>
                              <div class="col-lg-12 col-md-12 col-sm-12">
                                 <input type="text" class="form-control" name="b_accounting" id="b_accounting">
                              </div>
                           </div>
                        </div>
                        <!-- <div class="col-lg-3 col-md-3 col-sm-12">
                              <div class="row">
                                 <div class="col-lg-12 col-md-12 col-sm-12">
                                    <label for="text" class="text-center ">ICT:</label>
                                 </div>
                                 <div class="col-lg-12 col-md-12 col-sm-12">
                                    <input type="text" class="form-control" name="b_ict"
                                       id="b_ict">
                                 </div>
                              </div>
                           </div> -->
                        <div class="col-lg-3 col-md-3 col-sm-12">
                           <div class="row">
                              <div class="col-lg-12 col-md-12 col-sm-12">
                                 <label for="text" class="text-center ">Finance & Banking:</label>
                              </div>
                              <div class="col-lg-12 col-md-12 col-sm-12">
                                 <input type="text" class="form-control" name="b_finance" id="b_finance">
                              </div>
                           </div>
                        </div>


                        <div class="col-lg-3 col-md-3 col-sm-12">
                           <div class="row">
                              <div class="col-lg-12 col-md-12 col-sm-12">
                                 <label for="text" class="text-center ">Business Entrepreneurship:</label>
                              </div>
                              <div class="col-lg-12 col-md-12 col-sm-12">
                                 <input type="text" class="form-control" name="b_business" id="b_business">
                              </div>
                           </div>
                        </div>
                     </div>

                     <!-- <div class="row m-3">
                           <div class="col-lg-3 col-md-3 col-sm-12">
                              <div class="row">
                                 <div class="col-lg-12 col-md-12 col-sm-12">
                                    <label for="text" class="text-center ">Business Entrepreneurship:</label>
                                 </div>
                                 <div class="col-lg-12 col-md-12 col-sm-12">
                                    <input type="text" class="form-control" name="b_business"
                                       id="b_business">
                                 </div>
                              </div>
                           </div>
                           <div class="col-lg-3 col-md-3 col-sm-12">
                              <div class="row">
                                 <div class="col-lg-12 col-md-12 col-sm-12">
                                    <label for="text" class="text-center ">Agriculture Studies:</label>
                                 </div>
                                 <div class="col-lg-12 col-md-12 col-sm-12">
                                    <input type="text" class="form-control" name="b_agriculture"
                                       id="b_agriculture">
                                 </div>
                              </div>
                           </div>
                           <div class="col-lg-3 col-md-3 col-sm-12">
                              
                           </div>
                           <div class="col-lg-3 col-md-3 col-sm-12">
                              
                           </div>
                        </div> -->

                     <h6 class="font-weight-bold m-3 col-lg-12 col-md-12 col-sm-12">Other Subjects & Marks:</h6>

                     <div class="row m-3">
                        <div class="col-lg-3 col-md-3 col-sm-11">
                           <div class="row">
                              <div class="col-lg-8 col-md-8 col-sm-12">
                                 <input type="text" class="form-control" name="b_subject1" id="b_subject1">
                              </div>
                              <div class="col-lg-4 col-md-4 col-sm-12">
                                 <input type="text" class="form-control" name="b_subject1_gpa" id="b_subject1_gpa">
                              </div>
                           </div>
                        </div><span class="col-lg-1 col-md-1 col-sm-1 font-weight-bold">;</span>
                        <div class="col-lg-3 col-md-3 col-sm-11">
                           <div class="row">
                              <div class="col-lg-8 col-md-8 col-sm-12">
                                 <input type="text" class="form-control" name="b_subject2" id="b_subject2">
                              </div>
                              <div class="col-lg-4 col-md-4 col-sm-12">
                                 <input type="text" class="form-control" name="b_subject2_gpa" id="b_subject2_gpa">
                              </div>
                           </div>
                        </div>


                        <div class="col-lg-3 col-md-3 col-sm-11">
                           <div class="row">
                              <div class="col-lg-8 col-md-8 col-sm-12">
                                 <input type="text" class="form-control" name="b_subject3" id="b_subject1">
                              </div>
                              <div class="col-lg-4 col-md-4 col-sm-12">
                                 <input type="text" class="form-control" name="b_subject3_gpa" id="b_subject1_gpa">
                              </div>
                           </div>
                        </div><span class="col-lg-1 col-md-1 col-sm-1 font-weight-bold">;</span>
                        <div class="col-lg-3 col-md-3 col-sm-11" style="margin-top: 20px;">
                           <div class="row">
                              <div class="col-lg-8 col-md-8 col-sm-12">
                                 <input type="text" class="form-control" name="b_subject4" id="b_subject2">
                              </div>
                              <div class="col-lg-4 col-md-4 col-sm-12">
                                 <input type="text" class="form-control" name="b_subject4_gpa" id="b_subject2_gpa">
                              </div>
                           </div>
                        </div>

                        <div class="col-lg-5 col-md-5 col-sm-12" style="margin-top: 20px;">
                           <div class="row">
                              <div class="col-lg-5 col-md-5 col-sm-12">
                                 <label for="text" class="text-center ">Additional Sub. and Marks:</label>
                              </div>
                              <div class="col-lg-4 col-md-4 col-sm-12">
                                 <input type="text" class="form-control" name="b_additional_sub" id="b_additional_sub">
                              </div>
                              <div class="col-lg-3 col-md-3 col-sm-12">
                                 <input type="text" class="form-control" name="b_additional_sub_gpa" id="b_additional_sub_gpa">
                              </div>
                           </div>
                        </div>
                     </div>
                  </div>

                  <div class="row m-3">
                     <div class="col-lg-6 col-md-6 col-sm-12">
                        <div class="row">
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <label for="text" class="text-center font-weight-bold">Permanent Address:</label>
                           </div>
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <textarea name="permanent_address" id="permanent_address" cols="20" rows="4" maxlength="190"></textarea>
                           </div>
                        </div>
                     </div>
                     <div class="col-lg-6 col-md-6 col-sm-12">
                        <div class="row">
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <label for="text" class="text-center font-weight-bold">Dhaka Residence Address:</label>
                           </div>
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <textarea name="dhaka_resi_address" id="dhaka_resi_address" cols="20" rows="4" maxlength="190"></textarea>
                           </div>
                        </div>
                     </div>
                  </div>
                  <h5 class="font-weight-bold"><u>Father's Information:</u></h5>

                  <div class="row m-3">
                     <div class="col-lg-3 col-md-3 col-sm-12">
                        <div class="row">
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <label for="text" class="text-center ">Name:</label>
                           </div>
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <input type="text" class="form-control" name="f_name" id="f_name" oninput="checkLength6(this)">
                           </div>
                        </div>
                     </div>
                     <div class="col-lg-3 col-md-3 col-sm-12">
                        <div class="row">
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <label for="text" class="text-center ">Occupation:</label>
                           </div>
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <input type="text" class="form-control" name="f_occupation" id="f_occupation" oninput="checkLength7(this)">
                           </div>
                        </div>
                     </div>
                     <div class="col-lg-3 col-md-3 col-sm-12">
                        <div class="row">
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <label for="text" class="text-center ">Designation (in detail):</label>
                           </div>
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <input type="text" class="form-control" name="f_designation" id="f_designation" oninput="checkLength8(this)">
                           </div>
                        </div>
                     </div>
                     <div class="col-lg-3 col-md-3 col-sm-12">
                        <div class="row">
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <label for="text" class="text-center ">National ID Number:</label>
                           </div>
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <input type="text" class="form-control" name="f_national_id_number" id="f_national_id_number">
                           </div>
                        </div>
                     </div>
                  </div>

                  <div class="row m-3">
                     <div class="col-lg-12 col-md-12 col-sm-12">
                        <div class="row">
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <label for="text" class="text-center ">Name of Institution/Organization/Office with Address:</label>
                           </div>
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <textarea name="f_office_Address" id="f_office_Address" cols="20" rows="4" maxlength="190"></textarea>
                           </div>
                        </div>
                     </div>
                  </div>

                  <div class="row m-3">
                     <div class="col-lg-3 col-md-3 col-sm-12">
                        <div class="row">
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <label for="text" class="text-center ">Mobile Number:</label>
                           </div>
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <input type="text" class="form-control" name="f_mobile_number" id="f_mobile_number" oninput="validateNumber2(this)">

                              <span id="msg2" style="color:red; font-weight:bold; font-size: 12px;"></span>

                           </div>
                        </div>
                     </div>
                     <div class="col-lg-4 col-md-4 col-sm-12">
                        <div class="row">
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <label for="text" class="text-center ">Monthly Income of Parents Tk.:</label>
                           </div>
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <input type="text" class="form-control" name="f_monthly_income" id="f_monthly_income">
                           </div>
                        </div>
                     </div>
                     <div class="col-lg-4 col-md-4 col-sm-12">
                        <div class="row">
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <label for="text" class="text-center ">Total Monthly Income of Family Tk.:</label>
                           </div>
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <input type="text" class="form-control" name="family_monthly_income" id="family_monthly_income">
                           </div>
                        </div>
                     </div>
                  </div>

                  <h5 class="font-weight-bold"><u>Mother's Information:</u></h5>


                  <div class="row m-3">
                     <div class="col-lg-3 col-md-3 col-sm-12">
                        <div class="row">
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <label for="text" class="text-center ">Name:</label>
                           </div>
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <input type="text" class="form-control" name="m_name" id="m_name" oninput="checkLength9(this)">
                           </div>
                        </div>
                     </div>
                     <div class="col-lg-3 col-md-3 col-sm-12">
                        <div class="row">
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <label for="text" class="text-center ">Occupation:</label>
                           </div>
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <input type="text" class="form-control" name="m_occupation" id="m_occupation" 
                              oninput="checkLength10(this)">
                           </div>
                        </div>
                     </div>
                     <div class="col-lg-3 col-md-3 col-sm-12">
                        <div class="row">
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <label for="text" class="text-center ">Designation:</label>
                           </div>
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <input type="text" class="form-control" name="m_designation" id="m_designation" oninput="checkLength11(this)">
                           </div>
                        </div>
                     </div>
                     <div class="col-lg-3 col-md-3 col-sm-12">
                        <div class="row">
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <label for="text" class="text-center ">National ID Number:</label>
                           </div>
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <input type="text" class="form-control" name="m_national_id_number" id="m_national_id_number">
                           </div>
                        </div>
                     </div>
                  </div>

                  <div class="row m-3">
                     <div class="col-lg-3 col-md-3 col-sm-12">
                        <div class="row">
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <label for="text" class="text-center ">Name of Office with Address:</label>
                           </div>
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <textarea name="m_office_address" id="m_office_address" cols="20" rows="4" maxlength="190"></textarea>
                           </div>
                        </div>
                     </div>
                     <div class="col-lg-3 col-md-3 col-sm-12">
                        <div class="row">
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <label for="text" class="text-center ">Mobile Number:</label>
                           </div>
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <input type="text" class="form-control" name="m_mobile_number" id="m_mobile_number" oninput="validateNumber3(this)">
                              <span id="msg3" style="color:red; font-weight:bold; font-size: 12px;"></span>

                           </div>
                        </div>
                     </div>
                  </div>

                  <h5><u class="font-weight-bold">Local Guardian:</u>(If parents are not in Dhaka City)</h5>

                  <div class="row m-3">
                     <div class="col-lg-3 col-md-3 col-sm-12">
                        <div class="row">
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <label for="text" class="text-center ">Name:</label>
                           </div>
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <input type="text" class="form-control" name="local_name" id="local_name" oninput="checkLength12(this)">
                           </div>
                        </div>
                     </div>
                     <div class="col-lg-3 col-md-3 col-sm-12">
                        <div class="row">
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <label for="text" class="text-center ">Relationship:</label>
                           </div>
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <input type="text" class="form-control" name="local_relationship" id="local_relationship" oninput="checkLength13(this)">
                           </div>
                        </div>
                     </div>
                     <div class="col-lg-3 col-md-3 col-sm-12">
                        <div class="row">
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <label for="text" class="text-center ">Occupation:</label>
                           </div>
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <input type="text" class="form-control" name="local_occupation" id="local_occupation" oninput="checkLength14(this)">
                           </div>
                        </div>
                     </div>
                     <div class="col-lg-3 col-md-3 col-sm-12">
                        <div class="row">
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <label for="text" class="text-center ">Designation(in detail):</label>
                           </div>
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <input type="text" class="form-control" name="local_designation" id="local_designation" oninput="checkLength15(this)">
                           </div>
                        </div>
                     </div>
                  </div>

                  <div class="row m-3">
                     <div class="col-lg-3 col-md-3 col-sm-12">
                        <div class="row">
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <label for="text" class="text-center ">Dhaka Residence Address:</label>
                           </div>
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <textarea name="local_dhaka_Address" id="local_dhaka_Address" cols="20" rows="4" maxlength="190"></textarea>
                           </div>
                        </div>
                     </div>
                     <div class="col-lg-3 col-md-3 col-sm-12">
                        <div class="row">
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <label for="text" class="text-center ">Mobile Number:</label>
                           </div>
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <input type="text" class="form-control" name="local_mobile_number" id="local_mobile_number" oninput="validateNumber4(this)">
                              <span id="msg4" style="color:red; font-weight:bold; font-size: 12px;"></span>
                           </div>
                        </div>
                     </div>
                  </div>

                  <h5 class="font-weight-bold"><u>Progress Reports to Be Sent To:</u></h5>

                  <div class="row m-3">
                     <div class="col-lg-3 col-md-3 col-sm-12">
                        <div class="row">
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <label for="text" class="text-center ">Name:</label>
                           </div>
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <input type="text" class="form-control" name="progress_name" id="progress_name" oninput="checkLength16(this)">
                           </div>
                        </div>
                     </div>
                     <div class="col-lg-3 col-md-3 col-sm-12">
                        <div class="row">
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <label for="text" class="text-center ">Relationship:</label>
                           </div>
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <input type="text" class="form-control" name="progress_relationship" id="progress_relationship" oninput="checkLength17(this)">
                           </div>
                        </div>
                     </div>
                     <div class="col-lg-3 col-md-3 col-sm-12">
                        <div class="row">
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <label for="text" class="text-center ">Address:</label>
                           </div>
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <textarea name="progress_address" id="progress_address" cols="20" rows="4" maxlength="190"></textarea>
                           </div>
                        </div>
                     </div>
                     <div class="col-lg-3 col-md-3 col-sm-12">
                        <div class="row">
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <label for="text" class="text-center ">Mobile Number:</label>
                           </div>
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <input type="text" class="form-control" name="progress_mobile_number" id="progress_mobile_number" oninput="validateNumber5(this)">
                              <span id="msg5" style="color:red; font-weight:bold; font-size: 12px;"></span>
                           </div>
                        </div>
                     </div>
                  </div>
                  <h5 class="col-lg-12 col-md-12 col-sm-12 text-center">কলেজে ৭টি বিষয় নিয়ে পড়তে হবে। তাই শুধু Additional বিষয়ে টিক চিহ্ন দিতে হবে। </h5>
                  <h5 class="col-lg-12 col-md-12 col-sm-12 text-center">Subjects you wish to study at Notre Dame College</h5>


                  <div class="" id="science">
                     <div class="">
                        <div class="row m-3">
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <div class="row">
                                 <div class="form-check">
                                    <input class="form-check-input" type="checkbox" value="" id="flexCheckChecked" checked hidden>
                                    <label class="form-check-label" for="flexCheckChecked">
                                       Bangla
                                    </label>
                                 </div>
                                 <div class="form-check">
                                    <input class="form-check-input" type="checkbox" value="" id="flexCheckChecked" checked hidden>
                                    <label class="form-check-label" for="flexCheckChecked">
                                       English
                                    </label>
                                 </div>
                                 <div class="form-check">
                                    <input class="form-check-input" type="checkbox" value="" id="flexCheckChecked" checked hidden>
                                    <label class="form-check-label" for="flexCheckChecked">
                                       ICT(Information & Communication Technology)
                                    </label>
                                 </div>
                                 <div class="form-check">
                                    <input class="form-check-input" type="checkbox" value="" id="flexCheckChecked" checked hidden>
                                    <label class="form-check-label" for="flexCheckChecked">
                                       Physics
                                    </label>
                                 </div>
                                 <div class="form-check">
                                    <input class="form-check-input" type="checkbox" value="" id="flexCheckChecked" checked hidden>
                                    <label class="form-check-label" for="flexCheckChecked">
                                       Chemistry
                                    </label>
                                 </div>
                                 <h5 class="col-lg-12 col-md-12 col-sm-12 text-center font-weight-bold">(Choose any one as an additional subject from the below)</h5>
                              </div>
                           </div>
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <div class="row">
                                 <div class="form-check col-lg-4 col-md-4 col-sm-12">
                                    <input class="form-check-input" type="radio" name="scienceR" id="HigherMath" value="HigherMath">
                                    <label class="form-check-label" for="HigherMath">
                                       Higher Math
                                    </label>
                                 </div>
                                 <div class="form-check col-lg-4 col-md-4 col-sm-12">
                                    <input class="form-check-input" type="radio" name="scienceR" id="Biology" value="Biology">
                                    <label class="form-check-label" for="Biology">
                                       Biology
                                    </label>
                                 </div>
                              </div>
                           </div>
                        </div>
                     </div>
                  </div>

                  <div class="" id="humanities">
                     <div class="row  m-3">
                        <div class="col-lg-6 col-md-6 col-sm-12">
                           <div class="row">
                              <div class="col-lg-3 col-md-3 col-sm-12">
                                 <label for="text" class="text-center font-weight-bold">Groups:</label>
                              </div>
                              <div class="col-lg-5 col-md-5 col-sm-12">
                                 <select id="SelectGroup" name="SelectGroup" class="form-select form-control">
                                    <option>Select Group</option>
                                    <option value="03">Group-H</option>
                                    <option value="04">Group-W</option>
                                    <option value="05">Group-G</option>
                                    <option value="06">Group-L</option>
                                 </select>
                              </div>
                           </div>
                        </div>
                     </div>
                     <div class="03 group">
                        <div class="row m-3">
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <div class="row">
                                 <div class="form-check">
                                    <input class="form-check-input" type="checkbox" value="" id="flexCheckChecked" checked hidden>
                                    <label class="form-check-label" for="flexCheckChecked">
                                       Bangla
                                    </label>
                                 </div>
                                 <div class="form-check">
                                    <input class="form-check-input" type="checkbox" value="" id="flexCheckChecked" checked hidden>
                                    <label class="form-check-label" for="flexCheckChecked">
                                       English
                                    </label>
                                 </div>
                                 <div class="form-check">
                                    <input class="form-check-input" type="checkbox" value="" id="flexCheckChecked" checked hidden>
                                    <label class="form-check-label" for="flexCheckChecked">
                                       ICT(Information & Communication Technology)
                                    </label>
                                 </div>
                                 <div class="form-check">
                                    <input class="form-check-input" type="checkbox" value="" id="flexCheckChecked" checked hidden>
                                    <label class="form-check-label" for="flexCheckChecked">
                                       History
                                    </label>
                                 </div>
                                 <div class="form-check">
                                    <input class="form-check-input" type="checkbox" value="" id="flexCheckChecked" checked hidden>
                                    <label class="form-check-label" for="flexCheckChecked">
                                       Social Work
                                    </label>
                                 </div>
                                 <h5 class="col-lg-12 col-md-12 col-sm-12 text-center font-weight-bold">(Choose any one as an additional subject from the below)</h5>
                              </div>
                           </div>
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <div class="row">
                                 <div class="form-check col-lg-4 col-md-4 col-sm-12">
                                    <input class="form-check-input" type="radio" name="grpH" id="Economicsh" value="Economicsh" checked>
                                    <label class="form-check-label" for="Economicsh">
                                       Economics
                                    </label>
                                 </div>
                                 <div class="form-check col-lg-4 col-md-4 col-sm-12">
                                    <input class="form-check-input" type="radio" name="grpH" id="Logich" value="Logich">
                                    <label class="form-check-label" for="Logich">
                                       Logic
                                    </label>
                                 </div>
                              </div>
                           </div>
                        </div>
                     </div>

                     <div class="04 group">
                        <div class="row m-3">
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <div class="row">
                                 <div class="form-check">
                                    <input class="form-check-input" type="checkbox" value="" id="flexCheckChecked" checked hidden>
                                    <label class="form-check-label" for="flexCheckChecked">
                                       Bangla
                                    </label>
                                 </div>
                                 <div class="form-check">
                                    <input class="form-check-input" type="checkbox" value="" id="flexCheckChecked" checked hidden>
                                    <label class="form-check-label" for="flexCheckChecked">
                                       English
                                    </label>
                                 </div>
                                 <div class="form-check">
                                    <input class="form-check-input" type="checkbox" value="" id="flexCheckChecked" checked hidden>
                                    <label class="form-check-label" for="flexCheckChecked">
                                       ICT(Information & Communication Technology)
                                    </label>
                                 </div>
                                 <div class="form-check">
                                    <input class="form-check-input" type="checkbox" value="" id="flexCheckChecked" checked hidden>
                                    <label class="form-check-label" for="flexCheckChecked">
                                       Economics
                                    </label>
                                 </div>
                                 <div class="form-check">
                                    <input class="form-check-input" type="checkbox" value="" id="flexCheckChecked" checked hidden>
                                    <label class="form-check-label" for="flexCheckChecked">
                                       Social Work
                                    </label>
                                 </div>
                                 <h5 class="col-lg-12 col-md-12 col-sm-12 text-center font-weight-bold">(Choose any one as an additional subject from the below)</h5>
                              </div>
                           </div>
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <div class="row">
                                 <div class="form-check col-lg-4 col-md-4 col-sm-12">
                                    <input class="form-check-input" type="radio" name="grpW" id="Logicw" value="Logicw" checked>
                                    <label class="form-check-label" for="Logicw">
                                       Geo.
                                    </label>
                                 </div>
                                 <div class="form-check col-lg-4 col-md-4 col-sm-12">
                                    <input class="form-check-input" type="radio" name="grpW" id="Civicsw" value="Civicsw">
                                    <label class="form-check-label" for="Civicsw">
                                       Civics
                                    </label>
                                 </div>
                              </div>
                           </div>
                        </div>
                     </div>

                     <div class="05 group">
                        <div class="row m-3">
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <div class="row">
                                 <div class="form-check">
                                    <input class="form-check-input" type="checkbox" value="" id="flexCheckChecked" checked hidden>
                                    <label class="form-check-label" for="flexCheckChecked">
                                       Bangla
                                    </label>
                                 </div>
                                 <div class="form-check">
                                    <input class="form-check-input" type="checkbox" value="" id="flexCheckChecked" checked hidden>
                                    <label class="form-check-label" for="flexCheckChecked">
                                       English
                                    </label>
                                 </div>
                                 <div class="form-check">
                                    <input class="form-check-input" type="checkbox" value="" id="flexCheckChecked" checked hidden>
                                    <label class="form-check-label" for="flexCheckChecked">
                                       ICT(Information & Communication Technology)
                                    </label>
                                 </div>
                                 <div class="form-check">
                                    <input class="form-check-input" type="checkbox" value="" id="flexCheckChecked" checked hidden>
                                    <label class="form-check-label" for="flexCheckChecked">
                                       Logic
                                    </label>
                                 </div>
                                 <div class="form-check">
                                    <input class="form-check-input" type="checkbox" value="" id="flexCheckChecked" checked hidden>
                                    <label class="form-check-label" for="flexCheckChecked">
                                       Geography
                                    </label>
                                 </div>
                                 <h5 class="col-lg-12 col-md-12 col-sm-12 text-center font-weight-bold">(Choose any one as an additional subject from the below)</h5>
                              </div>
                           </div>
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <div class="row">
                                 <div class="form-check col-lg-4 col-md-4 col-sm-12">
                                    <input class="form-check-input" type="radio" name="grpG" id="Economicsg" value="Economicsg" checked>
                                    <label class="form-check-label" for="Economicsg">
                                       Economics
                                    </label>
                                 </div>
                                 <div class="form-check col-lg-4 col-md-4 col-sm-12">
                                    <input class="form-check-input" type="radio" name="grpG" id="Civicsg" value="Civicsg">
                                    <label class="form-check-label" for="Civicsg">
                                       Civics
                                    </label>
                                 </div>
                              </div>
                           </div>
                        </div>
                     </div>

                     <div class="06 group">
                        <div class="row m-3">
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <div class="row">
                                 <div class="form-check">
                                    <input class="form-check-input" type="checkbox" value="" id="flexCheckChecked" checked hidden>
                                    <label class="form-check-label" for="flexCheckChecked">
                                       Bangla
                                    </label>
                                 </div>
                                 <div class="form-check">
                                    <input class="form-check-input" type="checkbox" value="" id="flexCheckChecked" checked hidden>
                                    <label class="form-check-label" for="flexCheckChecked">
                                       English
                                    </label>
                                 </div>
                                 <div class="form-check">
                                    <input class="form-check-input" type="checkbox" value="" id="flexCheckChecked" checked hidden>
                                    <label class="form-check-label" for="flexCheckChecked">
                                       ICT(Information & Communication Technology)
                                    </label>
                                 </div>
                                 <div class="form-check">
                                    <input class="form-check-input" type="checkbox" value="" id="flexCheckChecked" checked hidden>
                                    <label class="form-check-label" for="flexCheckChecked">
                                       Logic
                                    </label>
                                 </div>
                                 <div class="form-check">
                                    <input class="form-check-input" type="checkbox" value="" id="flexCheckChecked" checked hidden>
                                    <label class="form-check-label" for="flexCheckChecked">
                                       History
                                    </label>
                                 </div>
                                 <h5 class="col-lg-12 col-md-12 col-sm-12 text-center font-weight-bold">(Choose any one as an additional subject from the below)</h5>
                              </div>
                           </div>
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <div class="row">
                                 <div class="form-check col-lg-4 col-md-4 col-sm-12">
                                    <input class="form-check-input" type="radio" name="grpL" id="Economicsl" value="Economicsl" checked>
                                    <label class="form-check-label" for="Economicsl">
                                       Economics
                                    </label>
                                 </div>
                                 <div class="form-check col-lg-4 col-md-4 col-sm-12">
                                    <input class="form-check-input" type="radio" name="grpL" id="Civicsl" value="Civicsl">
                                    <label class="form-check-label" for="Civicsl">
                                       Civics
                                    </label>
                                 </div>
                              </div>
                           </div>
                        </div>
                     </div>
                  </div>

                  <div class="" id="business">
                     <div class="">
                        <div class="row m-3">
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <div class="row">
                                 <h5 class="col-lg-12 col-md-12 col-sm-12 text-center">If you want to take statistics, you should have at least GPA-4.50, Grade Point - 4.00 in Math in SSC</h5>
                                 <div class="form-check">
                                    <input class="form-check-input" type="checkbox" value="" id="flexCheckChecked" checked hidden>
                                    <label class="form-check-label" for="flexCheckChecked">
                                       Bangla
                                    </label>
                                 </div>
                                 <div class="form-check">
                                    <input class="form-check-input" type="checkbox" value="" id="flexCheckChecked" checked hidden>
                                    <label class="form-check-label" for="flexCheckChecked">
                                       English
                                    </label>
                                 </div>
                                 <div class="form-check">
                                    <input class="form-check-input" type="checkbox" value="" id="flexCheckChecked" checked hidden>
                                    <label class="form-check-label" for="flexCheckChecked">
                                       ICT(Information & Communication Technology)
                                    </label>
                                 </div>
                                 <div class="form-check">
                                    <input class="form-check-input" type="checkbox" value="" id="flexCheckChecked" checked hidden>
                                    <label class="form-check-label" for="flexCheckChecked">
                                       Accounting
                                    </label>
                                 </div>
                                 <div class="form-check">
                                    <input class="form-check-input" type="checkbox" value="" id="flexCheckChecked" checked hidden>
                                    <label class="form-check-label" for="flexCheckChecked">
                                       Business Organization and Management
                                    </label>
                                 </div>
                                 <div class="form-check">
                                    <input class="form-check-input" type="checkbox" value="" id="flexCheckChecked" checked hidden>
                                    <label class="form-check-label" for="flexCheckChecked">
                                       Finance, Banking & Insurance
                                    </label>
                                 </div>
                                 <h5 class="col-lg-12 col-md-12 col-sm-12 text-center font-weight-bold">(Choose any one as an additional subject from the below)</h5>
                              </div>
                           </div>
                           <h5 class="col-lg-12 col-md-12 col-sm-12 text-center" style="font-weight: bold;color: red;">If you want to take statistics, you should have at least GPA-4.50, Grade Point - 4.00 in Math in SSC</h5>
                           <div class="col-lg-12 col-md-12 col-sm-12">
                              <div class="row">
                                 <div class="form-check col-lg-4 col-md-4 col-sm-12">
                                    <input class="form-check-input" type="radio" name="busR" id="Statistics" value="Statistics" checked>
                                    <label class="form-check-label" for="Statistics">
                                       Statistics
                                    </label>
                                    <span id="e_Statistics" style="color:red; font-weight:bold"></span>
                                 </div>
                                 <div class="form-check col-lg-4 col-md-4 col-sm-12">
                                    <input class="form-check-input" type="radio" name="busR" id="Economics" value="Economics">
                                    <label class="form-check-label" for="Economics">
                                       Economics
                                    </label>
                                    <span id="e_Economics" style="color:red; font-weight:bold"></span>
                                 </div>
                              </div>
                           </div>
                        </div>
                     </div>
                  </div>


                  <h5 class="font-weight-bold">Activites in which you took part while in high School:</h5>

                  <div class="col-lg-12 col-md-12 col-sm-12 m-3">
                     <div class="row">
                        <div class="col-lg-2 col-md-2 col-sm-12">
                           <label for="text" class="text-center ">Sports(Details):</label>
                        </div>
                        <div class="col-lg-8 col-md-8 col-sm-12">
                           <input type="text" class="form-control" name="sports" id="sports" oninput="checkLength18(this)">
                        </div>
                     </div>
                  </div>
                  <div class="col-lg-12 col-md-12 col-sm-12 m-3">
                     <div class="row">
                        <div class="col-lg-1 col-md-1 col-sm-12">
                           <label for="text" class="text-center ">Clubs:</label>
                        </div>
                        <div class="col-lg-9 col-md-9 col-sm-12">
                           <input type="text" class="form-control" name="clubs" id="clubs" oninput="checkLength19(this)">
                        </div>
                     </div>
                  </div>
                  <div class="col-lg-12 col-md-12 col-sm-12 m-3">
                     <div class="row">
                        <div class="col-lg-1 col-md-1 col-sm-12">
                           <label for="text" class="text-center ">Others:</label>
                        </div>
                        <div class="col-lg-9 col-md-9 col-sm-12">
                           <input type="text" class="form-control" name="others" id="others" oninput="checkLength20(this)"> 
                        </div>
                     </div>
                  </div>

                  <div class="row">

                     <div class=" col-md-12 col-lg-12 col-sm-12">
                        <div>
                           <h5 style="font-weight: bold; ">Agreement by guardian and student regarding the college policy on discipline:</h5>

                           <p>"I hereby agree to abide by the rules and regulations of Notre Dame College and I promise that as long as I am a student
                              of this college I will do nothing , either inside or outside the college that may interfere with its orderly administration
                              and discipline. If it happens I will accept the decision made by the college authority in accordance with the policy of the college.
                              I further declare that the statments made above are true to the best of my knowledge."
                           </p>
                        </div>
                        <br>

                        <div class="row">
                           <div class="col-5">
                              Date: ......................
                           </div>
                           <div class="offset-9" style="text-decoration: overline;">
                              Signature of student:
                           </div>
                        </div>
                        <br>
                        <p>
                           "I hereby attest the statements made above by my son/ward, I declare that shall be responsible for ther
                           good conduct of my son/ward ............................................... and that I shall be
                           responsible for the payment of fees according to the regulations of the college."
                        </p>

                        <div class="row">
                           <div class="col-5">
                              Date: ......................
                           </div>
                           <div class="offset-8">
                              <p style="text-decoration: overline;">Signature of Parents/Guardian:</p>
                              <p>Name:........................................</p>
                              <p>Relatoin with the person signing:........</p>
                           </div>

                        </div>

                     </div>





                     <div class="col-lg-12 col-md-12 col-sm-12">
                        <h6 class="font-weight-bold">When the information are entered, click on the submit button, the admission form will appear. Print the
                           displayed admission form in A4 size paper and bring it on admission day.</h6>
                     </div>
                  </div>






                  <div class="row">
                     <div class="col-lg-4 col-md-4 col-sm-12">
                     </div>
                     <div class="col-lg-4 col-md-4 col-sm-12">
                        <!-- <button type="button" class="btn btn-success m-3" name='submit' id='submit' style="border-radius: 0px 15px 0px 15px;" onclick="printContent('divName')">
                           Submit
                           </button> -->


                        <div class="col text-center">
                           <button type="submit" class="btn btn-success m-3" name='submit' onclick="return Validate()" id='submit'>
                              Submit
                           </button>
                        </div>
                     </div>
                     <div class="col-lg-4 col-md-4 col-sm-12">
                     </div>
                  </div>

   </form>
   </div>
   </div>
   </div>
   </div>



   <!-- using online scripts -->
   <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
   <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.6/umd/popper.min.js" integrity="sha384-wHAiFfRlMFy6i5SRaxvfOCifBUQy1xHdJ/yoi7FRNXMRBu5WHdZYu1hA6ZOblgut" crossorigin="anonymous"></script>
   <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/js/bootstrap.min.js" integrity="sha384-B0UglyR+jN6CkvvICOB2joaf5I4l3gm9GU6Hc1og6Ls7i6U/mkkaduKaBhlAXv9k" crossorigin="anonymous"></script>
   <script src="//malihu.github.io/custom-scrollbar/jquery.mCustomScrollbar.concat.min.js"></script>
   <script src="https://code.jquery.com/jquery-3.5.1.min.js"></script>



   <script src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
   <script type='text/javascript'>
      $(document).ready(function() {
         $("#SelectGroup").change(function() {
            $(this).find("option:selected").each(function() {
               var optionValue = $(this).attr("value");
               if (optionValue) {
                  $(".Group").not("." + optionValue).hide();
                  $("." + optionValue).show();
               } else {
                  $(".Group").hide();
               }
            });
         }).change();
      });

      function preview_image(event) {
         var reader = new FileReader();
         reader.onload = function() {
            var output = document.getElementById('output_image');
            output.src = reader.result;
         }
         reader.readAsDataURL(event.target.files[0]);
      }
   </script>
   <script>
      var str = '<?php echo $user_row[0]['APP_CAT']; ?>';
      console.log(str);


      if (str == '1' || str == '2') {

         document.getElementById("ssc_business").style.display = 'none';
         document.getElementById("ssc_humanities").style.display = 'none';
         document.getElementById("business").style.display = 'none';
         document.getElementById("humanities").style.display = 'none';

      } else if (str == "3") {
         document.getElementById("ssc_business").style.display = 'none';
         document.getElementById("ssc_science").style.display = 'none';
         document.getElementById("business").style.display = 'none';
         document.getElementById("science").style.display = 'none';
      } else if (str == "4") {
         document.getElementById("ssc_science").style.display = 'none';
         document.getElementById("ssc_humanities").style.display = 'none';
         document.getElementById("science").style.display = 'none';
         document.getElementById("humanities").style.display = 'none';
      }




      function myfun() {




         // var ap_cat = document.getElementById("ap_cat").value;
         var business = document.getElementById("business").value;
         var b_mathematics = document.getElementById("b_mathematics").value;
         var Statistics = document.getElementById("Statistics").value;
         var Economics = document.getElementById("Economics").value;















         // if (str == "4") {

         //    if (b_mathematics < 4) {
         //       if (Statistics === 'Y') {
         //          document.getElementById("e_Statistics").innerHTML = "";
         //       } else {
         //          document.getElementById("e_Statistics").innerHTML = "Math GP should be  4";
         //          return false;
         //       }

         //    } 
         // }












      }
   </script>





   <script type="text/javascript">
      function Validate() {
         var dob = document.getElementById("dob");
         var birth_reg_number = document.getElementById("birth_reg_number");
         var blood_group = document.getElementById("blood_group");
         var religion = document.getElementById("religion");
         var religion_sect = document.getElementById("religion_sect");
         var std_mobile_number = document.getElementById("std_mobile_number");
         var std_mobile_number = document.getElementById("std_mobile_number");
         var sms_mobile_number = document.getElementById("sms_mobile_number");
         var ssc_group_code = document.getElementById("ssc_group_code");
         var school_name = document.getElementById("school_name");
         var school_address = document.getElementById("school_address");
         var board = document.getElementById("board");
         var exam_center = document.getElementById("exam_center");
         var exam_roll_number = document.getElementById("exam_roll_number");
         var exam_year = document.getElementById("exam_year");
         var reg_no = document.getElementById("reg_no");
         var session = document.getElementById("session");
         var ssc_gpa = document.getElementById("ssc_gpa");
         var number_of_aplus = document.getElementById("number_of_aplus");
         var s_bangla = document.getElementById("s_bangla");
         var s_english = document.getElementById("s_english");
         var s_religion = document.getElementById("s_religion");
         var s_math = document.getElementById("s_math");
         // var s_physics = document.getElementById("s_physics");
         // var s_chemisty = document.getElementById("s_chemisty");
         // var s_biology = document.getElementById("s_biology");
         // var s_higher_math = document.getElementById("s_higher_math");
         var h_bangla = document.getElementById("h_bangla");
         var h_english = document.getElementById("h_english");
         var h_religion = document.getElementById("h_religion");
         var h_mathematics = document.getElementById("h_mathematics");
         // var h_science = document.getElementById("h_science");
         // var h_economics = document.getElementById("h_economics");
         // var h_civics = document.getElementById("h_civics");
         // var h_geography = document.getElementById("h_geography");
         var b_bangla = document.getElementById("b_bangla");
         var b_english = document.getElementById("b_english");
         var b_religion = document.getElementById("b_religion");
         var b_mathematics = document.getElementById("b_mathematics");
         // var b_science = document.getElementById("b_science");
         // var b_accounting = document.getElementById("b_accounting");
         // var b_finance = document.getElementById("b_finance");
         // var b_business = document.getElementById("b_business");





         var str = '<?php echo $user_row[0]['APP_CAT']; ?>';
         console.log(str);





         if (dob.value == "") {
            //If the "Please Select" option is selected display error.
            alert("Please Enter Date of Birth !");
            return false;
         }



         if (birth_reg_number.value == "") {
            //If the "Please Select" option is selected display error.
            alert("Please Enter Birth Registration number !");
            return false;
         }


         if (blood_group.value == "") {
            //If the "Please Select" option is selected display error.
            alert("Please Enter Blood Group!");
            return false;
         }


         if (religion.value == "") {
            //If the "Please Select" option is selected display error.
            alert("Please Enter Your Religion!");
            return false;
         }



         if (religion_sect.value == "") {
            //If the "Please Select" option is selected display error.
            alert("Please Enter Your Religion Sect!");
            return false;
         }


         if (std_mobile_number.value == "") {
            //If the "Please Select" option is selected display error.
            alert("Please Enter Student Mobile number!");
            return false;
         }


         if (sms_mobile_number.value == "") {
            //If the "Please Select" option is selected display error.
            alert("Please Enter College SMS Mobile Number!");
            return false;
         }



         if (ssc_group_code.value == "") {
            //If the "Please Select" option is selected display error.
            alert("Please Select Your SSC Group");
            return false;
         }


         if (school_name.value == "") {
            //If the "Please Select" option is selected display error.
            alert("Please Enter School Name!");
            return false;
         }



         if (school_address.value == "") {
            //If the "Please Select" option is selected display error.
            alert("Please Enter School Adress");
            return false;
         }


         if (board.value == "") {
            //If the "Please Select" option is selected display error.
            alert("Please Enter Board!");
            return false;
         }



         if (exam_center.value == "") {
            //If the "Please Select" option is selected display error.
            alert("Please Enter Exam Center!");
            return false;
         }


         if (exam_roll_number.value == "") {
            //If the "Please Select" option is selected display error.
            alert("Please Enter SSC Roll Number!");
            return false;
         }


         if (exam_year.value == "") {
            //If the "Please Select" option is selected display error.
            alert("Please Enter Exam Year!");
            return false;
         }



         if (reg_no.value == "") {
            //If the "Please Select" option is selected display error.
            alert("Please Enter Registration Number!");
            return false;
         }




         if (session.value == "") {
            //If the "Please Select" option is selected display error.
            alert("Please Enter Session!");
            return false;
         }



         if (ssc_gpa.value == "") {
            //If the "Please Select" option is selected display error.
            alert("Please Enter SSC GPA!");
            return false;
         }




         if (number_of_aplus.value == "") {
            //If the "Please Select" option is selected display error.
            alert("Please Enter Number Of A+!");
            return false;
         }





         if (str == '1' || str == '2') {

            if (s_bangla.value == "") {
               //If the "Please Select" option is selected display error.
               alert("Please Enter Science Bangla Gpa!");
               return false;
            }



            if (s_english.value == "") {
               //If the "Please Select" option is selected display error.
               alert("Please Enter Science English Gpa!");
               return false;
            }

            if (s_religion.value == "") {
               //If the "Please Select" option is selected display error.
               alert("Please Enter Science Religion Gpa!");
               return false;
            }


            if (s_math.value == "") {
               //If the "Please Select" option is selected display error.
               alert("Please Enter Science Math Gpa!");
               return false;
            }


            // if (s_physics.value == "") {
            //    //If the "Please Select" option is selected display error.
            //    alert("Please Enter Physics Gpa!");
            //    return false;
            // }


            // if (s_chemisty.value == "") {
            //    //If the "Please Select" option is selected display error.
            //    alert("Please Enter Chemisty Gpa!");
            //    return false;
            // }


            // if (s_biology.value == "") {
            //    //If the "Please Select" option is selected display error.
            //    alert("Please Enter Biology Gpa!");
            //    return false;
            // }



            // if (s_higher_math.value == "") {
            //    //If the "Please Select" option is selected display error.
            //    alert("Please Enter Higher Math Gpa!");
            //    return false;
            // }



         } else if (str == '3') {

            if (h_bangla.value == "") {
               //If the "Please Select" option is selected display error.
               alert("Please Enter Humanities Bangla Gpa!");
               return false;
            }



            if (h_english.value == "") {
               //If the "Please Select" option is selected display error.
               alert("Please Enter Humanities English Gpa!");
               return false;
            }

            if (h_religion.value == "") {
               //If the "Please Select" option is selected display error.
               alert("Please Enter Humanities Religion Gpa!");
               return false;
            }


            if (h_mathematics.value == "") {
               //If the "Please Select" option is selected display error.
               alert("Please Enter Humanities Math Gpa!");
               return false;
            }


            // if (h_science.value == "") {
            //    //If the "Please Select" option is selected display error.
            //    alert("Please Enter science Gpa!");
            //    return false;
            // }


            // if (h_economics.value == "") {
            //    //If the "Please Select" option is selected display error.
            //    alert("Please Enter Economics Gpa!");
            //    return false;
            // }


            // if (h_civics.value == "") {
            //    //If the "Please Select" option is selected display error.
            //    alert("Please Enter Civics Gpa!");
            //    return false;
            // }



            // if (h_geography.value == "") {
            //    //If the "Please Select" option is selected display error.
            //    alert("Please Enter Geography Gpa!");
            //    return false;
            // }



         } else if (str == '4') {

            if (b_bangla.value == "") {
               //If the "Please Select" option is selected display error.
               alert("Please Enter Business Studies Bangla Gpa!");
               return false;
            }



            if (b_english.value == "") {
               //If the "Please Select" option is selected display error.
               alert("Please Enter Business Studies English Gpa!");
               return false;
            }

            if (b_religion.value == "") {
               //If the "Please Select" option is selected display error.
               alert("Please Enter Business Studies Religion Gpa!");
               return false;
            }


            if (b_mathematics.value == "") {
               //If the "Please Select" option is selected display error.
               alert("Please Enter Business Studies Math Gpa!");
               return false;
            }


            // if (b_science.value == "") {
            //    //If the "Please Select" option is selected display error.
            //    alert("Please Enter science Gpa!");
            //    return false;
            // }


            // if (b_accounting.value == "") {
            //    //If the "Please Select" option is selected display error.
            //    alert("Please Enter Accounting Gpa!");
            //    return false;
            // }


            // if (b_finance.value == "") {
            //    //If the "Please Select" option is selected display error.
            //    alert("Please Enter Finance Gpa!");
            //    return false;
            // }



            // if (b_business.value == "") {
            //    //If the "Please Select" option is selected display error.
            //    alert("Please Enter Business Entrepreneurship Gpa!");
            //    return false;
            // }



         }




















         return true;
      }
   </script>



   <!-- 5er upor input hobe naa  -->

   <script>
      // Restricts input for the given textbox to the given inputFilter.
      function setInputFilter(textbox, inputFilter, errMsg) {
         ["input", "keydown", "keyup", "mousedown", "mouseup", "select", "contextmenu", "drop", "focusout"].forEach(function(event) {
            textbox.addEventListener(event, function(e) {
               if (inputFilter(this.value)) {
                  // Accepted value
                  if (["keydown", "mousedown", "focusout"].indexOf(e.type) >= 0) {
                     this.classList.remove("input-error");
                     this.setCustomValidity("");
                  }
                  this.oldValue = this.value;
                  this.oldSelectionStart = this.selectionStart;
                  this.oldSelectionEnd = this.selectionEnd;
               } else if (this.hasOwnProperty("oldValue")) {
                  // Rejected value - restore the previous one
                  this.classList.add("input-error");
                  this.setCustomValidity(errMsg);
                  this.reportValidity();
                  this.value = this.oldValue;
                  this.setSelectionRange(this.oldSelectionStart, this.oldSelectionEnd);
               } else {
                  // Rejected value - nothing to restore
                  this.value = "";
               }
            });
         });
      }


      // Install input filters.

      // setInputFilter(document.getElementById("s_ssc_gpa"), function(value) {
      //     return /^-?\d*[.,]?\d{0,2}$/.test(value) && (value === "" || parseInt(value) == 5);
      // }, "GPA should be 1 to 5");


      setInputFilter(document.getElementById("number_of_aplus"), function(value) {
         return /^-?\d*[.,]?\d{0,2}$/.test(value) && (value === "" || parseInt(value) <= 10);
      }, "Number of A+ should be 1 to 10");


      setInputFilter(document.getElementById("ssc_gpa"), function(value) {
         return /^-?\d*[.,]?\d{0,2}$/.test(value) && (value === "" || parseInt(value) <= 5);
      }, "GPA should be 1 to 5");


      setInputFilter(document.getElementById("s_bangla"), function(value) {
         return /^-?\d*[.,]?\d{0,2}$/.test(value) && (value === "" || parseInt(value) <= 5);
      }, "GPA should be 1 to 5");


      setInputFilter(document.getElementById("s_english"), function(value) {
         return /^-?\d*[.,]?\d{0,2}$/.test(value) && (value === "" || parseInt(value) <= 5);
      }, "GPA should be 1 to 5");


      setInputFilter(document.getElementById("s_religion"), function(value) {
         return /^-?\d*[.,]?\d{0,2}$/.test(value) && (value === "" || parseInt(value) <= 5);
      }, "GPA should be 1 to 5");

      setInputFilter(document.getElementById("s_math"), function(value) {
         return /^-?\d*[.,]?\d{0,2}$/.test(value) && (value === "" || parseInt(value) <= 5);
      }, "GPA should be 1 to 5");


      setInputFilter(document.getElementById("s_physics"), function(value) {
         return /^-?\d*[.,]?\d{0,2}$/.test(value) && (value === "" || parseInt(value) <= 5);
      }, "GPA should be 1 to 5");

      setInputFilter(document.getElementById("s_chemisty"), function(value) {
         return /^-?\d*[.,]?\d{0,2}$/.test(value) && (value === "" || parseInt(value) <= 5);
      }, "GPA should be 1 to 5");


      setInputFilter(document.getElementById("s_biology"), function(value) {
         return /^-?\d*[.,]?\d{0,2}$/.test(value) && (value === "" || parseInt(value) <= 5);
      }, "GPA should be 1 to 5");

      setInputFilter(document.getElementById("s_higher_math"), function(value) {
         return /^-?\d*[.,]?\d{0,2}$/.test(value) && (value === "" || parseInt(value) <= 5);
      }, "GPA should be 1 to 5");


      setInputFilter(document.getElementById("h_bangla"), function(value) {
         return /^-?\d*[.,]?\d{0,2}$/.test(value) && (value === "" || parseInt(value) <= 5);
      }, "GPA should be 1 to 5");

      setInputFilter(document.getElementById("h_english"), function(value) {
         return /^-?\d*[.,]?\d{0,2}$/.test(value) && (value === "" || parseInt(value) <= 5);
      }, "GPA should be 1 to 5");

      setInputFilter(document.getElementById("h_religion"), function(value) {
         return /^-?\d*[.,]?\d{0,2}$/.test(value) && (value === "" || parseInt(value) <= 5);
      }, "GPA should be 1 to 5");


      setInputFilter(document.getElementById("h_mathematics"), function(value) {
         return /^-?\d*[.,]?\d{0,2}$/.test(value) && (value === "" || parseInt(value) <= 5);
      }, "GPA should be 1 to 5");


      setInputFilter(document.getElementById("h_science"), function(value) {
         return /^-?\d*[.,]?\d{0,2}$/.test(value) && (value === "" || parseInt(value) <= 5);
      }, "GPA should be 1 to 5");

      setInputFilter(document.getElementById("h_economics"), function(value) {
         return /^-?\d*[.,]?\d{0,2}$/.test(value) && (value === "" || parseInt(value) <= 5);
      }, "GPA should be 1 to 5");


      setInputFilter(document.getElementById("h_civics"), function(value) {
         return /^-?\d*[.,]?\d{0,2}$/.test(value) && (value === "" || parseInt(value) <= 5);
      }, "GPA should be 1 to 5");

      setInputFilter(document.getElementById("h_geography"), function(value) {
         return /^-?\d*[.,]?\d{0,2}$/.test(value) && (value === "" || parseInt(value) <= 5);
      }, "GPA should be 1 to 5");


      setInputFilter(document.getElementById("b_bangla"), function(value) {
         return /^-?\d*[.,]?\d{0,2}$/.test(value) && (value === "" || parseInt(value) <= 5);
      }, "GPA should be 1 to 5");

      setInputFilter(document.getElementById("b_english"), function(value) {
         return /^-?\d*[.,]?\d{0,2}$/.test(value) && (value === "" || parseInt(value) <= 5);
      }, "GPA should be 1 to 5");

      setInputFilter(document.getElementById("b_religion"), function(value) {
         return /^-?\d*[.,]?\d{0,2}$/.test(value) && (value === "" || parseInt(value) <= 5);
      }, "GPA should be 1 to 5");


      setInputFilter(document.getElementById("b_mathematics"), function(value) {
         return /^-?\d*[.,]?\d{0,2}$/.test(value) && (value === "" || parseInt(value) <= 5);
      }, "GPA should be 1 to 5");

      setInputFilter(document.getElementById("b_science"), function(value) {
         return /^-?\d*[.,]?\d{0,2}$/.test(value) && (value === "" || parseInt(value) <= 5);
      }, "GPA should be 1 to 5");


      setInputFilter(document.getElementById("b_accounting"), function(value) {
         return /^-?\d*[.,]?\d{0,2}$/.test(value) && (value === "" || parseInt(value) <= 5);
      }, "GPA should be 1 to 5");b_finance

      setInputFilter(document.getElementById("b_finance"), function(value) {
         return /^-?\d*[.,]?\d{0,2}$/.test(value) && (value === "" || parseInt(value) <= 5);
      }, "GPA should be 1 to 5");

      setInputFilter(document.getElementById("b_business"), function(value) {
         return /^-?\d*[.,]?\d{0,2}$/.test(value) && (value === "" || parseInt(value) <= 5);
      }, "GPA should be 1 to 5");
   </script>





 <!-- all name validation starts  -->
  <!-- Full Name of Student English starts  -->
  <script>
    function checkLength(input) {
      var maxLength = 60; // Maximum length allowed
      if (input.value.length > maxLength) {
        alert("Student Full Name Must be 60 characters !");
        input.value = input.value.substring(0, maxLength); // Truncate the input value to the maximum length
      }
    }
  </script>

  <!-- Full Name of Student English ends  -->


  <!-- Full Name of Student Bangla starts  -->
  <script>
    function checkLength1(input) {
      var maxLength = 50; // Maximum length allowed
      if (input.value.length > maxLength) {
        alert("Student Full Name(Bengali) Must be 50 characters !");
        input.value = input.value.substring(0, maxLength); // Truncate the input value to the maximum length
      }
    }
  </script>

  <!-- Full Name of Student Bangla ends  -->


  <!-- Nickname starts  -->
  <script>
    function checkLength2(input) {
      var maxLength = 15; // Maximum length allowed
      if (input.value.length > maxLength) {
        alert("Student Nickname Must be 15 characters !");
        input.value = input.value.substring(0, maxLength); // Truncate the input value to the maximum length
      }
    }
  </script>

  <!-- Nickname ends  -->


  <!-- School name starts  -->
  <script>
    function checkLength3(input) {
      var maxLength = 80; // Maximum length allowed
      if (input.value.length > maxLength) {
        alert("School Name Must be 80 characters !");
        input.value = input.value.substring(0, maxLength); // Truncate the input value to the maximum length
      }
    }
  </script>

  <!-- School name ends  -->


  <!-- School address starts  -->
  <script>
    function checkLength4(input) {
      var maxLength = 80; // Maximum length allowed
      if (input.value.length > maxLength) {
        alert("School address Must be 80 characters !");
        input.value = input.value.substring(0, maxLength); // Truncate the input value to the maximum length
      }
    }
  </script>

  <!-- School address ends  -->


  <!-- Exam Center starts  -->
  <script>
    function checkLength5(input) {
      var maxLength = 80; // Maximum length allowed
      if (input.value.length > maxLength) {
        alert("Exam Centre Must be 80 characters !");
        input.value = input.value.substring(0, maxLength); // Truncate the input value to the maximum length
      }
    }
  </script>

  <!-- Exam Center ends  -->


  <!-- Father's Name starts  -->
  <script>
    function checkLength6(input) {
      var maxLength = 80; // Maximum length allowed
      if (input.value.length > maxLength) {
        alert("Father's Name Must be 80 characters !");
        input.value = input.value.substring(0, maxLength); // Truncate the input value to the maximum length
      }
    }
  </script>

  <!-- Father's Name ends  -->

  <!-- Father's Occupassion starts  -->
  <script>
    function checkLength7(input) {
      var maxLength = 35; // Maximum length allowed
      if (input.value.length > maxLength) {
        alert("Father's Occupation Must be 35 characters !");
        input.value = input.value.substring(0, maxLength); // Truncate the input value to the maximum length
      }
    }
  </script>

  <!-- Father's Occupassion ends  -->


  <!-- Father's Designation  starts  -->
  <script>
    function checkLength8(input) {
      var maxLength = 60; // Maximum length allowed
      if (input.value.length > maxLength) {
        alert("Father's Designation  Must be 60 characters !");
        input.value = input.value.substring(0, maxLength); // Truncate the input value to the maximum length
      }
    }
  </script>

  <!-- Father's Designation  ends  -->



  <!-- Mother's Name starts  -->
  <script>
    function checkLength9(input) {
      var maxLength = 80; // Maximum length allowed
      if (input.value.length > maxLength) {
        alert("Mother's Name  Must be 80 characters !");
        input.value = input.value.substring(0, maxLength); // Truncate the input value to the maximum length
      }
    }
  </script>

  <!-- Mother's Name  ends  -->



   <!-- Mother's Occupation starts  -->
   <script>
    function checkLength10(input) {
      var maxLength = 35; // Maximum length allowed
      if (input.value.length > maxLength) {
        alert("Mother's Occupation  Must be 35 characters !");
        input.value = input.value.substring(0, maxLength); // Truncate the input value to the maximum length
      }
    }
  </script>

  <!-- Mother's Occupation  ends  -->


  <!-- Mother's Designation starts  -->
  <script>
    function checkLength11(input) {
      var maxLength = 60; // Maximum length allowed
      if (input.value.length > maxLength) {
        alert("Mother's Designation  Must be 60 characters !");
        input.value = input.value.substring(0, maxLength); // Truncate the input value to the maximum length
      }
    }
  </script>

  <!-- Mother's Designation  ends  -->


  <!-- Local Guardian Name starts  -->
  <script>
    function checkLength12(input) {
      var maxLength = 80; // Maximum length allowed
      if (input.value.length > maxLength) {
        alert("Local Guardian Name Must be 80 characters !");
        input.value = input.value.substring(0, maxLength); // Truncate the input value to the maximum length
      }
    }
  </script>

  <!-- Local Guardian Name ends  -->


  <!-- Relationship starts  -->
  <script>
    function checkLength13(input) {
      var maxLength = 15; // Maximum length allowed
      if (input.value.length > maxLength) {
        alert("Relationship Must be 15 characters !");
        input.value = input.value.substring(0, maxLength); // Truncate the input value to the maximum length
      }
    }
  </script>

  <!-- Relationship ends  -->


  <!-- lg Occupation starts  -->
  <script>
    function checkLength14(input) {
      var maxLength = 35; // Maximum length allowed
      if (input.value.length > maxLength) {
        alert("Occupation Must be 35 characters !");
        input.value = input.value.substring(0, maxLength); // Truncate the input value to the maximum length
      }
    }
  </script>

  <!-- lg Occupation ends  -->


  <!-- lg Designation starts  -->
  <script>
    function checkLength15(input) {
      var maxLength = 60; // Maximum length allowed
      if (input.value.length > maxLength) {
        alert("Designation Must be 60 characters !");
        input.value = input.value.substring(0, maxLength); // Truncate the input value to the maximum length
      }
    }
  </script>

  <!-- lg Designation ends  -->


  <!-- Pr Name starts  -->
  <script>
    function checkLength16(input) {
      var maxLength = 80; // Maximum length allowed
      if (input.value.length > maxLength) {
        alert("Name Must be 80 characters !");
        input.value = input.value.substring(0, maxLength); // Truncate the input value to the maximum length
      }
    }
  </script>

  <!-- Pr Name ends  -->


  <!-- Pr Relationship starts  -->
  <script>
    function checkLength17(input) {
      var maxLength = 15; // Maximum length allowed
      if (input.value.length > maxLength) {
        alert("Relationship Must be 15 characters !");
        input.value = input.value.substring(0, maxLength); // Truncate the input value to the maximum length
      }
    }
  </script>

  <!-- Pr Relationship ends  -->


  <!-- Sports starts  -->
  <script>
    function checkLength18(input) {
      var maxLength = 130; // Maximum length allowed
      if (input.value.length > maxLength) {
        alert("Sports Activites Must be 130 characters !");
        input.value = input.value.substring(0, maxLength); // Truncate the input value to the maximum length
      }
    }
  </script>

  <!-- Sports ends  -->

  <!-- Clubs starts  -->
  <script>
    function checkLength19(input) {
      var maxLength = 130; // Maximum length allowed
      if (input.value.length > maxLength) {
        alert("Clubs Activites Must be 130 characters !");
        input.value = input.value.substring(0, maxLength); // Truncate the input value to the maximum length
      }
    }
  </script>

  <!-- Clubs ends  -->


   <!-- Others starts  -->
   <script>
    function checkLength20(input) {
      var maxLength = 130; // Maximum length allowed
      if (input.value.length > maxLength) {
        alert("Others Activites Must be 130 characters !");
        input.value = input.value.substring(0, maxLength); // Truncate the input value to the maximum length
      }
    }
  </script>

  <!-- Others ends  -->
  
  

  
  <!-- all name validation ends  -->




  <!-- all mobile number validation  starts -->
  <!-- student mobile number valid starts  -->
<script>
    function validateNumber(input) {
      var number = input.value.trim();
      var numberLength = number.length;
      var errorMessage = document.getElementById('msg');

      if (numberLength > 11) {
        errorMessage.textContent = 'Student Mobile No. should have exactly 11 digits.';
        input.setCustomValidity('Student Mobile No. should have exactly 11 digits.');
      } else {
        errorMessage.textContent = '';
        input.setCustomValidity('');
      }
    }
  </script>
<!-- student mobile number valid ends  -->


<!-- Sms mobile number valid starts  -->
<script>
    function validateNumber1(input) {
      var number = input.value.trim();
      var numberLength = number.length;
      var errorMessage = document.getElementById('msg1');

      if (numberLength > 11) {
        errorMessage.textContent = 'College SMS Mobile No. should have exactly 11 digits.';
        input.setCustomValidity('College SMS Mobile No. should have exactly 11 digits.');
      } else {
        errorMessage.textContent = '';
        input.setCustomValidity('');
      }
    }
  </script>
<!-- Sms mobile number valid ends  -->


<!-- Father mobile number valid starts  -->
<script>
    function validateNumber2(input) {
      var number = input.value.trim();
      var numberLength = number.length;
      var errorMessage = document.getElementById('msg2');

      if (numberLength > 11) {
        errorMessage.textContent = 'Father Mobile No. should have exactly 11 digits.';
        input.setCustomValidity('Father Mobile No. should have exactly 11 digits.');
      } else {
        errorMessage.textContent = '';
        input.setCustomValidity('');
      }
    }
  </script>
<!-- Father mobile number valid ends  -->


<!-- Mother mobile number valid starts  -->
<script>
    function validateNumber3(input) {
      var number = input.value.trim();
      var numberLength = number.length;
      var errorMessage = document.getElementById('msg3');

      if (numberLength > 11) {
        errorMessage.textContent = 'Mother Mobile No. should have exactly 11 digits.';
        input.setCustomValidity('Mother Mobile No. should have exactly 11 digits.');
      } else {
        errorMessage.textContent = '';
        input.setCustomValidity('');
      }
    }
  </script>
<!-- Mother mobile number valid ends  -->

<!-- Lg mobile number valid starts  -->
<script>
    function validateNumber4(input) {
      var number = input.value.trim();
      var numberLength = number.length;
      var errorMessage = document.getElementById('msg4');

      if (numberLength > 11) {
        errorMessage.textContent = 'Mobile No. should have exactly 11 digits.';
        input.setCustomValidity('Mobile No. should have exactly 11 digits.');
      } else {
        errorMessage.textContent = '';
        input.setCustomValidity('');
      }
    }
  </script>
<!-- Lge number valid ends  -->


<!-- pr mobile number valid starts  -->
<script>
    function validateNumber5(input) {
      var number = input.value.trim();
      var numberLength = number.length;
      var errorMessage = document.getElementById('msg5');

      if (numberLength > 11) {
        errorMessage.textContent = 'Mobile No. should have exactly 11 digits.';
        input.setCustomValidity('Mobile No. should have exactly 11 digits.');
      } else {
        errorMessage.textContent = '';
        input.setCustomValidity('');
      }
    }
  </script>
<!-- pr number valid ends  -->
  <!-- all mobile number validation ends  -->











</body>

</html>