<?php get_header(); ?>



	<div id="content2">

    	<div class="cnt">

        	<div class="left_main">

            <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> 

			<div class="cnt-left">

            		<?php if(has_post_thumbnail()){?>

                    <span class="frame5"><?php the_post_thumbnail('blog-image'); ?></span>

                    <?php } ?> 

                     <div class="posted">

                  

                   <?php if($NHP_Options->get('6669') == 1) : ?> 

                   

					<div class="year">

                    	<h2><?php the_time('d'); ?></h2>

                        <h3><?php the_time('M'); ?>.<br /><?php the_time(' Y'); ?></h3>

                    </div><!--close year-->

                    <h3><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3>

                    <h4 > POSTED BY <span class="blue"><?php the_author_posts_link(''); ?></span> <span style="font-style:normal;">|</span> <?php comments_popup_link('0 Comment', '1 Comment', '% Comment'); ?>.</h4>

                    

                    <?php elseif($NHP_Options->get('6669') == 2) : ?> 

                    <h3 style="padding-left:0;"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3>

                    <h4 style="margin-left:0;"> POSTED ON <?php the_time(get_option('date_format')); ?> POSTED BY <span class="blue"><?php the_author_posts_link(''); ?></span> <span style="font-style:normal;">|</span> <?php comments_popup_link('0 Comment', '1 Comment', '% Comment'); ?>.</h4>

                   

                    

          <?php elseif($NHP_Options->get('6669') == 3) : ?> 

        

					<h3 style="padding:0 20px 0 0;"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3>

                    <h4 style="margin-left:0;">POSTED BY <span class="blue"><?php the_author_posts_link(''); ?></span> <span style="font-style:normal;">|</span> <?php comments_popup_link('0 Comment', '1 Comment', '% Comment'); ?>.</h4>

                    

         <?php else: ?>

                    <div class="year">

                    	<h2><?php the_time('d'); ?></h2>

                        <h3><?php the_time('M'); ?>.<br /><?php the_time(' Y'); ?></h3>

                    </div><!--close year-->

                    <h3><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3>

                    <h4 > POSTED BY <span class="blue"><?php the_author_posts_link(''); ?></span> <span style="font-style:normal;">|</span> <?php comments_popup_link('0 Comment', '1 Comment', '% Comment'); ?>.</h4>

                    <?php endif; ?> 

                    

              </div><!--close posted-->      

<p><?php the_content_limit(500, ""); ?></p>

                    

            <span class="read_more"><a href="<?php the_permalink(); ?>">Read more</a></span>

            <span class="blog-social">

           	    <h2>Share it With</h2>

                <ul>

               	    <li><a href="http://www.facebook.com/sharer.php?u=the_link&t=the_title"><img src="<?php bloginfo('template_url');?>/images/facebook.png" alt="" /></a></li>

                    <li><a href="http://twitter.com/home?status=Currently reading"><img src="<?php bloginfo('template_url');?>/images/twiter1.png" alt="" /></a></li>

                   

                    <li><a href="http://www.linkedin.com/shareArticle?mini=true&url={articleUrl}&title={articleTitle}&summary={articleSummary}&source={articleSource}"><img src="<?php bloginfo('template_url');?>/images/in1.png"  alt="" /></a></li>

                </ul>

            </span>

                    

          </div><!--close cnt-left--><?php endwhile; ?> <?php else:?>



   <?php endif; ?>

   

   <div class="pagination"> 



<?php

global $wp_query;



$big = 999999999; // need an unlikely integer



echo paginate_links( array(

	'base' => str_replace( $big, '%#%', get_pagenum_link( $big ) ),

	'format' => '?paged=%#%',

	'current' => max( 1, get_query_var('paged') ),

	'total' => $wp_query->max_num_pages

) );

?>  

</div><!--close pagination-->

          









</div>





            

            <?php include('page-sidebar.php');?> 



            

        </div><!--close cnt-->

    </div><!--close content-->

</div><!--close Wrapper-->

<?php get_footer(); ?>