what custom post type this archive belongs to?

The aptly named is_post_type_archive() seems to be what you need, or perhaps that plus is_archive() depending on exactly what you are trying to do.

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