>
get_option('post_thumbnails_on_single') == 'on') { ?>
get_option('post_thumbnails_on_index') == 'on') { ?>

— 
'' ) ); ?>