📄 write.asp
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="css.asp"-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>我们的天空留言本</title>
<link href="img/newgn.css" rel="stylesheet" type="text/css">
</head>
<body><div align="center">
<script laguage="javascript">
<!--
function form1_onsubmit()
{
if (document.form1.new_name.value=="")
{
alert("请输入你的呢称!")
document.form1.new_name.focus()
return false
}
else if(document.form1.new_content.value=="")
{
alert("你没有留言!")
document.form1.new_content.focus()
return false
}
}
-->
</script>
<form name="form1" method="post" action="book_login.asp" onsubmit="return form1_onsubmit()">
<table width="560" height="263" border="0" cellpadding="0" cellspacing="1" bgcolor="#993300">
<tr align="center">
<td colspan="2"><table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0" background="img/daohbj.gif">
<tr>
<td align="center"><font color="#000000">写留言<font color="#006600">(*必须填写)</font></font></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="150" align="right" bgcolor="#FFFFFF">呢称:</td>
<td width="407" bgcolor="#FFFFFF">
<input name="new_name" type="text" id="new_name" size="20">
<font color="#000000"> *</font></td>
</tr>
<tr>
<td align="right" bgcolor="#FFFFFF">头像:</td>
<td bgcolor="#FFFFFF">
<select name=face onChange="document.images['face'].src=options[selectedIndex].value;">
<option value=img/pic/1.gif>头像1</option>
<option value=img/pic/2.gif>头像2</option>
<option value=img/pic/3.gif>头像3</option>
<option value=img/pic/4.gif>头像4</option>
<option value=img/pic/5.gif>头像5</option>
<option value=img/pic/6.gif>头像6</option>
<option value=img/pic/7.gif>头像7</option>
<option value=img/pic/8.gif>头像8</option>
<option value=img/pic/9.gif>头像9</option>
<option value=img/pic/10.gif>头像10</option>
</select>
<img id=face src=img/pic/1.gif></td>
</tr>
<tr>
<td align="right" bgcolor="#FFFFFF">EMAIL:</td>
<td bgcolor="#FFFFFF">
<input name="new_email" type="text" id="new_email" size="20"></td>
</tr>
<tr>
<td align="right" bgcolor="#FFFFFF">OICQ:</td>
<td bgcolor="#FFFFFF">
<input name="new_oicq" type="text" id="new_oicq" size="20"></td>
</tr>
<tr>
<td align="right" bgcolor="#FFFFFF">个人主页:</td>
<td bgcolor="#FFFFFF">
<input name="new_homepage" type="text" id="new_homepage" value="http://" size="20">
</td>
</tr>
<tr>
<td align="right" bgcolor="#FFFFFF">留言内容:</td>
<td bgcolor="#FFFFFF">
<textarea name="new_content" cols="30" rows="5" id="new_content"></textarea>
<font color="#000000">*</font></td>
</tr>
<tr align="center">
<td colspan="2" bgcolor="#FFFFFF">
<input type="submit" name="Submit" value="提交">
<input type="reset" name="Submit2" value="重置">
</td>
</tr>
</table>
</form>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -