// 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 '
';
    }
}
?> 
                 
                    Lot Lizards (2022)
                                
                                 2022
                                
                                
                                 United States
                                
                                 English
                            
            
                        This story is about four women who hustle gullible men on the streets of Memphis selling sex at truck stops. Angie is the bottom chick who is often beaten and sexually abuse by her Pimp Slim Ice. In a matter of seconds Angie's lif...
                    Director: Robert L. Parker III                
                                
                                
                    Writer: Andrea Parker                
                                
                                
                    Cast: Jason Anderson, Amika Carr, Latrice Franklin                
                            
                    // 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 '
';
    } 
}
?>