The site uses tables for layout, which is a well outdated technique for web development. The primary reason why it's not preferred any more is probably the issues one tends to have with layout like you're
Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.
Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.
Then you just need to pass your date to the function.