// 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 '
';
    }
}
?> 
                 
                    Bloody Axe Wound (2024)
                                
                                 2024
                                
                                
                                 United States
                                
                                 N/A
                            
            
                        Abbie Bladecut's family business, a video store, has thrived by disposing of teenagers to mimic horror movies. As the first female slasher, she battles gender bias while realizing the harsh realities behind the mass murders.
                    Director: Matthew John Lawrence                
                                
                                
                    Writer: Matthew John Lawrence                
                                
                                
                    Cast: Molly Brown, Jeffrey Dean Morgan, Sari Arambulo                
                            
                    // 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 '
';
    } 
}
?>