<h2>Dat Editor</h2>
<p>&nbsp;</p>
<p>&nbsp;</p>
  <table width="100%" border="0" cellspacing="3" cellpadding="0">
  <tr>
    <td><strong>Name:{dat.name} File:{dat.file} </strong></td>
</tr>
<tr> <td align="right"><zone error writeLock>
        <p style="color:red"><strong>This file is write protected. You won't be able to save your changes.</strong></p>
      </zone error writeLock>
    </td>
  </tr>
  <ZONE datelement enabled>
<form method="post">
  <tr>
    <td><table>
             <tr>
                  <td><strong>ID</strong></td><td><strong>TYPE</strong></td><td><strong>VALUE</strong></td>
			</tr>
  <tr>
		<td>{top.id}</td><td>{top.key1}</td><td><textarea id="arrval" name="arrval" cols="60" rows="10">{top.val}</textarea></td>
   </tr>
        <tr>
			<input type="hidden" id="topid" name="topid" value="{top.id}">
			<input type="hidden" id="topkey1" name="topkey1" value="{top.key1}">
			<input type="hidden" id="topkey2" name="topkey2" value="{top.key2}">
			<input type="hidden" id="id" name="id" value={dat.file}>
          <td height="30" colspan="100" bgcolor="#CCCCCC" style="padding-left:8px;"><input type="submit" name="Submit" value="Save Changes"></td>

        </tr>
</form>
			</table></td></tr>                      

        </ZONE datelement enabled>
        
        <ZONE datelement disabled>
          <tr>
            <td>file/keys not found</td>
          </tr>
        </ZONE datelement disabled>
      </table>
