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

📄 modiftppassdo.asp

📁 蓝芒3.0A最新所有功能完整破解版
💻 ASP
字号:
<% ModuleCode="M0410" %>
<!--#include file="../../Include/Reference.asp"-->
<%
Call PrintPageHead
VHID=Request.Form("ID")
%>
<!--#include file="../../Include/connect.asp"-->
<%
strSQL="Select * from v_VHostList Where VHID='" & VHID & "'"
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>"
else
%>
<!--#include file="VHostMenu.asp"-->
<!--#include file="../../Include/WEBCtrl.asp"-->
<%
	if ModifyFtpUser(Rs("ServerIP"),Rs("UserName"),Request.Form("password"),"","","")=0 then
		strSQL="Update T_DNS_AllVH Set PSW='" & Request.Form("password") & "' Where VHID='" & VHID & "'"
		Cn.Execute(StrSQL)
		Cn.Execute("SP_UserOP "& session("UserID")& ",'T_DNS_AllVH','修改主机FTP密码','" & VHID & "','修改','"& Request.ServerVariables("REMOTE_ADDR") &"'" )
		Response.Write "<br><br><P align='center' class='titletext'>修改FTP管理员密码成功!</p>"
	else
		Response.Write "<br><br><P align='center' class='titletext'>修改FTP管理员密码失败!</p>"
	end if
end if

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

⌨️ 快捷键说明

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