%
dim objRS, arrprofile , id, show, arrGroups, i
id = request("id")
show = request.querystring("show")
if show = "g" then
set objRS = Server.CreateObject("adodb.recordset")
with objRS
.open dbOwnerPrefix&"spShowGroupMemberInfo ("&id&","&memID&")", datastore, , ,adCmdStoredProc
if not (.eof or .bof) then arrGroups = .getrows
.close
' .open "SELECT login from pgd_members WHERE mem="&id, datastore, , ,adCmdText
' Login = .fields(0).value
' .close
end with
set objRS = nothing
%>
Group Membership
<%= OutputCSS() %>
|
Group Membership info
|
| Group Name
| is Group Manager
|
<% if isArray(arrGroups) then %>
<% for i=0 to ubound (arrGroups,2) %>
>
| <%= HTMLEncode(""&arrGroups(0,i)) %> |
<%= iff(arrGroups(2,i)=1,"yes","no")%>
|
<% next %>
<% Else %>
>
| This person is not in any user group |
<% End If %>
|
close window |
<%
response.end
end if
set objRS = Server.CreateObject("adodb.recordset")
with objRS
.open _
"SELECT Login, Fname, Lname, Email, Userpass, totalPosts, ip, banned, datesignup, regStatus, "&_
"allowSigpicture, allowShortMsg,signature,saysomething, sigpicture, profilePic, profilePicURL, customTitle, score,moderated,homepage "&_
"FROM pgd_members WHERE Mem = "&id, datastore, , ,adCmdText
arrProfile = .getrows
.close
end with
set objRS = nothing
'=====0======1======2======3=======4=========5========6=====7==========8==========9
Dim Login, Fname, Lname, Email, Userpass, totalPosts, ip, banned, datesignup, regStatus
'==========10=============11==========12=========13===========14===========15===========16============17========18====19
Dim allowSigpicture, allowShortMsg,signature,saysomething, sigpicture, profilePic, profilePicURL, customTitle, score,moderated
'=====20
Dim Homepage
Login = HTMLEncode(""&arrProfile(0,0))
Fname = HTMLEncode(""&arrProfile(1,0))
Lname = HTMLEncode(""&arrProfile(2,0))
Email = HTMLEncode(""&arrProfile(3,0))
totalPosts = arrProfile(5,0)
ip = arrProfile(6,0)
banned = arrProfile(7,0)
datesignup = arrProfile(8,0)
regStatus = arrProfile(9,0)
allowSigpicture = arrProfile(10,0)
allowShortMsg = arrProfile(11,0)
signature = arrProfile(12,0)
saysomething = arrProfile(13,0)
sigpicture = arrProfile(14,0)
profilePic = arrProfile(15,0)
profilePicURL = HTMLEncode(""&arrProfile(16,0))
customTitle = HTMLEncode(""&arrProfile(17,0))
score = arrProfile(18,0)
moderated = arrProfile(19,0)
Homepage = HTMLEncode(""&arrProfile(20,0))
erase arrProfile
%>
Modify User's Info
<%= OutputCSS() %>
User Detail :
<% if request.queryString("done") <> "" then response.write ("User Details Updated Successfully.") %>