This would be in your theme files--index.php, album.php and image.php.
But from the looks of things, I would guess that you have messed up the folder structure of your site. Your links are not pointing into the /gallerie/ folder either.
So, if it worked 3 weeks ago you have only to review the changes you have made since then.