{foreach from=$child item=value}
  <li style="padding-left:15px;">
    <label name="genre"><input type="checkbox" name="genre[{$key|escape}]" value="{$value.genrecd}"{if $value.genrecd == $action.genre[$key]} checked="checked"{elseif !$action.return}{if in_array($value.genrecd,$genre_s)} checked{/if}{/if}>{$value.genrenm}</label>
{counter name=g}

{if $value.child != ""}
  <ul style="list-style:none;">
{include file="admin/itemmanage/update/form_genretree.html" child=$value.child}
  </ul>
{/if}
  </li>
{/foreach}
