document.write('
Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. <?php get_header();?>
  2.  
  3. <div class="main-container">
  4.  
  5. <?php
  6. global $options;
  7.     foreach ($options as $value) {
  8.         if (get_settings( $value[\'id\'] ) === FALSE) { $$value[\'id\'] = $value[\'std\']; } else { $$value[\'id\'] = get_settings( $value[\'id\'] ); }
  9.                 }
  10. ?>
  11.  
  12.  
  13. <?php if ($apa_use_slide_show == \'\') {
  14.  include (TEMPLATEPATH . \'/gallery.php\');
  15.  }?>
  16.  
  17.  
  18. <?php if (have_posts()) : while (have_posts()) : the_post();
  19. if ($apa_use_slide_show == \'\') {
  20.     if (in_array($post->ID, $saved_ids)) continue;
  21.     update_post_caches($posts);
  22.  }?>
  23.  
  24.  
  25.  
  26. <div class="post-title">
  27. <a href="<?php the_permalink();?>" title="<?php the_title();?>">
  28. <?php the_title();?>
  29. </a>
  30. </div><!--post-title-->
  31.  
  32. <div class="thumbnail">
  33. <?php if ( has_post_thumbnail() ) { ?>
  34.     <a href="<?php the_permalink();?>" title="<?php the_title();?>">
  35.     <?php the_post_thumbnail(array(), array(\'class\' => \'thumbs-in-archive\')); ?>
  36.     </a>
  37.  
  38.  
  39. <?php } elseif (get_post_meta($post->ID, \'image\', true) ) {?>
  40.     <a href="<?php the_permalink();?>" title="<?php the_title();?>">
  41.     <img src="<?php bloginfo(\'template_directory\'); ?>/scripts/timthumb.php?src=<?php echo get_post_meta($post->ID, \'image\', $single = true); ?>&h=65&w=195&zc=1&q=100" alt="<?php the_title(); ?>" class="thumbs-in-archive"/>
  42.     </a>
  43. <?php } ?>
  44.  
  45.  
  46.  
  47.  
  48.  
  49. </div>
  50.  
  51.  
  52. <?php endwhile; endif; ?>
');