<header id="header">
<{include file="$theme_name/logo.tpl"}> 

<div id='menubar'>
<ul class="menubarrow">
 <li><div title="<{$smarty.const._THEME_MENU01}>" id="menubtn2" ></div></li>
  <li><div title='<{$smarty.const._THEME_MENU13}>' id='menubtn'></div></li>
    <li><div title="<{$smarty.const._THEME_SEARCCH01}>" id="slowdivbotton2" class="eachclass"></div></li>
 <li><div id="slowdivbotton0" class="eachclass" title="<{$smarty.const._THEME_KEYWORDBUTTON}>"></div></li>
   <{if $contactusYN}>
    <li><div id='mailbtn'><a href="<{$mailto}><{$contactus}>" title="<{$smarty.const.THEME_CONTACTUS}>" ><{$smarty.const.THEME_CONTACTUS}></a></div></li>
    <{/if}>
</ul>
</div>

<{include file="$theme_name/menutpl.tpl" menuid=top}>  

<div id='headerformbox' class="slowdiv4 slowdiv5">
<div id="headerform" >
<{if $switching  eq '0'}>  
<div class="row">
  <div class="col-xs-6">
<span class="glyphicon glyphicon-arrow-right"  aria-hidden="true"><a title="<{$smarty.const._THEME_MENU02}>" href="<{xoAppUrl}><{$smarty.const._THEME_MENU02LINK}>"><{$smarty.const._THEME_MENU02}></a></span>

<{if $xoops_isuser}>  

<span class="glyphicon glyphicon-arrow-right"  aria-hidden="true"><a title="<{$smarty.const._THEME_MENU08}>" href="<{xoAppUrl}><{$smarty.const._THEME_MENU08LINK}>"><{$smarty.const._THEME_MENU08}></a></span>
<span class="glyphicon glyphicon-arrow-right"  aria-hidden="true"><a title="<{$smarty.const._THEME_MENU04}>" href="<{xoAppUrl}><{$smarty.const._THEME_MENU04LINK}>"><{$smarty.const._THEME_MENU04}></a></span>
 <{else}> 
<span class="glyphicon glyphicon-arrow-right"  aria-hidden="true"><a title="<{$smarty.const._THEME_MENU05}>" href="<{xoAppUrl}><{$smarty.const._THEME_MENU05LINK}>"><{$smarty.const._THEME_MENU05}></a></span>
<{/if}>
<{if $themesvar.logcounterx}>
<span class="glyphicon glyphicon-arrow-right"  aria-hidden="true"><a title="<{$smarty.const._THEME_MENU06}>" href="<{xoAppUrl}><{$themesvar.logcounterx}>"><{$smarty.const._THEME_MENU06}></a></span>
<{/if}>
</div>
  <div class="col-xs-6">
<{if !$xoops_isuser}>  
<span class="glyphicon glyphicon-arrow-right"  aria-hidden="true"><a title="<{$smarty.const._THEME_MENU09}>" href="<{xoAppUrl}><{$themesvar.registerurl}>"><{$smarty.const._THEME_MENU09}></a></span>
<{/if}>
<{if $xoops_isadmin}>
<span class="glyphicon glyphicon-arrow-right"  aria-hidden="true"><a title="<{$smarty.const._THEME_MENU14}>" href="<{xoAppUrl}>admin.php"><{$smarty.const._THEME_MENU14}></a></span>
<span class="glyphicon glyphicon-arrow-right"  aria-hidden="true"><a title="<{$smarty.const._THEME_MENU17}>" href="<{xoAppUrl}>modules/neothemesadmin/admin/index.php"><{$smarty.const._THEME_MENU17}></a></span>
<span class="glyphicon glyphicon-arrow-right"  aria-hidden="true"><a title="<{$smarty.const._THEME_MENU23}>" href="<{xoAppUrl}>index.php?caches=clear"><{$smarty.const._THEME_MENU23}></a></span>

<{/if}>

<{if $themesvar.xsitemap}>
<span class="glyphicon glyphicon-arrow-right"  aria-hidden="true"><a title="<{$smarty.const._THEME_MENU07}>" href="<{xoAppUrl}><{$themesvar.xsitemap}>"><{$smarty.const._THEME_MENU07}></a></span>
<{/if}>
</div>
</div>
<{/if}>

<{if $switching  eq '1'}> 
<div class="row">
<{foreach item=tplvar from=$rmenua}>
<div class="col-xs-12"><span class="glyphicon glyphicon-arrow-right"  aria-hidden="true"><a target="<{$tplvar.target}>" href="<{$tplvar.url}>" title="<{$tplvar.title}>" ><{$tplvar.title}></a></span></div>
<{/foreach}>  
</div>
 <{/if}>

<{if $switching  eq '2'}>
<div class="row">
<{foreach item=tplvar from=$rmenub}>
<div class="col-xs-12"><span class="glyphicon glyphicon-arrow-right"  aria-hidden="true"><a target="_self" href="<{xoAppUrl}>modules/<{$tplvar.dirname}>" title="<{$tplvar.name}>"><{$tplvar.name}></a></span></div>
<{/foreach}>
</div>
 <{/if}>
</div>

<{if ($tplvar.layout eq '3' || $tplvar.layout eq '4')  &&  $xoBlocks.canvas_left }>
<div id='sidedivbox'><{include file="$theme_name/blockstpl.tpl" fromvar=$xoBlocks.canvas_left  site=left }></div>
<button id='menubtnclose' type="button" class="btn btn-success btn-lg btn-block"><span class="glyphicon glyphicon-remove" aria-hidden="true"></span> <{$smarty.const._THEME_MENU22}></button>
<{/if}>



</div>



<{include file="$theme_name/playerimgtpl.tpl"}> 
<{include file="$theme_name/alstpl.tpl"}> 


</header>