guestbook-admin.htm 3.91 KB
<!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=<?php echo $cfg_soft_lang; ?>" />
<title><?php echo $cfg_webname; ?>_留言本</title>
<link href="<?php echo $cfg_templeturl; ?>/default/style/dedecms.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="#write">回复留言</a> <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="admin">
  <input type="hidden" name="id" value="<?php echo $id; ?>">
  <input type="hidden" name="job" value="editok">
  <tr>
      <td colspan='4' class='writetd'><b>回复留言:</b><a name='write'></a></td>
  </tr>
  <tr bgcolor="#ffffff">
    <td width="15%" height="30" align="center"><font color="#FF0000">*</font>留言者:</td>
    <td width="35%"><?php echo $row['uname']; ?></td>
    <td width="15%" align="center" nowrap>OICQ号码:</td>
    <td width="35%"><?php echo $row['qq']; ?></td>
  </tr>
  <tr bgcolor="#ffffff">
    <td height="30" align="center" nowrap>&nbsp;电子邮件:</td>
    <td><?php echo $row['email']; ?></td>
    <td align="center" nowrap height="12">个人主页:</td>
    <td height="12"><?php echo $row['homepage']; ?></td>
  </tr>
  <tr bgcolor="#ffffff">
    <td align="center" nowrap width="10%">
      <font color="#FF0000">*</font>留言内容:
    </td>
    <td height="2" colspan="3" align="left">
    	<textarea name="msg" cols="80" rows="6" class="ipt-txt" style="width:90%;"><?php echo $row['msg']; ?></textarea>
    </td>
  </tr>
  <tr bgcolor="#ffffff">
    <td align="center" nowrap>
    	回复留言:
    </td>
    <td colspan="3" nowrap>
    <div style='width:92%'><?php GetEditor('remsg', "<font color=red>管理员回复:</font>", 250, "MemberLit"); ?></div>
    </td>
    </tr>
  <tr bgcolor="#ffffff">
    <td height="30" 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>