<%=citycss%>
<% dim getid,getname,geturl,getgif,getplace,getwin,adsrs,adssql,getclass,getclicks,getshows,gettime,gettype,getwidth,getheight,getnote,getdiftime,getusername,getcontact,getprice,getpriceid getid=cint(request.querystring("id")) getname = Trim(Request("name")) if getname="" then getname=null geturl = Trim(Request("url")) if geturl="" then geturl=null getgif = Trim(Request("gif_url")) getplace =trim(Request("placeid")) getwin =trim(Request("window")) getclass=trim(Request("class")) gettype=trim(Request("itype")) getwidth=trim(Request("width")) getheight=trim(Request("height")) getnote=trim(Request("note")) getusername=trim(Request("username")) if getusername="" then getusername=null getcontact=trim(Request("contact")) if getcontact="" then getcontact=null if getclass=0 then getclicks=0 getshows=0 gettime=date() elseif getclass=1 then getclicks=trim(request("clicks1")) getshows=0 gettime=date() elseif getclass=2 then getclicks=0 getshows=trim(request("shows2")) gettime=date() elseif getclass=3 then getclicks=0 getshows=0 gettime=trim(request("time3")) elseif getclass=4 then getclicks=trim(request("clicks4")) getshows=trim(request("shows4")) gettime=date() elseif getclass=5 then getclicks=trim(request("clicks5")) getshows=0 gettime=trim(request("time5")) elseif getclass=6 then getclicks=0 getshows=trim(request("shows6")) gettime=trim(request("time6")) elseif getclass=7 then getclicks=trim(request("clicks7")) getshows=trim(request("shows7")) gettime=trim(request("time7")) end if set adsrs=server.createobject("adodb.recordset") adssql="select * from dlxf_price where dlxf_price='"&request("price")&"'" adsrs.open adssql,conn,1,1 getpriceid=adsrs("dlxf_priceid") adsrs.close set adsrs=server.createobject("adodb.recordset") adssql="select * from dlxf_ads where dlxf_id="&getid adsrs.open adssql,conn,1,3 adsrs("dlxf_sitename")=getname adsrs("dlxf_showtype")=gettype adsrs("dlxf_url")=geturl adsrs("dlxf_gif_url") = getgif adsrs("dlxf_price") = request("price") adsrs("dlxf_place") = request("placeid") adsrs("dlxf_priceid")=getpriceid adsrs("dlxf_window") = getwin adsrs("dlxf_class") = getclass adsrs("dlxf_clicks") = getclicks adsrs("dlxf_shows") = getshows adsrs("dlxf_lasttime") = gettime adsrs("dlxf_width") = getwidth adsrs("dlxf_height") = getheight adsrs("dlxf_note") = getnote adsrs("dlxf_username") = getusername adsrs("dlxf_contact") = getcontact adsrs("dlxf_time") = date() adsrs.update adsrs.close set adsrs=nothing conn.close set conn=nothing %>

- 资料修改成功！
  如果修改的是暂停或者失效广告，请激活。
  关闭窗口