Advertisement
Guest User

pictures.php

a guest
Jan 14th, 2012
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.76 KB | None | 0 0
  1. <?php get_header() ?>
  2.  
  3. <div id="content">
  4. <div class="padder">
  5.  
  6. <div id="item-header">
  7. <?php locate_template( array( 'members/single/member-header.php' ), true ) ?>
  8. </div>
  9.  
  10. <div id="item-nav">
  11. <div class="item-list-tabs no-ajax" id="object-nav">
  12. <ul>
  13. <?php bp_get_displayed_user_nav() ?>
  14. </ul>
  15. </div>
  16. </div>
  17.  
  18. <div id="sidebar-squeeze">
  19. <div id="main-column">
  20.  
  21. <div id="item-body">
  22.  
  23. <div class="item-list-tabs no-ajax" id="subnav">
  24. <ul>
  25. <?php bp_get_options_nav() ?>
  26. </ul>
  27. </div>
  28.  
  29. <?php if ( bp_album_has_pictures() ) : ?>
  30.  
  31. <div class="picture-pagination">
  32. <?php bp_album_picture_pagination(); ?>
  33. </div>
  34.  
  35. <div class="picture-gallery">
  36. <?php while ( bp_album_has_pictures() ) : bp_album_the_picture(); ?>
  37.  
  38. <div class="picture-thumb-box">
  39.  
  40. <a href="<?php bp_album_picture_url() ?>" class="picture-thumb"><img src='<?php bp_album_picture_thumb_url() ?>' /></a>
  41. <a href="<?php bp_album_picture_url() ?>" class="picture-title"><?php bp_album_picture_title_truncate() ?></a>
  42. </div>
  43.  
  44. <?php endwhile; ?>
  45. </div>
  46. <?php else : ?>
  47.  
  48. <div id="message" class="info">
  49. <p><?php echo bp_word_or_name( __('No pics here, show something to the community!', 'bp-album' ), __( "Either %s hasn't uploaded any picture yet or they have restricted access", 'bp-album' ) ,false,false) ?></p>
  50. </div>
  51.  
  52. <?php endif; ?>
  53.  
  54. </div><!-- #item-body -->
  55.  
  56. </div><!-- #main-column -->
  57. <?php get_sidebar( 'buddypress' ); ?>
  58. </div><!-- #sidebar-squeeze -->
  59.  
  60. </div><!-- .padder -->
  61. </div><!-- #content -->
  62.  
  63. <?php get_footer( 'buddypress' ); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement