Theme url in all plugin pages

By adding wp-blog-header.php in the files that reside outside wordpress you can use all the wordpress functionality. Thanks to the answer found here.

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