% ' On error resume next id=request("id") Dim con, strConn Set con= Server.CreateObject("ADODB.Connection") con.Open "bcmain" Dim SQL, rs set rs = server.createobject("adodb.recordset") if id > "" then SQL = "select * from news where id= " & id & " and atype <> 'T'" else SQL = "select * from news where atype <> 'T'" end if ' response.write sql set rs = con.execute(SQL) Dim SQL1, rs1 set rs1 = server.createobject("adodb.recordset") SQL1 = "select * from news where enddate >= #" & date & "# and atype = 'T'" ' SQL1 = "select * from news where enddate >= #" & date & "#" ' response.write sql1 set rs1 = con.execute(SQL1) %>
![]() |
|
|||||||||||
|
To download these high resolution, CMYK
jpegs suitable for print reproduction: |
© BC Group. All rights reserved.