custom time line with php arrays