How to obtain the current website URL in my theme?

bloginfo(‘url’) should get you the URL for the installation.

EDIT:

I guess you could also use get_permalink()

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