?? postnew.jsp
字號:
<%--*****************************************************
* 天地網絡--JSP留言薄 www.tiandinet.com *
* *
* 你可以使用、修改該軟件,但請保留該段文字! *
* *
* *
* 作者:天地 *
* 網址:http://www.tiandinet.com *
* 2003年10月 *
*****************************************************--%>
<%@ page contentType="text/html;charset=gb2312" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>天地網絡--JSP留言薄</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script language="JavaScript">
function checkform()
{
if(form.name.value=="")
{
alert("請輸入你的姓名!");
form.name.focus();
return false;
}
if(form.headima[0].checked==false&&form.headima[1].checked==false)
{
alert("請選擇你的頭像!");
return false;
}
if(form.content.value=="")
{
alert("請輸入留言內容!!");
form.content.focus();
return false;
}
return true;
}
</script>
<style type="text/css">
<!--
BODY {FONT-SIZE: 9pt; LINE-HEIGHT: 11pt; FONT-FAMILY: "Arial", "Helvetica", "sans-serif";
scrollbar-base-color:#EEEEEE;
scrollbar-arrow-color:#FFFFFF;
}
TD {
FONT-SIZE: 9pt; LINE-HEIGHT: 11pt; FONT-FAMILY: "Arial", "Helvetica", "sans-serif"
}
A:visited {
TEXT-DECORATION: none
; color: #000000
}
A:active {
TEXT-DECORATION: underline
; color: #000000
}
A:link {
TEXT-DECORATION: none
; color: #000000
}
A:hover {
TEXT-DECORATION: underline
; color: #000000
}
.bgtable {
border-top: 0px none #000000;
border-right: 1px solid #000000;
border-bottom: 0px none #000000;
border-left: 1px solid #000000;
}
.imageborder {
border-top: 1px solid #000000;
border-right: 0px none #000000;
border-bottom: 1px solid #000000;
border-left: 0px none #000000;
}
-->
</style>
<style type="text/css">
<!--
.topbottom {
border-top-width: 1px;
border-right-width: 0px;
border-bottom-width: 1px;
border-left-width: 0px;
border-top-style: solid;
border-right-style: none;
border-bottom-style: solid;
border-left-style: none;
border-top-color: #000000;
border-bottom-color: #000000;
}
.leftline {
border-top-width: 0px;
border-right-width: 0px;
border-bottom-width: 0px;
border-left-width: 1px;
border-top-style: none;
border-right-style: none;
border-bottom-style: none;
border-left-style: solid;
border-left-color: #000000;
}
-->
</style>
<style type="text/css">
<!--
.input {
font-family: "Arial", "Helvetica", "sans-serif";
font-size: 12px;
color: #000000;
background-color: #FFFFFF;
border: 1px dotted #000000;
height: 18px;
width: 140px;
}
.textarea {
font-family: "Arial", "Helvetica", "sans-serif";
font-size: 12px;
color: #000000;
background-color: #FFFFFF;
height: 80px;
width: 190px;
border: 1px dotted #000000;
}
-->
</style>
<style type="text/css">
<!--
.button {
font-family: "Arial", "Helvetica", "sans-serif";
font-size: 12px;
color: #000000;
background-color: #FFFFFF;
height: 18px;
width: 35px;
border: 1px dotted #000000;
}
.1px4 {
border: 1px dotted #000000;
}
-->
</style>
</head>
<body background="ima/page_bg.gif" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="740" height="100%" border="0" align="center" cellpadding="00" cellspacing="0" bgcolor="#FFFFFF" class="bgtable">
<tr>
<td height="86" align="center" valign="middle" bgcolor="#EEEEEE"><img src="ima/title.gif" width="740" height="80" border="0"></td>
</tr>
<tr>
<td align="center" valign="top"><table width="730" height="100%" border="0" cellpadding="00" cellspacing="0">
<tr>
<td height="25" colspan="2" align="center" valign="top"> </td>
</tr>
<tr>
<td width="730" colspan="2" align="center" valign="middle" class="topbottom"><form name="form" method="post" action="post.jsp" onSubmit="return checkform()">
<table width="210" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="25" align="center"><b>發 表 留 言</b></td>
</tr>
<tr>
<td align="center" bgcolor="#EEEEEE"><table width="210" border="0" cellspacing="1" cellpadding="2">
<tr bgcolor="#FFFFFF">
<td width="60"> 姓名</td>
<td width="150"><input name="name" type="text" class="input" id="name" maxlength="20"></td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="60"> QQ</td>
<td width="150"><input name="qq" type="text" class="input" id="qq" maxlength="20"></td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="60"> E-mail</td>
<td width="150"><input name="email" type="text" class="input" id="email" maxlength="80"></td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="60"> 個人主頁</td>
<td width="150"><input name="homepage" type="text" class="input" id="homepage" maxlength="80"></td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="60"> 頭像</td>
<td width="150"><input type="radio" name="headima" value="0">
<img src="ima/headima/0.gif" width="32" height="32" border="0">
<input type="radio" name="headima" value="1"> <img src="ima/headima/1.gif" width="32" height="32" border="0"></td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="60"> 留言</td>
<td width="150"> </td>
</tr>
<tr align="center" bgcolor="#FFFFFF">
<td colspan="2"><textarea name="content" class="textarea" id="content"></textarea></td>
</tr>
<tr align="right" bgcolor="#FFFFFF">
<td colspan="2"><font color="#FF0000">小于1000字符</font></td>
</tr>
<tr align="right" valign="middle" bgcolor="#FFFFFF">
<td height="30" colspan="2"><input name="Submit" type="submit" class="button" value="發表">
</td>
</tr>
</table></td>
</tr>
</table>
</form> </td>
</tr>
<tr>
<td height="25" colspan="2" align="center" valign="top"> </td>
</tr>
</table></td>
</tr>
<tr>
<td height="3" align="center" valign="top" bgcolor="#EEEEEE"></td>
</tr>
<tr>
<td width="740" height="40" align="right" valign="middle" background="ima/bottom.gif"> <img src="ima/tiandi.gif" width="32" height="32" border="0"> Design by TianDi </td>
</tr>
<tr>
<td height="3" align="right" valign="middle" bgcolor="#EEEEEE"></td>
</tr>
</table>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -