If is page, archive or search output this code

You can add OR conditions like this.

<?php if ( is_front_page() || is_archive() || is_search() ) {?>
    <div>Flash Gordon</div>
<?php } ?>

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