162 lines
7.4 KiB
PHP
162 lines
7.4 KiB
PHP
<?php
|
|
session_start();
|
|
|
|
$contact_status = $_SESSION['contact_form_status'] ?? null;
|
|
$contact_message = $_SESSION['contact_form_message'] ?? null;
|
|
|
|
// Clear session variables so the message doesn't reappear on refresh
|
|
unset($_SESSION['contact_form_status']);
|
|
unset($_SESSION['contact_form_message']);
|
|
?>
|
|
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
<!-- SEO & Meta Tags -->
|
|
<title>NazzelOfficial Platform</title>
|
|
<meta name="description" content="A comprehensive, enterprise-grade full-stack website integrating main website, forum, e-commerce shop, social media hubs, and more. Built with Flatlogic Generator.">
|
|
<meta name="keywords" content="nazzelofficial, full-stack, enterprise platform, forum, e-commerce, social hub, entertainment, web development, php, mongodb, Built with Flatlogic Generator">
|
|
|
|
<!-- Open Graph / Facebook -->
|
|
<meta property="og:type" content="website">
|
|
<meta property="og:title" content="NazzelOfficial Platform">
|
|
<meta property="og:description" content="A comprehensive, enterprise-grade full-stack website.">
|
|
<meta property="og:image" content="<?php echo htmlspecialchars($_SERVER['PROJECT_IMAGE_URL'] ?? ''); ?>">
|
|
|
|
<!-- Twitter -->
|
|
<meta name="twitter:card" content="summary_large_image">
|
|
<meta name="twitter:title" content="NazzelOfficial Platform">
|
|
<meta name="twitter:description" content="A comprehensive, enterprise-grade full-stack website.">
|
|
<meta name="twitter:image" content="<?php echo htmlspecialchars($_SERVER['PROJECT_IMAGE_URL'] ?? ''); ?>">
|
|
|
|
<!-- Stylesheets -->
|
|
<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(); ?>">
|
|
|
|
<!-- Fonts & Icons -->
|
|
<script src="https://unpkg.com/lucide@latest"></script>
|
|
|
|
</head>
|
|
<body data-bs-spy="scroll" data-bs-target="#navbarNav">
|
|
|
|
<!-- Navigation -->
|
|
<nav class="navbar navbar-expand-lg navbar-light bg-white shadow-sm fixed-top">
|
|
<div class="container">
|
|
<a class="navbar-brand" href="#">NazzelOfficial</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" href="#home">Home</a></li>
|
|
<li class="nav-item"><a class="nav-link" href="#features">Features</a></li>
|
|
<li class="nav-item"><a class="nav-link" href="#contact">Contact</a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
|
|
<!-- Hero Section -->
|
|
<header id="home" class="hero-section text-center d-flex align-items-center">
|
|
<div class="container">
|
|
<h1 class="display-3">The Unified Digital Experience</h1>
|
|
<p class="lead my-4">Integrating forums, e-commerce, social hubs, and entertainment into one seamless platform.</p>
|
|
<a href="#contact" class="btn btn-light btn-lg">Get In Touch</a>
|
|
</div>
|
|
</header>
|
|
|
|
<!-- Features Section -->
|
|
<section id="features" class="section bg-surface">
|
|
<div class="container">
|
|
<div class="text-center mb-5">
|
|
<h2>Core Features</h2>
|
|
<p class="lead text-muted">Everything you need, all in one place.</p>
|
|
</div>
|
|
<div class="row g-4">
|
|
<div class="col-md-4">
|
|
<div class="feature-card">
|
|
<i data-lucide="messages-square"></i>
|
|
<h3>Community Forums</h3>
|
|
<p>Engage in discussions, share ideas, and connect with others in a vibrant community setting.</p>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-4">
|
|
<div class="feature-card">
|
|
<i data-lucide="shopping-cart"></i>
|
|
<h3>E-Commerce Shop</h3>
|
|
<p>Browse and purchase exclusive merchandise and products directly from the source.</p>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-4">
|
|
<div class="feature-card">
|
|
<i data-lucide="play-circle"></i>
|
|
<h3>Entertainment Hub</h3>
|
|
<p>Access a rich library of music, videos, podcasts, and gaming highlights.</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<!-- Contact Section -->
|
|
<section id="contact" class="section">
|
|
<div class="container">
|
|
<div class="row justify-content-center">
|
|
<div class="col-lg-8">
|
|
<div class="text-center mb-5">
|
|
<h2>Contact Us</h2>
|
|
<p class="lead text-muted">Have a question or want to work with us? Drop a line.</p>
|
|
</div>
|
|
<form action="contact.php" method="POST">
|
|
<div class="mb-3">
|
|
<label for="name" class="form-label">Full Name</label>
|
|
<input type="text" class="form-control" id="name" name="name" required>
|
|
</div>
|
|
<div class="mb-3">
|
|
<label for="email" class="form-label">Email Address</label>
|
|
<input type="email" class="form-control" id="email" name="email" required>
|
|
</div>
|
|
<div class="mb-3">
|
|
<label for="message" class="form-label">Message</label>
|
|
<textarea class="form-control" id="message" name="message" rows="5" required></textarea>
|
|
</div>
|
|
<div class="text-center">
|
|
<button type="submit" class="btn btn-primary btn-lg">Send Message</button>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<!-- Footer -->
|
|
<footer class="footer text-center">
|
|
<div class="container">
|
|
<p>© <?php echo date("Y"); ?> NazzelOfficial. All Rights Reserved.</p>
|
|
</div>
|
|
</footer>
|
|
|
|
<!-- Toast Notification -->
|
|
<?php if ($contact_status && $contact_message): ?>
|
|
<div class="toast-container">
|
|
<div id="contactToast" class="toast align-items-center text-white <?php echo $contact_status === 'success' ? 'bg-success' : 'bg-danger'; ?> border-0" role="alert" aria-live="assertive" aria-atomic="true">
|
|
<div class="d-flex">
|
|
<div class="toast-body">
|
|
<?php echo htmlspecialchars($contact_message); ?>
|
|
</div>
|
|
<button type="button" class="btn-close btn-close-white me-2 m-auto" data-bs-dismiss="toast" aria-label="Close"></button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<?php endif; ?>
|
|
|
|
<!-- Scripts -->
|
|
<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>
|
|
<script>
|
|
lucide.createIcons();
|
|
</script>
|
|
</body>
|
|
</html>
|