Diashow code not working, full with errors

okay so what should i do now, can you give me clear instructions?