0Wochen0Tage0Stunden0Minuten0Sekunden

NÄCHSTES SPIEL

Der SVM startet ab 11. September in die neue Bundesliga-Saison.

LETZTES SPIEL

Die Saison hat noch nicht begonnen

In dieser Saison wurde noch kein Spiel absolviert.

Grün-Weiss

VON KOPF BIS FUSS

NEWS

SV MATTERSBURG TV

YouTube

Mit dem Laden des Videos akzeptieren Sie die Datenschutzerklärung von YouTube.
Mehr erfahren

Video laden

DQoJCQk8ZGl2IGNsYXNzPSJ5b3R1LXBsYXlsaXN0IHlvdHV3cCB5b3R1LWxpbWl0LW1pbiB5b3R1LXBsYXllci1mdWxsICB5b3R1LXRodW1iLTE2OSAgeW90dS10ZW1wbGF0ZS1taXgiIGRhdGEteW90dT0iNWYzNTJiODQxN2I3NCIgZGF0YS1wYWdlPSIxIiBpZD0ieW90dXdwLTVmMzUyYjg0MTdhNWQiIGRhdGEtdG90YWw9IjkiIGRhdGEtc2V0dGluZ3M9ImV5SjBlWEJsSWpvaWNHeGhlV3hwYzNRaUxDSnBaQ0k2SWxCTWEwUllZVmR6WjJFdFVYWmpOMFU0T0hsaFgxbHNPRGhaYWtoTFdraFFVRU1pTENKd1lXZHBibUYwYVc5dUlqb2liMjRpTENKd1lXZHBkSGx3WlNJNklteHZZV1J0YjNKbElpd2lZMjlzZFcxdUlqb2lNaUlzSW5CbGNsOXdZV2RsSWpvaU5DSXNJblJsYlhCc1lYUmxJam9pYldsNElpd2lkR2wwYkdVaU9pSnZiaUlzSW1SbGMyTnlhWEIwYVc5dUlqb2liMjRpTENKMGFIVnRZbkpoZEdsdklqb2lNVFk1SWl3aWJXVjBZU0k2SW05bVppSXNJbTFsZEdGZlpHRjBZU0k2SW05bVppSXNJbTFsZEdGZmNHOXphWFJwYjI0aU9pSnZabVlpTENKa1lYUmxYMlp2Y20xaGRDSTZJbTltWmlJc0ltMWxkR0ZmWVd4cFoyNGlPaUp2Wm1ZaUxDSnpkV0p6WTNKcFltVWlPaUp2Wm1ZaUxDSmtkWEpoZEdsdmJ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zZQogICAgICAgICAgICAgICAgfTsKCiAgICAgICAgICAgIGlmICggIXdpbmRvdy5GRl9yZXNvdXJjZSApIHdpbmRvdy5GRl9yZXNvdXJjZSA9IEZGX3Jlc291cmNlOwogICAgICAgICAgICBpZiAoICF3aW5kb3cuRmxvd0Zsb3dPcHRzICkgd2luZG93LkZsb3dGbG93T3B0cyA9IG9wdHM7CgogICAgICAgICAgICB2YXIgZGF0YSA9IHsKICAgICAgICAgICAgICAgICdzaG9wJzogJ3d3dy5zdm0uYXQnLAogICAgICAgICAgICAgICAgJ2FjdGlvbic6ICdmZXRjaF9wb3N0cycsCiAgICAgICAgICAgICAgICAnc3RyZWFtLWlkJzogJzEnLAogICAgICAgICAgICAgICAgJ2Rpc2FibGUtY2FjaGUnOiAnJywKICAgICAgICAgICAgICAgICdoYXNoJzogaGFzaCwKICAgICAgICAgICAgICAgICdwYWdlJzogJzAnLAogICAgICAgICAgICAgICAgJ3ByZXZpZXcnOiAnMCcsCiAgICAgICAgICAgICAgICAndG9rZW4nOiAgJycKICAgICAgICAgICAgfTsKCiAgICAgICAgICAgIGNvbnNvbGUubG9nKCBkYXRhICkKCiAgICAgICAgICAgIHZhciBpc01vYmlsZSA9IC9hbmRyb2lkfGJsYWNrQmVycnl8aXBob25lfGlwYWR8aXBvZHxvcGVyYSBtaW5pfGllbW9iaWxlL2kudGVzdCggbmF2aWdhdG9yLnVzZXJBZ2VudCApOwoKICAgICAgICAgICAgdmFyIHN0cmVhbU9wdHMgPSB7Im5hbWUiOiJzdm0iLCJjbG91ZCI6Im5vcGUiLCJtb2QiOiJub3BlIiwib3JkZXIiOiJzbWFydENvbXBhcmUiLCJwb3N0cyI6IjMwIiwicGFnZS1wb3N0cyI6IjgiLCJjYWNoZSI6InllcCIsImNhY2hlX2xpZmV0aW1lIjoiMTAiLCJnYWxsZXJ5IjoieWVwIiwiZ2FsbGVyeS10eXBlIjoiY2xhc3NpYyIsInByaXZhdGUiOiJub3BlIiwiaGlkZS1vbi1kZ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RydWVMYXlvdXQgIT09ICdsaXN0JzsKICAgICAgICAgICAgdmFyIGltZ0luZGV4OwogICAgICAgICAgICBpZiAoaXNPdmVybGF5KSB7CiAgICAgICAgICAgICAgICBpZiAoc3RyZWFtT3B0cy50ZW1wbGF0ZVswXSAhPT0gJ2ltYWdlJykgewogICAgICAgICAgICAgICAgICAgIGZvciAodmFyIGkgPSAwLCBsZW4gPSBzdHJlYW1PcHRzLnRlbXBsYXRlLmxlbmd0aDsgaSA8IGxlbjsgaSsrKSB7CiAgICAgICAgICAgICAgICAgICAgICAgIGlmIChzdHJlYW1PcHRzLnRlbXBsYXRlW2ldID09PSAnaW1hZ2UnKSBpbWdJbmRleCA9IGk7CiAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgICAgIHN0cmVhbU9wdHMudGVtcGxhdGUuc3BsaWNlKDAsIDAsIHN0cmVhbU9wdHMudGVtcGxhdGUuc3BsaWNlKGltZ0luZGV4LCAxKVswXSk7CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICBzdHJlYW1PcHRzLmlzT3ZlcmxheSA9IHRydWU7CiAgICAgICAgICAgIH07CiAgICAgICAgICAgIGlmIChGRl9yZXNvdXJjZS5zY3JpcHREZWZlcnJlZC5zdGF0ZSgpID09PSAncGVuZGluZycgJiYgIUZGX3Jlc291cmNlLnNjcmlwdExvYWRpbmcpIHsKICAgICAgICAgICAgICAgIHNjcmlwdCA9IGRvY3VtZW50LmNyZWF0ZUVsZW1lbnQoJ3NjcmlwdCcpOwogICAgICAgICAgICAgICAgc2NyaXB0LnNyYyA9ICJodHRwczovL3d3dy5zdm0uYXQvd3AtY29udGVudC9wbHVnaW5zL2Zsb3ctZmxvdy9qcy9wdWJsaWMuanM/dmVyPTQuNi4yIjsKICAgICAgICAgICAgICAgIHNjcmlwdC5vbmxvYWQgPSBmdW5jdGlvbiggc2NyaXB0LCB0ZXh0U3RhdHVzICkgewogICAgICAgICAgICAgICAgICAgIEZGX3Jlc291cmNlLnNjcmlwdERlZmVycmVkLnJlc29sdmUoKTsKICAgICAgICAgICAgICAgIH07CiAgICAgICAgICAgICAgICBkb2N1bWVudC5ib2R5LmFwcGVuZENoaWxkKHNjcmlwdCk7CiAgICAgICAgICAgICAgICBGRl9yZXNvdXJjZS5zY3JpcHRMb2FkaW5nID0gdHJ1ZTsKICAgICAgICAgICAgfTsKICAgICAgICAgICAgaWYgKEZGX3Jlc291cmNlLnN0eWxlRGVmZXJyZWQuc3RhdGUoKSA9PT0gJ3BlbmRpbmcnICYmICFGRl9yZXNvdXJjZS5zdHlsZUxvYWRpbmcpIHsKICAgICAgICAgICAgICAgIHN0eWxlID0gZG9jdW1lbnQuY3JlYXRlRWxlbWVudCgnbGluaycpOwogICAgICAgICAgICAgICAgc3R5bGUudHlwZSA9ICJ0ZXh0L2NzcyI7CiAgICAgICAgICAgICAgICBzdHlsZS5pZCA9ICJmZl9zdHlsZSI7CiAgICAgICAgICAgICAgICBzdHlsZS5yZWwgPSAic3R5bGVzaGVldCI7CiAgICAgICAgICAgICAgICBzdHlsZS5ocmVmID0gImh0dHBzOi8vd3d3LnN2bS5hdC93cC1jb250ZW50L3BsdWdpbnMvZmxvdy1mbG93L2Nzcy9wdWJsaWMuY3NzP3Zlcj00LjYuMiI7CiAgICAgICAgICAgICAgICBzdHlsZS5tZWRpYSA9ICJzY3JlZW4iOwogICAgICAgICAgICAgICAgc3R5bGUub25sb2FkID0gZnVuY3Rpb24oIHNjcmlwdCwgdGV4dFN0YXR1cyApIHsKICAgICAgICAgICAgICAgICAgICBGRl9yZXNvdXJjZS5zdHlsZURlZmVycmVkLnJlc29sdmUoKTsKICAgICAgICAgICAgICAgIH07CiAgICAgICAgICAgICAgICBkb2N1bWVudC5nZXRFbGVtZW50c0J5VGFnTmFtZSgiaGVhZCIpWzBdLmFwcGVuZENoaWxkKHN0eWxlKTsKICAgICAgICAgICAgICAgIEZGX3Jlc291cmNlLnN0eWxlTG9hZGluZyA9IHRydWU7CiAgICAg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CBkYXRhIGZyb20gc2VydmVyJyk7CiAgICAgICAgICAgICAgICAgICAgaWYgKG9wdHMuaXNBZG1pbiB8fCBvcHRzLmlzTG9nKSB7CiAgICAgICAgICAgICAgICAgICAgICAgICRlcnJDb250ID0gJCgnPGRpdiBjbGFzcz0iZmYtZXJyb3JzIiBpZD0iZmYtZXJyb3JzLWludmFsaWQtcmVzcG9uc2UiPjxkaXYgY2xhc3M9ImZmLWRpc2NsYWltIj5JZiB5b3Ugc2VlIHRoaXMgbWVzc2FnZSB0aGVuIHlvdSBoYXZlIGFkbWluaXN0cmF0b3IgcGVybWlzc2lvbnMgYW5kIEZsb3ctRmxvdyBnb3QgaW52YWxpZCBkYXRhIGZyb20gc2VydmVyLiBQbGVhc2UgcHJvdmlkZSBlcnJvciBtZXNzYWdlIGJlbG93IGlmIHlvdSBhcmUgZG9pbmcgc3VwcG9ydCByZXF1ZXN0LjxcL2Rpdj48ZGl2IGNsYXNzPSJmZi1lcnItaW5mbyI+PFwvZGl2PjxcL2Rpdj4nKTsKICAgICAgICAgICAgICAgICAgICAgICAgJGNvbnQuYmVmb3JlKCRlcnJDb250KTsKICAgICAgICAgICAgICAgICAgICAgICAgJGVyckNvbnQuZmluZCgnLmZmLWVyci1pbmZvJykuaHRtbChvcmlnaW5hbCA9PSAnJyA/ICdFbXB0eSByZXNwb25zZSBmcm9tIHNlcnZlcicgOiBvcmlnaW5hbCk7CiAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgICAgIHJldHVybjsKICAgICAgICAgICAgICAgIH0KCiAgICAgICAgICAgICAgICBpZiAoICEgcmVzcG9uc2UgKSB7CiAgICAgICAgICAgICAgICAJY29uc29sZS5sb2coICdGTE9XLUZMT1c6IG51bGwgcmVzcG9uc2UgZnJvbSBzZXJ2ZXInICk7CiAgICAgICAgICAgICAgICAJcmV0dXJuOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgb3B0cy5zdHJlYW1zWydzdHJlYW0nICsgc3RyZWFtT3B0cy5pZF1bJ2l0ZW1zJ10gPSByZXNwb25zZTsKICAgICAgICAgICAgICAgIGlmICghRmxvd0Zsb3dPcHRzLmRlcGVuZGVuY2llcykgRmxvd0Zsb3dPcHRzLmRlcGVuZGVuY2llcyA9IHt9OwogICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICBGbG93Rmxvdy5leHRlbnNpb25SZXNvdXJjZXNSZXF1ZXN0cyA9IEZsb3dGbG93LmV4dGVuc2lvblJlc291cmNlc1JlcXVlc3RzIHx8IFtdOwogICAgICAgICAgICAgICAgdmFyIHJlcXVlc3QsIGV4dGVuc2lvbiwgc3R5bGU7CgogICAgICAgICAgICAgICAgZm9yICggZXh0ZW5zaW9uIGluIEZsb3dGbG93T3B0cy5kZXBlbmRlbmNpZXMgKSB7CiAgICAgICAgICAgICAgICAgICAgaWYgKCBGbG93Rmxvd09wdHMuZGVwZW5kZW5jaWVzW2V4dGVuc2lvbl0gJiYgRmxvd0Zsb3dPcHRzLmRlcGVuZGVuY2llc1tleHRlbnNpb25dICE9PSAnbG9hZGVkJykgewogICAgICAgICAgICAgICAgICAgICAgICByZXF1ZXN0ID0gJC5nZXRTY3JpcHQoIG9wdHMucGx1Z2luX2Jhc2UgKyAnLScgKyBleHRlbnNpb24gKyAnL2pzL2ZmXycgKyBleHRlbnNpb24gKyAnX3B1YmxpYy5qcz92ZXI9NC42LjInKTsKICAgICAgICAgICAgICAgICAgICAgICAgRmxvd0Zsb3cuZXh0ZW5zaW9uUmVzb3VyY2VzUmVxdWVzdHMucHVzaChyZXF1ZXN0KTsKCiAgICAgICAgICAgICAgICAgICAgICAgIHN0eWxlID0gZG9jdW1lbnQuY3JlYXRlRWxlbWVudCgnbGluaycpOwogICAgICAgICAgICAgICAgICAgICAgICBzdHlsZS50eXBlID0gInRleHQvY3NzIjsKICAgICAgICAgICAgICAgICAgICAgICAgc3R5bGUucmVsID0gInN0eWxlc2hlZXQiOwogICAgICAgICAgICAgICAgICAgICAgICBzdHlsZS5pZCA9ICJmZl9hZF9zdHlsZSI7CiAgICAgICAgICAgICAgICAgICAgICAgIHN0eWxlLmhyZWYgPSBvcHRzLnBsdWdpbl9iYXNlICsgJy0nICsgZXh0ZW5zaW9uICsgJy9jc3MvZmZfJyArIGV4dGVuc2lvbiArICdfcHVibGljLmNzcz92ZXI9NC42LjInOwogICAgICAgICAgICAgICAgICAgICAgICBzdHlsZS5tZWRpYSA9ICJzY3JlZW4iOwogICAgICAgICAgICAgICAgICAgICAgICBkb2N1bWVudC5nZXRFbGVtZW50c0J5VGFnTmFtZSgiaGVhZCIpWzBdLmFwcGVuZENoaWxkKHN0eWxlKTsKCiAgICAgICAgICAgICAgICAgICAgICAgIEZsb3dGbG93T3B0cy5kZXBlbmRlbmNpZXNbZXh0ZW5zaW9uXSA9ICdsb2FkZWQnOwogICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgIH0KCiAgICAgICAgICAgICAgICB2YXIgcmVzb3VyY2VzTG9hZGVkID0gJC53aGVuLmFwcGx5KCQsIEZsb3dGbG93LmV4dGVuc2lvblJlc291cmNlc1JlcXVlc3RzKTsKCiAgICAgICAgICAgICAgICByZXNvdXJjZXNMb2FkZWQuZG9uZShmdW5jdGlvbigpewogICAgICAgICAgICAgICAgICAgIHZhciAkc3RyZWFtLCB3aWR0aDsKICAgICAgICAgICAgICAgICAgICBjb25zb2xlLmxvZyhyZXNwb25zZSk7CgogICAgICAgICAgICAgICAgICAgICRzdHJlYW0gPSBGbG93Rmxvdy5idWlsZFN0cmVhbVdpdGgocmVzcG9uc2UsIHN0cmVhbU9wdHMsIG1vZGVyYXRpb24sIEZsb3dGbG93T3B0cy5kZXBlbmRlbmNpZXMpOwoKICAgICAgICAgICAgICAgICAgICBpZiAoaXNMUyAmJiByZXNwb25zZS5pdGVtcy5sZW5ndGggPiAwICYmIHJlc3BvbnNlLmhhc2gubGVuZ3RoID4gMCkgc2Vzc2lvblN0b3JhZ2Uuc2V0SXRlbSggSlNPTi5zdHJpbmdpZnkoIHJlc3BvbnNlLmhhc2ggKSwgb3JpZ2luYWwpOwoKICAgICAgICAgICAgICAgICAgICB2YXIgbnVtID0gc3RyZWFtT3B0cy5sYXlvdXQgPT09ICdjb21wYWN0JyB8fCAoc3RyZWFtT3B0cy5tb2JpbGVzbGlkZXIgPT09ICd5ZXAnICYmIGlzTW9iaWxlKT8gKHN0cmVhbU9wdHMubW9iaWxlc2xpZGVyID09PSAneWVwJyA/IDMgOiBzdHJlYW1PcHRzWydjYXJkcy1udW0nXSkgOiBmYWxzZTsKCiAgICAgICAgICAgICAgICAgICAgJGNvbnQuYXBwZW5kKCAkc3RyZWFtICk7CgogICAgICAgICAgICAgICAgICAgIGlmICggdHlwZW9mICRzdHJlYW0gIT09ICdzdHJpbmcnICkgewogICAgICAgICAgICAgICAgICAgICAgICBGbG93Rmxvdy5zZXR1cEdyaWQoJGNvbnQuZmluZCgnLmZmLXN0cmVhbS13cmFwcGVyJyksIG51bSwgc3RyZWFtT3B0cy5zY3JvbGx0b3AgPT09ICd5ZXAnLCBzdHJlYW1PcHRzLmdhbGxlcnkgPT09ICd5ZXAnLCBzdHJlYW1PcHRzLCAkY29udCk7CiAgICAgICAgICAgICAgICAgICAgfQoKICAgICAgICAgICAgICAgICAgICBzZXRUaW1lb3V0KGZ1bmN0aW9uKCl7CiAgICAgICAgICAgICAgICAgICAgICAgICRjb250LmZpbmQoJy5mZi1oZWFkZXInKS5yZW1vdmVDbGFzcygnZmYtbG9hZGluZycpLmVuZCgpLmZpbmQoJy5mZi1sb2FkZXInKS5hZGRDbGFzcygnZmYtc3F1ZWV6ZWQnKS5kZWxheSgzMDApLmhpZGUoKTsKICAgICAgICAgICAgICAgICAgICB9LCAwKTsKCiAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICB9KS5mYWlsKGZ1bmN0aW9uKCl7CiAgICAgICAgICAgICAgICAgICAgY29uc29sZS5sb2coJ0Zsb3ctRmxvdzogcmVzb3VyY2UgbG9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ZSB3YWl0IGZvciBjaGFuZ2VzIHRvIGFwcGx5LiBQYWdlIHJlbG9hZCBpcyByZXF1aXJlZC48XC9kaXY+JykpOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9KTsKCiAgICAgICAgICAgIGZ1bmN0aW9uIGlzTG9jYWxTdG9yYWdlTmFtZVN1cHBvcnRlZCgpIHsKICAgICAgICAgICAgICAgIHZhciB0ZXN0S2V5ID0gJ3Rlc3QnLCBzdG9yYWdlID0gd2luZG93LnNlc3Npb25TdG9yYWdlOwogICAgICAgICAgICAgICAgdHJ5IHsKICAgICAgICAgICAgICAgICAgICBzdG9yYWdlLnNldEl0ZW0odGVzdEtleSwgJzEnKTsKICAgICAgICAgICAgICAgICAgICBzdG9yYWdlLnJlbW92ZUl0ZW0odGVzdEtleSk7CiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIHRydWU7CiAgICAgICAgICAgICAgICB9IGNhdGNoIChlcnJvcikgewogICAgICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfTsKCiAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICB9CiAgICB9KSgpCgo8L3NjcmlwdD4KPCEtLSBGbG93LUZsb3cg4oCUIFNvY2lhbCBzdHJlYW1zIHBsdWdpbiBmb3IgV29yZHByZXNzIC0tPg0K

HERZLICH WILLKOMMEN BEIM SV MATTERSBURG

×