Search for MMN Member

Enter the member number


get_results($querystr);
if( count($author_details) > 0 ) {
foreach ($author_details as $detail_obj) {
if((int)$detail_obj->field_id == 1) {
$full_name = $detail_obj->value;
} else if((int)$detail_obj->field_id == 2) {
$user_id = $detail_obj->user_id;
} else if((int)$detail_obj->field_id == 3) {
$user_active = $detail_obj->value;
}/* else if((int)$detail_obj->field_id == 6) {
$profile_text = $detail_obj->value;
}*/
}
#
$profile_text = get_user_meta($user_id, ‘description’);
$user_avatar = get_avatar( $user_id);
echo ‘

‘ . $user_avatar . ‘

‘;
echo ‘

‘;
echo ‘‘.$full_name . “
“;
echo “MMN Member : ” . $_POST[‘number’] . “
“;
echo “Account Status : ” . ($user_active==”True” ? “Enabled”:”Disabled”) . “
“;
echo “Profile Text : ” . $profile_text[0] . “
“;
echo “

“;
} else {
echo ‘Member not found.’;
}
}
?>