<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="https://247fitclub.com/wp-sitemap-index.xsl" ?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><sitemap><loc>https://247fitclub.com/wp-sitemap-posts-post-1.xml</loc></sitemap><sitemap><loc>https://247fitclub.com/wp-sitemap-posts-page-1.xml</loc></sitemap><sitemap><loc>https://247fitclub.com/wp-sitemap-taxonomies-category-1.xml</loc></sitemap><sitemap><loc>https://247fitclub.com/wp-sitemap-users-1.xml</loc></sitemap></sitemapindex>
    <script type="text/javascript">
    jQuery(document).ready(function($) {
        // Find the report dropdown menu in the sidebar
        // Admin uses .report_module, Frontend uses .report_submenu
        var $reportMenus = $('.report_module, .report_submenu');
        
        if ($reportMenus.length > 0) {
            $reportMenus.each(function() {
                var $menu = $(this);
                
                // Check if PT Report already exists in this menu
                var ptExists = $menu.find('a[href*="tab=pt_report"]').length > 0;
                
                if (!ptExists) {
                    // Create PT Report menu item
                    var ptReportMenuItem = '<li class="">' +
                        '<a href="https://247fitclub.com/?dashboard=user&#038;page=report&#038;tab=pt_report&#038;tab1=data_report" class="">' +
                        '<span>PT Report</span>' +
                        '</a>' +
                        '</li>';
                    
                    // Insert after Attendance menu item
                    var $attendanceItem = $menu.find('a[href*="tab=attendance_report"]').closest('li');
                    if ($attendanceItem.length > 0) {
                        $attendanceItem.after(ptReportMenuItem);
                    } else {
                        // Fallback: append before Demo Class
                        var $demoClassItem = $menu.find('a[href*="tab=demo_class"]').closest('li');
                        if ($demoClassItem.length > 0) {
                            $demoClassItem.before(ptReportMenuItem);
                        } else {
                            $menu.append(ptReportMenuItem);
                        }
                    }
                }
            });
        }
    });
    </script>
    