<table cellpadding="2" cellspacing="0">
  <tr valign="top"  class="category">
    <td>{$hashmap.task}</td><td>{$hashmap.assignedto}</td><td>{$hashmap.comments}</td><td>{$hashmap.hours}</td><td>{$hashmap.usedhours}</td><td>{$hashmap.action}</td>
  </tr>
  {section name=t loop=$tasks}
  <tr valign="top">
    <td class="{$tasks[t].class|default:"formhead"}">
      {if $tasks[t].indent}
      <img src="{$imgpathgeneral}/space.gif" height="10" width="{$tasks[t].indent}">
      {/if}
      <a href="index.php?obj=task&amp;view=edit&amp;tid={$tasks[t].task_id}&{$SESSION}">{$tasks[t].title|default:$nodescription}</a>
    </td>
    <td class="tab">{$tasks[t].uname}</td>
    <td align="center" class="tab">
      {if $tasks[t].comments}
      <img src="{$imgpath}/comment-on.gif" border="0">
      {else}
      <img src="{$imgpath}/comment-off.gif" border="0">
      {/if}
    </td>
    <td align="center" class="tab">
      {if $tasks[t].billable eq 1}
      <strong>{$tasks[t].hours}</strong>
      {else}
      {$tasks[t].hours}
      {/if}
    </td>
    <td align="center" class="tab">
      {if $tasks[t].hours < $tasks[t].usedhours}
      <span style="color:#dd0000;">{$tasks[t].usedhours}</span>
      {else}
      {$tasks[t].usedhours}
      {/if}
    </td>
    <td align="center" class="todolist">
      <a href="{$tasks[t].action.url[0]}"><img src="{$imgpath}/{$tasks[t].action.img[0]}" border="0" /></a>
      <a href="{$tasks[t].action.url[1]}"><img src="{$imgpath}/{$tasks[t].action.img[1]}" border="0" /></a>
    </td>
  </tr>
  {/section}
  <tr class="category">
    <td colspan="3">
    {if $tstatus eq 1}
      {$hashmap.totalremaining}
    {else}
      {$hashmap.totalcompleted}
    {/if}
    </td>
    <td align="center">
      {$totalhours|default:0}
    </td>
    <td align="center">
      {$totalusedhours|default:0}
    </td>
    <td>&nbsp;</td>
  </tr>
</table>