Guest User

live.php

a guest
Mar 31st, 2013
94
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. /*
  3. Single Post Template: Live Report
  4. Description: You must select this template for live reports.
  5. */
  6. ?>
  7. <?php get_header(); ?>
  8.  
  9. <div id="innerwrapper"><!-- INNER WRAPPER -->
  10.  
  11.  
  12. <?php if (have_posts()) : ?>
  13. <?php while (have_posts()) : the_post(); ?>
  14.  
  15. <div class="containerdiv2">
  16. <div class="livediv">
  17.  
  18. <img border="0" src="http://escxtra.com/images/livereport.jpg" alt="">
  19.  
  20. <div class="livediv2"><h1><font size="5"><font color="#CD0000"><?php get_custom_field('country', TRUE); ?>:</font><font size="5"> <?php the_title(); ?></font></h1></font>
  21. <br>
  22. <div class="authorlive">by <?php the_author_posts_link(); ?></div></div>
  23. </div>
  24. </div>
  25.  
  26.  
  27. <div class="catwrapper-top">
  28. <div class="toplive">
  29. <b>This is a live report. Refreshing is not required as updates are pushed automatically. Click the button to update. </b>
  30. </div>
  31. </div>
  32.  
  33.  
  34. <div class="innerwrapper-page"><!-- INNER WRAPPER LEFT -->
  35.  
  36.  
  37. <div class="livepost"><?php the_content(__('Keep Reading'));?></div>
  38. <p>
  39. <?php endwhile; else: ?>
  40. <p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
  41. <?php endif; ?>
  42. <?php if ( get_option( playmaker6_showtags ) == "Yes") { ?>
  43. <?php echo get_the_tag_list('<div class="poststyle"><b>Related Links:</b>&nbsp; ',', ','</div><br /><br />'); ?>
  44. <?php } else { ?>
  45.  
  46. <?php } ?>
  47. <?php if ( $postbanner = get_option('playmaker6_postbanner') ) { ?>
  48. <div class="bannerspot">
  49. <?php $postbanner = get_option('playmaker6_postbanner'); echo stripslashes($postbanner); ?><br /><br />
  50. </div>
  51. <?php } else { ?>
  52. <?php } ?>
  53. <?php if ( get_option( playmaker6_showrelated ) == "Yes") { ?>
  54. <?php include (TEMPLATEPATH . '/assets/includes/related.php'); ?>
  55. <?php } else { ?>
  56. <?php } ?>
  57. <?php if ( get_option( playmaker6_showcomments ) == "Yes") { ?>
  58. <?php } else { ?>
  59.  
  60.  
  61. <?php } ?>
  62. </div><!-- /INNER WRAPPER LEFT -->
  63.  
  64.  
  65. </div><!-- /INNER WRAPPER -->
  66. <?php get_footer(); ?>
RAW Paste Data