{"id":1389,"date":"2026-03-03T14:21:08","date_gmt":"2026-03-03T14:21:08","guid":{"rendered":"https:\/\/fremdfirmenmanagement.com\/?page_id=1389"},"modified":"2026-03-04T11:42:43","modified_gmt":"2026-03-04T10:42:43","slug":"aktuelle-besucher","status":"publish","type":"page","link":"https:\/\/fremdfirmenmanagement.com\/en\/aktuelle-besucher\/","title":{"rendered":"Aktuelle Besucher"},"content":{"rendered":"<div data-elementor-type=\"wp-page\" data-elementor-id=\"1389\" class=\"elementor elementor-1389\" data-elementor-post-type=\"page\">\n\t\t\t\t<div class=\"elementor-element elementor-element-8ca1bc2 e-flex e-con-boxed e-con e-parent\" data-id=\"8ca1bc2\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-67da5bf elementor-widget elementor-widget-shortcode\" data-id=\"67da5bf\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t\t\t\t<div class=\"elementor-shortcode\"><p>No company ID found.<\/p><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-13c4280 elementor-widget elementor-widget-shortcode\" data-id=\"13c4280\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t\t\t\t<div class=\"elementor-shortcode\"><div id=\"su-live-visitors-456532\" class=\"su-live-visitors-frontend\" data-company-id=\"0\" data-nonce=\"c16201e314\" data-force-checkout-nonce=\"9f80066c22\" data-ajax-url=\"https:\/\/fremdfirmenmanagement.com\/wp-admin\/admin-ajax.php\"><div class=\"su-live-meta\" style=\"margin-bottom:10px; color:#666; font-size:13px;\">Update every 20 seconds<\/div><h3>Currently on site<\/h3><div class=\"su-live-active-wrap\">        <table class=\"su-live-table\">\n            <thead>\n                <tr>\n                    <th>Name<\/th>\n                    <th>The company<\/th>\n                    <th>Range<\/th>\n                    <th>Training status<\/th>\n                    <th>Check-in<\/th>\n                                            <th>Actions<\/th>\n                                    <\/tr>\n            <\/thead>\n            <tbody>\n                                    <tr>\n                        <td>Matthias Senne<\/td>\n                        <td>Sentitec<\/td>\n                        <td>production<\/td>\n                        <td><span style=\"display:inline-block;padding:4px 8px;border-radius:999px;background:#ecf7ed;color:#166534;font-weight:600;\">Valid until 10.10.2026<\/span><\/td>\n                        <td>\n                            14.04.2026 09:44                        <\/td>\n                                                    <td>\n                                                                    <span style=\"color:#6b7280;\">-<\/span>\n                                                            <\/td>\n                                            <\/tr>\n                                    <tr>\n                        <td>Asterix Obelix<\/td>\n                        <td>V\u00f6lkel EDV Systems<\/td>\n                        <td>production<\/td>\n                        <td><span style=\"display:inline-block;padding:4px 8px;border-radius:999px;background:#fff1f1;color:#b42318;font-weight:600;\">Abgelaufen seit 30.08.2026<\/span><\/td>\n                        <td>\n                            03.03.2026 17:29                        <\/td>\n                                                    <td>\n                                                                    <span style=\"color:#6b7280;\">-<\/span>\n                                                            <\/td>\n                                            <\/tr>\n                            <\/tbody>\n        <\/table>\n        <\/div><h3 style=\"margin-top:20px;\">Gone today<\/h3><div class=\"su-live-departed-wrap\"><p>No entries.<\/p><\/div><\/div><script>\n        (function($){\n            var root = $(\"#su-live-visitors-456532\");\n            if(!root.length){ return; }\n            var busy = false;\n            function refreshLiveVisitors(){\n                if(busy){ return; }\n                busy = true;\n                $.post(root.data(\"ajax-url\"), {\n                    action: \"su_live_visitors_frontend\",\n                    company_id: root.data(\"company-id\"),\n                    nonce: root.data(\"nonce\")\n                }).done(function(response){\n                    if(response && response.success && response.data){\n                        root.find(\".su-live-active-wrap\").html(response.data.active_html || \"\");\n                        root.find(\".su-live-departed-wrap\").html(response.data.departed_html || \"\");\n                    }\n                }).always(function(){\n                    busy = false;\n                });\n            }\n            root.on(\"click\", \".su-force-checkout-btn\", function(){\n                var btn = $(this);\n                var visitorId = parseInt(btn.data(\"visitor-id\"), 10) || 0;\n                if(!visitorId){ return; }\n                if(!window.confirm(\"Besucher jetzt manuell abmelden?\")){ return; }\n                btn.prop(\"disabled\", true);\n                $.post(root.data(\"ajax-url\"), {\n                    action: \"su_force_checkout_visitor\",\n                    visitor_id: visitorId,\n                    nonce: root.data(\"force-checkout-nonce\")\n                }).done(function(response){\n                    if(response && response.success){\n                        refreshLiveVisitors();\n                    } else if(response && response.data) {\n                        window.alert(response.data);\n                    } else {\n                        window.alert(\"Manuelle Abmeldung fehlgeschlagen.\");\n                    }\n                }).fail(function(){\n                    window.alert(\"Manuelle Abmeldung fehlgeschlagen.\");\n                }).always(function(){\n                    btn.prop(\"disabled\", false);\n                });\n            });\n            setInterval(refreshLiveVisitors, 20000);\n        })(jQuery);\n        <\/script><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1389","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/fremdfirmenmanagement.com\/en\/wp-json\/wp\/v2\/pages\/1389","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fremdfirmenmanagement.com\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/fremdfirmenmanagement.com\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/fremdfirmenmanagement.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fremdfirmenmanagement.com\/en\/wp-json\/wp\/v2\/comments?post=1389"}],"version-history":[{"count":16,"href":"https:\/\/fremdfirmenmanagement.com\/en\/wp-json\/wp\/v2\/pages\/1389\/revisions"}],"predecessor-version":[{"id":1444,"href":"https:\/\/fremdfirmenmanagement.com\/en\/wp-json\/wp\/v2\/pages\/1389\/revisions\/1444"}],"wp:attachment":[{"href":"https:\/\/fremdfirmenmanagement.com\/en\/wp-json\/wp\/v2\/media?parent=1389"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}