⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 note.asp

📁 进入后台
💻 ASP
字号:
<!--#include file="config.asp"-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<!--#include file="head.asp"-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title><%=Sitename%>-记事本</title>
<LINK href="css.css" type=text/css rel=stylesheet>
</head>
<body>
<%sitehead%>
<table width="760"  border="0" align="center" cellpadding="0" cellspacing="0" class="border">
        <tr>
          <td height="291" valign="top">
            <table width="100%"  border="0" align="center" cellpadding="0" cellspacing="0" class="border">
        <tr>
          <td height="25">  <img src="skins/1/xb3.gif">&nbsp;当前位置:<a href="index.asp">首页</a> &gt;&gt; <a href="note.asp">记事本</a></td>
          </tr>
      </table>
            <br>
<%if session("xyluserid")="" then ShowError("请登录后再使用此功能")
if request("type2")="add" then
rs.open "select * from note1 where userid="&session("xyluserid")&"",conn,1,3
	If Rs.eof Then
	rs.addnew
	response.write "添加成功"
	rs("userid")=session("xyluserid")
	end if
	rs("content")=request.form("content")
	rs.update
	rs.close
	response.write "修改成功"
end if
rs.open "select * from note1 where userid="&session("xyluserid")&"",conn,1,1
	If Rs.eof Then
	fsf="你还没有使用过此功能。"
	else
	fsf=rs("content")
	end if
	rs.close
set rs=nothing%>
<table width="90%" border="0" align="center" cellpadding="1" cellspacing="2" class="border">
  <form name="form1" method="post" action="?type2=add"><tr bgcolor="#F7F7F7">
    <td height="20">姓名:<%=obj.getname(session("xyluserid"),1,SiteDatabase)%></td>
    </tr>
  <tr valign="top">
    <td height="60"><textarea name="content" cols="90" rows="30" id="content"><%=fsf%></textarea></td>
    </tr>
	 <tr valign="top">
    <td height="30"><div align="center">
      <input type="submit" name="Submit" value="提交">
    </div></td>
    </tr></form>
</table>
<br>


</td></tr>
</table>
<%sitebottom%>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -