Can not add jquery in footer

You must remember there is $in_footer parameter with wp_register_script function.
By default it is set to false. Try setting it to TRUE(I don’t see you doing it) and the jQuery should appear in your footer.

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