Retrieving meta-box from a custom-post-type

while ( $loop -> have_post() ) : $loop->the_post();

Your missing an s have_post() should be have_posts();

Your title says retrieving meta-box and I am assuming you mean the post_meta. Which you use the get_post_meta() function.

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