Search – Check if post is a page on search page

The is_page() depends on how the request maps to the main query variables, so you could instead check the post type within the loop:

the_title();

if( 'post' === get_post_type() ) {
    // display some extra stuff
}

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