35634-vm/index.php
Flatlogic Bot ff39029228 1
2025-11-12 04:12:08 +00:00

104 lines
4.3 KiB
PHP

<?php
declare(strict_types=1);
@ini_set('display_errors', '1');
@error_reporting(E_ALL);
@date_default_timezone_set('UTC');
$phpVersion = PHP_VERSION;
$now = date('Y-m-d H:i:s');
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>MVNOLocationBasedOffer</title>
<meta name="description" content="Built with Flatlogic Generator. Discover location-based offers from local vendors.">
<meta name="keywords" content="location based offers, mvno, daily deals, local discounts, mobile coupons, geo-fencing, Built with Flatlogic Generator">
<?php
// Read project preview data from environment
$projectDescription = $_SERVER['PROJECT_DESCRIPTION'] ?? '';
$projectImageUrl = $_SERVER['PROJECT_IMAGE_URL'] ?? '';
?>
<?php if ($projectDescription): ?>
<!-- Meta description -->
<meta name="description" content="<?= htmlspecialchars($projectDescription) ?>" />
<!-- Open Graph meta tags -->
<meta property="og:description" content="<?= htmlspecialchars($projectDescription) ?>" />
<!-- Twitter meta tags -->
<meta property="twitter:description" content="<?= htmlspecialchars($projectDescription) ?>" />
<?php endif; ?>
<?php if ($projectImageUrl): ?>
<!-- Open Graph image -->
<meta property="og:image" content="<?= htmlspecialchars($projectImageUrl) ?>" />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />
<!-- Twitter image -->
<meta property="twitter:image" content="<?= htmlspecialchars($projectImageUrl) ?>" />
<meta name="twitter:card" content="summary_large_image">
<?php endif; ?>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="assets/css/custom.css?v=<?php echo time(); ?>">
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-light bg-white shadow-sm">
<div class="container">
<a class="navbar-brand" href="index.php">MVNO Offers</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav ms-auto">
<li class="nav-item">
<a class="nav-link active" aria-current="page" href="index.php">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="vendor-onboarding.php">For Vendors</a>
</li>
</ul>
</div>
</div>
</nav>
<header class="hero-section text-center">
<div class="container">
<h1 class="display-4">Find Amazing Deals Near You</h1>
<p class="lead text-muted">Connecting you with the best local offers, right where you are.</p>
<a href="vendor-onboarding.php" class="btn btn-primary btn-lg mt-3">Partner With Us</a>
</div>
</header>
<main class="container my-5">
<div class="row">
<div class="col-12 text-center">
<h2>How It Works</h2>
</div>
</div>
<div class="row text-center mt-4">
<div class="col-md-4">
<h3>1. Discover</h3>
<p>Browse offers from a wide range of local vendors.</p>
</div>
<div class="col-md-4">
<h3>2. Claim</h3>
<p>Get notifications and claim deals directly from the app.</p>
</div>
<div class="col-md-4">
<h3>3. Enjoy</h3>
<p>Redeem your offers in-store and enjoy the savings.</p>
</div>
</div>
</main>
<footer class="text-center py-4 text-muted border-top">
<div class="container">
&copy; <?php echo date("Y"); ?> MVNOLocationBasedOffer. All Rights Reserved.
</div>
</footer>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"></script>
<script src="assets/js/main.js?v=<?php echo time(); ?>"></script>
</body>
</html>