<li class="dropdown hide-from-mobile profile-nav">
   <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
   	<i class="fa fa-user"></i> <span class="caret"></span>
   </a>
   <ul class="dropdown-menu" role="menu">
		<li>
			<a href="{{LINK login}}">{{LANG login}}</a>
		</li>

		<?php if ($pt->config->user_registration == 'on') { ?>
		<li>
			<a href="{{LINK register}}">{{LANG register}}</a>
		</li>
		<?php } ?>
		<li class="divider hidden-lg hidden-md hidden-sm"></li>
		<?php if ($pt->config->night_mode == 'both'): ?>
	    <?php if ($pt->mode == 'night'): ?>
	    <li class="hidden-lg hidden-md hidden-sm toggle-mobile-mode" data-mode="day">
			<a href="javascript:void(0);">{{LANG day_mode}}</a>
		</li>      
	    <?php else: ?> 
	    <li class="hidden-lg hidden-md hidden-sm toggle-mobile-mode" data-mode="night">
			<a href="javascript:void(0);">{{LANG night_mode}}</a>
		</li> 
	    <?php endif; ?>  
	    <?php endif; ?> 
   </ul>
</li>