书签 分享 收藏 举报 版权申诉 / 22

类型ASP实战内容企业网站制作.docx

  • 文档编号:24497153
  • 上传时间:2023-05-28
  • 格式:DOCX
  • 页数:22
  • 大小:280.38KB

22px">sQsAEJkW5T

用户:

99px。

HEIGHT:

21px"GMsIasNXkA

tabIndex=1size=11name=username>

24px"bgColor=#e7e7e7>密码:

TIrRGchYzg

style="WIDTH:

99px。

HEIGHT:

21px"tabIndex=2type=passwordsize=117EqZcWLZNX

name=password>

24px"bgColor=#e7e7e7>%>"maxlength="20">lzq7IGf02E

22px"bgColor=#e7e7e7>
zvpgeqJ1hk

NrpoJac3v1

 。

 。

 。

1nowfTG4KI

22px"bgColor=#e7e7e7height=22>fjnFLDa5Zo

…………

登陆处理程序文件

<%@LANGUAGE="VBSCRIPT"CODEPAGE="936"%>

--#includefile="public/md5.asp"-->

--#includefile="public/link_db.asp"-->

UntitledDocument

tfnNhnE6e5

<%

seed=Session("seed">

username=request.Form("username">

sql="select*fromadminwhereusername='"&username&"'andtype='0'"HbmVN777sL

'response.Write(sql>

'response.End(>

Setrs=Server.CreateObject("ADODB.recordset">

rs.opensql,conn,1,1

%>

<%

ifrs.EOFthen

%>

window.alert("您的账号、密码输入不正确!

">

history.back(>。

<%

rs.close

setrs=nothing

conn.close

setconn=nothing

response.End(>

%>

<%

elseifMD5(rs("Password">&seed><>Request.Form("password">thenV7l4jRB8Hs

%>

window.alert("您的账号、密码输入不正确!

">

history.back(>。

<%

rs.close

setrs=nothing

conn.close

setconn=nothing

response.End(>

else

Session("username">=trim(rs("username">>

Session("type">=trim(cint(rs("type">>>

response.Redirect("admin/news_list.asp">

rs.close

setrs=nothing

conn.close

setconn=nothing

response.End(>

endif

%>

登陆加密文件

这两个文件看盘上。

<2)信息发布管理

看第12章的内容。

<3)产品类型管理

这两个文件流程相同。

………..

…………

……….

<%

ifrequest("tj"><>""then

tj=request("tj">

str="insertintopinpai(pinpai>values('"&tj&"'>"

conn.execute(str>

endif

ifrequest("xg"><>""then

xg=request("xg">

id=request("hed">

str="updatepinpaisetpinpai='"&xg&"'whereid="&idmZkklkzaaP

conn.execute(str>

endif

ifrequest("bl">="sc"then

id=request("id">

sql="deletefrompinpaiwhereid="&id

'response.Write(sql>

'response.End(>

conn.execute(sql>

endif

%>

………………….

………………….

…………………

AVktR43bpw

bl=tj">添加品牌ORjBnOwcEd

<%

str="select*frompinpai"

Setrs=Server.CreateObject("ADODB.recordset">

rs.openstr,conn,1,3,1

ifrs.recordcount<>0then

%>

 。

 。

 。

序号

2MiJTy0dTT

现有品牌gIiSpiue7A

操作

uEh0U1Yfmh

<%fori=1tors.recordcount%>

<%=i%>

<%=rs("pinpai">%>

 。

 。

 。

bl=xg&id=<%=rs("id">%>">修改 。

 。

 。

bl=sc&id=<%=rs("id">%>">删除

IAg9qLsgBX

<%

rs.movenext

ifrs.eofthenexitfor

next%>

<%else

%>

数据库没有记录

<%endif%>

<%ifrequest("bl">="tj"then%>

WwghWvVhPE

输入添加的品牌:

asfpsfpi4k

举报
举报
版权申诉
版权申诉
word格式文档无特别注明外均可编辑修改;预览文档经过压缩,下载后原文更清晰! 立即下载
配套讲稿:

如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。

特殊限制:

部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。

关 键  词:
ASP 实战 内容 企业 网站 制作
提示  冰豆网所有资源均是用户自行上传分享,仅供网友学习交流,未经上传用户书面授权,请勿作他用。
关于本文
本文标题:ASP实战内容企业网站制作.docx
链接地址:https://www.bdocx.com/doc/24497153.html
关于我们 - 网站声明 - 网站地图 - 资源地图 - 友情链接 - 网站客服 - 联系我们

copyright@ 2008-2022 冰点文档网站版权所有

经营许可证编号:鄂ICP备2022015515号-1

收起
展开