Using Pages to handle calls for custom post types

You want to use the template file archive-{posttype}.php to output an archive index of your Custom Post Type, and the template file single-{posttype}.php to output a single Custom Post.

Refer to the Codex entry for Template Hierarchy.

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