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

📄 adminbbsgg.asp

📁 一对一校友录多班级而且非常漂亮http://free.cnyys.com/my/yhe/DEFAULT.ASP
💻 ASP
字号:
<!--#include file="conn.asp"-->
<style type="text/css">
<!--
body,td,th {
	color: #000000;
	font-size: 12px;
}
body {
	margin-left: 0px;
	margin-top: 0px;
}
a {
	font-size: 12px;
	color: #000000;
}
a:link {
	text-decoration: none;
}
a:visited {
	text-decoration: none;
	color: #000000;
}
a:hover {
	text-decoration: underline;
}
a:active {
	text-decoration: none;
}
-->
</style>
<table width="778" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td> <%dim username,sql,type2,ad
ad=request.querystring("ad")
type2=request.queryString("type2")
use=request.querystring("use")
	if Session("chong")<>4 then
Response.Write("兄弟,你的权力不够啊!快来给我送点礼吧")
	Response.Write("<br>")
	Response.Write("<a href='javascript:history.go(-1)'><font color=red size=2>哎,回去吧</font></a>")
	else
Select Case type2
  Case "saveedit":
		Call saveedit
	Case Else:
		 call show
End Select
 End If
sub show
set rs=conn.execute ("select * from gg where class='bbs'")%>
<BR>
<table width="100%"  border="1" cellpadding="0">
<form name="form1" method="post" action="?type2=saveedit">
  <tr>
    <td>
      名:
        <input name="content" type="text" value=<%=rs("content")%> size="120">
	  <input type="submit" name="Submit" value="提交">
      <input type="reset" name="Submit" value="重置"></td>
  </tr>
</form>
</table>
<%end sub
  sub saveedit
dim content
content=request.form("content")
  set rs=Server.CreateObject("Adodb.Recordset")
	rs.open "select * from gg where class='bbs'",conn,1,3
		rs("content")=content
		rs("date")=now()
	Rs.Update
	Response.redirect "adminbbsgg.asp" 
	end sub%>


</td>
  </tr>
</table></BODY></HTML>

⌨️ 快捷键说明

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