get_template_part function and add images

You can get the post thumbnail by using get_the_post_thumbnail():

 echo get_the_post_thumbnail( $page->ID, 'thumbnail' );

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