<script>
function initAdminScript() {
    document.addEventListener('DOMContentLoaded', function($) {
		        // Verschiebe Modal bei Anzeige an das Ende des Body
        jQuery('#agbModal').on('show.bs.modal', function () {
            jQuery(this).appendTo('body');
        });
        jQuery('#send-confirmation-yes').on('click', function() {
            var form = document.createElement("form");
            form.method = "post";
            form.action = "https://camp.cgmm.de/wp-admin/admin-post.php";
            var actionInput = document.createElement("input");
            actionInput.type = "hidden";
            actionInput.name = "action";
            actionInput.value = "jupfi_send_zahlungsbestaetigung";
            form.appendChild(actionInput);
            var idInput = document.createElement("input");
            idInput.type = "hidden";
            idInput.name = "id";
            idInput.value = "0";
            form.appendChild(idInput);
            document.body.appendChild(form);
            form.submit();
        });
        jQuery('#agbModal').on('shown.bs.modal', function () {
            jQuery('.modal-backdrop').css('z-index', '10400');
        });
    });
}

// Initialisiere das Skript, nachdem das DOM geladen wurde
document.addEventListener('DOMContentLoaded', initAdminScript);
</script>
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="https://camp.cgmm.de/wp-sitemap-index.xsl" ?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><sitemap><loc>https://camp.cgmm.de/wp-sitemap-posts-post-1.xml</loc></sitemap><sitemap><loc>https://camp.cgmm.de/wp-sitemap-posts-page-1.xml</loc></sitemap><sitemap><loc>https://camp.cgmm.de/wp-sitemap-posts-work-1.xml</loc></sitemap><sitemap><loc>https://camp.cgmm.de/wp-sitemap-taxonomies-category-1.xml</loc></sitemap><sitemap><loc>https://camp.cgmm.de/wp-sitemap-taxonomies-post_tag-1.xml</loc></sitemap><sitemap><loc>https://camp.cgmm.de/wp-sitemap-taxonomies-work_genre-1.xml</loc></sitemap><sitemap><loc>https://camp.cgmm.de/wp-sitemap-users-1.xml</loc></sitemap></sitemapindex>
