web/wp-content/themes/aparatus/single.php
changeset 1 0d28b7c10758
equal deleted inserted replaced
0:0d9a58d2c515 1:0d28b7c10758
       
     1 <?php get_header();?>
       
     2 <div class="main-container">
       
     3 <?php 
       
     4 global $options;
       
     5 	foreach ($options as $value) {
       
     6 		if (get_settings( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_settings( $value['id'] ); }
       
     7 				}
       
     8 ?>
       
     9 <?php if(have_posts()):?><?php while(have_posts()):the_post();?>
       
    10 
       
    11 <div class="retweet-btn">
       
    12 <script type="text/javascript">
       
    13 tweetmeme_source = '<?php echo $apa_Twitter;?>';
       
    14 </script>
       
    15 <script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"></script>
       
    16 </div><!--retweet-btn-->
       
    17 
       
    18 <div class="post-title-big">
       
    19 <a href="<?php the_permalink();?>" title="<?php the_title();?>">
       
    20 <?php the_title();?>
       
    21 </a>
       
    22 </div><!--post-title-->
       
    23 <div class="post-meta-data">
       
    24 Added <?php the_time('M j, Y');?>, Under: <?php the_category(',')?>
       
    25 </div><!--post-meta-data-->
       
    26 <div class="post-content">
       
    27 <?php the_content();?>
       
    28 </div><!--post-content-->
       
    29 <?php wp_link_pages('before=<div id="page-links">Page&after=</div>'); ?>
       
    30 <div class="author-box">
       
    31 <?php echo get_avatar( get_the_author_id() , 40 ); ?>
       
    32 <div class="author-name">About <?php the_author_firstname(); ?> <?php the_author_lastname(); ?></div><!--author-name-->
       
    33 <div class="author-description"><?php the_author_description(); ?></div><!--author-description-->
       
    34 <div class="author-links">
       
    35 Visit <?php the_author_firstname(); ?>'s <a href="<?php the_author_url(); ?>">Website</a>. View other posts by <?php the_author_posts_link(); ?>
       
    36 </div><!--author-links-->
       
    37 </div><!--author-box-->
       
    38 <div class="social-bar">
       
    39 <ul id="social-btns">
       
    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>
       
    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>
       
    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>
       
    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>
       
    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>
       
    45 </ul>
       
    46 </div><!--social-bar-->
       
    47 <?php endwhile;?>
       
    48 <?php endif;?>
       
    49 
       
    50 
       
    51 <?php comments_template('', true); ?>
       
    52 
       
    53 </div><!--main-container-->
       
    54 <?php get_sidebar();?>
       
    55 <?php get_footer();?>