<?php
error_reporting(0);
$this->load->view('header_front');
 $this->load->view('security_front');
$can_id=$_GET['cand_id'];
$sel_personal_information=mysql_query("select * from njobn_webusers where user_id='".$can_id."'");
$fetch_personal_data=mysql_fetch_array($sel_personal_information);
//count number rows for lookin for
$sel_looking_for=mysql_query("select * from njobn_candidate where candidate_id='".$can_id."'");
$fetch_candiate_image=mysql_fetch_array($sel_looking_for);
$candiimage_profile=$fetch_candiate_image['image'];
$num_rows_looking_for=mysql_num_rows($sel_looking_for);
//conut code for work hostory
$sel_work_history=mysql_query("select * from work_history where candidate_id='".$can_id."'");
$num_rows_work_history=mysql_num_rows($sel_work_history);
//conut code for work qualifications
$sel_qualifications=mysql_query("select * from qualifications where candidate_id='".$can_id."'");
$num_rows_qualifications=mysql_num_rows($sel_qualifications);

//conut code for  skills

$sel_skills=mysql_query("select * from candidate_skills where candidate_id='".$can_id."'");
$num_rows_skills=mysql_num_rows($sel_skills);

//conut code for candidate_language

$sel_candidate_language=mysql_query("select * from candidate_language where candidate_id='".$can_id."'");
$num_rows_candidate_language=mysql_num_rows($sel_candidate_language);

//conut code for candidate_language

$sel_candidate_license=mysql_query("select * from candidate_license where candidate_id='".$can_id."'");
$num_rows_candidate_license=mysql_num_rows($sel_candidate_license);



//get job title

$sele_job_query=mysql_query("select * from njobn_jobdetails where job_id='".$fetch_personal_data['job_id']."'");
$fetch_job_title=mysql_fetch_array($sele_job_query);
if($fetch_personal_data['address']!='')
{
$addressper=5;
}
if($fetch_personal_data['email']!='')
{
$emailper=5;
}
if($fetch_personal_data['phone']!='')
{
$phoneper=5;
}
if($fetch_personal_data['linkedin']!='')
{
$linkedinper=5;
}
if($fetch_personal_data['facebook']!='')
{
$facebookper=5;
}
if($fetch_personal_data['twitter']!='')
{
$twitterper=5;
}
if($fetch_personal_data['upwork']!='')
{
$upworkper=5;
}
if($candiimage_profile!='')
{
$imageper=5;
}
if($fetch_personal_data['summery']!='')
{
$summeryper=10;
}
if($fetch_personal_data['cv_file']!='')
{
$cv_fileper=10;
}

if($fetch_personal_data['cover_info']!='')
{
$cover_infoper=10;
}
if($fetch_candiate_image['salary_from']!=0 && $fetch_candiate_image['salary_to']!=0)
{
$lookinforper=5;
}
if($num_rows_work_history >0)
{
$workhistoryper=5;
}
if($num_rows_qualifications >0)
{
$qualificationsper='5';
}
if($num_rows_skills >0)
{
$skillsper='5';
}
if($num_rows_candidate_language >0)
{
$languageper='5';
}
if($num_rows_candidate_license >0)
{
$licenseper='5';
}
$width=$addressper+$emailper+$phoneper+$linkedinper+$facebookper+$twitterper+$upworkper+$imageper+$summeryper+$cv_fileper+$cover_infoper+$lookinforper+$workhistoryper+$qualificationsper+$skillsper+$languageper+$licenseper;

//code for to get personal information

?>

         <div class="inner-cntnts">

            	<div class="container">



                    <div class="about-candidate-wrap">

                    	<div class="row">

                        	<div class="col-sm-3">

                                <div class="cndate-detail">

<?php

//code for to get web logo
foreach($footer_data1 as $val_profile)
{
if($val_profile->perday==1)
{
$perday='Per Day';
}
if($val_profile->perday==2)
{
$perday='Per Week';
}
if($val_profile->perday==3)
{
$perday='Per Annum';
}
$salary_from=$val_profile->salary_from;
$salary_to=$val_profile->salary_to;
$can_image=$val_profile->image;
$currency_value=$val_profile->currency;
$this->db->where('skill_id',$currency_value);
$querycurrency=$this->db->get('currency');
$resultscurrency = $querycurrency->result();
foreach ($resultscurrency as $rowcurrency)
{
$currency=$rowcurrency->skill_code;
}
}
?>



                                    <div class="candidate-picture margin-bottom-15">
<?php
if($can_image!='')
{?>
<img src="<?php echo base_url();?>assets/upload/<?php echo $can_image;?>" alt="Img" class="img-responsive img-circle">
<?php }
else
{?>
<img src="<?php echo base_url();?>assets_front/images/JNJUKWebLogo.png" alt="Img" class="img-responsive img-circle" style="border:none!important;">
<?php }
?>

                                    </div>


<div class="name-center">
									                   <?php

//code for to show first name and last name

foreach($profile as $val_fname_lname)

{

$gre_job=$val_fname_lname->gre_job;

?>

                                    <h4><?php echo $val_fname_lname->fname.' '.$val_fname_lname->lname;?></h4>

                                   <?php }?>
</div>
                                    <div class="progress">

            <div class="progress-bar progress-bar-striped active" role="progressbar" aria-valuenow="<?php echo $width;?>" aria-valuemin="0" aria-valuemax="100" style="width: <?php echo $width;?>%;"><?php echo $width;?>% Complete

                                        </div>

                                    </div>

<?php

//code for to show email address and and phone

foreach($profile as $val_adress_email_phone)
{
$address=$val_adress_email_phone->address;
$phone=$val_adress_email_phone->phone;
$email=$val_adress_email_phone->email;
$linkedin=$val_adress_email_phone->linkedin;
$facebook=$val_adress_email_phone->facebook;
$twitter=$val_adress_email_phone->twitter;
$upwork=$val_adress_email_phone->upwork;
}
?>
                                    <ul>
                                        <?php if($address!=''){ ?><li><i class="fa fa-home"></i><?php echo $address;?></li> <?php } ?>
                                        <?php if($phone!=''){ ?><li><i class="fa fa-phone"></i><?php echo $phone;?></li> <?php } ?>
                                        <?php if($email!=''){ ?><li><i class="fa fa-envelope"></i><?php echo $email;?></li> <?php } ?>
                                        <?php if($linkedin!=''){ ?><li><a href="<?php echo $linkedin;?>"><i class="fa fa-linkedin-square"></i><?php echo $linkedin; ?></a></li> <?php } ?>
                                        <?php if($facebook!=''){ ?><li><a href="<?php echo $facebook;?>"><i class="fa fa-facebook-square"></i><?php echo $facebook; ?></a></li> <?php } ?>
                                        <?php if($twitter!=''){ ?><li><a href="<?php echo $twitter;?>"><i class="fa fa-twitter-square"></i><?php echo $twitter; ?></a></li> <?php } ?>
                                        <?php if($upwork!=''){ ?><li><a href="<?php echo $upwork;?>"><i class="fa fa-arrow-circle-up"></i><?php echo $upwork; ?></a></li> <?php } ?>
                                        <br/>
                                    </ul>


                                </div>



                            </div>

                            <?php

//code for to get web logo

foreach($profile as $val_personal_infromation)

{



?>

                            <div class="col-sm-9">

                                <div class="candidate-desc">



                                    <div class="edit-cntnts margin-bottom-20">



										<h3>Personal Information</h3>

										<p style="color:#FF0000;"><?php echo $this->session->flashdata('mesage_personalnfo');?></p>

                                	</div>

                                    <div class="cndidte-designation margin-bottom-35">

                                    	<h3><?php echo $val_personal_infromation->fname.' '.$val_personal_infromation->lname;?></h3>

                                		<h5><?php

										//get the job id

										$sel_get_job_id=mysql_query("select * from job_type where cand_id='".$can_id."'");

										$fetch_job_id=mysql_fetch_array($sel_get_job_id);

										//get the jobname

										$sel_get_jobtype=mysql_query("select * from njobn_jobdetails where job_id='".$fetch_job_id['job_type_id']."'");

										$fetch_jobtype=mysql_fetch_array($sel_get_jobtype);

										echo $fetch_jobtype['job_title'];

										?>





										</h5>

                                	</div>



                                    <P><?php echo $val_personal_infromation->summery;?></P>



                                </div>



                            </div>

							<?php }?>

                        </div>

                    </div>



                    <div class="profile-wrap margin-top-30">



                        <div class="row">

                        	<!-- Nav tabs -->

                            <div class="col-sm-3 mobile-space">

                                <ul class="nav nav-tabs" role="tablist">

 <li role="presentation"><a href="#cover-letter" role="tab" data-toggle="tab"> CV &amp; Cover Letter</a></li>
<li role="presentation"><a href="#looking-for" role="tab" data-toggle="tab" onclick="hide_lookingfor()">Looking for</a></li
                                    ><li role="presentation"><a href="#work-history" role="tab" data-toggle="tab" onclick="hide_workhistory()">Work history</a></li>
<li role="presentation"><a href="#qualifications" role="tab" data-toggle="tab" onclick="hide_qualifications()">Qualifications</a></li>
 <li role="presentation"><a href="#skills" role="tab" data-toggle="tab" onclick="hide_skills()">Skills</a></li>
                                    <li role="presentation"><a href="#languages" role="tab" data-toggle="tab" onclick="hide_languages()">Languages</a></li>
                                    <li role="presentation"><a href="#license" role="tab" data-toggle="tab" onclick="hide_license()">Car &amp; driving license</a></li>

                                </ul>

                            </div>

                            <!-- Nav tabs -->





                            <!-- Tab panes -->

                            <div class="col-sm-9">

                                <div class="tab-content">

                                <div role="tabpanel" class="tab-pane fade in active" id="cover-letter">
								  <ul class="looking-for">

                                        	<li>
                                                <div class="edit-cntnts margin-bottom-20">
                                                    <h3 style="width:100%">Cover Letter</h3></br>
                                                <span><?php echo $fetch_personal_data['cover_info'];?></span></br>
											<!--	<img src="<?php echo base_url();?>assets_front/images/cv.jpg" height="28" width="28">-->
												<h3>Curriculum Vitae</h3>
                                                <?php /*added buttons for cv */?>
                                                <div class="butten-section" style="margin-top: 10px;">
                                                <!-- cv thumbnail -->
                                                <img src="<?php echo base_url();?>assets_front/images/cv.jpg" height="160" width="120"><br/>
                                                <br/><span><input type="submit" onClick="window.open('<?php echo base_url();?>front_end/download_cv_by_recuerts?document=<?php echo $fetch_personal_data['cv_file'] ;?>&cand_id=<?php echo $can_id;?>')" target="_blank" value="Download"></span>
            <span><input type="submit" onClick="window.open('<?php echo base_url();?>front_end/viewcvcand?document=<?php echo $fetch_personal_data['cv_file'] ;?>&cand_id=<?php echo $can_id;?>')" target="_blank" value="View"> </span></br>
                                                </div>

												</br>

												</div>

                                        	</li>
											</ul>

								</div>
	 <div role="tabpanel" class="tab-pane fade" id="looking-for">

                                        <ul class="looking-for">

                                        	<li>
                                                <div class="edit-cntnts margin-bottom-20">
                                                    <h3>Salary</h3>
                                               <!-- <span>Minimum salary (please enter at least one type of salary)*</span>-->
												</div>
                                                <div class="edit-filds">
                                                	<div class="row">
                                                        <div class="col-xs-6"><strong>From</strong><?php echo ' ';?>
                                                        <?php echo $salary_from.' '.$currency;?>
                                                         </div>
                                                         <div class="col-xs-6">
														 <strong>To</strong><?php echo ' ';?>
                                                      <?php echo $salary_to.' '.$currency.' '.$perday;?>
                                                         </div>
                                                     </div>
                                                </div>
                                        	</li>
                                            <li>
                                                <div class="edit-cntnts margin-bottom-20">
                                                   <h3 style="width:100%">Preferred work location</h3>
													 <?php

													foreach($get_can_locations as $val_can_locations)

                                                          {?>

													<div class="dit-section">

                                                    	  <h6 style="width:50%;"><?php //code to show locations name
				$sel_query=mysql_query("select * from countries where id='".$val_can_locations->location_id."'");
													$fetch_get_conury=mysql_fetch_array($sel_query);
													$countries_name=$fetch_get_conury['name'];
													echo $countries_name;?></h6>
                                                    </div>
										<?php }?>
												</div>
                                        	</li>
                                            <li>
                                                <div class="edit-cntnts margin-bottom-0px">
                                                   <h3 style="width:100%">Job Type</h3>
                                                   <div class="checkbox">
                                                    <?php
													foreach($get_job_types as $val_job_types)
                                                          {
														  $arr[]=$val_job_types->job_type_id;
														  }
														 ?>
<?php if(in_array(5,$arr)){?><label style="margin: 6px -3px 0px 1px;!important;color:#6d6d6d;"> Full Time</label> |<?php }?>
<?php if(in_array(4,$arr)){?><label style="margin: 6px -3px 0px 1px;!important;color:#6d6d6d;"> Part Time </label> |<?php }?>
<?php if(in_array(3,$arr)){?><label style="margin: 6px -3px 0px 1px;!important;color:#6d6d6d;"> Contract </label> |<?php }?>
<?php if(in_array(2,$arr)){?><label style="margin: 6px -3px 0px 1px;!important;color:#6d6d6d;"> Temporary </label> |<?php }?>
<?php if(in_array(7,$arr)){?><label style="margin: 6px -3px 0px 1px;!important;color:#6d6d6d;"> Permanent </label> |<?php }?>
<?php if(in_array(1,$arr)){?><label style="margin: 6px -3px 0px 1px;!important;color:#6d6d6d;">Volunteer</label> |<?php }?>
<?php if(in_array(6,$arr)){?><label style="margin: 6px -3px 0px 1px;!important;color:#6d6d6d;">Other</label> <?php }?>
                                                  </div>

                                                  <!--<div class="checkbox">

                                                    <label><?php if($gre_job==1){?>Recent graduate<?php }?></label>

                                                  </div>-->

												</div>
                                        	</li>
											<li>
                                                <div class="edit-cntnts margin-bottom-0px">
                                                   <h3 style="width:100%">Carrer Level</h3>
                                                   <div class="checkbox">
                                                    <?php
													foreach($get_carrer_level as $get_carrer_level1)
                                                          {
														  $arrname[]=$get_carrer_level1->carrer_level_id;
														  }
														 ?>
<?php if(in_array(1,$arrname)){?><label style="margin: 6px -3px 0px 1px;!important;color:#6d6d6d;">Not Applicable</label> |<?php }?>
<?php if(in_array(2,$arrname)){?><label style="margin: 6px -3px 0px 1px;!important;color:#6d6d6d;">Internship/Apprenticeship/Graduate</label> |<?php }?>
<?php if(in_array(3,$arrname)){?><label style="margin: 6px -3px 0px 1px;!important;color:#6d6d6d;"> Entry Level/Associate </label> |<?php }?>
<?php if(in_array(4,$arrname)){?><label style="margin: 6px -3px 0px 1px;!important;color:#6d6d6d;"> Mid-Senior Level </label> |<?php }?>
<?php if(in_array(5,$arrname)){?><label style="margin: 6px -3px 0px 1px;!important;color:#6d6d6d;"> Director  </label> |<?php }?>
<?php if(in_array(6,$arrname)){?> <label style="margin: 6px -3px 0px 1px;!important;color:#6d6d6d;">Executive </label> |<?php }?>
                                                  </div>

                                                  <!--<div class="checkbox">

                                                    <label><?php if($gre_job==1){?>Recent graduate<?php }?></label>

                                                  </div>-->

												</div>
                                        	</li>
                                             <li>
                                                <div class="edit-cntnts margin-bottom-20">
                                                   <h3 style="width:100%">Sectors</h3>
                                                 	<div class="dit-section">
													  <?php
													  error_reporting(0);
													foreach($get_can_sectors as $val_secors)
                                                          {
														  //get name of secors

									$sle_sectors=mysql_query("select * from njobn_jobs_category where jobs_category_id='".$val_secors->industeries_id."'");

									$fetch_data_sectors=mysql_fetch_array($sle_sectors);

                                    $this->db->where('candidate_id',$val_secors->candidate_id);

                                    $query = $this->db->get('candidate_industeries');

									$setors_counter=$query->num_rows() ;

														  ?>
		<?php if($fetch_data_sectors['jobs_category_title']!=''){?><label style="margin: 6px -3px 0px 1px;!important;font-weight:normal;color:#6d6d6d;"> <?php echo $fetch_data_sectors['jobs_category_title'];?></label> |<?php }?>
														<?php }?>
                                                    </div>
												</div>
                                        	</li>
                                        </ul>
                                    </div>

<div id="work-history"  role="tabpanel" class="tab-pane fade">
                                    	<ul class="looking-for">
										</br>

											  <li>

                                                <div class="edit-cntnts margin-bottom-20">

                                                 	<div class="dit-section">
													<?php
                                                    foreach($work_history as $val_work_history)
	                                                 {?>

                                                    	<h3><?php echo $val_work_history->job_title ;?></h3>
                                                        </br>
<span class="newStyleCSS"><strong class="newStrongStyleCSS">Comapny Name</strong><?php echo ' ';?><?php echo $val_work_history->cname ;?></span></br>
<span class="newStyleCSS"><strong class="newStrongStyleCSS">From</strong><?php echo ' ';?><?php
    if($val_work_history->fmonth == 1)
    {
     echo "January";
    }elseif($val_work_history->fmonth == 2)
    {
     echo "February";
    }elseif($val_work_history->fmonth == 3)
    {
     echo "March";
    }elseif($val_work_history->fmonth == 4)
    {
     echo "April";
    }elseif($val_work_history->fmonth == 5)
    {
     echo "May";
    }elseif($val_work_history->fmonth == 6)
    {
     echo "June";
    }elseif($val_work_history->fmonth == 7)
    {
     echo "July";
    }elseif($val_work_history->fmonth == 8)
    {
     echo "August";
    }elseif($val_work_history->fmonth == 9)
    {
     echo "September";
    }
    elseif($val_work_history->fmonth == 10)
    {
     echo "October";
    }
    elseif($val_work_history->fmonth == 11)
    {
     echo "Novemeber";
    }
    elseif($val_work_history->fmonth == 12)
    {
     echo "December";
    }
	?> <?php echo ','.$val_work_history->fyear; ?><?php echo ' ';?>
	<strong class="newStrongStyleCSS">To</strong><?php echo ' ';?><?php
    if($val_work_history->tmonth == 1)
    {
     echo "January";
    }
	elseif($val_work_history->tmonth == 2)
    {
     echo "February";
    }elseif($val_work_history->tmonth == 3)
    {
     echo "March";
    }elseif($val_work_history->tmonth == 4)
    {
     echo "April";
    }elseif($val_work_history->tmonth == 5)
    {
     echo "May";
    }elseif($val_work_history->tmonth == 6)
    {
     echo "June";
    }elseif($val_work_history->tmonth == 7)
    {
     echo "July";
    }elseif($val_work_history->tmonth == 8)
    {
     echo "August";
    }elseif($val_work_history->tmonth == 9)
    {
     echo "September";
    }
    elseif($val_work_history->tmonth == 10)
    {
     echo "October";
    }
    elseif($val_work_history->tmonth == 11)
    {
     echo "Novemeber";
    }
    elseif($val_work_history->tmonth == 12)
    {
     echo "December";
    }
	?>
	 <?php echo ','.$val_work_history->tyear;
 ?></span></br>

<?php if($val_work_history->currently==1){?><span class="newStyleCSS"><strong class="newStrongStyleCSS">Job Status</strong><?php echo ' ';?><?php if($val_work_history->currently==1){echo "Currently Working";} ?></span></br><?php }?>
<span class="newStyleCSS"><strong class="newStrongStyleCSS">Details</strong><?php echo ' ';?><?php echo $val_work_history->details;?></span></br>
														 <br/>
                                                     <div class="borderdiv"><br/>
														</div>
														<?php }?>
                                                    </div>
												</div>
                                        	</li>
                                        </ul>
										</br>
                                    </div>
                                    <div  id="qualifications" role="tabpanel" class="tab-pane fade">
										<ul class="looking-for">
                                            <li>

                                                <div class="edit-cntnts margin-bottom-20">

                                                 	<div class="dit-section">

													 <?php

	                                                 foreach($qualifications_data as $val_qualifications_data)

	                                                  {?>

											<h3><?php if($val_qualifications_data->type==2){echo "Matriculation/O-Level";}

									   if($val_qualifications_data->type==3){echo "Intermediate/A-Level";}

									   if($val_qualifications_data->type==4){echo "Bachelors";}

									   if($val_qualifications_data->type==5){echo "Masters";}

									   if($val_qualifications_data->type==6){echo "MPhil/MS";}

									   if($val_qualifications_data->type==7){echo "PHD/Doctorate";}

									   if($val_qualifications_data->type==8){echo "Certification";}

									   if($val_qualifications_data->type==9){echo "Diploma";}

									   if($val_qualifications_data->type==10){echo "Short Course";}?></h3></br>
<span class="newStyleCSS"><strong class="newStrongStyleCSS">School Name</strong><?php echo ' ';?><?php echo $val_qualifications_data->school_name ;?></span></br>
<span class="newStyleCSS"><strong class="newStrongStyleCSS">From</strong><?php echo ' ';?><?php echo $val_qualifications_data->fyear ?><?php echo ' ';?><strong class="newStrongStyleCSS">To</strong><?php echo ' '.$val_qualifications_data->tyear;?></span></br>
														<span class="newStyleCSS"><strong class="newStrongStyleCSS">Subject</strong><?php echo ' ';?><?php echo $val_qualifications_data->subject; ?></span></br>
														<span class="newStyleCSS"><strong class="newStrongStyleCSS">Grade<?php echo ' ';?></strong><?php echo $val_qualifications_data->grade;?></span></br>
												<span class="newStyleCSS"><strong class="newStrongStyleCSS">Details</strong><?php echo '</br>'.$val_qualifications_data->qualifications_details;?></span></br>
												 <br/>
                                                     <div class="borderdiv">
													 </div>

														<?php }?>

                                                    </div>

												</div>

                                        	</li>

                                     	</ul>
										</br>
                                    </div>

  <div  role="tabpanel" class="tab-pane fade" id="skills">
                                    	<div class="edit-cntnts margin-bottom-20">
                                            <h3>Skills</h3>
                                        </div>
                                    	<div class="new-skill">
                                        	<ul class="skillc-contan">
											<?php
                                            //code for to get web logo
                                            foreach($skilss_data as $val_skilss_data)
                                            {
											//get code for skill name
$skill_name=mysql_query("select * from skills where skill_id='".$val_skilss_data->skill_id."'");
											$fetch_skilll_name=mysql_fetch_array($skill_name);
                                             ?>
 <li><a href="#" style="width: 99%;"><?php echo $fetch_skilll_name['skill_name'];?></a></li>
											   <?php }?>

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

          <div  role="tabpanel" class="tab-pane fade" id="languages">
         <ul class="looking-for">
                                        <li>

                                                <div class="edit-cntnts margin-bottom-20">
                                                   <h3 style="width: 100%;">Languages</h3>
													 <?php
													foreach($get_can_languages as $val_can_languages)
                                                          {?>
													<div class="dit-section">
                                        <h6 style="width: 35%;"><?php //code to show locations name
$sel_query_languages=mysql_query("select * from languages where language_id='".$val_can_languages->language_id."'");
									    $fetch_get_languages=mysql_fetch_array($sel_query_languages);
										$languages_name=$fetch_get_languages['language_name'];
										if($val_can_languages->type==1)
										{
										$type_name="Basic";
										}
										if($val_can_languages->type==2)
										{
										$type_name="Intermediate";
										}
										if($val_can_languages->type==3)
										{
										$type_name="Fluent";
										}
										echo $languages_name.' '.' '.'<b>'.'---'.'</b>'.$type_name;?></h6>
                                                    </div>
										<?php }?>
												</div>
                                        	</li>
                                        </ul>
                                    </div>
									<?php
                                            //code for to get web logo
                                            foreach($license_data as $val_license_data)
                                            {
											$licensecheck1=$val_license_data->licensecheck1;
											$carcheck1=$val_license_data->carcheck1;
											}
											?>
                                    <div id="license"  role="tabpanel" class="tab-pane fade">
                                    <ul class="looking-for">

                                        <li>

                                            <div class="edit-cntnts margin-bottom-0px">
                                            	<div class="edit-cntnts margin-bottom-20">
                                                     <h3>I have a full license and am eligible to drive in the UK?</h3>
												</div>

                                               <div class="checkbox">

<label><?php if($licensecheck1==1){?>Yes<?php }?></label>
<label><?php if($licensecheck1==2){?>No<?php }?></label>
                                              </div>

                                           </div>

                                      	</li>

                                         <li>

                                            <div class="edit-cntnts margin-bottom-0px">

                                            	<div class="edit-cntnts margin-bottom-20">

                                                     <h3>I have a car?</h3>

												</div>

                                               <div class="checkbox">

                                                <label><?php if($carcheck1==1){?>Yes<?php }?></label>
 												<label><?php if($carcheck1==2){?>No<?php }?></label>
                                              </div>
                                           </div>
                                      	</li>
                                   </ul>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        </div>
<?php $this->load->view('footer_front'); ?>