<?php if ( is_user_logged_in() ) : ?>

	<ul class="nd_tabs">
		<li class="active"><a href="#nd_user"><?php _e('You', 'Gameleon'); ?></a></li>
<?php if(get_option('tigu_activity_tab') == 'true'): ?>
<li><a href="#nd_recently_viewed">
<?php _e('Activity', 'Gameleon'); ?>

 </a></li>
<?php endif; ?>

<?php if(get_option('tigu_show_whosonline') == 'true'): ?><li><a href="#nd_online_users"><?php _e('Who is Online?', 'Gameleon'); ?></a></li><?php endif; ?>
	</ul>

<?php else : ?>

	<ul class="nd_tabs">
		<li class="active"><a href="#nd_login_form"><?php _e('Login', 'Gameleon'); ?></a></li>
		<?php if ( get_option('users_can_register') ) : ?>
		<li><a href="#nd_register_form"><?php _e('Register', 'Gameleon'); ?></a></li>
		<?php endif; ?>
        <?php if(get_option('tigu_show_whosonline') == 'true'): ?>
        <li><a href="#nd_online_users_off"><?php _e('Who is Online?', 'Gameleon'); ?></a></li>
		<?php endif; ?>

	</ul>
<?php endif; ?>