{if $mode eq "edit"}
{include file="$gentemplates/_header.tpl" pagetitle="$editpp"}
{include file="$gentemplates/_navi.tpl" pagetitle="$editpp"}
{else}
{include file="$gentemplates/_header.tpl" pagetitle="$createnewpp"}
{include file="$gentemplates/_navi.tpl" pagetitle="$createnewpp"}
{/if}
	
<form name="f1" action="index.php" method="post">
<input type="hidden" name="{$SESSIONNAME}" value="{$SESSIONID}">			
<input type="hidden" name="id" value="{$id}">			

<table border="0" cellpadding="0" cellspacing="0" width="100%">
  <tr><td class="lines2" height="2" width="1" colspan="3"><img src="{$imgpathmaster}/space.gif" alt="" width="1" height="2"></td></tr>
  <tr align="left">
    <td class="tab" height="20"><img src="{$imgpathmaster}/space.gif" alt="" width="60" height="1"></td>
    <td class="tab">&nbsp;</td>
    <td class="tab" width="70%">&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 align="left">
    <td class="tab" height="40"><img src="{$imgpathmaster}/space.gif" alt="" width="60" height="1"></td>
    <td class="formhead">{$ppname}:</td>
    <td class="formhead"><input type="text" name="name" size="20" maxlength="100" value="{$td.name|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="40"><img src="{$imgpathmaster}/space.gif" alt="" width="60" height="1"></td>
    <td class="formhead">{$company}:</td>
    <td class="formhead"><input type="text" name="company" size="20" maxlength="100" value="{$td.company|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="40"><img src="{$imgpathmaster}/space.gif" alt="" width="60" height="1"></td>
    <td class="formhead">{$account}:</td>
    <td class="formhead"><input type="text" name="account" size="20" maxlength="100" value="{$td.account|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="40"><img src="{$imgpathmaster}/space.gif" alt="" width="60" height="1"></td>
    <td class="formhead">{$pw}:</td>
    <td class="formhead"><input type="text" name="pw" size="20" maxlength="100" value="{$td.pw|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="40"><img src="{$imgpathmaster}/space.gif" alt="" width="60" height="1"></td>
    <td class="formhead">{$urlpp}:</td>
    <td class="formhead"><input type="text" name="url" size="20" maxlength="100" value="{$myurl|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="40"><img src="{$imgpathmaster}/space.gif" alt="" width="60" height="1"></td>
    <td class="formhead">{$regemail}:</td>
    <td class="formhead"><input type="text" name="email" size="20" maxlength="100" value="{$td.email|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="40"><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="30">{$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="40"><img src="{$imgpathmaster}/space.gif" alt="" width="60" height="1"></td>
    <td class="formhead">{$public}:</td>
    <td class="formhead"><input type="radio" name="public" value="1"{$pubcheckedyes}>{$yes}<br><input type="radio" name="public" value="0"{$pubcheckedno}>{$no}</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 align="left">
    <td class="tab" height="40"><img src="{$imgpathmaster}/space.gif" alt="" width="60" height="1"></td>
    <td class="formhead">&nbsp;</td>
    <td class="formhead"><input type="submit" name="{$suname}" value="{if $mode eq "edit"}{$edit}{else}{$create}{/if}" class="{$suclass}"></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}