38 lines
1.2 KiB
PHP
38 lines
1.2 KiB
PHP
<?php
|
|
// The header.php file now handles session_start(), login checks, translations, and language selection.
|
|
// We include it at the top of the <body>.
|
|
|
|
if (session_status() == PHP_SESSION_NONE) {
|
|
session_start();
|
|
}
|
|
|
|
if (!isset($_SESSION['user_id'])) {
|
|
header('Location: login.php');
|
|
exit();
|
|
}
|
|
|
|
?>
|
|
<!DOCTYPE html>
|
|
<html lang="<?php echo $_SESSION['lang'] ?? 'en'; ?>">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title><?= t('nav_subscription') ?> - Captionista</title>
|
|
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&family=Roboto:wght@300;400;500&display=swap" rel="stylesheet">
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/feather-icons/4.29.0/feather.min.css">
|
|
<link rel="stylesheet" href="assets/css/custom.css?v=<?php echo time(); ?>">
|
|
</head>
|
|
<body class="light-mode">
|
|
|
|
<?php include 'includes/header.php'; ?>
|
|
|
|
<main class="container">
|
|
<h1><?= t('nav_subscription') ?></h1>
|
|
<p><?= t('pricing_coming_soon') ?></p>
|
|
</main>
|
|
|
|
<?php include 'includes/footer.php'; ?>
|
|
|
|
<script src="assets/js/main.js?v=<?php echo time(); ?>"></script>
|
|
</body>
|
|
</html>
|