?? conn.asp
字號(hào):
<%sql="select * from home"
set rs=conn.execute(sql)
userurl=rs("homeurl")
usertitle=rs("hometitle")
homeurl=rs("homeurl") '站點(diǎn)地址
hometitle=rs("hometitle") '站點(diǎn)名稱
homeemail=rs("homeemail") '站長郵箱
homebanzhu=rs("homebanzhu")
userbanzhu=rs("homebanzhu") '站長名稱
userpassword=rs("homepassword")
homepassword=rs("homepassword") '管理密碼
homecontent=rs("homecontent") '站點(diǎn)介紹
cookies_time=rs("cookies_time") 'cookie設(shè)置時(shí)間(天),默認(rèn)為100天
maxcount=rs("maxcount")
scount=rs("scount")
sopen=rs("sopen")
t_page=rs("t_page") '有翻頁時(shí)每頁顯示記錄條數(shù)
stime=rs("stime") '每臺(tái)電腦間隔多少時(shí)間才記數(shù),單位為秒
onlinetime=rs("onlinetime") '統(tǒng)計(jì)幾分鐘內(nèi)在線人數(shù)的時(shí)間
set rs=nothing
if request("view")<>"" then
view=request("view")
sql="select startcount,vtitle,vbanzhu,vurl,vemail,vcontent from vcount where vuser='"&view&"'"
set rs=conn.execute(sql)
if not rs.eof then
homeurl=rs("vurl") '站點(diǎn)地址
hometitle=rs("vtitle") '站點(diǎn)名稱
homeemail=rs("vemail") '站長郵箱
homebanzhu=rs("vbanzhu") '站長名稱 '管理密碼
homecontent=rs("vcontent")
startcount=rs("startcount")
else
errornum=1
errmsg="參數(shù)錯(cuò)誤,不存在此用戶或者用戶已經(jīng)被刪除,請(qǐng)點(diǎn)擊上方[免費(fèi)申請(qǐng)]重新申請(qǐng)"
end if
set rs=nothing
else
errornum=1
errmsg="參數(shù)錯(cuò)誤,請(qǐng)輸入正確的參數(shù),如果你不是本統(tǒng)計(jì)用戶,請(qǐng)點(diǎn)擊上方[免費(fèi)申請(qǐng)]重新申請(qǐng)"
end if
feiyue="tongji"'用戶session變量
feiyuetongji="feiyue"'管理員cookies變量
background="background=images/dw.gif"
tdc2="#6699CC"'表格線條顏色
tdc="#333333"'文字色1
tdc1="#ffffff"'文字色2
tdc4="#6699CC"'文字色3
tColor2="#EFF1F3"'表格背景色
tColor1="#f7f7f7"'表格背景2
hColor1= "background=images/b1.gif"
hColor2= "background=images/b2.gif"
tdc3="98%" '表格寬度
link="#1C5F82"'超連接顏色
link1="#CC5533" '超連接顏色1
%>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -