// Load settings if not already loaded
if (!isset($settings)) {
    // Adjust the path as needed for your project structure
    require_once __DIR__ . '/../../includes/config.php';
    require_once __DIR__ . '/../../includes/functions.php';
    $db = getDBConnection();
    $settings = getAllSettings($db);
}
// Check if left banner is enabled
$leftBannerEnabled = isset($settings['enable_left_banner']) && $settings['enable_left_banner'] == '1';
// Only output banner if enabled
if ($leftBannerEnabled) {
    if (!empty($leftBanner)) {
        // Output the banner code with container
        echo '
                
                ';
        echo $leftBanner;
        echo '
';
    } else if (!empty($settings['left_banner'])) {
        // Output from settings
        echo '';
        echo $settings['left_banner'];
        echo '
';
    }
}
?> 
                 
                    The Reunion (2011)
                                
                                 2011
                                
                                
                                 United States
                                
                                 English, Spanish
                            
            
                        4 half siblings stand to inherit $3,000,000 each from their dad, if they work together as family for 2 years. 3 of them go to Mexico as bounty hunters to get a bail-jumper, who's connected to the kidnapping of a billionaire.
                    Director: Michael Pavone                
                                
                                
                    Writer: Michael Pavone                
                                
                                
                    Cast: John Cena, Ethan Embry, Amy Smart                
                            
                    // Load settings if not already loaded
if (!isset($settings)) {
    // Adjust the path as needed for your project structure
    require_once __DIR__ . '/../../includes/config.php';
    require_once __DIR__ . '/../../includes/functions.php';
    $db = getDBConnection();
    $settings = getAllSettings($db);
}
// Check if right banner is enabled
$rightBannerEnabled = isset($settings['enable_right_banner']) && $settings['enable_right_banner'] == '1';
// Only output banner if enabled
if ($rightBannerEnabled) {
    if (!empty($rightBanner)) {
        // Output the banner code with container
        echo '
            ';
        echo $rightBanner;
        echo '
';
    } else if (!empty($settings['right_banner'])) {
        // Output from settings
        echo '';
        echo $settings['right_banner'];
        echo '
';
    } 
}
?>