chipbennett

Untitled

May 11th, 2011
179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 3.91 KB | None | 0 0
  1. <?php get_header(); ?>
  2.  
  3. <?php $options = get_option('pb_options'); ?>
  4.  
  5. <div id="slideshow"></div>
  6.  
  7.     <script type="text/javascript">
  8.  
  9.       var fo = new FlashObject("maskmovie.swf", "mymovie", "958", "350", "6", "#330000");
  10.  
  11.         fo.addParam("quality", "high");
  12.  
  13.         fo.addParam("wmode", "transparent");
  14.  
  15.         fo.write("slideshow");
  16.  
  17.     </script>
  18.  
  19.   <div id="home-contents" class="clearfix">
  20.  
  21.    <div id="news-ticker">
  22.  
  23.      <div class="news-ticker-content">
  24.  
  25. $latestnews = get_posts( array(
  26.      'numberposts' = 3
  27. ) );
  28. foreach ( $latestnews as $news ) {
  29.      setup_postdata( $news ); ?>
  30.  
  31.     <div class="home">
  32.  
  33.      <h2><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h2>
  34.  
  35.      <ul class="home-post-info">
  36.  
  37.       <li>Posted <?php the_time(__('F jS, Y', 'piano-black')) ?> at <?php the_time(__('g:i A', 'piano-black')) ?></li>
  38.  
  39.       <?php if ($options['author']) : ?><li><?php _e('By ','piano-black'); ?><?php the_author_posts_link(); ?></li><?php endif; ?>
  40.  
  41.       <li class="write-comment"><a href="<?php the_permalink() ?>#comments"><?php _e('Write comment','piano-black'); ?></a></li>
  42.  
  43.       <li class="post-edit"><?php edit_post_link(__('[ EDIT ]', 'piano-black'), '', '' ); ?></li>
  44.  
  45.      </ul>
  46.  
  47.      <div class="home-content">
  48.  
  49.        <?php the_content(__('Read more', 'piano-black')); ?>
  50.  
  51.        <?php wp_link_pages(); ?>
  52.  
  53.      </div>
  54.  
  55.     </div>
  56.  
  57. <?php } ?>
  58.  
  59.      </div>
  60.  
  61.    </div><!-- #news-ticker end -->
  62.  
  63. <div id="onrepeat">
  64.  
  65.      <div class="onrepeat">
  66.  
  67.      <p>This is the album that's in heavy rotation on my iPhone right now. Check it out...</p>
  68.  
  69.      <div id="albumlink">
  70.  
  71.        <a href="http://www.amazon.com/Live-2010-Annual-Concert-Tour/dp/B0043XDMOG/ref=sr_shvl_album_1?ie=UTF8&qid=1298246879&sr=301-1"><img src="../wp-content/themes/piano-black/img/albums/album_sfjazz2010.png" alt="SF Jazz Collective - 2010 Live" target="_blank"></a>
  72.  
  73.        <div class="buyitnow"><a href="http://www.amazon.com/Live-2010-Annual-Concert-Tour/dp/B0043XDMOG/ref=sr_shvl_album_1?ie=UTF8&qid=1298246879&sr=301-1" target="_blank">BUY IT NOW!</a></div>
  74.  
  75.      </div>
  76.  
  77.      <h4>ARTIST:</h4>
  78.  
  79.      <p><b>SF Jazz Collective</b></p>
  80.  
  81.      <h4>ALBUM:</h4>
  82.  
  83.      <p><b>2010 Live Tour</b></p>
  84.  
  85.      <h4>GENRE/STYLE:</h4>
  86.  
  87.      <p>Jazz</p>
  88.  
  89.      <h4>FAVORITE TRACKS:</h4>
  90.  
  91.      <p>Cape Verdean Blues, The Devil In The Details, Suite for Ward Martin Tavares, The Mystery of Water, Song For My Father</p>
  92.  
  93.      <h4>COMMENTS:</h4>
  94.  
  95.      <p>This is one of the best musical investments I've ever made. All of the players on this record are amazing, but the drumming of Eric Harland is particularly brilliant - a real revelation. The angular, tasteful approach he has is both exciting <i>and</i> interesting, and sets the modern standard.</p>
  96.  
  97.      </div>
  98.  
  99.    </div><!-- #onrepeat end -->
  100.  
  101.    <div id="endorsements">
  102.  
  103.    <a href="http://www.genesisdrumco.com"><img src="../wp-content/themes/piano-black/img/logo_genesis.png"></a>
  104.  
  105.    <a href="http://www.soultonecymbals.com"><img src="../wp-content/themes/piano-black/img/logo_soultone.png"></a>
  106.  
  107.    <a href="http://www.aquariandrumheads.com"><img src="../wp-content/themes/piano-black/img/logo_aquarian.png"></a>
  108.  
  109.    <a href="http://www.impactind.com"><img src="../wp-content/themes/piano-black/img/logo_impact.png"></a>
  110.  
  111.    </div>
  112.  
  113.    <div id="see_also">
  114.  
  115.    <a href="http://www.youtube.com/drumology2001"><img src="../wp-content/themes/piano-black/img/icon_youtube.png"></a>
  116.  
  117.    <a href="http://www.twitter.com/drumology2001"><img src="../wp-content/themes/piano-black/img/icon_twitter.png"></a>
  118.  
  119.    <a href="http://www.facebook.com/DerekMunsonDrums"><img src="../wp-content/themes/piano-black/img/icon_facebook.png"></a>
  120.  
  121.    <a href="http://www.myspace.com/derekmunson"><img src="../wp-content/themes/piano-black/img/icon_myspace.png"></a>
  122.  
  123.    </div>
  124.  
  125.    </div>
  126.  
  127.  </div>
  128.  
  129. </div><!-- #home-contents end -->
Advertisement
Add Comment
Please, Sign In to add comment