<nav>
	<?php
		const links = [
			['/', 'home', 'home', 'Home'],
			['/world', 'world', 'earth', 'World'],
			['/profile', 'profile', 'user1', 'Profile'],
			['/auctions', 'auctions', 'shop', 'Auctions'],
			['/characters', 'chars', 'user1', 'Characters'],
			['/settings', 'settings', 'settings', 'Settings']
		];

		foreach (links as $link): ?>
			<a href="<?= $link[0] ?>" class="<?= ce(($GLOBALS['active_nav_tab'] ?? '') == $link[1], 'active') ?>">
				<img src="/assets/img/icons/<?= $link[2] ?>.png" title="<?= $link[3] ?>">
				<?= $link[3] ?>
			</a>
	<?php endforeach; ?>
</nav>
