Fixed unmatching elements (section to footer element) and fixed php syntax