Added makeFooter function
Added check picture folder path function
Replaced include to include_once