You are resetting the timer on the first phase [write(15)[write(15)] instead of after the last phase [after write(65)write(65)]! The previousMillis = currentMillis should be only after the last phase, before the loop repeats. Not only that, but the time at which each phase executes needs to be different. Currently every if()if() statement is set to run after interval has elapsed. If, for example, you wanted interval to be the delay between each phase, you could use interval*1 on the first phase, interval*2 on the second, and interval*3 on the third. For example:
To put the above logic in English: (1) write(15) while time is between 0 and 1 intervals; (2) write(35) while time is between 1 and 2 intervals; (3) write(65) while time is between 2 and 3 intervals; (4) reset the loop once time reaches 3+ intervals.
write(15)while time is between 0 and 1 intervals;write(35)while time is between 1 and 2 intervals;write(65)while time is between 2 and 3 intervals;- reset the loop once time reaches 3+ intervals.
Note the use of else if instead of simply if on consecutive statements. This prevents more than one code block from running on the same iteration of the loop().