Diashow code not working, full with errors

okay, but can you help me with this one?