writedate.asp
来自「个人备忘系统一个不错的备忘软件.专供刚学ASP的人学习. 代码简单易懂 m」· ASP 代码 · 共 57 行
ASP
57 行
<%
if session("user")="" or session("group")="" then
response.write("<script>alert('您还没有登陆或登陆超时');window.location.href('index.asp')</script>")
response.end
end if
%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>Untitled Document</title>
<style type="text/css">
<!--
.style3 {
font-size: 12px;
color: #FFFFFF;
}
.style4 {
color: #6699CC;
font-size: 12px;
}
.style5 {
font-size: 12px;
color: #FF0000;
}
-->
</style>
</head>
<body>
<form id="form1" name="form1" method="post" action="writedatedo.asp">
<table width="700" border="0" align="center" bgcolor="#6699cc">
<tr>
<td colspan="2" bgcolor="#6699cc"><span class="style3">撰写日记</span></td>
</tr>
<tr>
<td width="102" bgcolor="#FFFFFF"><div align="center" class="style4">标题</div></td>
<td width="588" bgcolor="#FFFFFF"><input name="title" type="text" id="title" size="80" /></td>
</tr>
<tr>
<td bgcolor="#FFFFFF"><div align="center"><span class="style4">内容</span></div></td>
<td bgcolor="#FFFFFF"><textarea name="neirong" cols="80" rows="20" id="neirong"></textarea></td>
</tr>
<tr>
<td bgcolor="#FFFFFF"><div align="center" class="style4">查看密码</div></td>
<td bgcolor="#FFFFFF"><input name="password" type="text" id="password" />
<span class="style5">*注意:如果填写密码,则在查看日记时要求输入密码!</span></td>
</tr>
<tr>
<td colspan="2" bgcolor="#FFFFFF"><div align="center">
<input type="submit" name="Submit" value="我已经写完日记,并要保存" />
</div></td>
</tr>
</table>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?