% if request("page") = "lands" and request("ID") > "" then if request("show") = 1 then SQL = "Select * from lands where randomid = '" & request("ID") &"'" Else SQL = "Select * from lands where ID = " & request("ID") &" and status = 1" End if set rslands= Con.execute(SQL) if rslands.EOF OR rslands.BOF Then %>