PHP/CSS: Shortcode won’t display correctly, and only displays in the head (before content)

As we can see on the Codex, all strings produced in a Shortcode must be returned instead of echoing them.

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