guestbook-admin.htm
3.91 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
<!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> 电子邮件:</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">
<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>