{include file="$gentemplates/_header.tpl" js="onLoad=document.f1.searchterm.focus()" pagetitle="$title1"}
{include file="$gentemplates/_navi.tpl" pagetitle="$title1"}

<table width="100%" class="contentback" border="0" cellpadding="0" cellspacing="0">
<tr>
<td class="subnav">
  <a href="index.php?mod=todo&amp;obj=item&amp;view=newform&amp;{$SESSION}" class="new">{$hashmap.new}</a>
</td>
</tr>
<tr height="30">
<td align="right">
  <form name="f1" action="index.php" method="POST">
  <input type="hidden" name="{$SESSIONNAME}" value="{$SESSIONID}">
  <input type="hidden" name="mod" value="todo">
  <input type="text" size="20" name="searchterm" value="{$searchterm|escape:"html"}">&nbsp;<input type="submit" value="{$hashmap.search}" name="search" class="submit">&nbsp;&nbsp;
  </form>
</td>
</tr>
</table>

<table width="100%" class="contentback" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
{include file="$gentemplates/_contentheader.tpl" title="$title1"}
	{* TABLE START *}
        {if $projectsupport }
	{include file="$gentemplates/_th7.tpl" r1="<a href=\"index.php?mod=todo&amp;sort=enddate&amp;$SESSION\">$finishdate</a>" r2="<a href=\"index.php?mod=todo&amp;sort=subject&amp;$SESSION\">$subject</a>" r3="$desc" r4="<a href=\"index.php?mod=todo&amp;sort=priority&amp;$SESSION\">$priority</a>" r5="<a href=\"index.php?mod=todo&amp;sort=project&amp;$SESSION\">$project</a>" r6="<a href=\"index.php?mod=todo&amp;sort=status&amp;$SESSION\">$stat</a>" r7="$action"}
		{section name=inhalt1 loop=$td}
			{include file="$gentemplates/_tr7_2.tpl" r1=$mydate[inhalt1]|mgw_datetime r2=$td[inhalt1].header|smarty:nodefaults r3=$cutteddesc[inhalt1] r4=$td[inhalt1].priority|smarty:nodefaults r5=$projects[inhalt1]|smarty:nodefaults r6=$status[inhalt1]|smarty:nodefaults r7=$urls[inhalt1]|smarty:nodefaults}
		{/section}
{else}
	{include file="$gentemplates/_th6.tpl" r1="<a href=\"index.php?mod=todo&amp;sort=enddate&amp;$SESSION\">$finishdate</a>" r2="<a href=\"index.php?mod=todo&amp;sort=subject&amp;$SESSION\">$subject</a>" r3="$desc" r4="<a href=\"index.php?mod=todo&amp;sort=priority&amp;$SESSION\">$priority</a>" r5="<a href=\"index.php?mod=todo&amp;sort=status&amp;$SESSION\">$stat</a>" r6="$action"}
		{section name=inhalt1 loop=$td}
			{include file="$gentemplates/_tr6_2.tpl" r1=$mydate[inhalt1]|mgw_datetime r2=$td[inhalt1].header|smarty:nodefaults r3=$cutteddesc[inhalt1] r4=$td[inhalt1].priority|smarty:nodefaults r5=$status[inhalt1]|smarty:nodefaults r6=$urls[inhalt1]|smarty:nodefaults}
		{/section}
{/if}
</table>
	{* TABLE END *}
  <br />
</td>
</tr>

{if $merged neq 1}
<tr>
<td>
	{include file="$gentemplates/_contentheader.tpl" title="$title2"}

	{* TABLE START *}
{if $projectsupport}
	{include file="$gentemplates/_th7.tpl" r1="<a href=\"index.php?mod=todo&amp;sort=enddate&amp;$SESSION\">$finishdate</a>" r2="<a href=\"index.php?mod=todo&amp;sort=subject&amp;$SESSION\">$subject</a>" r3="$desc" r4="<a href=\"index.php?mod=todo&amp;sort=priority&amp;$SESSION\">$priority</a>" r5="<a href=\"index.php?mod=todo&amp;sort=project&amp;$SESSION\">$project</a>" r6="<a href=\"index.php?mod=todo&amp;sort=status&amp;$SESSION\">$stat</a>" r7="$action"}
		{section name=inhalt1 loop=$td2}
			{include file="$gentemplates/_tr7_2.tpl" r1=$mydate2[inhalt1]|mgw_datetime r2=$td2[inhalt1].header|smarty:nodefaults r3=$cutteddesc2[inhalt1] r4=$td2[inhalt1].priority r5=$projects2[inhalt1] r6=$status2[inhalt1] r7=$urls2[inhalt1]|smarty:nodefaults}
		{/section}
{else}
	{include file="$gentemplates/_th6.tpl" r1="<a href=\"index.php?mod=todo&amp;sort=enddate&amp;$SESSION\">$finishdate</a>" r2="<a href=\"index.php?mod=todo&amp;sort=subject&amp;$SESSION\">$subject</a>" r3="$desc" r4="<a href=\"index.php?mod=todo&amp;sort=priority&amp;$SESSION\">$priority</a>" r5="<a href=\"index.php?mod=todo&amp;sort=status&amp;$SESSION\">$stat</a>" r6="$action"}
		{section name=inhalt1 loop=$td2}
			{include file="$gentemplates/_tr6_2.tpl" r1=$mydate2[inhalt1]|mgw_datetime r2=$td2[inhalt1].header|smarty:nodefaults r3=$cutteddesc2[inhalt1] r4=$td2[inhalt1].priority r5=$status2[inhalt1] r6=$urls2[inhalt1]|smarty:nodefaults}
		{/section}
{/if}
</table>
	{* TABLE END *}
  <br />
</td>
</tr>

{/if}
<tr>
<td>
	{include file="$gentemplates/_contentheader.tpl" title="$title3"}

	{* TABLE START *}
{if $projectsupport}
	{include file="$gentemplates/_th7.tpl" r1="<a href=\"index.php?mod=todo&amp;sort=enddate&amp;$SESSION\">$finishdate</a>" r2="<a href=\"index.php?mod=todo&amp;sort=subject&amp;$SESSION\">$subject</a>" r3="$desc" r4="<a href=\"index.php?mod=todo&amp;sort=priority&amp;$SESSION\">$priority</a>" r5="<a href=\"index.php?mod=todo&amp;sort=project&amp;$SESSION\">$project</a>" r6="<a href=\"index.php?mod=todo&amp;sort=status&amp;$SESSION\">$stat</a>" r7="$action"}
		{section name=inhalt1 loop=$td3}
			{include file="$gentemplates/_tr7_2.tpl" r1=$mydate3[inhalt1]|mgw_datetime r2=$td3[inhalt1].header|smarty:nodefaults r3=$cutteddesc3[inhalt1] r4=$td3[inhalt1].priority r5=$projects3[inhalt1] r6=$status3[inhalt1] r7=$urls3[inhalt1]|smarty:nodefaults}
		{/section}
{else}
	{include file="$gentemplates/_th6.tpl" r1="<a href=\"index.php?mod=todo&amp;sort=enddate&amp;$SESSION\">$finishdate</a>" r2="<a href=\"index.php?mod=todo&amp;sort=subject&amp;$SESSION\">$subject</a>" r3="$desc" r4="<a href=\"index.php?mod=todo&amp;sort=priority&amp;$SESSION\">$priority</a>" r5="<a href=\"index.php?mod=todo&amp;sort=status&amp;$SESSION\">$stat</a>" r6="$action"}
		{section name=inhalt1 loop=$td3}
			{include file="$gentemplates/_tr6_2.tpl" r1=$mydate3[inhalt1]|mgw_datetime r2=$td3[inhalt1].header|smarty:nodefaults r3=$cutteddesc3[inhalt1] r4=$td3[inhalt1].priority r5=$status3[inhalt1] r6=$urls3[inhalt1]|smarty:nodefaults}
		{/section}
{/if}
</table>
	{* TABLE END *}	
</td>
</tr>

</table>

{include file="$gentemplates/_footer.tpl" aktUser=$username}