{include file="$gentemplates/_header.tpl" pagetitle="$contentheader"}
{include file="$gentemplates/_navi.tpl" pagetitle="$contentheader"}

<form name="np" action="index.php" method="post">
<input type="hidden" name="{$SESSIONNAME}" value="{$SESSIONID}">
<input type="hidden" name="obj" value="project">
<input type="hidden" name="pid" value="{$td.project_id}">
<input type="hidden" name="action" value="{$action}">

<table border="0" cellpadding="0" cellspacing="0" width="100%">
  <tr align="left">
    <td class="tab" height="30"><img src="{$imgpathmaster}/space.gif" alt="" width="60" height="1"></td>
    <td class="tab" width="130"><u>{$projectdesc}</u></td>
    <td class="tab" width="70%">&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>
  <tr align="left">
    <td class="tab" height="30"><img src="{$imgpathmaster}/space.gif" alt="" width="60" height="1"></td>
    <td class="formhead">{$projectname}:</td>
    <td class="formhead"><input type="text" name="name" size="40" maxlength="100" value="{$td.title|escape:"html"}"></td>
  </tr>
  
  <tr><td class="lines" height="1" width="1" colspan="3"><img src="{$imgpathmaster}/space.gif" alt="" width="1" height="1"></td></tr>
  <tr align="left">
    <td class="tab" height="30"><img src="{$imgpathmaster}/space.gif" alt="" width="60" height="1"></td>
    <td class="formhead">{$customer}:</td>
    <td class="formhead">{$companysb|smarty:nodefaults}</td>
  </tr>
  
  <tr><td class="lines" height="1" width="1" colspan="3"><img src="{$imgpathmaster}/space.gif" alt="" width="1" height="1"></td></tr>
  <tr align="left">
    <td class="tab" height="30"><img src="{$imgpathmaster}/space.gif" alt="" width="60" height="1"></td>
    <td class="formhead">{$desc}:</td>
    <td class="formhead">&nbsp;<br><textarea name="description" rows="3" cols="40">{$td.description}</textarea><br>&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>
  <tr align="left">
    <td class="tab" height="30"><img src="{$imgpathmaster}/space.gif" alt="" width="60" height="1"></td>
    <td class="tab" width="120"><u>{$responsible}</u></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>
  <tr align="left">
    <td class="tab" height="30"><img src="{$imgpathmaster}/space.gif" alt="" width="60" height="1"></td>
    <td class="formhead">{$projleadername}:</td>
    <td class="formhead">{$projleader|smarty:nodefaults}</td>
  </tr>
  <tr><td class="lines" height="1" width="1" colspan="3"><img src="{$imgpathmaster}/space.gif" alt="" width="1" height="1"></td></tr>
  <tr align="left">
    <td class="tab" height="30"><img src="{$imgpathmaster}/space.gif" alt="" width="60" height="1"></td>
    <td class="formhead">{$keyaccountname}</td>
    <td class="formhead">{$keyaccount|smarty:nodefaults}</td>
  </tr>
  <tr><td class="lines" height="1" width="1" colspan="3"><img src="{$imgpathmaster}/space.gif" alt="" width="1" height="1"></td></tr>						
  <tr align="left">
    <td class="tab" height="30"><img src="{$imgpathmaster}/space.gif" alt="" width="60" height="1"></td>
    <td class="tab" width="130"><u>{$appointments}</u></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>
  <tr align="left">
    <td class="tab" height="40"><img src="{$imgpathmaster}/space.gif" alt="" width="60" height="1"></td>
    <td class="formhead">{$started}:</td>
    <td class="formhead">{mgw_html_select_date prefix="Start" start_year="-5" end_year="+5" time=$sts}
      {datepick form="np" field="StartYear,StartMonth,StartDay"}
    </td>
  </tr>
  <tr><td class="lines" height="1" width="1" colspan="3"><img src="{$imgpathmaster}/space.gif" alt="" width="1" height="1"></td></tr>
  <tr align="left">
    <td class="tab" height="40"><img src="{$imgpathmaster}/space.gif" alt="" width="60" height="1"></td>
    <td class="formhead">{$targetdate}:</td>
    <td class="formhead">{mgw_html_select_date prefix="End" start_year="-5" end_year="+5" time=$ets}
      {datepick form="np" field="EndYear,EndMonth,EndDay"}
    </td>
  </tr>
  <tr><td class="lines" height="1" width="1" colspan="3"><img src="{$imgpathmaster}/space.gif" alt="" width="1" height="1"></td></tr>
  <tr align="left">
    <td class="tab" height="40"><img src="{$imgpathmaster}/space.gif" alt="" width="60" height="1"></td>
    <td class="formhead"><input type="submit" name="{$suname}" value="{if $mode eq "new"}{$create}{else}{$save}{/if}" class="{$suclass}"></td>
    <td class="formhead"><a class="edit" href="index.php">{$abort}</a></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>
</form> 

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