<?php if (!is_single() && get_option('simplepress_postinfo1') <> '') { ?>
<?php _e('Posted','SimplePress'); ?> <?php if (in_array('author', get_option('simplepress_postinfo1'))) { ?> <?php _e('by','SimplePress'); ?> <?php the_author_posts_link(); ?><?php }; ?><?php if (in_array('date', get_option('simplepress_postinfo1'))) { ?> <?php _e('on','SimplePress'); ?> <?php the_time(get_option('simplepress_date_format')) ?><?php }; ?><?php if (in_array('categories', get_option('simplepress_postinfo1'))) { ?> <?php _e('in','SimplePress'); ?> <?php the_category(', ') ?><?php }; ?><?php if (in_array('comments', get_option('simplepress_postinfo1'))) { ?> | <?php comments_popup_link(__('0 comments','SimplePress'), __('1 comment','SimplePress'), '% '.__('comments','SimplePress')); ?><?php }; ?>
<?php } elseif (is_single() && get_option('simplepress_postinfo2') <> '') { ?>
<?php _e('Posted','SimplePress'); ?> <?php if (in_array('author', get_option('simplepress_postinfo2'))) { ?> <?php _e('by','SimplePress'); ?> <?php the_author_posts_link(); ?><?php }; ?><?php if (in_array('date', get_option('simplepress_postinfo2'))) { ?> <?php _e('on','SimplePress'); ?> <?php the_time(get_option('simplepress_date_format')) ?><?php }; ?><?php if (in_array('categories', get_option('simplepress_postinfo2'))) { ?> <?php _e('in','SimplePress'); ?> <?php the_category(', ') ?><?php }; ?><?php if (in_array('comments', get_option('simplepress_postinfo2'))) { ?> | <?php comments_popup_link(__('0 comments','SimplePress'), __('1 comment','SimplePress'), '% '.__('comments','SimplePress')); ?><?php }; ?>
<?php }; ?>