Edit index.php via Editor
This commit is contained in:
parent
3689691bab
commit
8abf8a5361
@ -11,6 +11,13 @@ $threads = $pdo->query("SELECT id, title, game, tag, author, created_at FROM for
|
||||
include __DIR__ . '/includes/header.php';
|
||||
?>
|
||||
|
||||
<?php if (!empty($_GET['registered'])): ?>
|
||||
<div class="alert alert-success" role="alert">Account created. You are now logged in.</div>
|
||||
<?php endif; ?>
|
||||
<?php if (!empty($_GET['logged_out'])): ?>
|
||||
<div class="alert alert-success" role="alert">You have been logged out.</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<section class="hero mb-4">
|
||||
<div class="row align-items-center g-4">
|
||||
<div class="col-lg-7">
|
||||
@ -25,7 +32,7 @@ include __DIR__ . '/includes/header.php';
|
||||
</div>
|
||||
<div class="col-lg-5">
|
||||
<div class="app-card">
|
||||
<h2 class="h5 mb-3">Live pulse</h2>
|
||||
<h2 class="h5 mb-3">Live 1111pulse</h2>
|
||||
<ul class="list-unstyled mb-0">
|
||||
<li class="d-flex justify-content-between mb-2"><span class="muted">Active builds</span><span class="fw-semibold"><?= h((string)$pdo->query("SELECT COUNT(*) FROM builds")->fetchColumn()) ?></span></li>
|
||||
<li class="d-flex justify-content-between mb-2"><span class="muted">Forum threads</span><span class="fw-semibold"><?= h((string)$pdo->query("SELECT COUNT(*) FROM forum_threads")->fetchColumn()) ?></span></li>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user