// 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 '
';
    }
}
?> 
                 
                    Kronk's New Groove (2005)
                                
                                 2005
                                
                                
                                 USA
                                
                                 English
                            
            
                        Kronk desperately tries to find ways to impress his dad, whom he can never please. But when things go wrong, Kronk kicks into comical gear and discovers the true riches in life are his friends and being "true to your groove".
                    Director: Saul Blinkoff, Elliot M. Bour                
                                
                                
                    Writer: Tony Leondis (story by), Michael LaBash (story by), Tom Rogers (story by), Tom Rogers (screenplay by), Michael Lucker                
                                
                                
                    Cast: Patrick Warburton, Tracey Ullman, Eartha Kitt, David Spade                
                            
                    // 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 '
';
    } 
}
?>