Functions.php file in a custom child theme messed up without backup

Thanks guys, the problem was solved. I looked more in the FTP and found a little readme.txt. The file had the name of the theme which was modified and made into a child theme. I googled it, downloaded it and got the functions.php. I still got a few errors but I just removed the lines that were causing the errors and now the site is working! Thanks everyone!

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