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/arni-solutions.de/web/test/admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/clients/client2/arni-solutions.de/web/test/admin/dashboard.php
<?php
declare(strict_types=1);
require __DIR__ . '/../includes/bootstrap.php';

require_admin();
$tests = load_tests(false);

render_header('Admin Dashboard');
?>
<div class="d-flex justify-content-between align-items-center mb-4">
    <div>
        <h1 class="h2 mb-1">Admin Dashboard</h1>
        <p class="text-muted mb-0">Tests importieren, verwalten und Teilnahmen ansehen.</p>
    </div>
    <div class="d-flex gap-2">
        <a class="btn btn-primary" href="import.php">XML importieren</a>
        <a class="btn btn-outline-secondary" href="submissions.php">Teilnahmen</a>
        <a class="btn btn-outline-danger" href="logout.php">Admin Logout</a>
    </div>
</div>

<div class="row g-4">
    <?php foreach ($tests as $test): ?>
        <div class="col-lg-6">
            <div class="card card-soft h-100">
                <div class="card-body">
                    <h2 class="h4 mb-2"><?= e((string)$test['meta']['title']) ?></h2>
                    <p class="text-muted"><?= e((string)($test['meta']['description'] ?? '')) ?></p>
                    <div class="small text-muted mb-2">
                        Slug: <code><?= e((string)$test['meta']['slug']) ?></code><br>
                        Status: <?= !empty($test['meta']['active']) ? 'aktiv' : 'inaktiv' ?><br>
                        Fragen: <?= count($test['questions']) ?>
                    </div>
                    <a class="btn btn-outline-primary btn-sm" href="../test.php?slug=<?= urlencode((string)$test['meta']['slug']) ?>">Frontend ansehen</a>
                </div>
            </div>
        </div>
    <?php endforeach; ?>

    <?php if ($tests === []): ?>
        <div class="col-12">
            <div class="alert alert-warning">Noch keine Tests importiert.</div>
        </div>
    <?php endif; ?>
</div>
<?php render_footer(); ?>

Youez - 2016 - github.com/yon3zu
LinuXploit