Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

sidebar-buddypress

By: a guest on Feb 3rd, 2012  |  syntax: None  |  size: 1.38 KB  |  views: 45  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1.         <?php
  2.                 if (is_home()) {
  3.                         dynamic_sidebar( 'Sidebar1-Home' ); if(get_option('of_qs_widget') == 'true') { echo '<span class="widgetname" style="text-align: center;">Sidebar1-Home</span>'; }
  4.                 } else {
  5.                         dynamic_sidebar( 'Sidebar1-Innerpage' ); if(get_option('of_qs_widget') == 'true') { echo '<span class="widgetname">Sidebar1-Innerpage</span>'; }
  6.                 }
  7.         ?>
  8.                
  9.        
  10.        
  11.         </div><!-- /widget -->
  12.  
  13.         <?php if(get_option('of_qs_125x1i') <> "" ) { /*activate if at least one banner is uploaded */ ?>
  14.                 <div class="widget ads_box">
  15.                         <div class="top"></div>
  16.                         <div class="bot"></div>
  17.                         <ul>
  18.                                 <?php if(get_option('of_qs_125x1i') <> "" ) { ?><li><a href="<?php echo get_option('of_qs_125x1l'); ?>"><img src="<?php echo get_option('of_qs_125x1i'); ?>" alt="" /></a></li><?php } ?>
  19.                                 <?php if(get_option('of_qs_125x2i') <> "" ) { ?><li><a href="<?php echo get_option('of_qs_125x2l'); ?>"><img src="<?php echo get_option('of_qs_125x2i'); ?>" alt="" /></a></li><?php } ?>
  20.                                 <?php if(get_option('of_qs_125x3i') <> "" ) { ?><li><a href="<?php echo get_option('of_qs_125x3l'); ?>"><img src="<?php echo get_option('of_qs_125x3i'); ?>" alt="" /></a></li><?php } ?>
  21.                                 <?php if(get_option('of_qs_125x4i') <> "" ) { ?><li><a href="<?php echo get_option('of_qs_125x4l'); ?>"><img src="<?php echo get_option('of_qs_125x4i'); ?>" alt="" /></a></li><?php } ?>
  22.                         </ul>
  23.                 </div><!-- /widget -->
  24.         <?php } ?>