网趣购物系统加强升级版 ○ 完美整合BBS论坛程序

源代码在线查看: info_tj.asp

软件大小: 2989 K
上传用户: x8610341
关键词: BBS 程序 论坛
下载地址: 免注册下载 普通下载 VIP

相关代码

				
				   
				     
				  
				   
				     
				      
				         
				           
				            				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
				%>
				            ○- 今日新增订单数: 
				            ○- 今日新加商品数: 
							○- 今日访问: 
				            ○- 访问总数:
				          
				        
				      
				    
				  
							

相关资源