📄 Source: factions.php
<!DOCTYPE html>
<html lang="en">
<html>
<head><meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>CreateCraft - Factions</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="video-background">
<video autoplay muted loop playsinline id="bgVideo">
<source src="videos/timelapse.mp4" type="video/mp4">
<!-- Fallback for old browsers -->
Your browser does not support HTML5 video.
</video>
</div>
<!-- Your Content Goes Here -->
<div class="content">
<header>
<h1>CreateCraft: <strong>Factions</strong></h1>
<p><a href="demo.php">DEMO</a></p>
</header>
<main>
<div class="card">
<details>
<summary>Medieval:</summary>
<p>>Can enchant</p>
</details>
</div>
<div class="card">
<details>
<summary>Steampunk:</summary>
<p>>Can enchant</p>
</details>
</div>
<div class="card">
<details>
<summary>Fantesy:</summary>
<p>>Can enchant</p>
</details>
</div>
<div class="card">
<h2>Quick Links</h2>
<nav>
<a href="index.php">Home</a>
<a href="factions.php">Factions</a>
<a href="about.php">About</a>
<a href="https://discord.com/invite/959SAvcCpp">Discord</a>
</nav>
</div>
<?php
// Simple page routing (PHP demo)
if (isset($_GET['page'])) {
$page = $_GET['page'];
echo '<div class="card">';
echo "<h3>You are viewing: " . htmlspecialchars($page) . "</h3>";
echo "<p>This content changes based on the URL parameter!</p>";
echo '</div>';
}
?>
</main>
<footer>
<p>© <?php echo date('Y'); ?> My Minecraft Demo | Built with PHP</p>
</footer>
</div>
</body>
</html>
← Back