Need to move a Skript from Drupal to Wordpress

Hey Guys,

I need to integrate the Following "Verfügbarkeit"-Script (http://www.strandlaeufer.net/node/65) into my Wordpress Site (https://fewo.site/verfuegbarkeit). But unfortunately it does not work :disappointed:. Does someone have an Idea?

Bests Konstantin