36320-vm/premium.php
Flatlogic Bot e899fb7f07 1.0
2025-11-26 18:47:09 +00:00

85 lines
3.2 KiB
PHP

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Premium - gomoviz.asia</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css">
<link rel="stylesheet" href="assets/css/custom.css?v=<?php echo time(); ?>">
<style>
.poster-card {
position: relative;
overflow: hidden;
border-radius: 0.5rem;
transition: transform 0.2s ease;
}
.poster-card img {
width: 100%;
height: auto;
}
.poster-card:hover {
transform: scale(1.05);
}
.poster-overlay {
position: absolute;
bottom: 0;
left: 0;
right: 0;
background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0));
color: white;
padding: 2rem 1rem 1rem;
}
</style>
</head>
<body>
<!-- Top Navigation Bar (same as index.php) -->
<nav class="navbar navbar-expand-lg sticky-top">
<div class="container-fluid">
<a class="navbar-brand fw-bold" href="index.php">gomoviz.asia</a>
</div>
</nav>
<main class="container my-5">
<div class="text-center mb-5">
<h1 class="display-5 fw-bold">Premium Content</h1>
<p class="lead text-white-50">Your 10-day free trial is active. Enjoy exclusive movies and shows.</p>
</div>
<?php
$content_file = 'premium_content.json';
$premium_content = [];
if (file_exists($content_file)) {
$premium_content = json_decode(file_get_contents($content_file), true);
}
?>
<div class="row row-cols-2 row-cols-md-3 row-cols-lg-5 g-4">
<?php if (empty($premium_content)): ?>
<p class="text-white-50">No premium content is available at the moment. Please check back later.</p>
<?php else: ?>
<?php foreach ($premium_content as $item): ?>
<div class="col">
<a href="<?php echo htmlspecialchars($item['stream_url']); ?>" target="_blank" class="text-decoration-none">
<div class="card category-card poster-card text-white h-100">
<img src="<?php echo htmlspecialchars($item['poster_url']); ?>" class="card-img" alt="<?php echo htmlspecialchars($item['title']); ?>">
<div class="poster-overlay">
<h5 class="card-title mb-0"><?php echo htmlspecialchars($item['title']); ?></h5>
</div>
</div>
</a>
</div>
<?php endforeach; ?>
<?php endif; ?>
</div>
</main>
<!-- You can add a simplified footer or the full nav bar if needed -->
<footer class="text-center p-4 text-white-50">
&copy; <?php echo date('Y'); ?> gomoviz.asia
</footer>
</body>
</html>