<table border="0" cellpadding="0" cellspacing="0" width="100%">
  <tr>
    <td class="category" width="1"><img src="{$imgpathmaster}/space.gif" width="1" height="1"></td>
    <td class="category" width="100%"><img src="{$imgpathmaster}/space.gif" width="1" height="1"></td>
    <td class="category" width="1"><img src="{$imgpathmaster}/space.gif" width="1" height="1"></td>
  </tr>
  <tr>
    <td class="category" width="1"><img src="{$imgpathmaster}/space.gif" width="1" height="1"></td>
    <td class="subnavback" width="100%"><div align="center">{$hashmap.projects}</div></td>
    <td class="category" width="1"><img src="{$imgpathmaster}/space.gif" width="1" height="1"></td>
</tr>
<tr>
  <td class="category" width="1"><img src="{$imgpathmaster}/space.gif" width="1" height="1"></td>
  <td class="category" width="100%"><img src="{$imgpathmaster}/space.gif" width="1" height="1"></td>
  <td class="category" width="1"><img src="{$imgpathmaster}/space.gif" width="1" height="1"></td>
</tr>

<tr>
  <td class="category" width="1"><img src="{$imgpathmaster}/space.gif" width="1" height="1"></td>
  <td class="tab" valign="top">
    <table border="0" cellpadding="3" width="100%">
      <tr><td>
	<table border="0" cellpadding="0" cellspacing="2" width="100%">
	  <tr>
	    <th class="formhead">{$project}/{$task}</th>
	    <th class="formhead">{$hours}</th>
	    <th class="formhead">{$usedhours}</th>
	  </tr>
      	{section name=pc loop=$projects}
	<tr>
	  <td valign="top" class="formhead" colspan="3"><a href="../projects/index.php?obj=project&amp;view=details&amp;pid={$projects[pc].pid}&amp;{$SESSION}">{$projects[pc].ptitle}</a>
	  </td>
	</tr>
	{section name=tc loop=$projects[pc].tasks}
	<tr>
	  <td class="tab" align="left">
	  {if $projects[pc].tasks[tc].indent}
        <img src="{$imgpathgeneral}/space.gif" height="10" width="{$projects[pc].tasks[tc].indent}">
      {/if}
	    <a href="../projects/index.php?obj=task&amp;view=edit&amp;tid={$projects[pc].tasks[tc].task_id}&amp;{$SESSION}">{$projects[pc].tasks[tc].title}</a>
	  </td>
	  <td class="tab" align="center">
	    {if $projects[pc].tasks[tc].billable eq 1}
	    <strong>{$projects[pc].tasks[tc].hours}</strong>
	    {else}
	    {$projects[pc].tasks[tc].hours}
	    {/if}
	  </td>
	  <td class="tab" align="center">
	    {if $projects[pc].tasks[tc].hours < $projects[pc].tasks[tc].usedhours}
	    <span style="color:#dd0000;">{$projects[pc].tasks[tc].usedhours}</span>
	    {else}
	    {$projects[pc].tasks[tc].usedhours}
	    {/if}
	  </td>
	</tr>
	{/section}

    {/section}

	</table>
      </td></tr>
    </table> 
  </td>
  <td class="category" width="1"><img src="{$imgpathmaster}/space.gif" width="1" height="1"></td>

</tr>
<tr>
  <td class="category" width="1"><img src="{$imgpathmaster}/space.gif" width="1" height="1"></td>
  <td class="category"><img src="{$imgpathmaster}/space.gif" width="1" height="1"></td>
  <td class="category" width="1"><img src="{$imgpathmaster}/space.gif" width="1" height="1"></td>
</tr>
</table>
