<!-- begin:: Subheader -->
<div class="kt-subheader   kt-grid__item" id="kt_subheader">
<div class="kt-container  kt-container--fluid ">
    <div class="kt-subheader__main">        
        <div class="kt-subheader__breadcrumbs">
            <a class="kt-subheader__breadcrumbs-link">
                Registration </a>
            <span class="kt-subheader__breadcrumbs-separator"></span>
            <a class="kt-subheader__breadcrumbs-link">
                Update Registration</a>
            <span class="kt-subheader__breadcrumbs-separator"></span>
            
        </div>
    </div>                                        
</div>
</div>
<!-- end:: Subheader -->
<!-- begin:: Content -->
<div class="kt-container  kt-container--fluid  kt-grid__item kt-grid__item--fluid">
   <div class="kt-portlet">
      <div class="kt-portlet__body kt-portlet__body--fit">
         <div class="kt-grid  kt-wizard-v1 kt-wizard-v1--white" id="kt_projects_add" data-ktwizard-state="first">            
            <div class="kt-grid__item kt-grid__item--fluid kt-wizard-v1__wrapper form-bg">
               <!--begin: Form Wizard Form-->
               <?php 
				   $subCouseNewArray = get_sub_courses_by_id($studentArray['0']['sub_course_id']);
                   $studantEduArray = get_student_education($studentArray['0']['id']);
				 ?>
               <form class="kt-form" id="kt_form" action="<?=base_url();?>admin/process_edit_student/<?=$studentArray['0']['id']; ?>" method="post" enctype="multipart/form-data" novalidate="novalidate" style="width: 95%;">
                  <!--begin: Form Wizard Step 1-->
                  <div class="kt-wizard-v1__content" data-ktwizard-type="step-content" data-ktwizard-state="current">
                    <?php if($this->session->flashdata('success_message'))
                     {                   
                    ?>
                     <div class="kt-heading kt-heading--md" style="text-align: center;color:##3a5999"><strong><?=$this->session->flashdata('success_message');?>.</strong></div>
                     <?php } ?>  
                     <div class="kt-heading kt-heading--md">Application Information:</div>
                     <div class="kt-section kt-section--first">
                        <div class="kt-wizard-v1__form">
                            <input type="hidden" name="reff_url" value="<?php if(isset($reff_url) && $reff_url!=''){ echo $reff_url; }else{ echo set_value('reff_url');} ?>">
                           <div class="row">
                              <div class="col-lg-6">
                                 <div class="kt-section__body">
                                   <div class="form-group row <?php if(form_error('admission_type')){ ?>has-error<?php } ?>">
                                                <label class="col-xl-3 col-lg-3 col-form-label">Admission Type 
                                                    <span class="required"> * </span>
                                                </label>
                                                <div class="col-lg-9 col-xl-9">												
												<select name="admission_type" id="admission_type" class="form-control input-height">
												<option type="" value="">SELECT ONE</option>
												<option value="REGULAR" type="1" <?=($studentArray[0]['admission_type']=='REGULAR'?'selected':set_select('admission_type', 'REGULAR')); ?>>REGULAR</option>
												</select> 
												<span class="help-block"> <?=form_error('admission_type'); ?> </span>
												</div>
                                            </div>										
                                            <div class="form-group row <?php if(form_error('admission_session')){ ?>has-error<?php } ?>">
                                                <label class="col-xl-3 col-lg-3 col-form-label">Admission Session
                                                    <span class="required"> * </span>
                                                </label>
                                                <div class="col-lg-9 col-xl-9">
                                                    <input type="text" name="admission_session" id="admission_session" placeholder="Admission Session" class="form-control input-height" value="<?=(isset($studentArray[0]['admission_session'])?$studentArray[0]['admission_session']:set_value('admission_session')); ?>" readonly/> 
													<span class="help-block"> <?=form_error('admission_session'); ?> </span>
													</div>
                                            </div>
											<?php $courses = get_courses();?>	
											<div class="form-group row <?php if(form_error('course_id')){ ?>has-error<?php } ?>">
                                                <label class="col-xl-3 col-lg-3 col-form-label">Course
                                                    <span class="required"> * </span>
                                                </label>
                                                <div class="col-lg-9 col-xl-9">												
												    <select name="course_id" id="course_id" class="form-control input-height" required>
								                          <option value="">Choose Course</option>
														  <?php foreach($courses as $value){ ?>
															<option value="<?=$value['id'];?>" <?=($studentArray[0]['course_id']==$value['id']?'selected':set_select('course_id', $value['id'])); ?>><?=$value['name'];?></option>
														<?php } ?>		
													</select> 
													<span class="help-block"> <?=form_error('course_id'); ?> </span>
												</div>
                                            </div>
											<div class="form-group row <?php if(form_error('sub_course_id')){ ?>has-error<?php } ?>">
                                                <label class="col-xl-3 col-lg-3 col-form-label">Sub Course
                                                    <span class="required"> * </span>
                                                </label>												
                                                <div class="col-lg-9 col-xl-9">												
												    <select name="sub_course_id" id="sub_course_id" class="form-control input-height" required>
								                          <option value="">Choose Sub Course</option>
														  <?php 
														 $sub_courses = sub_course_by_courseid($studentArray[0]['course_id']);
														  foreach($sub_courses as $value){ ?>
															<option value="<?=$value['id'];?>" <?=($studentArray[0]['sub_course_id']==$value['id']?'selected':set_select('sub_course_id', $value['id'])); ?>><?=$value['name'];?></option>
														<?php } ?>															  	
													</select> 
													<span class="help-block"> <?=form_error('sub_course_id'); ?> </span>
												</div>
                                            </div>
											<div class="form-group row <?php if(form_error('year')){ ?>has-error<?php } ?>">
                                                <label class="col-xl-3 col-lg-3 col-form-label">Course Semester
                                                    <span class="required"> * </span>
                                                </label>
                                                <div class="col-lg-9 col-xl-9">												
												    <select name="year" id="year" class="form-control input-height" required>
								                          <option value="">Choose Semester</option>	
														   <option value="1" <?php if($studentArray[0]['year']=='1'){ echo "selected"; }else{ set_select('year','1'); } ?> >First Semester</option> 
															<?php if ($studentArray[0]['year'] >= 2) { ?>
																<option value="2" <?php if($studentArray[0]['year']=='2'){ echo "selected"; }else{ set_select('year','2'); } ?> >Second Semester</option>
														<?php	}
															if ($studentArray[0]['year']  >= 3) { ?>
																<option value="3" <?php if($studentArray[0]['year']=='3'){ echo "selected"; }else{ set_select('year','3'); } ?> >Third Semester</option>
														<?php	}
															if ($studentArray[0]['year']  >= 4) { ?>
																<option value="4" <?php if($studentArray[0]['year']=='4'){ echo "selected"; }else{ set_select('year','4'); } ?> >Fourth Semester</option>
															<?php }
															if ($studentArray[0]['year'] >= 5) { ?>
																<option value="5" <?php if($studentArray[0]['year']=='5'){ echo "selected"; }else{ set_select('year','5'); } ?> >Fifth Semester</option>
															<?php }	?>														  
													</select> 
													<span class="help-block"> <?=form_error('year'); ?> </span>
												</div>
                                            </div>
											<div class="form-group row <?php if(form_error('student_name')){ ?>has-error<?php } ?>">
                                                <label class="col-xl-3 col-lg-3 col-form-label">Student Name
                                                    <span class="required"> * </span>
                                                </label>
                                                <div class="col-lg-9 col-xl-9">
                                                    <input type="text" name="student_name" id="student_name" placeholder="Enter Full Name" class="form-control input-height" value="<?=(isset($studentArray[0]['name'])?$studentArray[0]['name']:set_value('student_name')); ?>" required/> 
													<span class="help-block"> <?=form_error('student_name'); ?> </span>
													</div>
                                            </div>
											<div class="form-group row <?php if(form_error('father_name')){ ?>has-error<?php } ?>">
                                                <label class="col-xl-3 col-lg-3 col-form-label">Father Name
                                                    <span class="required"> * </span>
                                                </label>
                                                <div class="col-lg-9 col-xl-9">
                                                    <input type="text" name="father_name" id="father_name" placeholder="Enter Father Name" class="form-control input-height" value="<?=(isset($studentArray[0]['father_name'])?$studentArray[0]['father_name']:set_value('father_name')); ?>" required/> 
													<span class="help-block"> <?=form_error('father_name'); ?> </span>
												</div>
                                            </div>
											<div class="form-group row <?php if(form_error('mother_name')){ ?>has-error<?php } ?>">
                                                <label class="col-xl-3 col-lg-3 col-form-label">Mother Name
                                                    <span class="required"> * </span>
                                                </label>
                                                <div class="col-lg-9 col-xl-9">
                                                    <input type="text" name="mother_name" id="mother_name" placeholder="Enter Mother Name" class="form-control input-height" value="<?=(isset($studentArray[0]['mother_name'])?$studentArray[0]['mother_name']:set_value('mother_name')); ?>" required/> 
													<span class="help-block"> <?=form_error('mother_name'); ?> </span>
												</div>
                                            </div>
											<div class="form-group row">
                                                <label class="col-xl-3 col-lg-3 col-form-label">Gender 
                                                    <span class="required"> * </span>
                                                </label>
                                                <div class="col-lg-9 col-xl-9"> 
                                                
	                                                <input type="radio" name="gender" id="optionsRadios" value="male" <?=($studentArray[0]['gender']=='male'?'checked':set_checkbox('gender', 'male')); ?>  />
	                                                <label for="optionsRadios">
	                                                    Male 
	                                                </label>
													<input type="radio" name="gender" id="optionsRadios1" value="female" <?=($studentArray[0]['gender']=='female'?'checked':set_checkbox('gender', 'female')); ?> />
	                                                <label for="optionsRadios1">
	                                                    Female
	                                                </label>                                										
													
												</div>
                                            </div>
											<div class="form-group row <?php if(form_error('dob')){ ?>has-error<?php } ?>">
                                                <label class="col-xl-3 col-lg-3 col-form-label">Date of Birth (dd-mm-yyyy)
                                                    <span class="required"> * </span>
                                                </label>
                                                <div class="col-lg-9 col-xl-9">
													<div class="input-group date form_date " data-date="" data-date-format="dd-mm-yyyy" data-link-field="dtp_input2" data-link-format="yyyy-mm-dd">
			                                                <input class="form-control input-height" size="16" name="dob" id="datepicker"  placeholder="Choose Date" type="text" value="<?=(isset($studentArray[0]['dob'])?$studentArray[0]['dob']:set_value('dob')); ?>" aria-invalid="false" required>                                             
			                                        </div> 
													
													<span class="help-block"> <?=form_error('dob'); ?> </span>
												</div>
                                            </div>
											<div class="form-group row <?php if(form_error('address')){ ?>has-error<?php } ?>">
                                                <label class="col-xl-3 col-lg-3 col-form-label">Permanent Address
                                                    <span class="required"> * </span>
                                                </label>
                                                <div class="col-lg-9 col-xl-9">
                                                    <textarea  name="address" id="address" placeholder="Choose Date" class="form-control input-height" required><?=(isset($studentArray[0]['address'])?$studentArray[0]['address']:set_value('address')); ?></textarea>
													<span class="help-block"> <?=form_error('address'); ?> </span>
												</div>
                                            </div>
											<?php $state_list = get_state_list();?>
											<div class="form-group row <?php if(form_error('state')){ ?>has-error<?php } ?>">
                                                <label class="col-xl-3 col-lg-3 col-form-label">State 
                                                    <span class="required"> * </span>
                                                </label>
                                                <div class="col-lg-9 col-xl-9">												
												    <select name="state" id="select_state" class="form-control input-height" required>
								                          <option value="">Choose State</option>
														  <?php foreach($state_list as $value){ ?>
															<option value="<?=$value['state'];?>" <?=($studentArray[0]['state']==$value['state']?'selected':set_select('state', $value['state'])); ?>><?=$value['state'];?></option>
														<?php } ?>		
													</select> 
													<span class="help-block"> <?=form_error('state'); ?> </span>
												</div>
                                            </div>
											<div class="form-group row <?php if(form_error('city')){ ?>has-error<?php } ?>">
                                                <label class="col-xl-3 col-lg-3 col-form-label">District  
                                                    <span class="required"> * </span>
                                                </label>
                                                <div class="col-lg-9 col-xl-9">												
												    <select name="city" id="select_city" class="form-control input-height" required>
								                          <option value="">Choose District</option>	
														  <?php 
														  $city_list = get_city_by_state($studentArray[0]['state']);
														  foreach($city_list as $value){ ?>
															<option value="<?=$value['city_id'];?>" <?=($studentArray[0]['city']==$value['city_id']?'selected':set_select('city', $value['city_id'])); ?>><?=$value['city_name'];?></option>
														<?php } ?>
														  
													</select> 
													<span class="help-block"> <?=form_error('city'); ?> </span>
												</div>
                                            </div>
											<div class="form-group row <?php if(form_error('pin_code')){ ?>has-error<?php } ?>">
                                                <label class="col-xl-3 col-lg-3 col-form-label">Pin Code
                                                    <span class="required"> * </span>
                                                </label>
                                                <div class="col-lg-9 col-xl-9">
                                                    <input type="text" name="pin_code" id="pin_code" placeholder="Enter Pin Code" class="form-control input-height" value="<?=(isset($studentArray[0]['pin_code'])?$studentArray[0]['pin_code']:set_value('pin_code')); ?>" maxlength="6" required/> 
													<span class="help-block"> <?=form_error('pin_code'); ?> </span>
												</div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-lg-6">
                                        <div class="kt-section__body">
                                            <div class="form-group row <?php if(form_error('image')){ ?>has-error<?php } ?>">
                                                <label class="col-xl-3 col-lg-3 col-form-label">Photo
                                                <span class="required"> * </span>
                                                </label>
                                                <div class="col-lg-9 col-xl-9">
                                                  <input type="file" class="default" name="image" id="image"><br/>
                                                  <span class=""> Maximum File Size 100KB, Allow file Formats ( jpg, gif, png ) </span>
                                                  <span class="help-block"> <?=form_error('image'); ?> </span>
                                                  <?php
                                                    if(isset($studentArray[0]['image']) && $studentArray[0]['image']!=""){ ?>
                                                        <img src="<?=base_url();?>uploads/<?=$studentArray[0]['image']?>" height="80" width="70" />
                                                    <?php } ?>
                                              </div>
                                            </div>
                                            <div class="form-group row <?php if(form_error('area')){ ?>has-error<?php } ?>">
		                                        <label class="col-xl-3 col-lg-3 col-form-label">Area
		                                            <span class="required"> * </span>
		                                        </label>
		                                        <div class="col-lg-9 col-xl-9">
		                                           <select class="form-control input-height" name="area" required>
		                                            <option selected="selected" value="">Choose Area</option>
		                                            <option value="Rural" <?=($studentArray[0]['area']=='Rural'?'selected':set_select('area', 'area')); ?>> Rural </option>
		                                            <option value="Urban" <?=($studentArray[0]['area']=='Urban'?'selected':set_select('area', 'area')); ?>>Urban</option>                                                  
		                                        </select> 
		                                        <span class="help-block"> <?=form_error('area'); ?> </span>
		                                        </div>
		                                    </div>
											<div class="form-group row <?php if(form_error('mobile')){ ?>has-error<?php } ?>">
                                                <label class="col-xl-3 col-lg-3 col-form-label">Mobile No.
                                                    <span class="required"> * </span>
                                                </label>
                                                <div class="col-lg-9 col-xl-9">
                                                    <input name="mobile" id="mobile" type="text" placeholder="Mobile Number" maxlength="10" class="form-control input-height" value="<?=(isset($studentArray[0]['phone'])?$studentArray[0]['phone']:set_value('mobile')); ?>" required/> 
													<span class="help-block"> <?=form_error('mobile'); ?> </span>
													</div>
                                            </div>                                           
                                            <div class="form-group row <?php if(form_error('email_id')){ ?>has-error<?php } ?>">
                                                <label class="col-xl-3 col-lg-3 col-form-label">Email ID
												<span class="required"> * </span>
                                                </label>
                                                <div class="col-lg-9 col-xl-9">
                                                    <input type="text" class="form-control input-height" name="email_id" id="email_id" placeholder="Email Address" value="<?=(isset($studentArray[0]['email_id'])?$studentArray[0]['email_id']:set_value('email_id')); ?>" required/>
                                                <span class="help-block"> <?=form_error('email_id'); ?> </span>
												</div>
                                            </div>
											<div class="form-group row <?php if(form_error('nationality')){ ?>has-error<?php } ?>">
                                                <label class="col-xl-3 col-lg-3 col-form-label">Nationality  
                                                    <span class="required"> * </span>
                                                </label>
                                                <div class="col-lg-9 col-xl-9">
                                                     <select class="form-control input-height" name="nationality" required>
														<option value="INDIAN" <?=($studentArray[0]['nationality']=='INDIAN'?'selected':set_select('nationality', 'INDIAN')); ?>> INDIAN </option>
														<option value="NRI" <?=($studentArray[0]['nationality']=='NRI'?'selected':set_select('nationality', 'NRI')); ?>>NRI</option>
													</select>	
												    <span class="help-block"> <?=form_error('nationality'); ?> </span>
												</div>
                                            </div>
											<div class="form-group row <?php if(form_error('cast_category')){ ?>has-error<?php } ?>">
                                                <label class="col-xl-3 col-lg-3 col-form-label">Category   
                                                    <span class="required"> * </span>
                                                </label>
                                                <div class="col-lg-9 col-xl-9">
												<select class="form-control input-height" name="cast_category" required>
													<option selected="selected" value="">SELECT ONE</option>
													<option value="GENERAL" <?=($studentArray[0]['cast_category']=='GENERAL'?'selected':set_select('cast_category', 'GENERAL')); ?>> GENERAL </option>
													<option value="O.B.C." <?=($studentArray[0]['cast_category']=='O.B.C.'?'selected':set_select('cast_category', 'O.B.C.')); ?>>O.B.C.</option>
													<option value="S.C." <?=($studentArray[0]['cast_category']=='S.C.'?'selected':set_select('cast_category', 'S.C.')); ?>> S.C. </option>
													<option value="S.T." <?=($studentArray[0]['cast_category']=='S.T.'?'selected':set_select('cast_category', 'S.T.')); ?>>S.T.</option>
													<option value="N.R.I." <?=($studentArray[0]['cast_category']=='N.R.I.'?'selected':set_select('cast_category', 'N.R.I.')); ?>> N.R.I. </option>
													<option value="FOREIGN NATIONAL" <?=($studentArray[0]['cast_category']=='FOREIGN NATIONAL'?'selected':set_select('cast_category', 'FOREIGN NATIONAL')); ?>>FOREIGN NATIONAL</option>
												</select>                                                   
												    <span class="help-block"> <?=form_error('cast_category'); ?> </span>
												</div>
                                            </div>
											<div class="form-group row <?php if(form_error('employment_status')){ ?>has-error<?php } ?>">
                                                <label class="col-xl-3 col-lg-3 col-form-label">Employment Status                                                     
                                                </label>
                                                <div class="col-lg-9 col-xl-9">
												<select class="form-control input-height" name="employment_status" id="employment_status" required>
													<option selected="selected" value="">SELECT ONE</option>
													<option value="EMPLOYED" <?=($studentArray[0]['employment_status']=='EMPLOYED'?'selected':set_select('employment_status', 'EMPLOYED')); ?>> EMPLOYED </option>
													<option value="SELF EMPLOYED" <?=($studentArray[0]['employment_status']=='SELF EMPLOYED'?'selected':set_select('employment_status', 'SELF EMPLOYED')); ?>>SELF EMPLOYED</option>
                                                    <option value="UNEMPLOYED" <?=($studentArray[0]['employment_status']=='UNEMPLOYED'?'selected':set_select('employment_status', 'UNEMPLOYED')); ?>>UNEMPLOYED</option>

												</select> 
                                                <span class="help-block"> <?=form_error('employment_status'); ?> </span>
												</div>
                                            </div>
                                            <div class="form-group row <?php if(form_error('emp_company_name')){ ?>has-error<?php } ?>" id="emp-company-name" style="<?php if(isset($_POST['employment_status']) && $_POST['employment_status']=='EMPLOYED'){ echo 'display:block'; }elseif(isset($studentArray[0]['company_name'])){ echo 'display:block';}else {echo 'display:none';} ?>">
			                                        <label class="col-xl-3 col-lg-3 col-form-label">Company Name <span class="required"> * </span>                              
			                                        </label>
			                                        <div class="col-lg-9 col-xl-9">
			                                        <input type="text" class="form-control input-height" name="emp_company_name" id="emp_company_name" placeholder="Company Name" value="<?=(isset($studentArray[0]['company_name'])?$studentArray[0]['company_name']:set_value('emp_company_name')); ?>"/>
			                                        <span class="help-block"> <?=form_error('emp_company_name'); ?> </span>
			                                        </div>
			                                    </div>
                                            <div class="form-group row <?php if(form_error('emp_designation')){ ?>has-error<?php } ?>" id="emp_designations" style="<?php if(isset($_POST['emp_designation']) && $_POST['emp_designation']=='EMPLOYED'){ echo 'display:block'; }elseif(isset($studentArray[0]['designation'])){ echo 'display:block';}else {echo 'display:none';} ?>">
                                                    <label class="col-xl-3 col-lg-3 col-form-label">Designation <span class="required"> * </span>                              
                                                    </label>
                                                    <div class="col-lg-9 col-xl-9">
                                                    <input type="text" class="form-control input-height" name="emp_designation" id="emp_designation" placeholder="Designation" value="<?=(isset($studentArray[0]['designation'])?$studentArray[0]['designation']:set_value('emp_designation')); ?>"/>
                                                    <span class="help-block"> <?=form_error('emp_designation'); ?> </span>
                                                    </div>
                                                </div>                                            
                                            <div class="form-group row <?php if(form_error('year10')){ ?>has-error<?php } ?>">
                                                <label class="col-xl-3 col-lg-3 col-form-label">10th Year
                                                    <span class="required"> * </span>
                                                </label>
                                                <div class="col-md-2">
												<select class="form-control input-height" name="year10" required>
												<option value="">Year</option>
                                                <?php for($i=date('Y');$i>=1947;$i--){?>
												<option value="<?php echo $i; ?>" <?=(isset($studantEduArray[10]['year']) && $studantEduArray[10]['year']==$i?'selected':set_select('year10', $i)); ?>><?php echo $i; ?></option>
												<?php } ?>
                                               </select>
                                               <span class="help-block"> <?=form_error('year10'); ?> </span>											   
												</div>
												<div class="col-md-2">
                                                    <input type="text" name="subject10" id="subject10" placeholder="Enter Subject" class="form-control input-height" value="<?=(isset($studantEduArray[10]['subject'])?$studantEduArray[10]['subject']:set_value('subject10')); ?>" required/>
                                                    <span class="help-block"> <?=form_error('subject10'); ?> </span>
												</div>
												 <div class="col-md-2">
												<input type="text" name="board10" id="board10" placeholder="Enter Board" class="form-control input-height" value="<?=(isset($studantEduArray[10]['board'])?$studantEduArray[10]['board']:set_value('board10')); ?><?=set_value('board10');?>" required/>
												<span class="help-block"> <?=form_error('board10'); ?> </span>
												</div>
												<div class="col-md-3">
												    <select class="form-control input-height" name="quanlification_status10" required>
														<option value="">Choose from</option>
														<option value="NULL" <?=(isset($studantEduArray[10]['quanlification_status']) && $studantEduArray[10]['quanlification_status']=='NULL'?'selected':set_select('quanlification_status', 'NULL')); ?>>NULL</option>
														<option value="PASSED" <?=(isset($studantEduArray[10]['quanlification_status']) && $studantEduArray[10]['quanlification_status']=='PASSED'?'selected':set_select('quanlification_status', 'PASSED')); ?>>PASSED</option>
														<option value="DISCONTINUE" <?=(isset($studantEduArray[10]['quanlification_status']) && $studantEduArray[10]['quanlification_status']=='DISCONTINUE'?'selected':set_select('quanlification_status', 'DISCONTINUE')); ?>>DISCONTINUE</option>
													</select>
                                                    <span class="help-block"> <?=form_error('quanlification_status10'); ?> </span>
												</div>
                                            </div>
                                            <div class="form-group row <?php if(form_error('year12')){ ?>has-error<?php } ?>">
                                                <label class="col-xl-3 col-lg-3 col-form-label">12th Year
                                                    <span class="required"> * </span>
                                                </label>
                                                <div class="col-md-2">
												<select class="form-control input-height" name="year12" required>
												<option value="">Year</option>
                                                <?php for($i=date('Y');$i>=1947;$i--){?>
												<option value="<?php echo $i; ?>" <?=(isset($studantEduArray[12]['year']) && $studantEduArray[12]['year']==$i?'selected':set_select('year12', $i)); ?>><?php echo $i; ?></option>
												<?php } ?>
                                               </select>
                                               <span class="help-block"> <?=form_error('year12'); ?> </span>
												</div>
												<div class="col-md-2">
                                                    <input type="text" name="subject12" id="subject12" placeholder="Enter Subject" class="form-control input-height" value="<?=(isset($studantEduArray[12]['subject'])?$studantEduArray[12]['subject']:set_value('subject12')); ?>" required/> 
                                                 <span class="help-block"> <?=form_error('subject12'); ?> </span>
												 </div>
												 <div class="col-md-2">
												<input type="text" name="board12" id="board12" placeholder="Enter Board" class="form-control input-height" value="<?=(isset($studantEduArray[12]['board'])?$studantEduArray[12]['board']:set_value('board12')); ?>" required/>
												<span class="help-block"> <?=form_error('board12'); ?> </span>
												</div>
												<div class="col-md-3">
												    <select class="form-control input-height" name="quanlification_status12" required>
														<option value="">Choose from</option>
														<option value="NULL" <?=(isset($studantEduArray[12]['quanlification_status']) && $studantEduArray[12]['quanlification_status']=='NULL'?'selected':set_select('quanlification_status12', 'NULL')); ?>>NULL</option>
														<option value="PASSED" <?=(isset($studantEduArray[12]['quanlification_status']) && $studantEduArray[12]['quanlification_status']=='PASSED'?'selected':set_select('quanlification_status12', 'PASSED')); ?>>PASSED</option>
														<option value="DISCONTINUE" <?=(isset($studantEduArray[12]['quanlification_status']) && $studantEduArray[12]['quanlification_status']=='DISCONTINUE'?'selected':set_select('quanlification_status12', 'DISCONTINUE')); ?>>DISCONTINUE</option>
													</select>
                                                    <span class="help-block"> <?=form_error('quanlification_status12'); ?> </span>
												</div>
                                            </div>
                                            <div class="form-group row ">
                                                <label class="col-xl-3 col-lg-3 col-form-label">UG Year
                                                    
                                                </label>
                                                <div class="col-md-2">
												<select class="form-control input-height" name="year13">
												<option value="">Year</option>
                                                <?php for($i=date('Y');$i>=1947;$i--){?>
												<option value="<?php echo $i; ?>" <?=( isset($studantEduArray[13]['year']) && $studantEduArray[13]['year']==$i?'selected':set_select('year13', $i)); ?>><?php echo $i; ?></option>
												<?php } ?>
                                               </select>												
												</div>
												<div class="col-md-2">
                                                    <input type="text" name="subject13" id="subject13" placeholder="Enter Subject" class="form-control input-height" value="<?=(isset($studantEduArray[13]['subject'])?$studantEduArray[13]['subject']:set_value('subject13')); ?>" /> 		
												</div>
												 <div class="col-md-2">
												<input type="text" name="board13" id="board13" placeholder="Enter Board" class="form-control input-height" value="<?=(isset($studantEduArray[13]['board'])?$studantEduArray[13]['board']:set_value('board13')); ?>" />
												</div>
												<div class="col-md-3">
												    <select class="form-control input-height" name="quanlification_status13">
														<option value="">Choose from</option>
														<option value="NULL" <?=(isset($studantEduArray[13]['quanlification_status']) && $studantEduArray[13]['quanlification_status']=='NULL'?'selected':set_select('quanlification_status13', 'NULL')); ?>>NULL</option>
														<option value="PASSED" <?=(isset($studantEduArray[13]['quanlification_status']) && $studantEduArray[13]['quanlification_status']=='PASSED'?'selected':set_select('quanlification_status13', 'PASSED')); ?>>PASSED</option>
														<option value="DISCONTINUE" <?=(isset($studantEduArray[13]['quanlification_status']) && $studantEduArray[13]['quanlification_status']=='DISCONTINUE'?'selected':set_select('quanlification_status13', 'DISCONTINUE')); ?>>DISCONTINUE</option>
													</select>                                                    	
												</div>
                                            </div>
                                            <div class="form-group row">
                                                <label class="col-xl-3 col-lg-3 col-form-label">PG Year
                                                 </label>
                                                <div class="col-md-2">
												<select class="form-control input-height" name="year14">
												<option value="">Year</option>
                                                <?php for($i=date('Y');$i>=1947;$i--){?>
												<option value="<?php echo $i; ?>" <?=(isset($studantEduArray[14]['year']) && $studantEduArray[14]['year']==$i?'selected':set_select('year14', $i)); ?>><?php echo $i; ?></option>
												<?php } ?>
                                               </select>												
												</div>
												<div class="col-md-2">
                                                    <input type="text" name="subject14" id="subject14" placeholder="Enter Subject" class="form-control input-height" value="<?=(isset($studantEduArray[14]['subject'])?$studantEduArray[14]['subject']:set_value('subject14')); ?>" /> 		
												</div>
												 <div class="col-md-2">
												<input type="text" name="board14" id="board14" placeholder="Enter Board" class="form-control input-height" value="<?=(isset($studantEduArray[14]['board'])?$studantEduArray[14]['board']:set_value('board14')); ?>" />
												</div>
												<div class="col-md-3">
												    <select class="form-control input-height" name="quanlification_status14">
														<option value="">Choose from</option>
														<option value="NULL" <?=(isset($studantEduArray[14]['quanlification_status']) && $studantEduArray[14]['quanlification_status']=='NULL'?'selected':set_select('quanlification_status14', 'NULL')); ?>>NULL</option>
														<option value="PASSED" <?=(isset($studantEduArray[14]['quanlification_status']) && $studantEduArray[14]['quanlification_status']=='PASSED'?'selected':set_select('quanlification_status14', 'PASSED')); ?>>PASSED</option>
														<option value="DISCONTINUE" <?=(isset($studantEduArray[14]['quanlification_status']) && $studantEduArray[14]['quanlification_status']=='DISCONTINUE'?'selected':set_select('quanlification_status14', 'DISCONTINUE')); ?>>DISCONTINUE</option>
													</select>                                                    	
												</div>
                                            </div>
                                            <div class="form-group row">
                                                <label class="col-xl-3 col-lg-3 col-form-label">Other
                                                </label>
                                                <div class="col-md-2">
												<select class="form-control input-height" name="year11">
												<option value="">Year</option>
                                                <?php for($i=date('Y');$i>=1947;$i--){?>
												<option value="<?php echo $i; ?>" <?=(isset($studantEduArray[11]['year']) && $studantEduArray[11]['year']==$i?'selected':set_select('year11', $i)); ?>><?php echo $i; ?></option>
												<?php } ?>
                                               </select>												
												</div>
												<div class="col-md-2">
                                                    <input type="text" name="subject11" id="subject11" placeholder="Enter Subject" class="form-control input-height" value="<?=(isset($studantEduArray[11]['subject'])?$studantEduArray[11]['subject']:set_value('subject11')); ?>" /> 		
												</div>
												 <div class="col-md-2">
												<input type="text" name="board11" id="board11" placeholder="Enter Board" class="form-control input-height" value="<?=(isset($studantEduArray[11]['board'])?$studantEduArray[11]['board']:set_value('board11')); ?>" />
												</div>
												<div class="col-md-3">
												    <select class="form-control input-height" name="quanlification_status11">
														<option value="">Choose from</option>
														<option value="NULL" <?=(isset($studantEduArray[11]['quanlification_status']) && $studantEduArray[11]['quanlification_status']=='NULL'?'selected':set_select('quanlification_status11', 'NULL')); ?>>NULL</option>
														<option value="PASSED" <?=(isset($studantEduArray[11]['quanlification_status']) && $studantEduArray[11]['quanlification_status']=='PASSED'?'selected':set_select('quanlification_status11', 'PASSED')); ?>>PASSED</option>
														<option value="DISCONTINUE" <?=(isset($studantEduArray[11]['quanlification_status']) &&$studantEduArray[11]['quanlification_status']=='DISCONTINUE'?'selected':set_select('quanlification_status11', 'DISCONTINUE')); ?>>DISCONTINUE</option>
													</select>                                                    	
												</div>
                                            </div>
                                            <div class="form-group row <?php if(form_error('adhar_card')){ ?>has-error<?php } ?>">
                                                <label class="col-xl-3 col-lg-3 col-form-label">Adhar Card Number
                                                    <span class="required"> * </span>
                                                </label>
                                                <div class="col-lg-9 col-xl-9">
                                                    <input type="text" name="adhar_card" id="adhar_card" placeholder="Enter Adhar Card Number" class="form-control input-height" value="<?=(isset($studentArray[0]['adhar_card'])?$studentArray[0]['adhar_card']:set_value('adhar_card')); ?>" maxlength="12" required/> 
													<span class="help-block"> <?=form_error('adhar_card'); ?> </span>
												</div>
                                            </div>											
											<div class="form-group row">
                                                <label class="col-xl-3 col-lg-3 col-form-label">Status
                                                    <span class="required"> * </span>
                                                </label>
                                                <div class="col-lg-9 col-xl-9"> 
                                                
	                                                <input type="radio" name="status" id="optionsRadios" value="1" <?php echo set_checkbox('status', '1'); ?> checked />
	                                                <label for="optionsRadios">
	                                                    Active 
	                                                </label>
													<input type="radio" name="status" id="optionsRadios1" value="2" <?php echo set_checkbox('status', '2'); ?> />
	                                                <label for="optionsRadios1">
	                                                    Inactive
	                                                </label>                                  										
													
												</div>
                                            </div>   
                                 </div>
                              </div>
                           </div>
                        </div>
                     </div>
                  </div>
                  <!--end: Form Wizard Step 1-->         
                 <!--begin: Form Actions -->
                  <div class="kt-form__actions">    
                  <div style="width: 100%;text-align: center;">                  
                     <button type="Submit" class="btn btn-brand btn-md btn-tall btn-wide kt-font-bold kt-font-transform-u" data-ktwizard-type="action-next">
                        Submit
                     </button>
                 </div>
                  </div>
                  <!--end: Form Actions -->
               </form>
               <!--end: Form Wizard Form-->
         
            </div>
         </div>
      </div>
   </div>
</div>