Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Jun 21st, 2011  |  syntax: None  |  size: 1.97 KB  |  views: 48  |  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
  2. /**
  3.  * @package WordPress
  4.  * @subpackage Under_the_Influence
  5.  */
  6.  
  7. get_header(); ?>
  8. <div id="content_container">
  9. <?php get_sidebar(); ?>
  10.        
  11.  
  12.         <?php if (have_posts()) : ?>
  13.                 <div id="content" class="mainpage">
  14.                 <?php while (have_posts()) : the_post(); ?>
  15.  
  16.                         <div <?php post_class() ?> id="post-<?php the_ID(); ?>">
  17.            
  18.             <div class="date"><?php the_time('F jS, Y') ?></div>
  19.                                 <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php _e('Permalink to ', 'uti_theme'); the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
  20.                                  <?php /* If author is shown */  if ($author == "on"){?>
  21.                         <span class="author"><?php _e('by ', 'uti_theme'); the_author() ?></span>
  22.                         <?php } ?>
  23.  
  24.                                 <div class="entry">
  25.                                         <?php the_content(__('<div class="read_more">read more &raquo;</div>','uti_theme'));?>
  26.  
  27.                                 <p class="postmetadata"><?php _e('Posted in ', 'uti_theme'); the_category(', ') ?> | <?php edit_post_link(__('Edit', 'uti_theme'), '', ' | '); ?>  <?php comments_popup_link(__('No Comments &#187;', 'uti_theme'), __('1 Comment &#187;', 'uti_theme'), __('% Comments &#187;', 'uti_theme')); ?></p><div class="tags"><?php the_tags(__('Tags: ', 'uti_theme'), ', ', '<br />'); ?> </div>
  28.                 <div class="ornament"></div>
  29.                         </div><!--<?php post_class() ?>-->
  30.  
  31.                 <?php endwhile; ?>
  32.  
  33.                 </div><!--#content-->
  34.         <div class="navigation_box">
  35.                 <div class="navigation">
  36.                <?php next_posts_link(__('&laquo; Older Entries', 'uti_theme')) ?>
  37.                 <?php previous_posts_link(__('Newer Entries &raquo;', 'uti_theme')) ?>
  38.             </div><!--.navigation-->
  39.         </div><!--.navigation_box-->
  40.         <?php else : ?>
  41.         <div class="center">
  42.                 <h2><?php _e('Not found', 'uti_theme')?></h2>
  43.                 <p><?php _e('Sorry, but you are looking for something that isn\'t here.', 'uti_theme')?></p>
  44.                 <?php get_search_form(); ?>
  45.         </div><!--.center-->
  46.         <?php endif; ?>
  47. </div><!--#content_container-->
  48.  
  49.  
  50. <?php get_footer(); ?>