- 1、本文档共28页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
网站建设相关代码(Website construction related code)
网站建设相关代码(Website construction related code)
1. login security settings
Prevent users from logging in or exiting and re entering the admin page
If (session (MM_Username) = ) Then
Response.Redirect (guanliyuan_login.asp)
End if
%
2. automatically jump to other pages
Insert under the head tag
meta http-equiv=, Refresh, content=, jump wait time, url=, the page URL you want to jump
Table outline color and width settings
table, width=, 40%, border=, 0, align=, center, bgcolor=, #E6FFFF, style=, border:10px, solid, yellow,
3. according to the ID parameter passed by URL, filter and locate the ID to the xinrenbaodaozhuti table, thus determine the record entries, and then update the Zhuangtai field of the xinrenbaodaozhuti table using the image parameter passed by the URL.
%@LANGUAGE= VBSCRIPT CODEPAGE= 936%
--#include, file=, connections/db.asp
Set Command1=
Server.CreateObject (ADODB.Command)
Command1.ActiveConnection=
MM_connection_STRING
Command1.CommandText= UPDATE xinrenbaodaozhuti SET
Zhuangtai=
request.querystring ( image ) and WHERE
Id= request.querystring (Id)
Command1.CommandType=1
Command1.CommandTimeout=0
Command1.Prepared=true
Command1.Execute ()
Response.Redirect (guanliyuan_admin_tieziguanli.asp)
%
4. right click the CSS style body, select Edit, open the dialog box, select the background, repeat the selection, do not duplicate the attachment, and select the fixed
5.access save picture path
img src= (]../picture/ and ASP relative path [picture file %=picture% )
img src= picture/touxiang.jpg %=picture%
6. date time
Take 2005-5-2 22:37:30 Monday as an example:
(2005-5-2:%=date)%
2005:%=year ((date))%
5:%=month ((date))%
2:%=day ((date))%
22:%=hour ((now))%
37:%=minute ((now))%
30:%=second ((now))%
Monday: %=weekdayname (weekday (now))%
2007-9-5 1:52:27 =formatdatetime (now, 0)%
Response.write formatdatetime (now, 0) br 2007-9-5 1:52:27
Response.write formatdatetime (now, 1) br, September 5, 2007
Response.write formatdatetime (now, 2) br 2
您可能关注的文档
- 程序设计基础试题(Basic programming questions).doc
- 移民后遗症(Sequelae of immigration).doc
- 稳定土厂拌设备两种控制方式的比较(Comparison of two control methods for stabilized soil mixing plant).doc
- 税务知识(Tax knowledge).doc
- 税管科征收管理股长个人工作总结(Tax collection and management, personal management, work summary).doc
- 穴位注射诊疗操作规范(Operation standard for acupoint injection).doc
- 穴位速记歌诀(Acupoint shorthand gejue).doc
- 空压机基础知识(Basic knowledge of air compressor).doc
- 穆赫兰道剧情解析(The plot analysis of Mu and Landau).doc
- 空压机安装注意事项的详细说明(Air compressor installation notes).doc
文档评论(0)