document.write('
Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. <?php
  2. /**
  3. * @package WordPress
  4. * @subpackage Magazeen_Theme
  5. */
  6.  
  7. get_header();
  8. ?>
  9.  
  10. <div id="main-content" class="clearfix">
  11.  
  12. <div class="container">
  13.  
  14. <div class="col-580 left">
  15.  
  16. <?php
  17. if (have_posts()) :
  18. while (have_posts()) : the_post(); $category = get_the_category();
  19. ?>
  20.  
  21. <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  22.  
  23. <div class="post-meta clearfix">
  24.  
  25. <h3 class="post-title left"><a href="<?php the_permalink() ?>" rel="bookmark" title="Zobacz artyku&#322; <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h3>
  26.  
  27. <p class="post-info right">
  28. <span>Dodany przez <?php the_author_posts_link(); ?></span>
  29. <?php the_time( 'l, j F Y' ) ?>
  30. </p>
  31.  
  32. </div><!-- End post-meta -->
  33.  
  34. <div class="post-box">
  35.  
  36. <div class="page-content clearfix">
  37.  
  38. <div class="clearfix">
  39.  
  40. <?php if( get_post_meta( $post->ID, "image_value", true ) ) : ?>
  41.  
  42. <div class="post-image-inner right">
  43. <a href="<?php the_permalink() ?>" rel="bookmark" title="Zobacz artyku&#322; <?php the_title_attribute(); ?>"><img src="<?php bloginfo( 'template_directory' ); ?>/timthumb.php?src=<?php echo get_post_meta( $post->ID, "image_value", true ); ?>&amp;w=225&amp;h=246&amp;zc=1" alt="<?php the_title(); ?>" /></a>
  44. </div>
  45.  
  46. <?php endif; ?>
  47.  
  48. <?php the_content( '' ); ?>
  49.  
  50. <?php wp_link_pages( array( 'before' => '<p><strong>Strony:</strong> ', 'after' => '</p>', 'next_or_number' => 'number' ) ); ?>
  51.  
  52. <br />
  53.  
  54. </div>
  55.  
  56. </div><!-- End post-content -->
  57.  
  58. </div><!-- End post-box -->
  59.  
  60. </div><!-- End post -->
  61.  
  62. <?php comments_template(); ?>
  63.  
  64. <?php
  65. endwhile;
  66. endif;
  67. ?>
  68.  
  69. </div><!-- End col-580 (Left Column) -->
  70.  
  71. <div class="col-340 right">
  72.  
  73. <ul id="sidebar">
  74.  
  75. <?php get_sidebar(); ?>
  76.  
  77. </ul><!-- End sidebar -->
  78.  
  79. </div><!-- End col-340 (Right Column) -->
  80.  
  81. </div><!-- End container -->
  82.  
  83. </div><!-- End main-content -->
  84.  
  85. <?php get_footer(); ?>
');