web/wp-content/themes/aparatus/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 class="main-container">
0d28b7c10758 First commit
ymh
parents:
diff changeset
     3
<?php 
0d28b7c10758 First commit
ymh
parents:
diff changeset
     4
global $options;
0d28b7c10758 First commit
ymh
parents:
diff changeset
     5
	foreach ($options as $value) {
0d28b7c10758 First commit
ymh
parents:
diff changeset
     6
		if (get_settings( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_settings( $value['id'] ); }
0d28b7c10758 First commit
ymh
parents:
diff changeset
     7
				}
0d28b7c10758 First commit
ymh
parents:
diff changeset
     8
?>
0d28b7c10758 First commit
ymh
parents:
diff changeset
     9
<?php if(have_posts()):?><?php while(have_posts()):the_post();?>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    10
0d28b7c10758 First commit
ymh
parents:
diff changeset
    11
<div class="retweet-btn">
0d28b7c10758 First commit
ymh
parents:
diff changeset
    12
<script type="text/javascript">
0d28b7c10758 First commit
ymh
parents:
diff changeset
    13
tweetmeme_source = '<?php echo $apa_Twitter;?>';
0d28b7c10758 First commit
ymh
parents:
diff changeset
    14
</script>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    15
<script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"></script>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    16
</div><!--retweet-btn-->
0d28b7c10758 First commit
ymh
parents:
diff changeset
    17
0d28b7c10758 First commit
ymh
parents:
diff changeset
    18
<div class="post-title-big">
0d28b7c10758 First commit
ymh
parents:
diff changeset
    19
<a href="<?php the_permalink();?>" title="<?php the_title();?>">
0d28b7c10758 First commit
ymh
parents:
diff changeset
    20
<?php the_title();?>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    21
</a>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    22
</div><!--post-title-->
0d28b7c10758 First commit
ymh
parents:
diff changeset
    23
<div class="post-meta-data">
0d28b7c10758 First commit
ymh
parents:
diff changeset
    24
Added <?php the_time('M j, Y');?>, Under: <?php the_category(',')?>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    25
</div><!--post-meta-data-->
0d28b7c10758 First commit
ymh
parents:
diff changeset
    26
<div class="post-content">
0d28b7c10758 First commit
ymh
parents:
diff changeset
    27
<?php the_content();?>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    28
</div><!--post-content-->
0d28b7c10758 First commit
ymh
parents:
diff changeset
    29
<?php wp_link_pages('before=<div id="page-links">Page&after=</div>'); ?>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    30
<div class="author-box">
0d28b7c10758 First commit
ymh
parents:
diff changeset
    31
<?php echo get_avatar( get_the_author_id() , 40 ); ?>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    32
<div class="author-name">About <?php the_author_firstname(); ?> <?php the_author_lastname(); ?></div><!--author-name-->
0d28b7c10758 First commit
ymh
parents:
diff changeset
    33
<div class="author-description"><?php the_author_description(); ?></div><!--author-description-->
0d28b7c10758 First commit
ymh
parents:
diff changeset
    34
<div class="author-links">
0d28b7c10758 First commit
ymh
parents:
diff changeset
    35
Visit <?php the_author_firstname(); ?>'s <a href="<?php the_author_url(); ?>">Website</a>. View other posts by <?php the_author_posts_link(); ?>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    36
</div><!--author-links-->
0d28b7c10758 First commit
ymh
parents:
diff changeset
    37
</div><!--author-box-->
0d28b7c10758 First commit
ymh
parents:
diff changeset
    38
<div class="social-bar">
0d28b7c10758 First commit
ymh
parents:
diff changeset
    39
<ul id="social-btns">
0d28b7c10758 First commit
ymh
parents:
diff changeset
    40
<li><a id="delicious" rel="nofollow" href="http://del.icio.us/post?url=<?php the_permalink() ?>&amp;title=<?php the_title(); ?>" title="Bookmark this post on Delicious">Delicious</a></li>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    41
<li><a id="digg" rel="nofollow" href="http://digg.com/submit?phase=2&amp;url=<?php the_permalink(); ?>&amp;title=<?php the_title(); ?>" title="Share this post on Digg">Digg</a></li>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    42
<li><a id="stumbleupon" rel="nofollow" href="http://www.stumbleupon.com/submit?url=<?php the_permalink() ?>&amp;title=<?php the_title(); ?>" title="Share this post on Stumbleupon">Stumbleupon</a></li>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    43
<li><a id="technorati" rel="nofollow" href="http://technorati.com/faves?add=<?php the_permalink() ?>" title="Share this post on Technorati">Technorati</a></li>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    44
<li><a id="twitter" rel="nofollow" href="http://twitter.com/home?status=<?php the_title(); ?>+<?php the_permalink() ?>" title="Share this post on Twitter">Twitter</a></li>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    45
</ul>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    46
</div><!--social-bar-->
0d28b7c10758 First commit
ymh
parents:
diff changeset
    47
<?php endwhile;?>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    48
<?php endif;?>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    49
0d28b7c10758 First commit
ymh
parents:
diff changeset
    50
0d28b7c10758 First commit
ymh
parents:
diff changeset
    51
<?php comments_template('', true); ?>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    52
0d28b7c10758 First commit
ymh
parents:
diff changeset
    53
</div><!--main-container-->
0d28b7c10758 First commit
ymh
parents:
diff changeset
    54
<?php get_sidebar();?>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    55
<?php get_footer();?>