<div class="panel mailbox">
	<div class="panel-body">
		<ul class="nav nav-pills nav-stacked">
			<?php 
			$tab_active = $this->uri->segment(3, 'home');
			$result = web_menu_list('', 1);
			foreach ($result as $row) {
				$url = base_url('frontend/section/' . $row['alias']);
			?>
			<li class="<?php echo ($row['alias'] == $tab_active ? 'active' : ''); ?>"> <a href="<?php echo $url; ?>"><i class="far fa-arrow-alt-circle-right"></i> <?php echo $row['title']; ?></a></li>
			<?php } ?>
		</ul>
	</div>
</div>