WP Admin Bar shown at the bottom

The admin bar’s markup is added to the bottom of the page by default. Then the admin bar is moved to the top of the page using CSS. There are a couple of different reasons for this, but they’re not important at the moment.

From the sounds of things, your browser just isn’t loading the admin bar’s stylesheet. I’d recommend trying the following:

  • Reloading the page with CTRL+F5 to force the browser to refresh the cache
  • Use Firebug or some other kind of debugging tool to make sure /wp-includes/css/admin-bar.css is referenced by the page and loading correctly

Without knowing exactly what you changed while you were working and without seeing your actual site, this is the best I can recommend …

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