Advertisement
Guest User

Untitled

a guest
Dec 16th, 2012
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.46 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. $dateformat = get_option('date_format');
  7. $timeformat = get_option('time_format');
  8. get_header(); ?>
  9.  
  10. <div id="content">
  11. <div class="wrap">
  12.  
  13. <?php wp_reset_query(); if (have_posts()) : while (have_posts()) : the_post(); ?>
  14.  
  15. <div class="postInfo">
  16.  
  17. <h1 class="title"><?php the_title(); ?></h1>
  18. <p class="postmetadata"><?php _e('Posted by','wpzoom');?> <?php the_author_posts_link(); ?> <?php _e('in','wpzoom');?> <span class="category"><?php the_category(', '); ?></span> <?php _e('on','wpzoom');?> <?php the_time("$dateformat $timeformat"); ?> / <a href="<?php the_permalink() ?>#commentspost" title="Jump to the comments"><?php comments_number(__('no comments', 'wpzoom'),__('1 comment', 'wpzoom'),__('% comments', 'wpzoom')); ?></a><?php edit_post_link( __('EDIT', 'wpzoom'), ' / ', ''); ?></p>
  19.  
  20. </div>
  21.  
  22. <div id="main">
  23.  
  24. <div class="column column-double column-last widget single">
  25.  
  26. <?php if (strlen($wpzoom_ad_content_imgpath) > 1 && $wpzoom_ad_content_select == 'Yes' && $wpzoom_ad_content_pos == 'Before') { echo '<div class="banner">'.stripslashes($wpzoom_ad_content_imgpath)."</div>"; }?>
  27.  
  28. <div class="post-content">
  29. <?php the_content(''); ?> <span style="color: #ff0000;"><strong>The makers of the <em>Gridiron Domination</em> "Complete Training for Football" system claim that it helps you "gain muscle mass, sprint faster, jump higher, and grow stronger..."</strong></span>
  30.  
  31. <span style="color: #ff0000;"><br><br><strong>But does it <em>really</em>?  <a href="http://www.get2theleague.com/gridiron-domination-football-training-product-review/" target="_blank"><br><br><span style="color: #ff0000;">Click here</span></a> to check out our review of their system.</strong></span><br>
  32. </div>
  33. <?php wp_link_pages(array('before' => '<p class="pages"><strong>'.__('Pages', 'wpzoom').':</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
  34. <div class="clear">&nbsp;</div>
  35. <?php the_tags( '<p class="tags">'.__('Tags', 'wpzoom').': ', ', ', '</p>'); ?>
  36. <?php if (strlen($wpzoom_ad_content_imgpath) > 1 && $wpzoom_ad_content_select == 'Yes' && $wpzoom_ad_content_pos == 'After') { echo '<div class="banner">'.stripslashes($wpzoom_ad_content_imgpath)."</div>"; }?>
  37.  
  38. <div class="social">
  39. <h3><?php _e('Share this article','wpzoom');?></h3>
  40. <ul>
  41. <li><a href="http://twitter.com/share?url=<?php echo urlencode(the_permalink()); ?>&amp;text=<?php echo urlencode(the_title()); ?>" rel="external,nofollow"><img src="<?php bloginfo('template_directory'); ?>/images/icons/twitter.png" alt="Tweet This!" /></a></li>
  42. <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('template_directory'); ?>/images/icons/digg.png" alt="Digg it!" /></a></li>
  43. <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('template_directory'); ?>/images/icons/delicious.png" alt="Add to Delicious!" /></a></li>
  44. <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('template_directory'); ?>/images/icons/facebook.png" alt="Share on Facebook!" /></a></li>
  45. <li><a href="http://reddit.com/submit?url=<?php the_permalink(); ?>&amp;title=<?php the_title_attribute();?>" rel="external,nofollow"><img src="<?php bloginfo('template_directory'); ?>/images/icons/reddit.png" alt="Share on Reddit!" /></a></li>
  46. </ul>
  47. <div class="clear">&nbsp;</div>
  48. </div><!-- end .social -->
  49.  
  50. <?php comments_template(); ?>
  51.  
  52. <div class="clear">&nbsp;</div>
  53.  
  54. </div><!-- end .single -->
  55.  
  56. </div><!-- end #main -->
  57.  
  58. <?php endwhile; endif; ?>
  59.  
  60. <div id="sidebar">
  61.  
  62. <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Sidebar') ) : endif; ?>
  63.  
  64. <?php if ($wpzoom_tabs_show_single == 'Yes') { include(TEMPLATEPATH . '/tabs.php'); } ?>
  65.  
  66. <div class="clear">&nbsp;</div>
  67.  
  68. </div><!-- end #sidebar -->
  69.  
  70.  
  71. <div class="clear">&nbsp;</div>
  72.  
  73. </div><!-- end .wrap -->
  74. </div><!-- end #content -->
  75.  
  76. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement