AUMemberStatusG is part of an "online/offline" indicator mod ( see http://www.burningsoulsforum.com/members.asp ), I would remove it if you don't have this mod installed. Otherwise is looks like this:
function AUMemberStatusG(OnlineMembers, CurrentMember)
for intRow = 0 to UBound(OnlineMembers, 2)
if OnlineMembers(0,intRow) = CurrentMember then
AUMemberStatusG = "<img src='images/icon_online.gif' alt='Member is ONLINE!' border='0' align='absmiddle' hspace='3'>"
exit function
end if
next
AUMemberStatusG = "<img src='images/icon_offline.gif' alt='Member is Offline' border='0' align='absmiddle' hspace='3'>"
end function
Please note that I am extremely busy these days and unfortunately do not have too much time to spare. I will continue to try and help you with this though.
with respect to the members.asp code, I would just review and extract only the portions you need for the stats. it was not really intended for plug and play.