web/wp-content/themes/WNN-WP/single.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
				<?php link_pages('<p><strong>Pages:</strong> ', '</p>', 'number'); ?>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    15
			</div>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    16
			<?php endwhile; ?>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    17
			<div class="navigation">
0d28b7c10758 First commit
ymh
parents:
diff changeset
    18
			<br /><br />
0d28b7c10758 First commit
ymh
parents:
diff changeset
    19
				<?php previous_post_link('&laquo; %link') ?> <?php next_post_link(' %link &raquo;') ?>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    20
			</div>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    21
			<?php else : ?>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    22
			<div id="post">
0d28b7c10758 First commit
ymh
parents:
diff changeset
    23
				<h2><?php _e('Not Found'); ?></h2>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    24
			</div>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    25
				<?php endif; ?>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    26
				
0d28b7c10758 First commit
ymh
parents:
diff changeset
    27
			<div id="commentss">
0d28b7c10758 First commit
ymh
parents:
diff changeset
    28
				<?php comments_template(); ?>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    29
			</div>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    30
			</div>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    31
			<br />
0d28b7c10758 First commit
ymh
parents:
diff changeset
    32
<?php get_sidebar(); ?>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    33
<?php get_footer(); ?>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    34
	</div>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    35
</body>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    36
</html>