?? 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>無標(biāo)題文檔</title>
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<script laguage="javascript">
<!--
function form1_onsubmit()
{
if (document.form1.dy_name.value=="")
{
alert("請輸入標(biāo)題!")
document.form1.dy_name.focus()
return false
}
else if(document.form1.dy_content.value=="")
{
alert("請輸入日記內(nèi)容!")
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">標(biāo)題:</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">內(nèi)容:</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>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -