| 1 |
<?php get_header(); ?> |
|---|
| 2 |
|
|---|
| 3 |
<div id="main-col"> |
|---|
| 4 |
|
|---|
| 5 |
<!-- <p id="intro-paragraph"> |
|---|
| 6 |
introes... |
|---|
| 7 |
</p> --> |
|---|
| 8 |
<?php $posttestindex = 1; ?> |
|---|
| 9 |
|
|---|
| 10 |
<?php if (have_posts()) : ?> |
|---|
| 11 |
|
|---|
| 12 |
<?php while (have_posts()) : the_post(); ?> |
|---|
| 13 |
|
|---|
| 14 |
<div class="post" id="post-<?php the_ID(); ?>"> |
|---|
| 15 |
|
|---|
| 16 |
<div class="datebox"> |
|---|
| 17 |
<p class="day"><?php the_time('d') ?></p> |
|---|
| 18 |
<p class="month"><?php the_time('M') ?></p> |
|---|
| 19 |
<p class="year"><?php the_time('Y') ?></p> |
|---|
| 20 |
</div> |
|---|
| 21 |
|
|---|
| 22 |
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2> |
|---|
| 23 |
|
|---|
| 24 |
<p>By: <?php the_author_posts_link(); ?> |
|---|
| 25 |
<?php |
|---|
| 26 |
|
|---|
| 27 |
if(get_the_category() != null || get_the_tags() != null): |
|---|
| 28 |
|
|---|
| 29 |
?> |
|---|
| 30 |
| <?php the_category(', '); ?> |
|---|
| 31 |
|
|---|
| 32 |
<?php |
|---|
| 33 |
|
|---|
| 34 |
if(get_the_category() != null && get_the_tags() != null): |
|---|
| 35 |
|
|---|
| 36 |
?> |
|---|
| 37 |
, <?php the_tags('', ', ', ''); ?> |
|---|
| 38 |
|
|---|
| 39 |
<?php |
|---|
| 40 |
|
|---|
| 41 |
elseif (get_the_tags() != null): |
|---|
| 42 |
|
|---|
| 43 |
?> |
|---|
| 44 |
<?php the_tags('',', ', ''); ?> |
|---|
| 45 |
|
|---|
| 46 |
<?php |
|---|
| 47 |
|
|---|
| 48 |
endif; |
|---|
| 49 |
|
|---|
| 50 |
endif; |
|---|
| 51 |
|
|---|
| 52 |
?> |
|---|
| 53 |
| <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?> |
|---|
| 54 |
|
|---|
| 55 |
<?php edit_post_link('Edit', ' | ', ''); ?> |
|---|
| 56 |
</p> |
|---|
| 57 |
|
|---|
| 58 |
<?php the_content('Read the rest of this entry »'); ?> |
|---|
| 59 |
|
|---|
| 60 |
|
|---|
| 61 |
|
|---|
| 62 |
|
|---|
| 63 |
<?php |
|---|
| 64 |
|
|---|
| 65 |
if ($posttestindex == 1) { |
|---|
| 66 |
$posttestindex = 0; |
|---|
| 67 |
echo ' |
|---|
| 68 |
<center> |
|---|
| 69 |
<script type="text/javascript"><!-- |
|---|
| 70 |
google_ad_client = "pub-1633320757911200"; |
|---|
| 71 |
|
|---|
| 72 |
google_ad_slot = "9214316626"; |
|---|
| 73 |
google_ad_width = 468; |
|---|
| 74 |
google_ad_height = 15; |
|---|
| 75 |
//--> |
|---|
| 76 |
</script> |
|---|
| 77 |
<script type="text/javascript" |
|---|
| 78 |
src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> |
|---|
| 79 |
</script> |
|---|
| 80 |
</center>'; |
|---|
| 81 |
} |
|---|
| 82 |
*/ |
|---|
| 83 |
?> |
|---|
| 84 |
|
|---|
| 85 |
</div> |
|---|
| 86 |
|
|---|
| 87 |
<?php endwhile; ?> |
|---|
| 88 |
|
|---|
| 89 |
<?php else : ?> |
|---|
| 90 |
|
|---|
| 91 |
<h2>Not Found</h2> |
|---|
| 92 |
<p>Sorry, but you are looking for something that isn't here.</p> |
|---|
| 93 |
<?php include (TEMPLATEPATH . "/searchform.php"); ?> |
|---|
| 94 |
|
|---|
| 95 |
<?php endif; ?> |
|---|
| 96 |
|
|---|
| 97 |
<div class="navigation"> |
|---|
| 98 |
<?php previous_posts_link('« Previous Page') ?> |
|---|
| 99 |
<?php |
|---|
| 100 |
if($paged > '0') { |
|---|
| 101 |
echo " | "; |
|---|
| 102 |
} |
|---|
| 103 |
?> |
|---|
| 104 |
<?php next_posts_link('Next Page »') ?> |
|---|
| 105 |
</div> |
|---|
| 106 |
|
|---|
| 107 |
</div> |
|---|
| 108 |
|
|---|
| 109 |
<?php include (TEMPLATEPATH . '/socialsidebar.php'); ?> |
|---|
| 110 |
|
|---|
| 111 |
<?php get_sidebar(); ?> |
|---|
| 112 |
|
|---|
| 113 |
<?php get_footer(); ?> |
|---|
| 114 |
|
|---|