{foreach from=$child item=value}
  <li style="padding-left:15px;">
    <label name="genre"><input class="childs{$parentcd}" id="{$value.genrecd}" type="checkbox" name="genre_select[]" value="{$value.genrecd}"{if in_array($value.genrecd, $action.genre_select)} checked{/if}>{$value.genrenm}</label>
{if $value.child != ""}
  <ul style="list-style:none;">
{include file="admin/itemmanage/search_genretree.html" child=$value.child parentcd=$parentcd}
  </ul>
{/if}
  </li>
{/foreach}
