Add nofollow to custom widget posts

Solved it.. copied the class to functions.php
renamed the class and used this call

function wpmic_register_custom_widgets() {
register_widget( ‘mic_WP_Widget_Recent_Posts’ );
}
add_action( ‘widgets_init’, ‘wpmic_register_custom_widgets’ );

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)