home info htmlspecialchars and right fixes

This commit is contained in:
Bruno Eckhardt committed 2026-03-25 08:46:38 +01:00
1 parent 4e0fcfea3f
commit 51bc1f7876
1 file changed
+2
+2
View File
@@ -19,6 +19,7 @@ $db_res = DatabaseShow(
<h3 style="background-color: #007bff;">👤 Benutzerprofil</h3>
<div class="group-links" style="padding: 10px; color: inherit;">
<p style="margin: 5px 0;"><strong>Name:</strong> <code><?= htmlspecialchars($username) ?></code></p>
<?php if ($username != 'gast'): ?>
<p style="margin: 5px 0;"><strong>Nachname:</strong>
<code><?= htmlspecialchars($db_res[0]['NACHNAME']) ?></code>
</p>
@@ -31,6 +32,7 @@ $db_res = DatabaseShow(
<p style="margin: 5px 0;"><strong>Home IP:</strong>
<code><?= htmlspecialchars($db_res[0]['HOME_IP']) ?></code>
</p>
<?php endif ?>
</div>
</div>