<div style="text-align:center;padding:12px 0;">
  <a href="<{my_make_uri option=$uri_options mydirname=$mydirname}>"><img src="<{$myurl}>/images/modules_logo.png" alt="" /></a>
</div>

<{if $redirect_message}>
  <div id="redirect_message"><{$redirect_message}></div>
  <script type="text/javascript">
  <!--
  window.onload =  function(){ jQuery('#redirect_message').fadeOut(20000); }
  // -->
  </script>
<{/if}>

<div id="LinksBreadcrumbs" style="margin:12px 6px;">
  <a href="<{$xoops_url}>/">SiteTop</a>
  <{foreach from=$xoops_breadcrumbs item="crumb" key=count}>
    <{*if $count gt 0 *}><img src="<{$myurl}>/images/a.gif" /> <{*/if*}>
    <{if $crumb.url}>
      <a href="<{$crumb.url}>"><{$crumb.name}></a>
    <{else}>
      <{$crumb.name}>
    <{/if}>
 <{/foreach}>
</div>


<div id="links_menu_block">
  <div id="links_menu_switch" style="float:<{$smarty.const._GLOBAL_LEFT}>;">
    <a href="javascript:void(0);" onClick="menu_open_close(true, '<{$mydirname}>');return false;"><img src="<{$myurl}>/images/menu.png" style="vertical-align:text-bottom;" /></a>
  </div>
  <div id="links_menu1" class="links_menu" style="float:<{$smarty.const._GLOBAL_LEFT}>;">
    <img src="<{$myurl}>/images/folder_star.png" style="vertical-align:text-bottom;" />
    <a href="<{my_make_uri option=$uri_options mydirname=$mydirname controller=ranking method=access}>"><{$smarty.const._MD_TOP_ACCESS}></a>
  </div>
  <div id="links_menu2" class="links_menu" style="float:<{$smarty.const._GLOBAL_LEFT}>;">
    <img src="<{$myurl}>/images/folder_star.png" style="vertical-align:text-bottom;" />
    <a href="<{my_make_uri option=$uri_options mydirname=$mydirname controller=ranking method=hits}>"><{$smarty.const._MD_POPULAR}></a>
  </div>
  <div id="links_menu3" class="links_menu" style="float:<{$smarty.const._GLOBAL_LEFT}>;">
    <img src="<{$myurl}>/images/folder_star.png" style="vertical-align:text-bottom;" />
    <a href="<{my_make_uri option=$uri_options mydirname=$mydirname controller=ranking method=rating}>"><{$smarty.const._MD_TOPRATED}></a>
  </div>
  <{if $isadmin}>
    <div id="links_menu5" class="links_menu" style="float:<{$smarty.const._GLOBAL_LEFT}>;">
      <img src="<{$myurl}>/images/folder_wrench.png" style="vertical-align:text-bottom;" />
      <a href="<{my_make_uri option=$uri_options mydirname=$mydirname controller=future}>"><{$smarty.const._MD_FUTURE}></a>
    </div>
  <{/if}>
  <{if $post_perm && $allcid|@count>0}>
    <div id="links_menu6" class="links_menu" style="float:<{$smarty.const._GLOBAL_LEFT}>;">
      <img src="<{$myurl}>/images/page_edit.gif" style="vertical-align:text-bottom;" />
      <a href="<{my_make_uri option=$uri_options mydirname=$mydirname controller=submit p_key1=cid p_val1=$category_id}>">
      <{$smarty.const._MD_SUBMITLINK}></a>
    </div>
  <{/if}>
  <div id="links_menu8" class="links_menu" style="float:<{$smarty.const._GLOBAL_LEFT}>;">
    <a href="<{my_make_uri option=$uri_options mydirname=$mydirname controller=rss p_key1=cid p_val1=$category_id}>" title="RSS2.0 / Recent Links<{if $category_id}> / <{$allcid[$category_id]}><{/if}>">
      <img src="<{$myurl}>/images/rss.png" alt="RSS2.0" style="vertical-align:text-bottom;" />
    </a>
  </div>
</div>
<br style="clear:both;" /><br />


<script type="text/javascript">
<!--
var submenu_openclose = links_getCookie('<{$mydirname}>_sub_menu');
if (submenu_openclose == 0) {
  menu_close(true);
}
links_setCookie('<{$mydirname}>_sub_menu', submenu_openclose, 365)
// -->
</script>
