<?php $adminFooter = current_admin(); ?>
<?php if (!$adminFooter): ?>
</div>
<script src="https://cdn.jsdelivr.net/npm/jquery@3.6.4/dist/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/js/bootstrap.bundle.min.js"></script>
<script src="<?= e('assets/admin-stable.js?v=' . filemtime(__DIR__ . '/assets/admin-stable.js')) ?>"></script>
<script src="<?= e(asset_versioned('js/admin.js')) ?>"></script>
<link rel="stylesheet" href="<?= e(asset_versioned('css/mj-v3041-location-notifications.css')) ?>">
<script src="<?= e(asset_versioned('js/mj-v3041-location-search.js')) ?>"></script>
<script src="<?= e(asset_versioned('js/mj-v3041-notifications.js')) ?>"></script>
<link rel="stylesheet" href="<?= e(asset_versioned('css/mj-v30429-leads.css')) ?>">
<script src="<?= e(asset_versioned('js/mj-v30428-popup-speed.js')) ?>"></script>
<script src="<?= e(asset_versioned('js/mj-v30429-lead-actions.js')) ?>"></script>

</body></html>
<?php else: ?>
            </div>
        </section>
    </div>

    <button type="button" class="mj-fab-admin" data-toggle="modal" data-target="#mjAdminQuickModal"><i class="fas fa-plus-circle"></i> Quick Create</button>
    <div class="modal fade mj-admin-quick-drawer" id="mjAdminQuickModal" tabindex="-1" role="dialog" aria-hidden="true">
      <div class="modal-dialog modal-dialog-centered" role="document">
        <div class="modal-content">
          <div class="modal-header"><h5 class="modal-title"><i class="fas fa-bolt mr-2"></i>Admin Quick Actions</h5><button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button></div>
          <div class="modal-body"><div class="mj-admin-quick-grid">
            <a href="action-queue.php"><i class="fas fa-clipboard-check"></i> Action Queue</a>
            <a href="payment-center.php?tab=review"><i class="fas fa-receipt"></i> Payment Proofs</a>
            <a href="reports.php"><i class="fas fa-chart-line"></i> Reports</a>
            <a href="finance-reconciliation.php"><i class="fas fa-balance-scale"></i> Finance Check</a>
            <a href="activation-checker.php"><i class="fas fa-bolt"></i> Activation Check</a>
            <a href="system-health.php"><i class="fas fa-heartbeat"></i> Health Check</a>
          </div></div>
        </div>
      </div>
    </div>
    <footer class="main-footer mj-main-footer">
        <strong>&copy; <?= date('Y') ?> MJ Marketplace Admin.</strong> All rights reserved.
        <div class="float-right d-none d-sm-inline-block"><b>Version</b> v3.0.4.2.17 Clean Full Stable</div>
    </footer>
</div>
<script src="https://cdn.jsdelivr.net/npm/jquery@3.6.4/dist/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/js/bootstrap.bundle.min.js"></script>
<script src="<?= e('assets/admin-stable.js?v=' . filemtime(__DIR__ . '/assets/admin-stable.js')) ?>"></script>
<script src="https://cdn.jsdelivr.net/npm/datatables.net@1.13.8/js/jquery.dataTables.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/datatables.net-bs4@1.13.8/js/dataTables.bootstrap4.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/datatables.net-responsive@2.5.0/js/dataTables.responsive.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/datatables.net-responsive-bs4@2.5.0/js/responsive.bootstrap4.min.js"></script>
<script src="<?= e(asset_versioned('js/admin.js')) ?>"></script>
<link rel="stylesheet" href="<?= e(asset_versioned('css/mj-v3041-location-notifications.css')) ?>">
<script src="<?= e(asset_versioned('js/mj-v3041-location-search.js')) ?>"></script>
<script src="<?= e(asset_versioned('js/mj-v3041-notifications.js')) ?>"></script>
<link rel="stylesheet" href="<?= e(asset_versioned('css/mj-v30429-leads.css')) ?>">
<script src="<?= e(asset_versioned('js/mj-v30428-popup-speed.js')) ?>"></script>
<script src="<?= e(asset_versioned('js/mj-v30429-lead-actions.js')) ?>"></script>

</body></html>
<?php endif; ?>
