<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-6">
<i class="fa-solid fa-right-long"><a title="<{$smarty.const._THEME_MENU02}>" href="<{xoAppUrl}><{$smarty.const._THEME_MENU02LINK}>"><{$smarty.const._THEME_MENU02}></a></i>
<{if $xoops_isuser}>  
<i class="fa-solid fa-right-long"><a title="<{$smarty.const._THEME_MENU08}>" href="<{xoAppUrl}><{$smarty.const._THEME_MENU08LINK}>"><{$smarty.const._THEME_MENU08}></a></i>
<i class="fa-solid fa-right-long"><a title="<{$smarty.const._THEME_MENU04}>" href="<{xoAppUrl}><{$smarty.const._THEME_MENU04LINK}>"><{$smarty.const._THEME_MENU04}></a></i>
 <{else}> 
<i class="fa-solid fa-right-long"><a title="<{$smarty.const._THEME_MENU05}>" href="<{xoAppUrl}><{$smarty.const._THEME_MENU05LINK}>"><{$smarty.const._THEME_MENU05}></a></i>
<{/if}>
<{if $themesvar.logcounterx}>
<i class="fa-solid fa-right-long"><a title="<{$smarty.const._THEME_MENU06}>" href="<{xoAppUrl}><{$themesvar.logcounterx}>"><{$smarty.const._THEME_MENU06}></a></i>
<{/if}>
</div>
  <div class="col-6">
<{if !$xoops_isuser && $tplvar.conf_value}>  
<i class="fa-solid fa-right-long"><a title="<{$smarty.const._THEME_MENU09}>" href="<{xoAppUrl}><{$themesvar.registerurl}>"><{$smarty.const._THEME_MENU09}></a></i>
<{/if}>
<{if $xoops_isadmin}>
<i class="fa-solid fa-right-long"><a title="<{$smarty.const._THEME_MENU14}>" href="<{xoAppUrl}>admin.php"><{$smarty.const._THEME_MENU14}></a></i>
<i class="fa-solid fa-right-long"><a title="<{$smarty.const._THEME_MENU17}>" href="<{xoAppUrl}>modules/neothemesadmin/admin/index.php"><{$smarty.const._THEME_MENU17}></a></i>
<i class="fa-solid fa-right-long"><a title="<{$smarty.const._THEME_MENU23}>" href="<{xoAppUrl}>index.php?caches=clear"><{$smarty.const._THEME_MENU23}></a></i>

<{/if}>

<{if $themesvar.xsitemap}>
<i class="fa-solid fa-right-long"><a title="<{$smarty.const._THEME_MENU07}>" href="<{xoAppUrl}><{$themesvar.xsitemap}>"><{$smarty.const._THEME_MENU07}></a></i>
<{/if}>
</div>
</div>
<{/if}>

<{if $switching  eq '1'}> 
<div class="row">
<{foreach item=tplvar from=$rmenua}>
<div class="col-12"><i class="fa-solid fa-right-long"><a target="<{$tplvar.target}>" href="<{$tplvar.url}>" title="<{$tplvar.title}>" ><{$tplvar.title}></a></i></div>
<{/foreach}>  
</div>
 <{/if}>

<{if $switching  eq '2'}>
<div class="row">
<{foreach item=tplvar from=$rmenub}>
<div class="col-12"><i class="fa-solid fa-right-long"><a target="_self" href="<{xoAppUrl}>modules/<{$tplvar.dirname}>" title="<{$tplvar.name}>"><{$tplvar.name}></a></i></div>
<{/foreach}>
</div>
 <{/if}>
</div>

<{if ($tplvar.layout eq '3' || $tplvar.layout eq '4' || $tplvar.layout eq '5')  &&  $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"><i class="fa-regular fa-circle-xmark"></i> <{$smarty.const._THEME_MENU22}></button>
<{/if}>



</div>



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


</header>