reportaprod /blog/wp-content/themes/contempt/index.php

Language PHP Lines 48
MD5 Hash 22573c906c2da170a660395aa0907c83 Estimated Cost $515 (why?)
Repository https://bitbucket.org/sergiohzlz/reportaprod View Raw File View Project SPDX
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<?php get_header(); ?>

	<div id="content">

	<?php if (have_posts()) : ?>
		
		<?php while (have_posts()) : the_post(); ?>
				
			<div <?php post_class(); ?> id="post-<?php the_ID(); ?>">
				<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s', 'contempt'), the_title_attribute('echo=0')); ?>"><?php the_title(); ?></a></h2>
				<small><?php the_time(get_option('date_format')) ?></small><br />
				
				
				<div class="entry">
					<?php the_content(__('Read the rest of this entry &raquo;','contempt')); ?>
					<?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'twentyten' ), 'after' => '</div>' ) ); ?>
				</div>
		
				<p class="postmetadata">
				<img src="<?php bloginfo('stylesheet_directory'); ?>/images/blog/speech_bubble.gif" alt="" /> <?php comments_popup_link(__('Leave a Comment &#187;','contempt'),__('1 Comment','contempt'),__('% Comments','contempt')); ?>
				| <img src="<?php bloginfo('stylesheet_directory'); ?>/images/blog/documents.gif" alt="" /> <?php the_category(', ') ?>
				<?php the_tags( ' | ' . __( 'Tagged:' ) . ' ', ', ', ''); ?>
				 | <img src="<?php bloginfo('stylesheet_directory'); ?>/images/blog/permalink.gif" alt="" /> <a href="<?php the_permalink() ?>" rel="bookmark" title="<?php echo esc_attr( sprintf( __( 'Permanent Link to %s', 'contempt' ), the_title_attribute( 'echo=0' ) ) ); ?>"><?php _e('Permalink','contempt'); ?></a>
<br /><img src="<?php bloginfo('stylesheet_directory'); ?>/images/blog/figure_ver1.gif" alt="" /> <?php printf(__('Posted by %s', 'contempt'), get_the_author()); ?>
				</p>
			</div>
			<hr />
		<?php endwhile; ?>

		<div class="navigation">
			<div class="alignleft"><?php next_posts_link(__('&laquo; Previous Entries','contempt')) ?></div>
			<div class="alignright"><?php previous_posts_link(__('Next Entries &raquo;','contempt')) ?></div>
		</div>
		
	<?php else : ?>

		<h2 class="center"><?php _e('Not Found','contempt'); ?></h2>
		<p class="center"><?php _e("Sorry, but you are looking for something that isn't here.","contempt"); ?></p>
		<?php include (TEMPLATEPATH . "/searchform.php"); ?>

	<?php endif; ?>

	</div>

<?php get_sidebar(); ?>

<?php get_footer(); ?>
Back to Top