Version 2
This commit is contained in:
77
pagecontent/account.php
Normal file
77
pagecontent/account.php
Normal file
@@ -0,0 +1,77 @@
|
||||
<?php
|
||||
|
||||
$sql = "SELECT `id` FROM `VokabelBox2Content` WHERE `path` LIKE '$userid/%' AND `type` = 'voc'";
|
||||
$result_articles = $conn->query($sql);
|
||||
$statVOC = mysqli_num_rows($result_articles);
|
||||
|
||||
$sql = "SELECT `id` FROM `VokabelBox2Content` WHERE `path` LIKE '$userid/%' AND `type` = 'list'";
|
||||
$result_articles = $conn->query($sql);
|
||||
$statLIST = mysqli_num_rows($result_articles);
|
||||
|
||||
$sql = "SELECT `id` FROM `VokabelBox2Content` WHERE `path` LIKE '$userid/%' AND `type` = 'lang'";
|
||||
$result_articles = $conn->query($sql);
|
||||
$statLANG = mysqli_num_rows($result_articles);
|
||||
|
||||
|
||||
?>
|
||||
|
||||
<div class="fixed-title">
|
||||
<h2>Mein Konto</h2>
|
||||
<button onclick="getContent('action:logout')">Abmelden <i class="fas fa-sign-out-alt"></i></button>
|
||||
</div>
|
||||
<div class="fixed-title-spacer">
|
||||
<div class="folder-view-wrapper">
|
||||
<div class="folder-divider">
|
||||
<span>Statistiken</span>
|
||||
</div>
|
||||
<div class="settings-section">
|
||||
<div class="left">
|
||||
<p>Anzahl Vokabeln</p>
|
||||
</div>
|
||||
<div class="right">
|
||||
<?php echo $statVOC; ?>/1000
|
||||
</div>
|
||||
<div style="clear: both;"></div>
|
||||
</div>
|
||||
<div class="settings-section">
|
||||
<div class="left">
|
||||
<p>Anzahl Listen</p>
|
||||
</div>
|
||||
<div class="right">
|
||||
<?php echo $statLIST; ?>/500
|
||||
</div>
|
||||
<div style="clear: both;"></div>
|
||||
</div>
|
||||
<div class="settings-section">
|
||||
<div class="left">
|
||||
<p>Anzahl Sprachen</p>
|
||||
</div>
|
||||
<div class="right">
|
||||
<?php echo $statLANG; ?>
|
||||
</div>
|
||||
<div style="clear: both;"></div>
|
||||
</div>
|
||||
<h6>Haben Sie die maximale Anzahl Vokabeln erreicht, werden Sie keine Vokabeln mehr hinzufügen können. Gleiches gilt für Listen.<br>Sollte sich Ihr Konto als echt erweisen, kann nach einer Kontaktaufnahme via tim@timvandenboom.de mehr Speicher zugewiesen werden.</h6>
|
||||
<div class="folder-divider">
|
||||
<span>Datenschutz</span>
|
||||
</div>
|
||||
<div class="form">
|
||||
<button onclick="getContent('takeout','','fade')" class="default-button">Takeout anfordern</button>
|
||||
</div>
|
||||
<p>Ein Takeout (Datenauskunft) beinhaltet alle gespeicherten Daten, die mit diesem Konto in Verbindung gebracht werden (gemäß DSGVO). Die Auskunft erfolgt sofort.</p>
|
||||
<br>
|
||||
<h6>Nicht enthalten sind Passwörter und automatisch generierte IDs, welche jedoch keinen Bezug auf Ihre Person haben.</h6>
|
||||
<div class="folder-divider">
|
||||
<span>Kontosicherheit</span>
|
||||
</div>
|
||||
<div class="form">
|
||||
<button onclick="getContent('verify-identity','change-email','scrollRight')" class="default-button">E-Mail ändern</button>
|
||||
</div>
|
||||
<div class="form">
|
||||
<button onclick="getContent('verify-identity','change-password','scrollRight')" class="default-button">Passwort ändern</button>
|
||||
</div>
|
||||
<div class="form">
|
||||
<button onclick="getContent('verify-identity','delete-account','scrollRight')" class="default-button">Konto löschen</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user