<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>留言板</title>
<base href="{$config['siteurl']}">
<link href="{$css_path}css.css" type=text/css rel=stylesheet>
</head>

<body>
{include file="xdcms/header.html"}
  <div id="banner1">{get_block tag='banner'}</div>
  <div id="body3">
<!-- 二级导航 -->
<div id="body3_l">
    <div class="body3_l1">留言板</div>
    <div class="body3_l2">
        <ul>
        	<li><div class="body3_l2_t">&nbsp;<a href="index.php?m=guestbook&c=index&f=add">发表留言</a></div></li>
            <li><div class="body3_l2_t">&nbsp;<a href="index.php?m=guestbook">留言列表</a></div></li>
        </ul> 
    </div>
</div>
<!-- 二级导航 END  -->
    <div id="body3_r">
      <div class="body3_r1">
        <p><a href="/">首页</a> > 留言列表</p>留言板</div>
        <div class="body3_r2">
        <table width="100%" border="0" cellpadding="1" cellspacing="1" bgcolor="#CCCCCC">
          <form name="addform" action="index.php?m=guestbook&c=index&f=add_save" method="post">
          <tr>
            <td colspan="2"><b>发表留言</b><br></td>
          </tr>
          <tr>
            <td width="21%" align="right">标题：</td>
            <td width="79%"><input name="title" type="text" id="title" size="35" /></td>
          </tr>
          {if $member_user!=''}
          <input name="username" type="hidden" id="username" value="{$member_user}" />
          {else}
          <tr>
            <td width="21%" align="right">用户名：</td>
            <td width="79%"><input name="username" type="text" id="username" size="10" /></td>
          </tr>
          {/if}
          <tr>
            <td width="21%" align="right">QQ：</td>
            <td width="79%"><input name="qq" type="text" id="qq" size="15" /></td>
          </tr>
          <tr>
            <td width="21%" align="right">邮箱：</td>
            <td width="79%"><input name="email" type="text" id="email" size="30" /></td>
          </tr>
          <tr>
            <td width="21%" align="right">标题：</td>
            <td width="79%"><textarea name="content" id="content" cols="50" rows="7"></textarea></td>
          </tr>
          <tr>
            <td>&nbsp;</td>
            <td>
            <input type="submit" name="submit" value=" 提 交 " /></td>
          </tr>
          </form>
        </table>
        </div>
    </div>
    <div class="Cle"></div>
  </div>
{include file="xdcms/footer.html"}
</div>
</body>
</html>
