32 lines
1.1 KiB
PHP
32 lines
1.1 KiB
PHP
|
<?php include(__DIR__."/../layout/top.php"); ?>
|
||
|
<div class="row">
|
||
|
<div class="col-md-12">
|
||
|
<h3>E-Mail adresses</h3>
|
||
|
<table class="table">
|
||
|
<tr>
|
||
|
<th>User ID</th>
|
||
|
<th>Mail</th>
|
||
|
<th>Actions</th>
|
||
|
</tr>
|
||
|
<?php
|
||
|
foreach($mails as $mail) {
|
||
|
?>
|
||
|
<tr>
|
||
|
<td><?php echo $mail->user_id; ?></td>
|
||
|
<td><?php echo $mail->mail; ?></td>
|
||
|
<td>
|
||
|
<?php
|
||
|
if($mail->status == "waiting") {
|
||
|
echo '<a href="/gui/mailValidation/'.$mail->id.'/'.$mail->validation_code.'" class="btn btn-danger btn-sm">Aktivieren</a>';
|
||
|
}
|
||
|
?>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<?php
|
||
|
}
|
||
|
?>
|
||
|
|
||
|
</table>
|
||
|
</div>
|
||
|
</div>
|
||
|
<?php include(__DIR__."/../layout/bottom.php"); ?>
|