<?php if( current_user_can('editor') || current_user_can('administrator') ) { ?>
// Stuff here for administrators or editors
<?php } ?>
//or
if ( current_user_can( 'manage_options' ) ) {
<?php if( current_user_can('editor') || current_user_can('administrator') ) { ?>
// Stuff here for administrators or editors
<?php } ?>
//or
if ( current_user_can( 'manage_options' ) ) {