Update header-entete.php

rewrote the header-entete.php file to be more readable. Fixed several if statements and pathing issues.