2006/2/26 6:56
Twiggy
Just popping in
Posts: 1
Since: 2006/2/26
foreach (array_keys($foundusers) as $j) { if ($ucount % 2 == 0) { $class = 'even'; } else { $class = 'odd'; } $ucount++; $fuser_avatar = $foundusers[$j]->getVar("user_avatar") ? ".XOOPS_UPLOAD_URL."/".$foundusers[$j]->getVar("user_avatar")."' alt='' />" : " "; $fuser_name = $foundusers[$j]->getVar("uname") ? $foundusers[$j]->getVar("uname") : " "; echo "$class'> value='".$foundusers[$j]->getVar("uid")."' /> name='memberslist_uname[".$foundusers[$j]->getVar("uid")."]' id='memberslist_uname[]' value='".$foundusers[$j]->getVar("uname")."' />"; echo "$fuser_avatar"; /* This is a slightly modified code that allows the admin to click on an inactive user and go directly to their account in edit mode. Note: Inactive accounts are tagged denoted (inactive) after their name */ //If the user is active if( $level = $foundusers[$j]->level() > 0 ) { echo ".XOOPS_URL."/userinfo.php?uid=". $foundusers[$j]->getVar("uid")."'>".$foundusers[$j]->getVar("uname").""; } else //If the user is inactive { $uid = $foundusers[$j]->getVar("uid"); $uname = $foundusers[$j]->getVar("uname"); echo " .XOOPS_URL."/modules/profile/admin/user.php?op=editordelete&id=$uid> $uname (inactive) "; } echo "".$fuser_name.".$foundusers[$j]->getVar("email"). "'>.XOOPS_URL."/images/icons/email.gif' border='0' alt='"; printf(_SENDEMAILTO,$foundusers[$j]->getVar("uname", "E")); echo "' />".formatTimeStamp($foundusers[$j]->getVar("user_regdate"),"s"). ""; if ( $foundusers[$j]->getVar("last_login") != 0 ) { echo formatTimeStamp($foundusers[$j]->getVar("last_login"),"m"); } else { echo " "; } echo "".$foundusers[$j]->getVar("posts").""; echo "n";}
Advanced Search
408 user(s) are online (317 user(s) are browsing Support Forums)
Members: 0
Guests: 408