Targeting specific pages in the loop

You would rather want to use the post ID inside the loop to target your pages. is_page() simply checks whether the current page is actually a page or a specific page if a value is passed

Example

if ( $post->ID === 7 ) {
    // Do something for page id 7
} else {
    // Do something for other pages
}

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