<% dim sql_where:sql_where="" dim tt0:tt0=sdcms.getint(sdcms.fget("t0",0),0) dim tt1:tt1=sdcms.getint(sdcms.fget("t1",0),0) dim tt2:tt2=sdcms.getint(sdcms.fget("t2",0),0) 'if tt0<=0 then ' sdcms.echo "请选择要查询的省份!" ' sdcms.die 'end if if tt0>0 then sql_where=sql_where&" and sf= "&tt0&"" end if if tt1>0 then sql_where=sql_where&" and ds= "&tt1&"" end if if tt2>0 then sql_where=sql_where&" and xf= "&tt2&"" end if sdcms.show theme_search_jm,"" sdcms.db.dbclose %>