⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 chgmailownerdo.asp

📁 蓝芒3.0A最新所有功能完整破解版
💻 ASP
字号:
<% ModuleCode="M0510" %>
<!--#include file="../../Include/Reference.asp"-->
<%
Call PrintPageHead
PostID=Request.Form("ID")
%>
<!--#include file="../../Include/connect.asp"-->
<%
strSQL="Select * from v_MailList Where PostID='" & PostID & "'"
if Session("ISADMIN")<>"YES" then
	strSQL = strSQL & " and UserID=" & Session("UserID")
end if

Set Rs= Server.CreateObject("ADODB.Recordset")
Rs.open strSQL,Cn,1,1
If Rs.Eof Then
	Response.Write "<br><br><P align='center' class='titletext'>对不起, 找不到此邮局或者您没有权限!</p>"
	Call PrintPageBottom
	Response.End
end if

%>
<!--#include file="MailMenu.asp"-->
<%
UOID= rs("UOID")
Rs.Close


strSQL="Select * from T_DNS_UserInfo where UserID=" & Request.Form("password")
Rs.open strSQL,Cn,1,1
If Rs.Eof Then
	Response.Write "<br><br><P align='center' class='titletext'>对不起, 找不到该转入的用户!</p>"
	Call PrintPageBottom
	Response.End
end if
Rs.Close

'更新主机会员
strSQL="Update T_DNS_AllVH Set UserID=" & Request.Form("password") & " Where UOID='" & UOID & "'"
Cn.Execute(strSQL)

'更新邮局会员
strSQL="Update T_DNS_AllPost Set UserID=" & Request.Form("password") & " Where UOID='" & UOID & "'"
Cn.Execute(strSQL)

'更新域名会员
strSQL="Update T_DNS_AllDN Set UserID=" & Request.Form("password") & " Where UOID='" & UOID & "'"
Cn.Execute(strSQL)

'日志
Cn.Execute("SP_UserOP "& session("UserID")& ",'T_DNS_AllVH','主机转移会员号','" & UOID & "','修改','"& Request.ServerVariables("REMOTE_ADDR") &"'" )
Cn.Execute("SP_UserOP "& session("UserID")& ",'T_DNS_AllPost','邮局转移会员号','" & UOID & "','修改','"& Request.ServerVariables("REMOTE_ADDR") &"'" )
Cn.Execute("SP_UserOP "& session("UserID")& ",'T_DNS_AllDN','域名转移会员号','" & UOID & "','修改','"& Request.ServerVariables("REMOTE_ADDR") &"'" )
	
Response.Write "<br><br><br><P align='center' class='titletext'>邮局转移会员号成功!</p>"

Set Rs=Nothing
Cn.Close
Set Cn=Nothing
Call PrintPageBottom
%>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -