Changed html to php, fixed some date issues