Tabletest

get_results(“SELECT * from $wpdb->usermeta WHERE meta_key = ‘wp_capabilities’ AND meta_value = ‘a:1:{s:10:\”subscriber\”;b:1;}'”); foreach ( (array) $author_subscriper as $author ) { $author = get_userdata( $author->user_id ); $userlevel = $author->wp2_user_level; $name = $author->nickname; if ( $show_fullname && ($author->first_name != ” && $author->last_name != ”) ) { $name = “$author->first_name $author->last_name”; } $link = ‘

  • ‘ . $name . ‘
  • ‘; echo $link; } $i = 0; while ( $i <= 10 ) { $userlevel = $i; $authors = $wpdb->get_results(“SELECT * from $wpdb->usermeta WHERE meta_key = ‘wp_user_level’ AND meta_value = ‘$userlevel'”); foreach ( (array) $authors as $author ) { $author = get_userdata( $author->user_id ); $userlevel = $author->wp2_user_level; $name = $author->nickname; if ( $show_fullname && ($author->first_name != ” && $author->last_name != ”) ) { $name = “$author->first_name $author->last_name”; } $link = ‘

  • ‘ . $name . ‘
  • ‘; echo $link; } $i++; } } else { if ($userlevel == 1) { $authors = $wpdb->get_results(“SELECT * from $wpdb->usermeta WHERE meta_key = ‘wp_capabilities’ AND meta_value = ‘a:1:{s:10:\”subscriber\”;b:1;}'”); } else { $authors = $wpdb->get_results(“SELECT * from $wpdb->usermeta WHERE meta_value = ‘$userlevel'”); } foreach ( (array) $authors as $author ) { $author = get_userdata( $author->user_id ); $userlevel = $author->wp2_user_level; $name = $author->nickname; if ( $show_fullname && ($author->first_name != ” && $author->last_name != ”) ) { $name = “$author->first_name $author->last_name”; } $link = ‘

  • ‘ . $userlevelname[$userlevel] . ‘
  • ‘; $link .= ‘

  • ‘ . $name . ‘
  • ‘; echo $link; } } } ; ?>

    Leave a Reply

    Your email address will not be published. Required fields are marked *

    This site uses Akismet to reduce spam. Learn how your comment data is processed.