Updated PHP Files with the $root variable and updated some styles