调用:
评论列表
<script language="javascript" src="/{aspcms:sitepath}plug/comment.asp?id=[news:id]"></script>
<form method="post" action="/{aspcms:sitepath}plug/addComment.asp?action=add">
<input type="hidden" name="NewsID" value="[news:id]" />
<table border="0" cellpadding="2" cellspacing="0" align="center">
<tr>
<td>
内容:</td>
<td align="left"><textarea name="CommentContent"
cols="" rows="" style="BORDER: #B7DAEF 1px solid;WIDTH:420px;
height:80px;"></textarea></td>
</tr>
<tr>
<td>
评论者: </td>
<td align="left">
<input type="text" name="Commentator" style="BORDER:
#B7DAEF 1px solid;WIDTH: 60px; height:18px;" size=12 maxlength="50"
color:#0099ff />
验证码:<input type="text" name="code" style="BORDER: #B7DAEF
1px solid;WIDTH: 60px; height:18px;" size=12 maxlength="4" color:#0099ff
/>
<a><img src="/{aspcms:sitepath}inc/checkcode.asp"
id="SeedImg" align="absmiddle" style="cursor:pointer;" border="0"
/></a>
</td>
</tr>
<tr>
<td height="28">
</td>
<td height="28" align="left"><input type="submit"
name="Submit" value=" 发表 " style="BORDER: #B7DAEF 1px
solid;height:22px;" color:#0099ff /></td>
</tr>
</table>
</form>
样式在模板内,我们自己也可以自己写样式!
文章来源:http://user.qzone.qq.com/1398699578