%@ Language=VBScript %> <% intSysID = Request.QueryString ("id") If intSysID = "" Then Response.Write "" End If intSysID = CInt (intSysID) If Request.Form ("modify") <> "" Then strPassword = FormatSQL (Request.Form ("password")) strTrueName = FormatSQL (Request.Form ("truename")) strPhone = FormatSQL (Request.Form ("phone")) strEmail = FormatSQL (Request.Form ("email")) If strError <> "" Then Response.Write "" Else Call SetConn () sql = "Update tSysUser set tPassword = '" & strPassword & "', tTrueName = '" & strTrueName & "', tPhone = '" & strPhone & "'," sql = sql & "tEmail = '" & strEmail & "' where SysID = " & intSysID & "" Conn.Execute (sql) If Err.number <> 0 Then Call ClearConn Response.Write "" Else Response.Write "" Call ClearConn () Response.Redirect "ListSystem.asp" End If End If End If If Request.Form ("forbid") <> "" Then sql = "Update tSysUser set mDel = 1 where SysID = " & intSysID & "" Conn.Exeucte (sql) Response.Redirect "ListSystem.asp" End If Call SetConn () sql = "Select * from tSysUser where SysID = " & intSysID & "" Set objTemp = Conn.Execute (sql) If not objTemp.Eof Then strUserName = objTemp ("tUserName") strPassword = objTemp ("tPassword") strTrueName = objTemp ("tTrueName") strPhone = objTemp ("tPhone") strEmail = objTemp ("tEmail") End If objTemp.close Set objTemp = Nothing %>
|
开 设 系 统 管 理 员 账 号
|