web/wp-content/themes/WNN-WP/archive.php
author ymh <ymh.work@gmail.com>
Mon, 22 Mar 2010 16:36:28 +0100
changeset 5 ac511f1ccc8e
parent 1 0d28b7c10758
permissions -rw-r--r--
add hgignore
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1
0d28b7c10758 First commit
ymh
parents:
diff changeset
     1
<?php get_header(); ?>
0d28b7c10758 First commit
ymh
parents:
diff changeset
     2
		<div id="left">
0d28b7c10758 First commit
ymh
parents:
diff changeset
     3
		<?php if(have_posts()) : ?><?php while(have_posts()) : the_post(); ?>
0d28b7c10758 First commit
ymh
parents:
diff changeset
     4
			<div id="post" title="post-<?php the_ID(); ?>">
0d28b7c10758 First commit
ymh
parents:
diff changeset
     5
				<div id="postinfotop">
0d28b7c10758 First commit
ymh
parents:
diff changeset
     6
					Posted at <?php the_time(); ?> <?php the_date(); ?> by <?php the_author() ?>
0d28b7c10758 First commit
ymh
parents:
diff changeset
     7
				</div>
0d28b7c10758 First commit
ymh
parents:
diff changeset
     8
				<div id="postcontent">
0d28b7c10758 First commit
ymh
parents:
diff changeset
     9
					<img src="<?php bloginfo('template_directory'); ?>/images/catimg.jpg" align="left" width="135px" height="135px" /><span id="h3"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></span><br /><?php the_content(__('(more...)')); ?> 
0d28b7c10758 First commit
ymh
parents:
diff changeset
    10
				</div>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    11
				<div id="postbottom">
0d28b7c10758 First commit
ymh
parents:
diff changeset
    12
					Posted in <?php the_category(', ') ?> | <?php comments_popup_link('No Comments &#187;', '[1] Comment', '[%] Comments;'); ?>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    13
				</div>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    14
			</div>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    15
			<?php endwhile; ?>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    16
			<div class="navigation">
0d28b7c10758 First commit
ymh
parents:
diff changeset
    17
				<?php posts_nav_link(); ?>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    18
			</div>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    19
			<?php else : ?>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    20
			<div id="post">
0d28b7c10758 First commit
ymh
parents:
diff changeset
    21
				<h2><?php _e('Not Found'); ?></h2>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    22
			</div>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    23
				<?php endif; ?>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    24
			</div>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    25
<?php get_sidebar(); ?>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    26
<?php get_footer(); ?>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    27
	</div>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    28
</body>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    29
</html>