📄 addreview.asp
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="webconfig.asp"-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title><%=webname%>---发表影片评论</title>
<link href="http://127.0.0.1/newmovie/images/CNFNOT.ICO" rel="shortcut icon">
<link rel="stylesheet" href="style/style.css" type="text/css">
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" BACKGROUND="style/background-extender.gif" oncontextmenu=self.event.returnValue=false onselectstart="return false">
<br style="line-height:5px;">
<table width="530" border="1" cellspacing="0" cellpadding="1" bordercolor="#CCCCFF" align="center">
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="9" background="images/back_3.gif" rowspan="2"></td>
<td class="12v">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="12v">
<tr>
<td class="12v" >
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" id="AutoNumber3" height="0" width="100%">
<tr>
<td>
<table width="100%" border="0" cellpadding="2" cellspacing="1">
<tr>
<td colspan="2" bgcolor="#00FFFF" > <%=webname%>>>><font color=#0000FF>
<b>欢迎您发表评论:<br>
</b></font> </td>
</tr>
<tr>
<td colspan="2" align="center">
<form name="formpl" method="post" action="savereview.asp">
<table width="100%" border="0" align="center" cellpadding="10" cellspacing="0" bgcolor="#00FFFF">
<tr>
<td align="center"> <table width="100%" height="30" border="0" cellpadding="3" cellspacing="0" bgcolor="#DDDDFF">
<tr bgcolor="#CCCCFF">
<td width="100"> 您的姓名:</td>
<td bgcolor="#CCCCFF">
<input name="filmID" type="hidden" class="hidden" value="<%=request.QueryString("ID")%>">
<input name="filmName" type="hidden" class="hidden" value="<%=request.QueryString("filmName")%>">
<input name="rvauthor" type="text" class="text" id="form1" value="<%=session("username")%>" size="13" maxlength="20" onFocus="this.value=''">
</td>
<td width="100"> 您的Email:</td>
<td bgcolor="#CCCCFF">
<input name="rvemail" type="text" cclass="text" id="form2" value="您的Email" size="15" onFocus="this.value=''">
</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr bgcolor="#CCCCFF">
<td width="101"> 您的主题:</td>
<td width="431" bgcolor="#CCCCFF"> <input name="rvname" type="text" class="text" id="form3" value="请输入您评论的题目" size="40" maxlength="20" onFocus="this.value=''">
</td>
</tr>
<tr bgcolor="#CCCCFF">
<td width="101"> 您的留言:</td>
<td> </td>
</tr>
<tr bgcolor="#CCCCFF">
<td colspan="3" align="center"> <textarea name="rvcontent" cols="60" rows="10" class="text" id="form4"></textarea>
<br> <div align="center">
<input name="Submit" type="submit" class="button" value="提交">
<input name="Submit2" type="reset" class="button" value="重置">
</div></td>
</tr>
<script language="VBScript" type="text/VBScript">
function formpl_onSubmit()
if document.formpl.rvauthor.value="" then
alert"对不起,您应该输入姓名"
formpl.rvauthor.focus()
formpl_onSubmit=false
elseif document.formpl.rvname.value="" or document.formpl.rvname.value="请输入您评论的题目" then
alert"对不起,您应该输入评论的题目"
formpl.rvname.focus()
formpl_onSubmit=false
elseif document.formpl.rvcontent.value="" then
alert"对不起,您的评论还没有任何内容"
formpl.rvcontent.focus()
formpl_onSubmit=false
elseif len(document.formpl.rvcontent.value)>800 then
alert "对不起,评论内容不能大于800个字节"
formpl.rvcontent.focus()
formpl_onSubmit=false
end if
end function
</script>
</table>
</td>
</tr>
<tr>
<td height="2" align="right" bgcolor="#CCCCFF">
</td>
</tr>
</table>
</form>
</td>
</tr>
<tr>
<td colspan="2" align="center" bgcolor="#00FFFF">
<b><font color="#FF0000">您发表的评论仅代表个人的观点,并不代表我们赞同或者支持。<br>我们的立场仅限于传播更多用户感兴趣的信息,谢谢您的发言!</font></b></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
<td class="12v" background="images/back_3.gif" width="9" rowspan="2"></td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -