📄 write_daily.asp
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="css.asp"-->
<!--#include file="session.asp"-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<script laguage="javascript">
<!--
function form1_onsubmit()
{
if (document.form1.dy_name.value=="")
{
alert("请输入标题!")
document.form1.dy_name.focus()
return false
}
else if(document.form1.dy_content.value=="")
{
alert("请输入日记内容!")
document.form1.dy_content.focus()
return false
}
}
-->
</script>
<div align="center">
<form name="form1" method="post" action="daily_save.asp" onsubmit="return form1_onsubmit()">
<table width="574" height="191" border="0" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC">
<tr align="center" bgcolor="#009900">
<td height="29" colspan="2">日记写入</td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="87" height="30" align="center">标题:</td>
<td width="517"><input name="dy_name" type="text" id="dy_name" size="30">
时间:<%=date()%> </td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="36" align="center">天气:</td>
<td><input type="radio" name="radiobutton" value="img/daily_1.gif" checked>
<img src="img/daily_1.gif" width="19" height="19">
<input type="radio" name="radiobutton" value="img/daily_2.gif">
<img src="img/daily_2.gif" width="19" height="19">
<input type="radio" name="radiobutton" value="img/daily_3.gif">
<img src="img/daily_3.gif" width="19" height="19">
<input type="radio" name="radiobutton" value="img/daily_4.gif">
<img src="img/daily_4.gif" width="19" height="19">
<input type="radio" name="radiobutton" value="img/daily_5.gif">
<img src="img/daily_5.gif" width="19" height="19">
<input type="radio" name="radiobutton" value="img/daily_6.gif">
<img src="img/daily_6.gif" width="19" height="19">
<input type="radio" name="radiobutton" value="img/daily_7.gif">
<img src="img/daily_7.gif" width="19" height="19">
<input type="radio" name="radiobutton" value="img/daily_8.gif">
<img src="img/daily_8.gif" width="19" height="19">
<input type="radio" name="radiobutton" value="img/daily_9.gif">
<img src="img/daily_9.gif" width="19" height="19"></td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="34" align="center">心情:</td>
<td><input type="radio" name="radiobutton2" value="img/xin_9.gif">
<img src="img/xin_9.gif" width="17" height="17">
<input type="radio" name="radiobutton2" value="img/xin_8.gif">
<img src="img/xin_8.gif" width="17" height="17">
<input type="radio" name="radiobutton2" value="img/xin_7.gif">
<img src="img/xin_7.gif" width="17" height="17">
<input type="radio" name="radiobutton2" value="img/xin_6.gif">
<img src="img/xin_6.gif" width="17" height="17">
<input type="radio" name="radiobutton2" value="img/xin_5.gif">
<img src="img/xin_5.gif" width="17" height="17">
<input type="radio" name="radiobutton2" value="img/xin_4.gif">
<img src="img/xin_4.gif" width="17" height="17">
<input type="radio" name="radiobutton2" value="img/xin_3.gif" checked>
<img src="img/xin_3.gif" width="17" height="17">
<input type="radio" name="radiobutton2" value="img/xin_2.gif">
<img src="img/xin_2.gif" width="17" height="17">
<input type="radio" name="radiobutton2" value="img/xin_1.gif">
<img src="img/xin_1.gif" width="17" height="17"></td>
</tr>
<tr bgcolor="#FFFFFF">
<td align="center">内容:</td>
<td><textarea name="dy_content" cols="40" rows="8" id="dy_content"></textarea></td>
</tr>
<tr bgcolor="#FFFFFF">
<td colspan="2" align="center"><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 + -