{include file="admin/header.html"}
<h1 class="xdcms_search_title">留言板管理</h1>
<div class="line"></div>
<form name="addform" action="index.php?m=guestbook&c=admin&f=replysave" method="post">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="xdcms_add_table">
  <tr>
    <td height=25 class="pl20" colspan="2"><b>管理选项：</b><a href="index.php?m=guestbook&c=admin&f=setting">留言设置</a>&nbsp;|&nbsp;<a href="index.php?m=guestbook&c=admin">管理留言</a>&nbsp;|&nbsp;[<a href="javascript:location.reload()">刷新页面</a>]</td>
  </tr>
  <tr>
    <td width="23%">标题</td>
    <td>{$rs.title}</td>
  </tr>
  <tr>
    <td >用户名</td>
    <td>{if $rs.userid==0}{$rs.username}{else}<a href="index.php?m=member&c=admin&f=edit&id={$rs.userid}">{$rs.username}</a>{/if}</td>
  </tr>
  <tr>
    <td>QQ</td>
    <td>{$rs.qq}</td>
  </tr>
  <tr>
    <td>邮箱</td>
    <td >{$rs.email}</td>
  </tr>
  <tr>
    <td>留言时间</td>
    <td>{$rs.inputtime|date_format:'%Y-%m-%d %H:%M:%S'}</td>
  </tr>
  <tr>
    <td>留言内容</td>
    <td>{$rs.content}</td>
  </tr>
  <tr>
    <td>回复：</td>
    <td><textarea name="reply_content" cols="50" rows="5">{$rp.reply_content}</textarea></td>
  </tr>
  <tr>
  	<td>&nbsp;</td>
    <td><input name="id" type="hidden" id="id" value="{$rs.id}" />
      <input type="submit" name="submit" value=" 回 复 " class="submit" /></td>
    </tr>
</table>
</form>
<div class="xdcms_bottom"></div>
</body>
</html>
