
<script>
    // Handling the click on the 'Reset' button
    document.addEventListener('DOMContentLoaded', function() {
        const buttons = document.querySelectorAll('.reset-bonus-button');
        buttons.forEach(button => {
            button.addEventListener('click', function() {
                const userId = this.getAttribute('data-user-id');
                const username = this.getAttribute('data-username');

                if (confirm(`reset bonus for ${username}?`)) {
                    document.getElementById('reset_user').value = userId;
                    document.querySelector('form').submit();
                }
            });
        });
    });

    document.addEventListener('DOMContentLoaded', function() {
        const forms = document.querySelectorAll('.inline-form');

        forms.forEach(form => {
            form.addEventListener('submit', function(e) {
                e.preventDefault();

                const button = this.querySelector('button[type="submit"]');
                const username = this.closest('tr').querySelector('td:first-child').textContent;
                const bonusAmount = this.closest('tr').querySelector('td:nth-child(15)').textContent;

                if (confirm(`Zmienić status ${bonusAmount} dla ${username} na "wypłacono"?\n\n(Przelew realizowany oddzielnie)`)) {
                    this.submit();
                }
            });
        });
    });
</script>
<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="//ambasador.parkingmagicbox.com/wp-content/plugins/wordpress-seo/css/main-sitemap.xsl"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
	<sitemap>
		<loc>https://ambasador.parkingmagicbox.com/post-sitemap.xml</loc>
		<lastmod>2025-03-12T11:17:34+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://ambasador.parkingmagicbox.com/page-sitemap.xml</loc>
		<lastmod>2025-04-09T15:21:03+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://ambasador.parkingmagicbox.com/category-sitemap.xml</loc>
		<lastmod>2025-03-12T11:17:34+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://ambasador.parkingmagicbox.com/author-sitemap.xml</loc>
		<lastmod>2025-03-13T19:33:05+00:00</lastmod>
	</sitemap>
</sitemapindex>
<!-- XML Sitemap generated by Yoast SEO -->