<?php
session_start();
$_SESSION['admin_logged_in'] = true;

// Test all three endpoints
$endpoints = ['load_products', 'load_blogs', 'load_categories'];

foreach ($endpoints as $action) {
    $_SERVER['REQUEST_METHOD'] = 'POST';
    $_POST['action'] = $action;
    
    ob_start();
    include 'admin_seo_manager.php';
    $output = ob_get_clean();
    
    echo "=== Response for $action ===\n";
    echo substr($output, 0, 800);
    echo "\n\n";
}
?>
