403Webshell
Server IP : 127.0.0.1  /  Your IP : 216.73.216.48
Web Server : Apache/2.4.58 (Win64) OpenSSL/3.1.3 PHP/8.2.12
System : Windows NT DESKTOP-3H4FHQJ 10.0 build 19045 (Windows 10) AMD64
User : win 10 ( 0)
PHP Version : 8.2.12
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : OFF |  Perl : OFF |  Python : OFF |  Sudo : OFF |  Pkexec : OFF
Directory :  D:/xampp/htdocs-coblaa/Cinevaa/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : D:/xampp/htdocs-coblaa/Cinevaa/plans.php
<!DOCTYPE html>
<html lang="en">
<?php
session_start();
include 'db.php';

$isSubscribed = false;
$currentExpiry = "";

if (isset($_SESSION['my_id'])) {
    $userID = $_SESSION['my_id'];

    // Check if user has an active plan
    $query = "SELECT expiry_date FROM cine_subscriptiontb WHERE my_id = ? AND subscription_status = 'active' AND expiry_date > NOW()";
    $stmt = $con->prepare($query);
    $stmt->bind_param("s", $userID);
    $stmt->execute();
    $result = $stmt->get_result();

    if ($result->num_rows > 0) {
        $row = $result->fetch_assoc();
        $isSubscribed = true;
        $currentExpiry = $row['expiry_date'];
    }
}
?>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Subscription Plans</title>
    <style>
        :root {
            --primary: #e50914; /* Netflix Red */
            --dark: #141414;
            --light: #ffffff;
            --gray: #2f2f2f;
        }

        body {
            font-family: 'Arial', sans-serif;
            background-color: var(--dark);
            color: var(--light);
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
            margin: 0;
        }

        .container {
            text-align: center;
            padding: 20px;
        }

        .plans-wrapper {
            display: flex;
            gap: 20px;
            flex-wrap: wrap;
            justify-content: center;
            margin-top: 30px;
        }

        .plan-card {
            background: var(--gray);
            border-radius: 10px;
            padding: 30px;
            width: 250px;
            transition: transform 0.3s ease;
            border: 2px solid transparent;
        }

        .plan-card:hover {
            transform: translateY(-10px);
            border-color: var(--primary);
        }

        .plan-card.popular {
            border-color: var(--primary);
            position: relative;
        }

        .popular-badge {
            position: absolute;
            top: -15px;
            left: 50%;
            transform: translateX(-50%);
            background: var(--primary);
            padding: 5px 15px;
            font-size: 12px;
            border-radius: 20px;
        }

        .plan-card h3 {
            margin: 0;
            font-size: 24px;
        }

        .price {
            font-size: 30px;
            font-weight: bold;
            margin: 20px 0;
        }

        .price span {
            font-size: 16px;
            font-weight: normal;
            color: #bbb;
        }

        .features {
            list-style: none;
            padding: 0;
            margin: 20px 0;
            text-align: left;
            font-size: 14px;
        }

        .features li {
            margin-bottom: 10px;
        }

        .features li::before {
            content: "✔";
            color: var(--primary);
            margin-right: 10px;
        }

        .subscribe-btn {
            background: var(--primary);
            color: white;
            border: none;
            padding: 12px 25px;
            width: 100%;
            border-radius: 5px;
            cursor: pointer;
            font-size: 16px;
            font-weight: bold;
        }

        .subscribe-btn:hover {
            background: #b20710;
        }
    </style>
</head>
<body>

<div class="container">
    <h1>Choose Your Plan</h1>
    <p>Unlock unlimited movies and TV shows today.</p>

    <div class="plans-wrapper">
        <div class="plan-card">
            <h3>Daily Pass</h3>
            <div class="price">UGX 1000 <span>/ 24h</span></div>
            <ul class="features">
                <li>Full Movie Library</li>
                <li>HD Streaming</li>
                <li>No Ads</li>
                <li>Single Device</li>
            </ul>
					   <?php if ($isSubscribed): ?>
        <div style="color: #00ff00; font-weight: bold; padding: 10px; border: 1px solid #00ff00;">
            ACTIVE UNTIL: <br> <?php echo date('M d, Y', strtotime($currentExpiry)); ?>
        </div>
    <?php else: ?>
            <form action="checkout.php" method="POST">
                <input type="hidden" name="plan" value="daily">
                <button type="submit" class="subscribe-btn">Get 24 Hours</button>
            </form><?php endif; ?>
        </div>

        <div class="plan-card popular">
            <div class="popular-badge">MOST POPULAR</div>
            <h3>Weekly</h3>
            <div class="price">UGX 5000 <span>/ 7 days</span></div>
            <ul class="features">
                <li>Everything in Daily</li>
                <li>Priority Support</li>
                <li>2 Devices Sharing</li>
                <li>Cancel Anytime</li>
            </ul>
			   <?php if ($isSubscribed): ?>
        <div style="color: #00ff00; font-weight: bold; padding: 10px; border: 1px solid #00ff00;">
            ACTIVE UNTIL: <br> <?php echo date('M d, Y', strtotime($currentExpiry)); ?>
        </div>
    <?php else: ?>
            <form action="checkout.php" method="POST">
                <input type="hidden" name="plan" value="weekly">
                <button type="submit" class="subscribe-btn">Get 1 Week</button>
            </form><?php endif; ?>
        </div>

        <div class="plan-card">
            <h3>Monthly</h3>
            <div class="price">UGX 20000 <span>/ month</span></div>
            <ul class="features">
                <li>Everything in Weekly</li>
                <li>4K Ultra HD</li>
                <li>4 Devices Sharing</li>
                <li>Download Movies</li>
            </ul>
   <?php if ($isSubscribed): ?>
        <div style="color: #00ff00; font-weight: bold; padding: 10px; border: 1px solid #00ff00;">
            ACTIVE UNTIL: <br> <?php echo date('M d, Y', strtotime($currentExpiry)); ?>
        </div>
    <?php else: ?>
        <form action="checkout.php" method="POST">
            <input type="hidden" name="plan" value="monthly">
            <button type="submit" class="subscribe-btn">Get 1 Month</button>
        </form>
    <?php endif; ?>
        </div>
    </div>

</div>

</body>
</html>



Youez - 2016 - github.com/yon3zu
LinuXploit