<[include file="common/group_list.tpl"]>
<div id="contents">
  <br />
  <div id="site-info">
    <div class="site-map">
    <[foreach from=$group_array item=group name=group]>
      <div>
        <ul>
          <li>
            <a href="./index.php?mode=1&group_code=<[$group.group_code]>"><[$group.group_name|escape]></a>
            <form method="post" action="./index.php?mode=1&group_code=<[$group.group_code]>" name="form<[$group.group_code]>">
            <input name="category_code" type="hidden" value="" />
            <input name="per_page" type="hidden" value="<[$smarty.session.per_page.1[$group.group_code]]>" />
            <input name="search_word" type="hidden" value="<[$smarty.session.search.1[$group.group_code].search_word|escape]>" />
            <ul>
            <[foreach from=$group.category_array item=category name=category]>
              <li><a href="javascript:document.form<[$group.group_code]>.category_code.value=<[$category.category_code]>;document.form<[$group.group_code]>.submit();"><[$category.category_name|escape]></a></li>
            <[/foreach]>
            </ul>
            </form>
          </li>
        </ul>
      </div>
    <[/foreach]>
    </div>
  </div>
</div>
<div id="clear"></div>