
<table width="770" border="1" cellspacing="0" cellpadding="0" bordercolor="#999999">
  <tr> 
    <td bgcolor="#FFFFFF" bordercolor="#FFFFFF" align="center" valign="top"> 
      <table width="98%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td> 
            <p><b>GuestBook</b> <font class="directory">{type_name}</font> 
              <script>
function replyit(id) {
        document.replyform.replyid.value = id;
}
</script>
            </p>
          </td>
        </tr>
        <tr> 
          <td align="right" bordercolor="#99CCCC">[ <a href="index.php?action=list_file&type_id={type_id}">Go 
            Back</a> ]</td>
        </tr>
      </table>
      <table width="98%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td height="2" bgcolor="#666666"><img src="../images/spot.gif" width="1" height="1"></td>
        </tr>
        <tr> 
          <td> 
            <table width="100%" border="0" cellspacing="1" cellpadding="0" bgcolor="#CCCCCC">
              <form action="index.php" method="post" name="itemslist">
                <tr> 
                  <th width="10%">&nbsp;</th>
                  <th width="6%">Replied</th>
                  <th width="54%">Title|Content</th>
                  <th width="14%">Time</th>
                  <th width="9%"> Poster</th>
                  <th width="12%">Opration</th>
                </tr>
                <!-- BEGIN list -->
                <tr bgcolor="#FFFFFF" onMouseOver ="this.style.backgroundColor='#F5F5F5'" onMouseOut ="this.style.backgroundColor='#ffffff'"> 
                  <td width="10%"> 
                    <input type="checkbox" name="file_id[]" value="{id}">
                    <font color="#990000">{id}</font> </td>
                  <td width="6%">{stats}</td>
                  <td width="54%"><b>{title}</b>|{info} </td>
                  <td width="14%">&nbsp;{time_added} </td>
                  <td width="9%">&nbsp;{poster} </td>
                  <td width="12%" align="center"><a href="#reply" onclick="javascript:replyit({id})">[Reply]</a></td>
                </tr>
                <!-- END list -->
                <tr> 
                  <td colspan="6" bgcolor="#FFFFFF"><img src="../images/admin/003.gif" width="38" height="22"> 
                    <input type="submit" name="Submit" value=" Delete ">
                    <input type="hidden" name="action" value="guestbook">
                    <input type="hidden" name="step" value="del">
                    <input type="hidden" name="gid" value="{gid}">
                    [ <a href="#" onClick="CheckAll();">Check All</a> ]</td>
                </tr>
              </form>
            </table>
          </td>
        </tr>
        <tr> 
          <td height="2" bgcolor="#666666"><img src="../images/spot.gif" width="1" height="1"></td>
        </tr>
      </table>
      <br>
      <!-- BEGIN cutpage -->
      <table border="0" cellspacing="0" cellpadding="0" width="100%">
        <form name="form1" method="get" action="">
          <tr> 
            <td valign="bottom" align="center"> {cutpage} &nbsp; &nbsp; {page_info} 
              &nbsp;{page_jump} 
              <input type="text" name="page" size="6">
              {get} 
              <input type="submit" name="submit" value=" &gt;&gt; " class="catbutton">
            </td>
          </tr>
        </form>
      </table>
      <!-- END cutpage -->
      <form name="replyform" method="post" action="">
        <br>
        <table width="95%" border="0" cellspacing="1" cellpadding="0" bgcolor="#666666">
          <tr align="center"> 
            <td colspan="2" class="type"><a name="reply">Reply</a></td>
          </tr>
          <tr bgcolor="#FFFFFF"> 
            <td width="23%" align="right"><a name="reply">ID:</a></td>
            <td width="77%"> 
              <input type="text" name="replyid" size="5">
            </td>
          </tr>
          <tr bgcolor="#FFFFFF"> 
            <td width="23%" align="right">Content:</td>
            <td width="77%"> 
              <textarea name="replyinfo" cols="70" rows="5"></textarea>
            </td>
          </tr>
          <tr bgcolor="#FFFFFF"> 
            <td colspan="2" align="center"> 
              <input type="submit" name="Submit3" value=" Submit ">
              <input type="hidden" name="step" value="reply">
              <input type="hidden" name="gid" value="{gid}">
              <input type="hidden" name="action" value="guestbook">
            </td>
          </tr>
        </table>
      </form>
      <p>&nbsp;</p>
    </td>
  </tr>
</table>
