📄 send.jsp
字号:
<%@ page contentType="text/html; charset=gb2312" language="java"
import="java.sql.*" errorPage=""%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>发表留言</title>
<style type="text/css">
<!--
body {
background-image: url(img/bg.gif);
margin-top: 0px;
margin-bottom: 5px;
}
.style1 {color: #FF0000}
.style2 {color: #FFFFFF}
td{font-size:14px}
th{font-size:16px}
a:link{text-decoration:none;color:#0000ff}
a:visited{text-decoration:none;color:#0000ff}
a:hover{text-decoration:underline;color:#ff0000}
.l {font-size:13px}
.l a:link{text-decoration:none;color:#0000ff}
.l a:visited{text-decoration:none;color:#0000ff}
.l a:hover{text-decoration:none;color:#ff0000}
-->
</style>
<script language="JavaScript" type="text/JavaScript">
function check_form(theform)
{
if (theform.text.value=="")
{
alert("您还没留下您的意见呢!");
theform.text.focus();
return false;
}
if (theform.title.value=="")
{
alert("请留下您意见的主题!");
theform.title.focus();
return false;
}
if (theform.name.value=="")
{
alert("请输入您的大名!");
theform.name.focus();
return false;
}
}
</script>
</head>
<body>
<form name="form1" method="post" action="act.jsp"
onSubmit="return check_form(this)">
<table width="780" border="0" align="center" cellspacing="0"
bgcolor="#f8fff7">
<tr>
<td height="3"></td>
</tr>
<tr>
<td>
<img src="img/title.jpg" width="778" height="80">
</td>
</tr>
<tr>
<td>
<hr>
</td>
</tr>
<tr>
<td height="10"></td>
</tr>
<tr>
<td>
<table width="100%" border="0" align="center" cellspacing="1"
bgcolor="#c1d1c1">
<tr>
<td bgcolor="#E6F9C8" class="l">
首页 >
<a href="index.jsp">网友留言</a> >
<span class="style1">发表留言</span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="10"></td>
</tr>
</table>
<table width="780" border="0" align="center" cellspacing="1"
bgcolor="#4F7B0D">
<tr bgcolor="#EFF3E7">
<td colspan="2">
<table width="100%" border="0" cellspacing="1">
<tr>
<th bgcolor="#4F7B0D">
<span class="style2">填 写 留 言</span>
</th>
</tr>
</table>
</td>
</tr>
<tr bgcolor="#EFF3E7">
<td width="459" bgcolor="#EFF3E7" valign="top">
<div align="center">
<table width="100%" border="0">
<tr>
<td class="l">
<div align="center">
留言内容
<span class="style1">*</span>
</div>
</td>
</tr>
<tr>
<td>
<div align="center">
<textarea name="text" cols="55" rows="8" id="text"
style="BORDER: #4F7B0D 1px solid; background: #f8fff7;color: #4F7B0D; overflow:auto;"></textarea>
</div>
</td>
</tr>
<tr>
<td>
</td>
</tr>
</table>
</div>
</td>
<td width="314" bgcolor="#EFF3E7" valign="top">
<table width="98%" border="0" align="center">
<tr>
<td class="l">
<div align="right">
主题:
</div>
</td>
<td>
<input name="title" type="text" id="title"
style="BORDER: #4F7B0D 1px solid;color:#4F7B0D;background: #f8fff7;">
<span class="style1">*</span>
</td>
</tr>
<tr>
<td class="l">
<div align="right">
昵称:
</div>
</td>
<td>
<input name="name" type="text" id="name"
style="BORDER: #4F7B0D 1px solid;color:#4F7B0D;background: #f8fff7;">
<span class="style1">*</span>
</td>
</tr>
<tr>
<td class="l">
<div align="right">
E-mail:
</div>
</td>
<td>
<input name="mail" type="text" id="mail"
style="BORDER: #4F7B0D 1px solid;color:#4F7B0D; background: #f8fff7;">
</td>
</tr>
<tr>
<td class="l">
<div align="right">
网站:
</div>
</td>
<td>
<input name="web" type="text" id="web"
style="BORDER: #4F7B0D 1px solid;color:#4F7B0D;background: #f8fff7;"
value="http://">
</td>
</tr>
<tr>
<td class="l">
<div align="right">
Q Q:
</div>
</td>
<td>
<input name="qq" type="text" id="qq"
style="BORDER: #4F7B0D 1px solid;color:#4F7B0D;background: #f8fff7;">
</td>
</tr>
<tr>
<td height="8" colspan="2"></td>
</tr>
<tr>
<th colspan="2">
<input name="imageField" type="image" src="img/ok1.jpg"
width="69" height="20" border="0"
onMouseOut="this.src='img/ok1.jpg'"
onMouseOver="this.src='img/ok2.jpg'">
<a href="index.jsp"><img src="img/back1.jpg" width="69"
height="20" border="0" onMouseOver="this.src='img/back2.jpg'"
onMouseOut="this.src='img/back1.jpg'">
</a>
</th>
</tr>
</table>
</td>
</tr>
</table>
</form>
<p>
</p>
<table width="780" border="0" align="center" cellspacing="1"
bgcolor="#4F7B0D">
<tr>
<td bgcolor="#639A10" class="l">
<div align="center" class="style2">
欢迎进入本站留言板
<font color="#ffffff">版权所有 © 2004-2005</font>
</div>
</td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -