function dingdan()
dim tmprs
tmprs=conn.execute("Select Count(actionid) from wq_action Where year(actiondate)=year(date()) and month(actiondate)=month(date()) and day(actiondate)=day(date())")
dingdan=tmprs(0)
set tmprs=nothing
if isnull(dingdan) then dingdan=0
end function
function todays()
dim tmprs
tmprs=conn.execute("Select Count(bookID) from wq_books Where year(adddate)=year(date()) and month(adddate)=month(date()) and day(adddate)=day(date())")
todays=tmprs(0)
set tmprs=nothing
if isnull(todays) then todays=0
end function
%>
if session("over")="" then
jsqtoday=1
if application("dntime") conn.execute("update wq_dept set jsqtoday=jsqtoday+1")
tmprs=conn.execute("Select jsqtoday from wq_dept")
jsqtoday=tmprs(0)
else
conn.execute("update wq_dept set jsqtoday=1")
tmprs=conn.execute("Select jsqtoday from wq_dept")
jsqtoday=tmprs(0)
end if
application("dntime")=cint(hour(time()))
set tmprs=nothing
conn.execute("update wq_dept set jsq=jsq+1")
tmprs=conn.execute("Select jsq from wq_dept")
jsq=tmprs(0)
set tmprs=nothing
session("over")=true
else
jsqtoday=1
tmprs=conn.execute("Select jsqtoday from wq_dept")
jsqtoday=tmprs(0)
tmprs=conn.execute("Select jsq from wq_dept")
jsq=tmprs(0)
set tmprs=nothing
end if
%>
○- 今日新增订单数:
○- 今日新加商品数:
○- 今日访问:
○- 访问总数: