<?php
$tab1 = "tab1";
$tab2 = "tab2";
$tab3 = "tab3";
$tab4 = "tab4";
$tab5 = "tab5";
?>

<section class="tabs">
  <div class="maintab_wrap">
    <ul class="maintabNav">
      
      <?php if(!empty($data['tab1_show'])) { ?>
	  <li class="firstTab active" style=""><a href="#maintabs-1" title="<?php echo $data['tab1_title']; ?>"><span class=""><?php echo $data['tab1_title']; ?></span></a></li>
      <?php } ?>
      <?php if(!empty($data['tab2_show'])) { ?>
	  <li><a href="#maintabs-2" title="<?php echo $data['tab2_title']; ?>"><span class=""><?php echo $data['tab2_title']; ?></span></a></li>
      <?php } ?>
      <?php if(!empty($data['tab3_show'])) { ?>
	 <li><a href="#maintabs-3" title="<?php echo $data['tab3_title']; ?>"><span class=""><?php echo $data['tab3_title']; ?></span></a></li>
      <?php } ?>
      <?php if(!empty($data['tab4_show'])) { ?>
	  <li><a href="#maintabs-4" title="<?php echo $data['tab4_title']; ?>"><span class=""><?php echo $data['tab4_title']; ?></span></a></li>
      <?php } ?>
      <?php if(!empty($data['tab5_show'])) { ?>
	 <li><a href="#maintabs-5" title="<?php echo $data['tab5_title']; ?>"><span class=""><?php echo $data['tab5_title']; ?></span></a></li>
      <?php } ?>
      
      
      
      
    </ul>
    <?php if(!empty($data['tab1_show'])) { ?>
    <div class="maintabContent contentBox" id="maintabs-1" style="display: block;">
    <?php lioit_news_tab($tab1); ?>
    </div>
    <!--tab-->
    <?php } ?>
    <?php if(!empty($data['tab2_show'])) { ?>
    <div class="maintabContent contentBox" id="maintabs-2" style="display: none;">
    <?php lioit_news_tab($tab2); ?>
    </div>
    <!--tab-->
    <?php } ?>
    <?php if(!empty($data['tab3_show'])) { ?>
    <div class="maintabContent contentBox" id="maintabs-3" style="display: none;">
    <?php lioit_news_tab($tab3); ?>
    </div>
    <!--tab-->
    <?php } ?>
    <?php if(!empty($data['tab4_show'])) { ?>
    <div class="maintabContent contentBox" id="maintabs-4" style="display: none;">
    <?php lioit_news_tab($tab4); ?>
    </div>
    <?php } ?>
    <?php if(!empty($data['tab5_show'])) { ?>
    <div class="maintabContent contentBox" id="maintabs-5" style="display: none;">
    <?php lioit_news_tab($tab5); ?>
    </div>
    <?php } ?>
    
    
    
    
    
    
  </div><!--End Tabs Warb-->
</section>
