<?php defined('BASEPATH')or exit("NO DIRECT ACCESS iS ALLOWED");?>
<?php if ($this->session->flashdata('success') == TRUE): ?>
  <div class="alert alert-success"><?php echo $this->session->flashdata('success'); ?></div>
<?php endif; ?>
<?php if ($this->session->flashdata('danger') == TRUE): ?>
  <div class="alert alert-danger alert-dismissible"><?php echo $this->session->flashdata('danger'); ?></div>
<?php endif; ?>

						<!-- <div class="row">
								<div class="col-md-12"> -->
									<!-- Start Page-->
									 <?php echo form_open('Teacher/teacher_edit',['name'=>'presenter_form_view','id'=>'presenter_form_view']);?>
									<?php echo form_hidden('my_array',['name'=>'doaction','id'=>'doaction']);?>
									<?php echo $message;?>
                
										<div class="panel-style space forms">

											<h3 class="heading-title"><a class="btn btn-primary btn-lg btn-block orange large" href="#">General Information ??</a></h3>

											<div class="row general-fc">
											<div class="col-md-12">
                  
        				<div class="col-md-3">
                            <div class="form-group">
    							<?php echo form_label('Email','email',['for'=>'email']);?><?php echo form_error('email'); ?>
                				<?php echo form_input(['name'=>'email','class'=>'form-control','id'=>'email','placeholder'=>'Enter email  here',
    							'value'=>set_value('email',$list->email),'disabled'=>'disabled']);?>
                            </div>
                         </div>
                         <div class="col-md-3">
                            <div class="form-group">
    							<?php echo form_label('First Name','code',['for'=>'first_name']);?><?php echo form_error('first_name'); ?>
                				<?php echo form_input(['name'=>'first_name','class'=>'form-control','id'=>'first_name','placeholder'=>'Enter First Name here',
                				    'value'=>set_value('first_name',ucwords($list->first_name)),'disabled'=>'disabled']);?>
                            </div>
                         </div>
                         <div class="col-md-3">
                            <div class="form-group">
    							<?php echo form_label('Last Name','description',['for'=>'last_name']);?><?php echo form_error('last_name'); ?>
                				<?php echo form_input(['name'=>'last_name','class'=>'form-control','id'=>'last_name','placeholder'=>'Enter Last Name here',
                				    'value'=>set_value('last_name',ucwords($list->last_name)),'disabled'=>'disabled']);?>
                            </div>	
                         </div>
                         <div class="col-md-3">
                            <div class="form-group">
    							<?php echo form_label('Mobile','mobile',['for'=>'mobile']);?><?php echo form_error('mobile'); ?>
                				<?php echo form_input(['name'=>'mobile','class'=>'form-control','id'=>'mobile','placeholder'=>'Enter Mobile here',
                				    'value'=>set_value('mobile',ucwords($list->mobile)),'disabled'=>'disabled']);?>
                            </div>	
                         </div>
                         <div class="col-md-3">   
                            <div class="form-group">
    							<?php echo form_label('Gender','gender',['for'=>'gender']);?><?php echo form_error('gender'); ?>
                				<?php $options=array(''=>'Select Gender','male'=>'Male','female'=>'Female','other'=>'Other');  ?>
              					<?php echo form_dropdown('gender',$options,set_value('gender',$list->gender),['class'=>'form-control','disabled'=>'disabled']);?>
                            </div>
                         </div>		
                         <div class="col-md-3">   
                            <div class="form-group">
    							<?php echo form_label('Email Verfied','is_confirmed',['for'=>'gender']);?><?php echo form_error('is_confirmed'); ?>
                				<?php $options=array(''=>'Select Verification','1'=>'Verfied','0'=>'Unverified');  ?>
              					<?php echo form_dropdown('is_confirmed',$options,set_value('is_confirmed',$list->is_confirmed),['class'=>'form-control','disabled'=>'disabled']);?>
                            </div>
                         </div>	 
                         <div class="col-md-3">   
                         <div class="form-group">
    							<?php echo form_label('Date of Birth','dob',['for'=>'dob']);?><?php echo form_error('dob'); ?>
                				<?php echo form_input(['name'=>'dob','class'=>'form-control','id'=>'dob','placeholder'=>'Enter email  here',
    							'value'=>set_value('dob',$list->dob),'disabled'=>'disabled']);?>
                            </div>
                         </div>	 
                         <div class="col-md-3">   
                         <div class="form-group">
    							<?php echo form_label('County','countries',['for'=>'countries']);?><?php echo form_error('countries'); ?>
                				<?php echo form_input(['name'=>'countries','class'=>'form-control','id'=>'countries','placeholder'=>'Enter email  here',
    							'value'=>set_value('countries',ucwords($list->countries)),'disabled'=>'disabled']);?>
                            </div>
                         </div>	 
                         <div class="col-md-3">   
                         <div class="form-group">
    							<?php echo form_label('City','cities',['for'=>'cities']);?><?php echo form_error('cities'); ?>
                				<?php echo form_input(['name'=>'cities','class'=>'form-control','id'=>'cities','placeholder'=>'Enter email  here',
    							'value'=>set_value('cities',ucwords($list->cities)),'disabled'=>'disabled']);?>
                            </div>
                         </div>	 
                         <div class="col-md-3">   
                         <div class="form-group">
    							<?php echo form_label('State','states',['for'=>'states']);?><?php echo form_error('states'); ?>
                				<?php echo form_input(['name'=>'states','class'=>'form-control','id'=>'states','placeholder'=>'Enter email  here',
    							'value'=>set_value('states',ucwords($list->states)),'disabled'=>'disabled']);?>
                            </div>
                         </div>	 
                         <div class="col-md-3">   
                         <div class="form-group">
    							<?php echo form_label('Zip Code','email',['for'=>'zip_code']);?><?php echo form_error('zip_code'); ?>
                				<?php echo form_input(['name'=>'zip_code','class'=>'form-control','id'=>'zip_code','placeholder'=>'Enter email  here',
    							'value'=>set_value('zip_code',$list->zip_code),'disabled'=>'disabled']);?>
                            </div>
                         </div>	 
                         <div class="col-md-3">   
                         <div class="form-group">
    							<?php echo form_label('Aadhar Id','aadhar_id',['for'=>'aadhar_id']);?><?php echo form_error('aadhar_id'); ?>
                				<?php echo form_input(['name'=>'aadhar_id','class'=>'form-control','id'=>'aadhar_id','placeholder'=>'Enter email  here',
    							'value'=>set_value('aadhar_id',$list->aadhar_id),'disabled'=>'disabled']);?>
                            </div>
                         </div>	 
                         <div class="col-md-3">   
                         <div class="form-group">
    							<?php echo form_label('Pan Id','pan_id',['for'=>'pan_id']);?><?php echo form_error('zip_code'); ?>
                				<?php echo form_input(['name'=>'pan_id','class'=>'form-control','id'=>'pan_id','placeholder'=>'Enter email  here',
    							'value'=>set_value('pan_id',ucwords($list->pan_id)),'disabled'=>'disabled']);?>
                            </div>
                         </div>	 
                         <div class="col-md-3">   
                            <div class="form-group">
    							<?php echo form_label('Account Verfied','admin_approve',['for'=>'gender']);?><?php echo form_error('admin_approve'); ?>
                				<?php $options=array(''=>'Select Approved','1'=>'Approved','0'=>'UnApproved');  ?>
              					<?php echo form_dropdown('admin_approve',$options,set_value('admin_approve',$list->admin_approve),['class'=>'form-control']);?>
                            </div>
                         </div>	     
                    </div>
                    </div>
				</div>
									


				<div class="panel-style space forms">

											<h3 class="heading-title"><a class="btn btn-primary btn-lg btn-block orange large" href="#">Qualification Details ??</a></h3>

											<div class="row general-fc">
											<div class="row">
											
					<?php if( count($list1) ):$sn=1;
						$count = $this->uri->segment(4);
					foreach($list1 as $lists ): ?>
                		<div class="col-md-12">
										
        				<div class="col-md-3">
                            <div class="form-group">
    							<?php echo form_label('Class','class',['for'=>'class']);?><?php echo form_error('class'); ?>
                				<?php echo form_input(['name'=>'class','class'=>'form-control','id'=>'class','placeholder'=>'Enter email  here',
    							'value'=>set_value('class',ucwords($lists->class)),'disabled'=>'disabled']);?>
                            </div>
                         </div>
                         <div class="col-md-3">
                            <div class="form-group">
                          
    							<?php echo form_label('Primary Subject','primary_sub',['for'=>'primary_sub']);?><?php echo form_error('primary_sub'); ?>
                				<?php echo form_input(['name'=>'primary_sub','class'=>'form-control','id'=>'primary_sub','placeholder'=>'Enter First Name here',
                				    'value'=>set_value('primary_sub',$lists->primary_sub),'disabled'=>'disabled']);?>
                            </div>
                         </div>
                         <div class="col-md-3">
                            <div class="form-group">
    							<?php echo form_label('Secondary Subject','secondary_sub',['for'=>'secondary_sub']);?><?php echo form_error('secondary_sub'); ?>
                				<?php echo form_input(['name'=>'secondary_sub','class'=>'form-control','id'=>'secondary_sub','placeholder'=>'Enter Last Name here',
                				    'value'=>set_value('secondary_sub',$lists->secondary_sub),'disabled'=>'disabled']);?>
                            </div>	
                         </div>
                         <div class="col-md-3">
                            <div class="form-group">
    							<?php echo form_label('Other','other',['for'=>'other']);?><?php echo form_error('other'); ?>
                				<?php echo form_input(['name'=>'other','class'=>'form-control','id'=>'other','placeholder'=>'Enter Mobile here',
                				    'value'=>set_value('other',$lists->other),'disabled'=>'disabled']);?>
                            </div>	
                         </div>
					<?php $sn++;?>
					<?php endforeach; ?>
					 <?php endif; ?>
                    </div>
                    
                </div>
				
                    </div>
				</div>									
									
					</div>
				</div>
				</div>

	<div class="panel-style space forms">

			<h3 class="heading-title"><a class="btn btn-primary btn-lg btn-block orange large" href="#">Preferred classes & subjects ??</a></h3>

			<div class="row general-fc">
			<div class="row">
			<?php if( count($list2) ):$sn=1;
						$count = $this->uri->segment(4);
					foreach($list2 as $lists2 ): ?>
                		<div class="col-md-12">
                  
        				<div class="col-md-3">
                            <div class="form-group">
    							<?php echo form_label('Qualification','qualification',['for'=>'qualification']);?><?php echo form_error('class'); ?>
                				<?php echo form_input(['name'=>'qualification','class'=>'form-control','id'=>'qualification','placeholder'=>'Enter email  here',
    							'value'=>set_value('class',$lists2->qualification),'disabled'=>'disabled']);?>
                            </div>
                         </div>
                         <div class="col-md-3">
                            <div class="form-group">
                          
    							<?php echo form_label('University','university',['for'=>'university']);?><?php echo form_error('university'); ?>
                				<?php echo form_input(['name'=>'university','class'=>'form-control','id'=>'university','placeholder'=>'Enter First Name here',
                				    'value'=>set_value('university',$lists2->university),'disabled'=>'disabled']);?>
                            </div>
                         </div>
                         <div class="col-md-3">
                            <div class="form-group">
    							<?php echo form_label('Passing Year','passing_year',['for'=>'passing_year']);?><?php echo form_error('passing_year'); ?>
                				<?php echo form_input(['name'=>'passing_year','class'=>'form-control','id'=>'passing_year','placeholder'=>'Enter Last Name here',
                				    'value'=>set_value('passing_year',$lists2->passing_year),'disabled'=>'disabled']);?>
                            </div>	
                         </div>
                         <div class="col-md-3">
                            <div class="form-group">
    							<?php echo form_label('Grade','grade',['for'=>'grade']);?><?php echo form_error('other'); ?>
                				<?php echo form_input(['name'=>'grade','class'=>'form-control','id'=>'grade','placeholder'=>'Enter Mobile here',
                				    'value'=>set_value('other',$lists2->grade),'disabled'=>'disabled']);?>
                            </div>	
                         </div>
                   
                    </div>
                    <?php $sn++;?>
					<?php endforeach; ?>
					 <?php endif; ?>
                </div>

			</div>
			</div>	
	<div class="panel-style space forms">

			<h3 class="heading-title"><a class="btn btn-primary btn-lg btn-block orange large" href="#">Bank Details ??</a></h3>

			<div class="row general-fc">
			<div class="row">
                		<div class="col-md-12">
                   
        				<div class="col-md-3">
                            <div class="form-group">
    							<?php echo form_label('Bank Name','bank_name',['for'=>'bank_name']);?><?php echo form_error('bank_name'); ?>
                				<?php echo form_input(['name'=>'bank_name','class'=>'form-control','id'=>'bank_name','placeholder'=>'Enter email  here',
    							'value'=>set_value('bank_name',$list3->bank_name),'disabled'=>'disabled']);?>
                            </div>
                         </div>
                         <div class="col-md-3">
                            <div class="form-group">
    							<?php echo form_label('Branch Name','branch_name',['for'=>'branch_name']);?><?php echo form_error('branch_name'); ?>
                				<?php echo form_input(['name'=>'branch_name','class'=>'form-control','id'=>'branch_name','placeholder'=>'Enter First Name here',
                				    'value'=>set_value('branch_name',$list3->branch_name),'disabled'=>'disabled']);?>
                            </div>
                         </div>
                         <div class="col-md-3">
                            <div class="form-group">
    							<?php echo form_label('Account Holder Name','account_holder_name',['for'=>'account_holder_name']);?><?php echo form_error('account_holder_name'); ?>
                				<?php echo form_input(['name'=>'account_holder_name','class'=>'form-control','id'=>'account_holder_name','placeholder'=>'Enter Last Name here',
                				    'value'=>set_value('account_holder_name',$list3->account_holder_name),'disabled'=>'disabled']);?>
                            </div>	
                         </div>
                         <div class="col-md-3">
                            <div class="form-group">
    							<?php echo form_label('Ifsc Code','ifsc_code',['for'=>'ifsc_code']);?><?php echo form_error('ifsc_code'); ?>
                				<?php echo form_input(['name'=>'ifsc_code','class'=>'form-control','id'=>'ifsc_code','placeholder'=>'Enter Mobile here',
                				    'value'=>set_value('ifsc_code',$list3->ifsc_code),'disabled'=>'disabled']);?>
                            </div>	
                         </div>
                         	
                         <div class="col-md-3">
                            <div class="form-group">
    							<?php echo form_label('Micr Code','micr_code',['for'=>'micr_code']);?><?php echo form_error('micr_code'); ?>
                				<?php echo form_input(['name'=>'micr_code','class'=>'form-control','id'=>'micr_code','placeholder'=>'Enter Mobile here',
                				    'value'=>set_value('micr_code',$list3->micr_code),'disabled'=>'disabled']);?>
                            </div>	
                         </div>
                         	
                         
						      
                            
                    </div>
					
					
					
					<div class="panel-style space forms">

			<h3 class="heading-title"><a class="btn btn-primary btn-lg btn-block orange large" href="#">Network Info| Uploads ??</a></h3>

			<div class="row general-fc">
			<div class="row">
                		<div class="col-md-12">
                   
        				<div class="col-md-3">
                            <div class="form-group">
    							<?php echo form_label('Current Occupation','current_occupation',['for'=>'current_occupation']);?><?php echo form_error('current_occupation'); ?>
                				<?php echo form_input(['name'=>'current_occupation','class'=>'form-control','id'=>'current_occupation','placeholder'=>'Enter email  here',
    							'value'=>set_value('current_occupation',$list4->current_occupation),'disabled'=>'disabled']);?>
                            </div>
                         </div>
                         <div class="col-md-3">
                            <div class="form-group">
                          
    							<?php echo form_label('Days Available for Teaching','days_available',['for'=>'days_available']);?><?php echo form_error('days_available'); ?>
                				<?php echo form_input(['name'=>'days_available','class'=>'form-control','id'=>'days_available','placeholder'=>'Enter First Name here',
                				    'value'=>set_value('days_available',$list4->days_available),'disabled'=>'disabled']);?>
                            </div>
                         </div>
                         <div class="col-md-3">
                            <div class="form-group">
    							<?php echo form_label('Hours Daily Available','hours_week_ends_available',['for'=>'hours_week_ends_available']);?><?php echo form_error('hours_week_ends_available'); ?>
                				<?php echo form_input(['name'=>'hours_week_ends_available','class'=>'form-control','id'=>'hours_week_ends_available','placeholder'=>'Enter Last Name here',
                				    'value'=>set_value('hours_week_ends_available',$list4->hours_week_ends_available),'disabled'=>'disabled']);?>
                            </div>	
                         </div>
                         <div class="col-md-3">
                            <div class="form-group">
    							<?php echo form_label('Preferred Time for Teaching','available_timings',['for'=>'available_timings']);?><?php echo form_error('available_timings'); ?>
                				<?php echo form_input(['name'=>'available_timings','class'=>'form-control','id'=>'available_timings','placeholder'=>'Enter Mobile here',
                				    'value'=>set_value('available_timings',$list4->available_timings),'disabled'=>'disabled']);?>
                            </div>	
                         </div>
                   
                         <div class="col-md-3">
                            <div class="form-group">
    							<?php echo form_label('Total Teaching Experience','total_teaching_experience',['for'=>'total_teaching_experience']);?><?php echo form_error('total_teaching_experience'); ?>
                				<?php echo form_input(['name'=>'total_teaching_experience','class'=>'form-control','id'=>'total_teaching_experience','placeholder'=>'Enter Mobile here',
                				    'value'=>set_value('total_teaching_experience',$list4->total_teaching_experience),'disabled'=>'disabled']);?>
                            </div>	
                         </div>

                         <div class="col-md-3">
                            <div class="form-group">
    							<?php echo form_label('Type of Connection','type_of_connection',['for'=>'type_of_connection']);?><?php echo form_error('type_of_connection'); ?>
                				<?php echo form_input(['name'=>'type_of_connection','class'=>'form-control','id'=>'type_of_connection','placeholder'=>'Enter Mobile here',
                				    'value'=>set_value('type_of_connection',$list4->type_of_connection),'disabled'=>'disabled']);?>
                            </div>	
                         </div>

                         <div class="col-md-3">
                            <div class="form-group">
    							<?php echo form_label('Download Speed of Internet Connection','down_internet_conn_speed',['for'=>'down_internet_conn_speed']);?><?php echo form_error('down_internet_conn_speed'); ?>
                				<?php echo form_input(['name'=>'down_internet_conn_speed','class'=>'form-control','id'=>'down_internet_conn_speed','placeholder'=>'Enter Mobile here',
                				    'value'=>set_value('down_internet_conn_speed',$list4->down_internet_conn_speed),'disabled'=>'disabled']);?>
                            </div>	
                         </div>

                         <div class="col-md-3">
                            <div class="form-group">
    							<?php echo form_label('Upload Speed of Internet Connection','up_internet_conn_speed',['for'=>'up_internet_conn_speed']);?><?php echo form_error('up_internet_conn_speed'); ?>
                				<?php echo form_input(['name'=>'up_internet_conn_speed','class'=>'form-control','id'=>'up_internet_conn_speed','placeholder'=>'Enter Mobile here',
                				    'value'=>set_value('up_internet_conn_speed',$list->up_internet_conn_speed),'disabled'=>'disabled']);?>
                            </div>	
                         </div>

                         <div class="col-md-3">
                            <div class="form-group">
    							<?php echo form_label('Association with gurukul is','association_with_gurukul',['for'=>'association_with_gurukul']);?><?php echo form_error('association_with_gurukul'); ?>
                				<?php echo form_input(['name'=>'association_with_gurukul','class'=>'form-control','id'=>'association_with_gurukul','placeholder'=>'Enter Mobile here',
                				    'value'=>set_value('association_with_gurukul',$list4->association_with_gurukul),'disabled'=>'disabled']);?>
                            </div>	
                         </div>

                         <div class="col-md-3">
                            <div class="form-group">
    							<?php echo form_label('How you come to know with theonlinegurukul','come_to_know_tog_status',['for'=>'come_to_know_tog_status']);?><?php echo form_error('come_to_know_tog_status'); ?>
                				<?php echo form_textarea(['name'=>'come_to_know_tog_status','class'=>'form-control','id'=>'come_to_know_tog_status','placeholder'=>'Enter Mobile here',
                				    'value'=>set_value('come_to_know_tog_status',$list4->come_to_know_tog_status),'disabled'=>'disabled']);?>
                            </div>	
                         </div>
                    </div>

			</div>
			</div>				

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