90 lines
4.0 KiB
PHP
90 lines
4.0 KiB
PHP
<?php include('includes/header.php'); ?>
|
|
|
|
<?= alertMessage() ?>
|
|
<div class="row">
|
|
<div class="col-6">
|
|
<h5 class="fw-semibold mb-4">Profil</h5>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-6">
|
|
<div class="mb-3">
|
|
<label class="form-label">Vorname</label>
|
|
<input type="text" value="<?= $studentInfos['data']['firstname'] ;?>" readonly class="form-control">
|
|
</div>
|
|
</div>
|
|
<div class="col-6">
|
|
<div class="mb-3">
|
|
<label class="form-label">Nachname</label>
|
|
<input type="text" value="<?= $studentInfos['data']['lastname'] ;?>" readonly class="form-control">
|
|
</div>
|
|
</div>
|
|
<div class="col-6">
|
|
<div class="mb-3">
|
|
<label class="form-label">Benutzer-ID</label>
|
|
<input type="text" value="<?= $studentInfos['data']['userid'] ;?>" readonly class="form-control">
|
|
</div>
|
|
</div>
|
|
<div class="col-6">
|
|
<div class="mb-3">
|
|
<label class="form-label">Geburtsdatum</label>
|
|
<input type="date" value="<?= $studentInfos['data']['dateofbirth'] ;?>" readonly class="form-control">
|
|
</div>
|
|
</div>
|
|
<div class="col-6">
|
|
<div class="mb-3">
|
|
<label class="form-label">Geschlecht</label>
|
|
<input type="text" value="<?= $studentInfos['data']['gender'];?>" readonly class="form-control">
|
|
</div>
|
|
</div>
|
|
<div class="col-6">
|
|
<div class="mb-3">
|
|
<label class="form-label">Klasse</label>
|
|
<input type="text" value="<?= $studentInfos['data']['classDisplayName'];?>" readonly class="form-control">
|
|
</div>
|
|
</div>
|
|
<div class="col-6">
|
|
<div class="mb-3">
|
|
<label class="form-label">E-Mail Schüler:in</label>
|
|
<input type="text" value="<?= $studentInfos['data']['emailstudent'] ;?>" readonly class="form-control">
|
|
</div>
|
|
</div>
|
|
<div class="col-6">
|
|
<div class="mb-3">
|
|
<label class="form-label">E-Mail Elternteil 1</label>
|
|
<input type="text" value="<?= $studentInfos['data']['emailparent1'] ;?>" readonly class="form-control">
|
|
</div>
|
|
</div>
|
|
<div class="col-6">
|
|
<div class="mb-3">
|
|
<label class="form-label">E-Mail Elternteil 2</label>
|
|
<input type="text" value="<?= $studentInfos['data']['emailparent2'] ;?>" readonly class="form-control">
|
|
</div>
|
|
</div>
|
|
<p>Bitte melde dich bei deiner Klassenlehrperson oder bei der Schulleitung, um Änderungen an deinem Konto vorzunehmen.</p>
|
|
</div>
|
|
<div class="row mt-3">
|
|
<h5 class="fw-semibold mb-4">Kennwort ändern</h5>
|
|
</div>
|
|
<form action="code.php" method="POST">
|
|
<input type="hidden" name="userid" value="<?= $studentInfos['data']['id'];?>" required>
|
|
<div class="row">
|
|
<div class="col-6">
|
|
<div class="mb-3">
|
|
<label class="form-label">Kennwort eingeben</label>
|
|
<input name="password" type="password" class="form-control">
|
|
</div>
|
|
</div>
|
|
<div class="col-6">
|
|
<div class="mb-3">
|
|
<label class="form-label">Kennwort bestätigen</label>
|
|
<input name="passwordconfirm" type="password" class="form-control">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="text-center mb-4">
|
|
<button type="submit" name="updatepassword" class="btn btn-info mx-3"><i class="ti ti-check"></i> Kennwort ändern</button>
|
|
</div>
|
|
</form>
|
|
|
|
<?php include('includes/footer.php'); ?>
|