wolverinept

Sidebar

Feb 18th, 2012
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.67 KB | None | 0 0
  1. <?php
  2. global $options;
  3. foreach ($options as $value) {
  4. if (get_settings( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_settings( $value['id'] ); }
  5. }
  6. global $showsocial;
  7. ?>
  8.  
  9. <?php if ($showsocial == 'Yes') { ?>
  10. <div class="widget box">
  11. <div class="title grey"><h2><?php _e('Share this article', 'wpzoom');?></h2></div><!-- end .title -->
  12.  
  13. <ul class="wpzoomSocial">
  14. <li><li><a href="http://twitter.com/home?status=<?php the_title_attribute(); ?> <?php echo urlencode(get_bloginfo('url')."/?p=".$post->ID); ?>" rel="external,nofollow"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/icons/ic_twitter.png" alt="Tweet This!" /> <?php _e('Tweet this!', 'wpzoom');?></a></li>
  15. <li><a href="http://digg.com/submit?phase=2&amp;url=<?php the_permalink();?>&amp;title=<?php the_title_attribute();?>" rel="external,nofollow"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/icons/ic_digg.png" alt="Digg it!" /> <?php _e('Digg it!', 'wpzoom');?></a></li>
  16. <li><a href="http://del.icio.us/post?v=4&amp;noui&amp;jump=close&amp;url=<?php the_permalink();?>&amp;title=<?php the_title_attribute();?>" rel="external,nofollow"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/icons/ic_delicious.png" alt="Add to Delicious!" /> <?php _e('Add to Delicious!', 'wpzoom');?></a></li>
  17. <li><a href="http://www.facebook.com/sharer.php?u=<?php the_permalink();?>&amp;t=<?php the_title(); ?>" rel="external,nofollow"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/icons/ic_facebook.png" alt="Share on Facebook!" /> <?php _e('Share on Facebook!', 'wpzoom');?></a></li>
  18. <li><a href="http://reddit.com/submit?url=<?php the_permalink(); ?>&amp;title=<?php the_title_attribute();?>" rel="external,nofollow"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/icons/ic_reddit.png" alt="Share on Reddit!" /> <?php _e('Share on Reddit!', 'wpzoom');?></a></li>
  19. <li><a href="http://www.stumbleupon.com/submit?url=<?php the_permalink(); ?>" rel="external,nofollow"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/icons/ic_stumbleupon.png" alt="Stumble it" /> <?php _e('Stumble it', 'wpzoom');?></a></li>
  20. <li><a href="http://www.technorati.com/faves?add=<?php the_permalink(); ?>" rel="external,nofollow"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/icons/ic_technorati.png" alt="Add to Technorati Favorites" /> <?php _e('Add to Technorati', 'wpzoom');?></a></li>
  21. <li class="last"><a href="<?php if (strlen($wpzoom_misc_feedburner) < 10) { bloginfo('rss2_url');} else {echo"$wpzoom_misc_feedburner";} ?>" rel="external,nofollow"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/icons/ic_rss.png" alt="Subscribe by RSS" /> <?php _e('Subscribe by RSS', 'wpzoom');?></a></li>
  22. </ul>
  23. <div class="cleaner">&nbsp;</div>
  24.  
  25. </div>
  26. <?php } // if social icons should be shown ?>
  27.  
  28. <?php if (strlen($wpzoom_ad_side_imgpath) > 1 && $wpzoom_ad_side_select == 'Yes' && $wpzoom_ad_side_pos == 'Before') { echo '<div class="banner widget box">'.stripslashes($wpzoom_ad_side_imgpath)."</div>"; }?>
  29. <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Sidebar') ) : ?> <?php endif; ?>
  30. <?php if (strlen($wpzoom_ad_side_imgpath) > 1 && $wpzoom_ad_side_select == 'Yes' && $wpzoom_ad_side_pos == 'After') { echo '<div class="banner widget box">'.stripslashes($wpzoom_ad_side_imgpath)."</div>"; }?>
  31. <div class="cleaner">&nbsp;</div>
Add Comment
Please, Sign In to add comment