<!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=utf-8" />
<title><?php echo $cfg_webname; ?> - 留言本</title>
<link href="<?php echo $cfg_templeturl; ?>/default/style/aitecms.css" rel="stylesheet" type="text/css" media="screen" />
<style>
	.lefttd {
		border-left:1px solid #dedede;
		border-right:1px solid #dedede;
	}
	.ltd {
		border-left:1px solid #dedede;
		border-right:1px solid #dedede;
		border-top:1px solid #dedede;
		border-bottom:1px dashed #dedede;
	}
	.msgtd {
		line-height:180%;
		border-right:1px solid #dedede;
		padding-left:5px;
	}
	.timetd {
		border-right:1px solid #dedede;
		border-top:1px solid #dedede;
		border-bottom:1px dashed #dedede;
		padding-left:5px;
	}
	.bottomtd {
		border-right:1px solid #dedede;
		border-top:1px dashed #dedede;
		padding-left:5px;
	}
	.writetable td {
		padding: 5px;
	}
	.writetd {
		background:url(img/wbg.gif);
	}
	.pagetable {
		border:1px solid #dedede;
		margin-bottom:8px;
		background:#FBFEED;
	}
 .pagelistbox {
 	
 }
 .pagelistbox span{
 	  border:1px solid #dedede;
 	  padding:2px;
 	  margin-right:3px;
 	  background:#E8F9BF;
 }
 .pagelistbox a {
 	  border:1px solid #dedede;
 	  padding:2px;
 	  margin-right:3px;
 	  background:#E8F9BF;
 }
 .rebox {
   width:98%;
   padding:3px;
   border:1px solid #dedede;
 }
</style>
</head>
<body class="mapspage">

<div class="header">
<div class="top w960 center">
		<div class="title">
			<h1>
				<h1><a href="<?php echo $cfg_basehost;?>/"><?php echo $cfg_webname;?></a></h1>
			</h1>
		</div><!-- /title -->
	</div><!-- /top -->
</div><!-- /header -->
<div class="w960 clear center mt1">
  <div class="sp-title">
    <a href='guestbook.php'><h2>留言本</h2></a>
    <span class="more"><a href="<?php echo $cfg_basehost;?>/">返回首页</a> </span> </div>

<table width="100%" border="0" cellspacing="1" cellpadding="4" align="center" bgcolor="#dedede" class='writetable'>
      <form method="post" action="guestbook.php">
  		<input type="hidden" name="action" value="save">
  		<input type="hidden" name="reid" value="<?php echo $row['id']; ?>">
        <tr>
          <td colspan='4' class='writetd'><b>回复主题：</b><?php echo $row['title']; ?><a name='write'></a></td>
        </tr>
        <tr bgcolor="#ffffff">
          <td width="10%" align="center" nowrap><font color="#FF0000">*</font>论文标题：</td>
          <td width="40%"><input type="text" maxlength="50" name="title" size="30" value="回复：<?php echo $row['title']; ?>" class="ipt-txt"/></td>
          <td width="10%" align="center" nowrap>验 证 码：</td>
          <td>
          	<table border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td width="70"><input name="validate" type="text" id="vdcode2" class="ipt-txt" style="width:60px;text-transform: uppercase;" /></td>
              <td><img src='../include/vdimgck.php'/></td>
            </tr>
          </table>
         </td>
        </tr>
        <tr bgcolor="#ffffff">
          <td width="10%" align="center" nowrap><font color="#FF0000">*</font>你的姓名：</td>
          <td width="40%"><input type="text" maxlength="10" name="uname" size="30" value="<?php echo $g_name; ?>" class="ipt-txt"/></td>
          <td width="10%" align="center" nowrap>OICQ号码：</td>
          <td width="40%"><input maxlength="20" type="text" name="qq" size="20" class="ipt-txt" /></td>
        </tr>
        <tr bgcolor="#ffffff">
          <td align="center" nowrap>&nbsp;电子邮件：</td>
          <td><input maxlength="80" type="text" name="email" size="30" class="ipt-txt"/></td>
          <td align="center" nowrap height="12">个人主页：</td>
          <td height="12"><input maxlength="80" type="text" name="homepage" size="20" class="ipt-txt" /></td>
        </tr>
        <tr bgcolor="#ffffff">
          <td align="center" nowrap width="10%"><font color="#FF0000">*</font>留言内容：<br />
            (1000字内) </td>
          <td align="left" width="40%">
          	<textarea name="msg" cols="38" rows="5" class="textarea ipt-txt"></textarea>
          </td>
          <td align="center" nowrap height="2" width="10%">选择头像：</td>
          <td nowrap height="2" width="40%">
          	<input type="radio" name="img" value="01" checked />
            <img src="guestbook/images/01.gif" width="25" height="25" />
            <input type="radio" name="img" value="02" />
            <img src="guestbook/images/02.gif" width="25" height="25" />
            <input type="radio" name="img" value="03" />
            <img src="guestbook/images/03.gif" width="25" height="25" />
            <input type="radio" name="img" value="04" />
            <img src="guestbook/images/04.gif" width="25" height="25" />
            <input type="radio" name="img" value="05" />
            <img src="guestbook/images/05.gif" width="25" height="25" />
            <input type="radio" name="img" value="06" />
            <img src="guestbook/images/06.gif" width="25" height="25" /> 
            <input type="radio" name="img" value="08" />
            <img src="guestbook/images/08.gif" width="25" height="25" />
            <br /><br />
            <input type="radio" name="img" value="13" />
            <img src="guestbook/images/13.gif" width="25" height="25" />
            <input type="radio" name="img" value="14" />
            <img src="guestbook/images/14.gif" width="25" height="25" />
            <input type="radio" name="img" value="15" />
            <img src="guestbook/images/15.gif" width="25" height="25" />
            <input type="radio" name="img" value="16" />
            <img src="guestbook/images/16.gif" width="25" height="25" />
            <input type="radio" name="img" value="17" />
            <img src="guestbook/images/17.gif" width="25" height="25" />
            <input type="radio" name="img" value="18" />
            <img src="guestbook/images/18.gif" width="25" height="25" />
            <input type="radio" name="img" value="20" />
            <img src="guestbook/images/20.gif" width="25" height="25" />
           </td>
        </tr>
        <tr bgcolor="#ffffff">
          <td colspan="4" align="center" nowrap><input maxlength="1000" type="submit" name="Submit" value="提 交" class="btn-2" />
            &nbsp;&nbsp;
            <input type="reset" name="Submit2" value="取 消" class="btn-2" /></td>
        </tr>
      </form>
    </table>

<div class="footer">
<p class="powered">
	<?php echo $cfg_powerby; ?>
</p><!-- /powered -->
</div>
</div>

</body>
</html>
