Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

index.php

By: a guest on Sep 19th, 2012  |  syntax: None  |  size: 1.58 KB  |  hits: 3  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <?php get_header(); ?>
  2.  
  3. <?php if(get_option('wall_homelayout') == "blog") { ?>
  4.  
  5. <div id="casing">
  6.  
  7. <div class="incasing">
  8.  
  9. <div id="content">
  10.  
  11. <?php if (have_posts()) : ?>
  12. <?php while (have_posts()) : the_post(); ?>
  13.  
  14. <div class="post" id="post-<?php the_ID(); ?>">
  15.  
  16. <div class="title">
  17.         <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
  18. </div>
  19. <div class="postmeta">
  20.         <span class="author">Posted by <?php the_author(); ?> </span> <span class="clock">  <?php the_time('M - j - Y'); ?></span> <span class="comm"><?php comments_popup_link('0 Comment', '1 Comment', '% Comments'); ?></span>
  21. </div>
  22.  
  23. <div class="entry">
  24.  
  25. <?php
  26. if ( has_post_thumbnail() ) { ?>
  27.         <a href="<?php the_permalink() ?>"><img class="postimg" src="<?php bloginfo('stylesheet_directory'); ?>/timthumb.php?src=<?php get_image_url(); ?>&amp;h=200&amp;w=470&amp;zc=1" alt=""/></a>
  28. <?php } else { ?>
  29.         <a href="<?php the_permalink() ?>"><img class="postimg" src="<?php bloginfo('template_directory'); ?>/images/dummy.png" alt="" /></a>
  30. <?php } ?>
  31. <?php the_excerpt(); ?>
  32. <div class="clear"></div>
  33. </div>
  34.  
  35. </div>
  36.  
  37. <?php endwhile; ?>
  38.  
  39. <div class="clear"></div>
  40.  
  41. <?php getpagenavi(); ?>
  42.  
  43. <?php else : ?>
  44.                 <h1 class="title">Not Found</h1>
  45.                 <p>Sorry, but you are looking for something that isn't here.</p>
  46. <?php endif; ?>
  47.      
  48. </div>
  49.  
  50. <?php get_sidebar(); ?>
  51. <div class="clear"></div>
  52. <?php include (TEMPLATEPATH . '/bottom.php'); ?>       
  53. </div>
  54.  
  55. <div class="clear"></div>
  56.  
  57. </div> 
  58.  
  59. <?php }  ?>
  60.  
  61. <?php get_footer(); ?>