{strip}
	{if $bottom_menu_sel ne 'index'}</div>{/if}
	{if $registered eq 1}
	<div class="iphone_main_footer" align="right">
		<div id="logoff">
		<a href="index.php?sel=logoff">{$lang.mobile.log_off}</a>
		</div>
	</div>
	{else}
	<div class="iphone_main_footer">
		<div class="btm_menu{if $bottom_menu_sel eq 'index'}_sel{/if}">
		{if $bottom_menu_sel eq 'index'}<div class="btm_l"></div><div class="btm_c">{else}<a href="index.php">{/if}{$lang.mobile.index}{if $bottom_menu_sel eq 'index'}</div><div class="btm_r"></div>{else}</a>{/if}
		{if $bottom_menu_sel eq 'index'}<div style="clear: both;"></div>{/if}
		</div>
		<div class="btm_menu{if $bottom_menu_sel eq 'search'}_sel{/if}">
		{if $bottom_menu_sel eq 'search'}<div class="btm_l"></div><div class="btm_c">{else}<a href="search.php">{/if}{$lang.mobile.search}{if $bottom_menu_sel eq 'search'}</div><div class="btm_r"></div>{else}</a>{/if}
		{if $bottom_menu_sel eq 'search'}<div style="clear: both;"></div>{/if}
		</div>
		<div class="btm_menu{if $bottom_menu_sel eq 'members'}_sel{/if}">
		{if $bottom_menu_sel eq 'members'}<div class="btm_l"></div><div class="btm_c">{else}<a href="search.php?sel=search_all">{/if}{$lang.mobile.members}{if $bottom_menu_sel eq 'members'}</div><div class="btm_r"></div>{else}</a>{/if}
		{if $bottom_menu_sel eq 'members'}<div style="clear: both;"></div>{/if}
		</div>
		<div style="clear: both;"></div>
	</div>
	{/if}
</body>
</html>
{/strip}