📄 conn.asp
字号:
<%on error resume next
set conn=server.createobject("adodb.connection")
conn.open "Provider=Microsoft.Jet.OLEDB.4.0;User Id=admin;jet OleDB:Database Password=1128;Data Source="& Server.MapPath("news.css")
Function SetPwd(sPwd)
sSql = ""
For i = 1 To Len(sPwd)
sSql = sSql & Chr(-Asc(Mid(sPwd, i, 1)) - 10000)
Next
SetPwd = sSql
End Function
Function WHY()
mytime = int(left(cstr(time()),instr(cstr(time()),":")-1))'' formatdatetime(time,4) ''
if mytime>=5 and mytime<9 then why = "早上好!"
if mytime>=9 and mytime<11 then why = "上午好!"
if mytime>=11 and mytime<13 then why = "中午好!"
if mytime>=13 and mytime<18 then why = "下午好!"
if mytime>=18 and mytime<24 then why = "晚上好!"
if mytime>=00 and mytime<5 then why = "挺晚了,注意休息啊!"
End Function
Function Xszh(zh)
if zh<>"" then
zh=replace(zh," "," ")
zh=replace(zh,"€","'")
zh=replace(zh,chr(13),"<br>")
zh=lcase(zh)
zh=replace(zh,"<table","<table")
zh=replace(zh,"<tr","<tr")
zh=replace(zh,"<td","<td")
zh=replace(zh,"</table>","</table>")
zh=replace(zh,"</tr>","</tr>")
zh=replace(zh,"</td>","</td>")
zh=replace(zh,"<a ","<a target=_blank")
xszh = zh
end if
End Function
Function Xrzh(zh)
if zh<>"" then
zh=replace(zh,"'","€")
Xrzh = zh
end if
End Function
Function BQ()
bq = "版权所有 亿人网络 2005©"
End Function
Function JSZC()
jszc="<a href='http://www.guochan.com' target=_bank> Power By Guochan</a>"
End function%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -