
{foreach from=$child item=item}
  <li><a href="{$dirName}/?action=mobile_itemview_itemlist&gnr={$item.genrecd}&{$querySID}">{$item.genrenm|escape}</a>
{if $item.child != ""}
    <ul>
{include file="mobile/itemview/genre_tree.html" child=$item.child}
    </ul>
{/if}
  </li>
{/foreach}
