<!--#include file="error.ini"-->
<!--#include file="../MD5/md5.asp" -->
<!--#include file="../inc/admin_conn.asp"-->
<%if session("flag")>1 then
    response.write "<script>alert('您的操作权限不够！');history.back();</script>"
    response.end
end if
%>
<%
my=request("my")
change=request("change")
delet=request("delet")
addname=request("addname")
cmdok=request("cmdok")
set rs=server.createobject("adodb.recordset")
if my<>"" then
name=Replace(request("name"), "'", "''")
pwd=Replace(request("pwd"), "'", "''")
sql="select * from ylmv_admin where id=1"
rs.open sql,conn,1,3

rs("name")=name
rs("pwd")=md5(pwd)
rs.update
rs.close
end if

if change<>"" then
typena=request("typename")
sql="select * from ylmv_type where typeid="&Replace(request("typeid"), "'", "''")
rs.open sql,conn,1,3

rs("type")=typena
rs.update
rs.close
end if

if request("changemovie")<>"" then
sql="select * from ylmv_movie where id="&clng(request("id"))
rs.open sql,conn,1,3
rs("movie")=trim(request("moviev"))
rs("ipsip")=trim(request("ipsipb"))
rs.update
rs.close
end if

if request("addmovieip")<>"" then
sql="select * from ylmv_movie"
rs.open sql,conn,1,3
rs.addnew
rs("movie")=Replace(request("moviet"), "'", "''")
rs("ipsip")=Replace(request("ipsipt"), "'", "''")
rs.update
rs.close
end if

if delet<>"" then
   conn.execute"delete from ylmv_type where typeid="&Replace(request("typeid"), "'", "''")
end if

if request("deletserver")<>"" then
   conn.execute"delete from ylmv_movie where id="&clng(request("id"))
end if

if addname<>"" then
typer=request("type")
rs.open "select * from ylmv_type",conn,1,3

rs.addnew
rs("type")=typer
rs.update
rs.close
end if

if cmdok<>"" then
   homes=request("homes")
   url=request("url")
   urls=request("urls")
   times=request("time")
   pthy=request("pthy")
   bjhy=request("bjhy")
   hjhy=request("hjhy")
   zcdj=request("zcdj")
   zcms=request("zcms")
   zcst=request("zcst")
   zcsd=request("zcsd")
   phone=request("phone")
   qq=request("qq")
   mail=request("mail")
   soft1=request("soft1")
   soft2=request("soft2")
   soft3=request("soft3")
   soft4=request("soft4")
   bank1=request("bank1")
   bank2=request("bank2")
   bank3=request("bank3")
   bank4=request("bank4")
   car1=request("car1")
   car2=request("car2")
   car3=request("car3")
   car4=request("car4")
   name1=request("name1")
   name2=request("name2")
   name3=request("name3")
   name4=request("name4")

xdizhi=request("xdizhi")
xdizhi2=request("xdizhi2")
xjie=request("xjie")
xshangzong=request("xshangzong")
xuser=request("xuser")
gmulu=request("gmulu")
gusermulu=request("gusermulu")
host=request("host")
host2=request("host2")
kai=request("kai")
zhuceci=request("zhuceci")
shopover=request("shopover")
shopover2=request("shopover2")
upkai=request("upkai")
bbskai=request("bbskai")
bbskainame=request("bbskainame")
paimaikai=request("paimaikai")
paimainame=request("paimainame")
gengduo=request("gengduo")
fakai=request("fakai")
guang1=request("guang1")
guang11=request("guang11")
logo=request("logo")
fapiaofei=request("fapiaofei")
ticheng=request("ticheng")
ticheng1=request("ticheng1")
ticheng2=request("ticheng2")
ticheng3=request("ticheng3")
ticheng4=request("ticheng4")
ticheng5=request("ticheng5")
webname=request("webname")
weburl=request("weburl")
set_logo=request("set_logo")
set_ie=request("set_ie")
webtitle=request("webtitle")
adminurl=request("adminurl")
logintype=request("logintype")
loginip=request("loginip")
bad_words=request("bad_words")
keywords=request("keywords")
Description=request("Description")
pay=request("pay")

   rs.open "select * from ylmv_home",conn,1,3
   rs("homes")=homes
   rs("url")=url
   rs("urls")=urls
   rs("time")=times
   rs("pthy")=pthy
   rs("bjhy")=bjhy
   rs("hjhy")=hjhy
   rs("zcdj")=zcdj
   rs("zcms")=zcms
   rs("zcst")=zcst
   rs("zcsd")=zcsd
   rs("sitephone")=phone
   rs("qqone")=qq
   rs("mail")=mail
   rs("soft1")=soft1
   rs("soft2")=soft2
   rs("soft3")=soft3
   rs("soft4")=soft4
   rs("bank1")=bank1
   rs("bank2")=bank2
   rs("bank3")=bank3
   rs("bank4")=bank4
   rs("car1")=car1
   rs("car2")=car2
   rs("car3")=car3
   rs("car4")=car4
   rs("name1")=name1
   rs("name2")=name2
   rs("name3")=name3
   rs("name4")=name4
rs("xdizhi")=xdizhi
rs("xdizhi2")=xdizhi2
rs("xjie")=xjie
rs("xshangzong")=xshangzong
rs("xuser")=xuser
rs("gmulu")=gmulu
rs("gusermulu")=gusermulu
rs("host")=host
rs("host2")=host2
rs("kai")=kai
rs("zhuceci")=zhuceci
rs("shopover")=shopover
rs("shopover2")=shopover2
rs("upkai")=upkai
rs("bbskai")=bbskai
rs("bbskainame")=bbskainame
rs("paimaikai")=paimaikai
rs("paimainame")=paimainame
rs("gengduo")=gengduo
rs("fakai")=fakai
rs("guang1")=guang1
rs("guang11")=guang11
rs("logo")=logo
rs("fapiaofei")=fapiaofei
rs("ticheng")=ticheng
rs("ticheng1")=ticheng1
rs("ticheng2")=ticheng2
rs("ticheng3")=ticheng3
rs("ticheng4")=ticheng4
rs("ticheng5")=ticheng5
rs("webname")=webname
 rs("weburl")=weburl
 rs("set_logo")=set_logo
 rs("set_ie")=set_ie
 rs("webtitle")=webtitle
 rs("adminurl")=adminurl
 rs("logintype")=logintype
 rs("loginip")=loginip
 rs("bad_words")=bad_words
 rs("keywords")=keywords
 rs("Description")=Description
 rs("Pay")=pay
   rs.update
   rs.close
end if

   set rs=nothing
   conn.close
   set conn=nothing
response.redirect Request.ServerVariables("HTTP_REFERER")
%>



</body>
</html>