I cant add is_admin control to plugin

Well i think you just do everything inside of TopAuthor and

add_action( 'admin_menu', 'TopAuthor' );

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