<?php if(!empty($page_sections)) : ?>
<ul class="nav nav-tabs">
	<?php foreach($page_sections['data'] as $section):
			if( !in_array($section->page_ID,$page_sections['hidden_section']) ):
	?>
	<li role="presentation" class="<?= ($page_sections['current_url']==$section->page_url)?'active':''; ?>">
		<a href="<?= ($page_sections['current_url']==$section->page_url)?'javascript:void':base_url($section->page_url); ?>"> 
			<?= $section->page_label; ?>
		</a>
	</li>
	<?php 	endif;
		endforeach; 
	?>
</ul>
<?php endif; ?>