Guest User

Untitled

a guest
Jun 11th, 2011
73
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php get_header() ?>
  2.  
  3. <div id="container">
  4. <div id="content">
  5.  
  6.  
  7.  
  8. <?php include (ABSPATH . '/wp-content/plugins/featured-content-gallery/gallery.php'); ?>
  9.  
  10. <form action="" method="post" id="members-directory-form" class="dir-form">
  11.  
  12. <h3><?php _e( 'Members Directory', 'buddypress' ) ?></h3>
  13.  
  14. <?php do_action( 'bp_before_directory_members_content' ) ?>
  15.  
  16. <div id="members-dir-search" class="dir-search">
  17. <?php bp_directory_members_search_form() ?>
  18. </div><!-- #members-dir-search -->
  19.  
  20. <div class="item-list-tabs">
  21. <ul>
  22. <li class="selected" id="members-all"><a href="<?php bp_root_domain() ?>"><?php printf( __( 'All Members (%s)', 'buddypress' ), bp_get_total_member_count() ) ?></a></li>
  23.  
  24. <?php if ( is_user_logged_in() && function_exists( 'bp_get_total_friend_count' ) && bp_get_total_friend_count( bp_loggedin_user_id() ) ) : ?>
  25. <li id="members-personal"><a href="<?php echo bp_loggedin_user_domain() . BP_FRIENDS_SLUG . '/my-friends/' ?>"><?php printf( __( 'My Friends (%s)', 'buddypress' ), bp_get_total_friend_count( bp_loggedin_user_id() ) ) ?></a></li>
  26. <?php endif; ?>
  27.  
  28. <?php do_action( 'bp_members_directory_member_types' ) ?>
  29.  
  30. <li id="members-order-select" class="last filter">
  31.  
  32. <?php _e( 'Order By:', 'buddypress' ) ?>
  33. <select>
  34. <option value="active"><?php _e( 'Last Active', 'buddypress' ) ?></option>
  35. <option value="newest"><?php _e( 'Newest Registered', 'buddypress' ) ?></option>
  36.  
  37. <?php if ( bp_is_active( 'xprofile' ) ) : ?>
  38. <option value="alphabetical"><?php _e( 'Alphabetical', 'buddypress' ) ?></option>
  39. <?php endif; ?>
  40.  
  41. <?php do_action( 'bp_members_directory_order_options' ) ?>
  42. </select>
  43. </li>
  44. </ul>
  45. </div><!-- .item-list-tabs -->
  46.  
  47. <div id="members-dir-list" class="members dir-list">
  48. <?php locate_template( array( 'members/members-loop.php' ), true ) ?>
  49. </div><!-- #members-dir-list -->
  50.  
  51. <?php do_action( 'bp_directory_members_content' ) ?>
  52.  
  53. <?php wp_nonce_field( 'directory_members', '_wpnonce-member-filter' ) ?>
  54.  
  55. <?php do_action( 'bp_after_directory_members_content' ) ?>
  56.  
  57. </form><!-- #members-directory-form -->
  58.  
  59.  
  60.  
  61. </div><!-- #content -->
  62. </div><!-- #container -->
  63.  
  64. </div>
  65.  
  66. <?php locate_template( array( 'sidebar.php' ), true ) ?>
  67.  
  68.  
  69.  
  70. <?php get_footer() ?>
RAW Paste Data