Output all of the periods. Do not output the markers and select buttons in the last period