Advertisement
unixunderground

Untitled

Jul 7th, 2011
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.59 KB | None | 0 0
  1. <div id="feature">
  2. <div class="postwrap fix">
  3. <div class="hentry fix">
  4. <div id="cycle" class="fix">
  5.  
  6. <?php foreach(pagelines('features') as $feature):?>
  7. <?php if((showfeature($feature['page'], $post->ID) && !$feature['draft']) && (!empty($feature['text']) || !empty($feature['media']))):?>
  8. <div id="<?php echo str_replace(' ', '_', $feature['name']);?>" class="fcontainer" <?php if(isset($feature['background'])):?>style="background:<?php echo $feature['background'];?>"<?php endif;?>>
  9. <div class="fcontent">
  10. <div class="fheading">
  11. <?php echo do_shortcode($feature['title']);?>
  12. </div>
  13. <div class="ftext">
  14. <?php echo do_shortcode($feature['text']);?>
  15.  
  16. <?php if($feature['link']):?>
  17. <a class="featurelink" href="<?php echo $feature['link'];?>"><?php _e('More',TDOMAIN);?></a>
  18. <?php endif;?>
  19. </div>
  20. </div>
  21. <div class="fmedia">
  22. <?php echo do_shortcode($feature['media']);?>
  23. </div>
  24. <div class="clear"></div>
  25. </div>
  26. <?php endif;?>
  27. <?php endforeach;?>
  28. </div>
  29.  
  30.  
  31.  
  32. </div>
  33. <div class="hl"></div>
  34. <div id="feature-footer" class="fix">
  35. <div id="featurenav" class="<?php if(pagelines('feature_nav_type') == 'thumbs') echo "thumb_nav";?>">
  36. <?php if(pagelines('timeout') != 0 && pagelines('feature_playpause')):?><span class="playpause pause"><span>&nbsp;</span></span><?php endif;?>
  37. </div>
  38.  
  39. </div>
  40. <div class="clear"></div>
  41. </div>
  42.  
  43. </div>
  44. <div class="clear"></div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement