<?php
global $get_meta;
if( ( magnews_get_option( 'post_meta' ) && empty( $get_meta["magnews_hide_meta"][0] ) ) || $get_meta["magnews_hide_meta"][0] == 'no' ): ?>		
<p class="post-meta">
<?php if( magnews_get_option( 'post_author' ) ): ?>		
	<span><?php _e( 'Posted by: ' , 'magnews' ); ?><a href="<?php echo get_author_posts_url( get_the_author_meta( 'ID' ) )?>" title="<?php sprintf( esc_attr__( 'View all posts by %s', 'magnews' ), get_the_author() ) ?>"><?php echo get_the_author() ?> </a></span>
<?php endif; ?>	
<?php if( magnews_get_option( 'post_cats' ) ): ?>
	<span><?php _e( 'in ' , 'magnews' ); ?><?php printf('%1$s', get_the_category_list( ', ' ) ); ?></span>
<?php endif; ?>	
<?php if( magnews_get_option( 'post_date' ) && magnews_get_option( 'time_format' ) != 'none' ): ?>		
	<?php __( 'on ' , 'magnews' ); ?><?php magnews_get_time() ?>
<?php endif; ?>	
<?php if( magnews_get_option( 'post_comments' ) ): ?>
	<span class="post-comments"><?php comments_popup_link( __( '0', 'magnews' ), __( '1 Comment', 'magnews' ), __( '% Comments', 'magnews' ) ); ?></span>
<?php endif; ?>
<?php echo magnews_views(); ?>
</p>
<div class="clear"></div>
<?php endif; ?>