<!--HEADER-SECTION-->
<?php $this->load->view('header_front'); 
//code for to get the page content	
foreach($aboutconent as $val_content)
{
$title=$val_content->title;
$body_content=$val_content->body;
}
 ?>

<div class="content-section"> 
  
  <!--WELCOME-JNJ-->
  <div class="section-welcome">
    <div class="container">
      <div class="nav-welcome">
        <ol class="breadcrumb">
          <li><a href="<?php echo base_url();?>">Home</a></li>
          <li><a href="<?php echo base_url();?>front_end/team_page">Team</a></li>
        </ol>
        <a class="menubtn" href="#"><i class="fa fa-bars"></i></a> </div>
      <div class="gradient">
        <div class="row">
          <div class="col-md-3">
            <div class="main-heading">
              <h1>JNJ<br>
                Team</h1>
            </div>
          </div>
          <div class="col-md-9">
            <div class="welcome-content"> <?php echo $body_content ;?> </div>
            <div class="margin-top-30">
              <ul class="jnj-team">
                <?php 
                                  //code for to get the teams
								  $R=3;
								  $l=3;
								 $j=1;
								  $total=1;
								  	$jobCounter = 4;
                                  foreach($teamlist as $val_team)
                                   {
								 
                                    ?>
                <li> <a href="<?php echo base_url();?>front_end/team_detail?id=<?php echo $val_team->team_id;?>" title="<?php echo $val_team->team_name_datils;?>"  <?php if($total==1 || $total==2 || $total==3 || $total==4){?> class="wow bounceInRight" data-wow-duration="<?php echo  $j;?>.<?php echo $R;?>s"  <?php }?> <?php if($total==5 || $total==6 || $total==7 || $total==8){?> class="wow bounceInLeft"  data-wow-duration="<?php echo  $j;?>.<?php echo $l;?>s" <?php }?>> <img src="<?php echo base_url();?>assets/upload/<?=$val_team->team_image;?>" alt="<?php echo $val_team->team_name_datils;?>" class="img-responsive" > </a> </li>
                <?php 
											$R=$R+2;
											if($total==5 || $total==6 || $total==7 || $total==8)
											{
											$l=$l+2;
											}
											$total++;
											$jobCounter--; //remove each slot as single job is displayed
										if ($jobCounter < 1)  //once all 8 jobs have been displayed
										{
											break; //quit foreach loop so that no more jobs can be shown
										}
											}?>
              </ul>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>

<!--CONTENT-AREA-->
<?php $this->load->view('footer_front'); ?>