{include file="$gentemplates/_header.tpl" pagetitle="$projectdetails"}
{include file="$gentemplates/_navi.tpl" pagetitle="$projectdetails"}
	
<table border="0" cellpadding="0" cellspacing="0" width="100%">
	<tr class="formhead">
	  <td class="subnav" colspan="3">&nbsp;&nbsp;
	    <a href="index.php?obj=task&amp;view=add&amp;pid={$td.project_id}&amp;{$SESSION}">{$addtask}</a>&nbsp;&nbsp;
	    <a href="index.php?obj=project&amp;view=editform&amp;pid={$td.project_id}&amp;{$SESSION}">{$edit}</a>&nbsp;&nbsp;
	    {if $completable}
	    <a href="index.php?obj=project&amp;view=finish&amp;pid={$td.project_id}&amp;{$SESSION}">{$finish}</a>&nbsp;&nbsp;
	    {/if}
	    <a href="index.php?obj=project&amp;view=cancel&amp;pid={$td.project_id}&amp;{$SESSION}">{$cancel}</a>&nbsp;&nbsp;
	    <a href="index.php?obj=project&amp;view=delete&amp;pid={$td.project_id}&amp;{$SESSION}">{$delete}</a>&nbsp;&nbsp;
	    <a href="index.php?obj=project&amp;view=gantt&amp;pid={$td.project_id}&amp;{$SESSION}">{$ganttchart}</a>&nbsp;&nbsp;
	  </td>
	</tr>
  <tr><td class="lines2" height="2" width="1" colspan="3"><img src="{$imgpathmaster}/space.gif" alt="" width="1" height="2"></td></tr>						
<tr><td colspan="3" class="tab">
<table cellpadding="0" cellspacing="0">
  <tr>
		<td class="tab" width="30">&nbsp;</td>
		<td class="tab" width="100">&nbsp;</td>
		<td class="tab">&nbsp;</td>
	</tr>
	<tr>
		<td class="tab">&nbsp;</td>
		<td class="formhead">{$name}:&nbsp;</td>
		<td class="formhead">{$td.title}</td>
	</tr>
	<tr>
		<td class="tab">&nbsp;</td>
		<td class="formhead">{$startdate}:&nbsp;</td>
		<td class="tab">{$td.startdate|mgw_date}&nbsp;</td>
	</tr>
	<tr>
		<td class="tab">&nbsp;</td>
		<td class="formhead">{$targetdate}:&nbsp;</td>
		<td class="tab">{$td.targetdate|mgw_date}</td>
	</tr>
	<tr>
		<td class="tab" colspan="3">&nbsp;</td>
	</tr>
	<tr>
		<td class="tab">&nbsp;</td>
		<td class="formhead">{$desc}</td>
		<td class="tab">{$td.description}</td>
	</tr>
	<tr>
		<td class="tab">&nbsp;</td>
		<td class="formhead">{$customer}:&nbsp;</td>
		<td class="tab">{$td.name1}</td>
	</tr>
	<tr>
		<td class="tab" colspan="3">&nbsp;</td>
	</tr>
	<tr>
		<td class="tab">&nbsp;</td>
		<td class="formhead">{$projleadername}:&nbsp;</td>
		<td class="tab">{$td.plname} &lt;{$td.plemail}&gt;</td>
	</tr>
	<tr>
		<td class="tab">&nbsp;</td>
		<td class="formhead">{$keyaccountname}:&nbsp;</td>
		<td class="tab">{$td.kaname} &lt;{$td.kaemail}&gt;</td>
	</tr>
<table>
</td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
	<tr>
		<td class="tab" width="30">&nbsp;</td>
		<td class="tab" width="100">&nbsp;</td>
		<td class="tab">&nbsp;</td>
	</tr>
	<tr><td class="lines2" height="1" width="1" colspan="3"><img src="{$imgpathmaster}/space.gif" alt="" width="1" height="1" /></td></tr>
	<tr>
		<td class="tab">&nbsp;</td>
		<td class="tab" colspan="2">
		  <table><tr valign="top"><td class="formhead">{$opentasks}<br />{$td.todotasks|smarty:nodefaults}</td>
		  <td>&nbsp;&nbsp;</td>
		  <td class="formhead">{$finishedtasks}<br />{$td.donetasks|smarty:nodefaults}</td></tr>
		</table></td>
	</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
	<tr><td class="lines2" height="1" width="1" colspan="3"><img src="{$imgpathmaster}/space.gif" alt="" width="1" height="1" /></td></tr>
	<tr>
		<td class="tab" width="30">&nbsp;</td>
		<td class="formhead" colspan="2">{$status}<table>{$td.tpbar|smarty:nodefaults}</table></td>
	</tr>
	<tr>
		<td class="tab" colspan="3">&nbsp;</td>
	</tr>
	<tr><td class="lines2" height="1" width="1" colspan="3"><img src="{$imgpathmaster}/space.gif" alt="" width="1" height="1" /></td></tr>
	<tr>
		<td class="tab">&nbsp;</td>
		<td class="tab" height="23"><a href="index.php?{$SESSION}">{$back}</a></td>
		<td class="tab">&nbsp;</td>
	</tr>
		<tr><td class="lines" height="1" width="1" colspan="3"><img src="{$imgpathmaster}/space.gif" alt="" width="1" height="1" /></td></tr>	
</table>

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