% function dispnews(typeid,shu,lei) sql2="select * from article where use=1 and shenghe=1 and typeid="+cstr(typeid)+" order by dateandtime desc" set rs2=conn.execute(sql2) str="" str=str+"
"
if lei=3 then
str=str+" "
end if
if rs2("gwh")<>"" then
str=str+" "+rs2("gwh")+" "
end if
if lei<>3 then
if rs2("addusername")<>"" then
str=str+" "+(rs2("addusername"))+"报送 "
end if
str=str+" ("+cstr(year(rs2("dateandtime")))+"-"+cstr(month(rs2("dateandtime")))+"-"+cstr(day(rs2("dateandtime")))+")[阅读:"+cstr(rs2("hits"))+"次]"
else
str=str+" ("+cstr(rs2("dateandtime"))+")"
end if
str=str+" |
|
![]() |
|
|
|
||||||||||||||||
|
|||||||||||||||||
|
||||||||||||||