Very INTEResting (and tricky) php template