022-83718162 / 83715667 chinadse@126.com
Select web_setup,web_upload,web_lockip,web_count,web_today,web_calllist from [wedonet_setup] where id=1
Select id,cid,cdir,sdir,title,preimg,adlist,rootid,pid,depth,idpath,treepath,dirpath,viewcls,readcls,postcls,recls,passcls,repasscls,downcls,tags,readme,postnum,todaynum,isgood,isshow,readurl from [wedonet_class] order by treeid asc
Select * from [wedonet_topic] order by cls asc,id asc
select * from [wedonet_channel] where cha_use=1 order by cha_cls asc,id asc
Select * From [wedonet_group] order by cls asc,id asc
Select * from [wedonet_upclass]
select id,title from wedonet_styleclass where isuse=1
Select cid,pagename,title,str From [wedonet_style] where pagename<>'css' and styleid=40
update wedonet_user set user_atime=GetDate() where id=0
update wedonet_user set isonline=0 where isonline=1 and datediff(n,user_atime,GetDate())>20
select top 1 * from [wedonet_book]
select id,classid,preimg,tags,descrip,etime,title,mycode,fromcom,price,pages,hasdisk,content,readme from [wedonet_book] where isdel=0 and ispass=1 and classid=931 and id=487
update [wedonet_book] set hits=hits+1 where id=487
select top 20 id,classid,title from [wedonet_book] where isdel=0 and ispass=1 and cid=22 and classid<>-2 order by istop desc,cls asc,id desc
select tags from wedonet_article where id=487
select top 2 id,classid,preimg,etime,title,price from [wedonet_book] where isdel=0 and ispass=1 and cid=22 and classid<>-2 and cid=-10 and id<>487 order by istop desc,cls asc,id desc
select top 1 * from [wedonet_keyword]
select top 10 id,title from [wedonet_keyword] order by mycount desc