<script language="javascript">
function weblinks_hardlink(link,lid){
  link.href='<{$module_url}>/visit.php?lid=' + lid;
  return true;
}
</script>

<br />

<{if $logoshow == 1}>
  <div align="center">
  <a href="<{$module_url}>/index.php"><img src="<{$module_url}>/images/logo.gif" alt="logo" /></a>
  </div>
<{/if}>

<{if $titleshow == 1}>
  <h3 align="center"><{$module_name}></h3>
<{/if}>

<br />
<div align="center">
<form action="<{$module_url}>/search.php" method="post">
<input type="text" id="query" name="query" size="30" maxlength="255" value="<{$search_query}>" />
<select id="andor" name="andor" size="1">
<option value="AND"   <{$search_and}>   ><{$lang_all}></option>
<option value="OR"    <{$search_or}>    ><{$lang_any}></option>
<option value="exact" <{$search_exact}> ><{$lang_exact}></option>
</select>
<input type="hidden" name="action" value="results" />
<input type="submit" value="<{$lang_search}>" />
</form>
</div>
<br />

<!-- guidance bar -->
<{if $xoops_language == "japanese" }>

  <table class="outer" width="100%" cellspacing="0">
  <tr><td class="even">
  &nbsp;
  <a href="<{$module_url}>/index.php"><{$lang_main}></a>
  &nbsp;|&nbsp;
  <{if $cid }>
    <a href="<{$module_url}>/submit.php?cid=<{$cid}>">
  <{else}>
    <a href="<{$module_url}>/submit.php">
  <{/if}>
  <{$lang_submitlink}></a>
  &nbsp;|&nbsp;
  <a href="<{$module_url}>/topten.php?hit=1"><{$lang_site_popular}></a>
  (<{$total_site_topten}>)
  &nbsp;|&nbsp;
  <a href="<{$module_url}>/topten.php?rate=1"><{$lang_site_highrate}></a>
  (<{$total_site_topten}>)
  &nbsp;|&nbsp;
  <a href="<{$module_url}>/viewmark.php?mark=recommend"><{$lang_site_recommend}></a>
  (<{$total_site_recommend}>)
  &nbsp;|&nbsp;
  <a href="<{$module_url}>/viewmark.php?mark=mutual"><{$lang_site_mutual}></a>
  (<{$total_site_mutual}>)
  &nbsp;
  </td></tr></table>

<{else}>

  <table class="outer" width="100%" cellspacing="0">
  <tr><td class="even">
  &nbsp;
  <a href="<{$module_url}>/index.php"><{$lang_main}></a>
  &nbsp;|&nbsp;
  <{if $cid }>
    <a href="<{$module_url}>/submit.php?cid=<{$cid}>">
  <{else}>
    <a href="<{$module_url}>/submit.php">
  <{/if}>
  <{$lang_submitlink}></a>
  &nbsp;
  </td></tr></table>

  <br />

  <table class="outer" width="100%" cellspacing="0">
  <tr><td class="even">
  &nbsp;
  <a href="<{$module_url}>/topten.php?hit=1"><{$lang_site_popular}></a>
  (<{$total_site_topten}>)
  &nbsp;|&nbsp;
  <a href="<{$module_url}>/topten.php?rate=1"><{$lang_site_highrate}></a>
  (<{$total_site_topten}>)
  &nbsp;|&nbsp;
  <a href="<{$module_url}>/viewmark.php?mark=recommend"><{$lang_site_recommend}></a>
  (<{$total_site_recommend}>)
  &nbsp;|&nbsp;
  <a href="<{$module_url}>/viewmark.php?mark=mutual"><{$lang_site_mutual}></a>
  (<{$total_site_mutual}>)
  &nbsp;
  </td></tr></table>

<{/if}>

<br />

<!-- second guidance bar -->
<table class="outer" width="100%" cellspacing="0">
<tr><td class="even">
&nbsp;
<a href="<{$module_url}>/catlist.php"><{$lang_catlist}></a>
&nbsp;|&nbsp;
<a href="<{$module_url}>/viewmark.php?mark=rss"><{$lang_site_rss}></a>
 (<{$total_site_rss}>)
&nbsp;|&nbsp;
<a href="<{$module_url}>/viewfeed.php"><{$lang_atomfeed}></a>
 (<{$total_atomfeed}>)
&nbsp;|&nbsp;
<a href="<{$module_url}>/random.php" target=_blank><{$lang_site_random}></a>
&nbsp;
</td></tr></table>
<br />

