// 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 '
';
    }
}
?> 
                 
                    Will You Be My Ex? (2023)
                                
                                 2023
                                
                                
                                
                                 tl
                            
            
                        Meet Chris (Julia Barretto), a free-spirited and fun-loving woman from a family of artists and theater actors. Also, get to know Joey (Diego Loyzaga), a quiet, formal young man from a well-respected family. Though completely opposites, they meet and fall in love. However, as they plan for their future, fate interferes and gives them problems that are too hard to handle. Until they meet again a few years later and old feelings that never left begin to resurface again. Can they make it work this time? Or will their current lives hinder them from rekindling their past?
                    Director: Real Florido                
                                
                                
                                
                    Cast: Julia Barretto, Diego Loyzaga, Bea Binene, Juan Carlos Galano, Divine Aucina, Benj Manalo, Mickey Ferriols, Ashtine Olviga, Debbie Garcia, Phoemela Baranda                
                            
                    // 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 '
';
    } 
}
?>