Files
GestioneSpiaggia.it/application/modules/monitoring/views/scripts/index/loginviiemails/get.phtml
T
2021-09-17 12:41:45 +02:00

65 lines
2.0 KiB
PHTML

<p><i class="fa fa-fw fa-link"></i> Data: <br><?= $this->DataInvio; ?></p>
<div><i class="fa fa-fw fa-envelope"></i> Messaggio:</div>
<div class="form-box-container" style="padding: 10px;">
<?= $this->message; ?>
</div>
<div><i class="fa fa-fw fa-code"></i> Processed:</div>
<div class="table-responsive">
<table class="table table-striped table-bordered">
<tbody>
<tr>
<th>Id</th>
<th>Email</th>
<th>Stato Precedente</th>
<th>Nuovo Stato</th>
</tr>
<?php if(count($this->processed_emails) <= 0): ?>
<tr>
<td colspan="4">Nessun invio</td>
</tr>
<?php else: ?>
<?php foreach ($this->processed_emails as $key => $value): ?>
<tr>
<td><?= $value['EmailId']; ?></td>
<td><?= $value['EmailDestinatario']; ?></td>
<td><?= $value['StatoPrecedente']; ?></td>
<td><?= $value['NuovoStato']; ?></td>
</tr>
<?php endforeach; ?>
<?php endif; ?>
</tbody>
</table>
</div>
<br>
<div><i class="fa fa-fw fa-list"></i> Errori:</div>
<div class="table-responsive" style="padding: 0;">
<table class="table table-striped">
<tbody>
<tr>
<th>EmailId</th>
<th>Email</th>
<th>StatoPrecedente</th>
<th>Message</th>
</tr>
<?php if(count($this->errors) <= 0): ?>
<tr>
<td colspan="4">Nessun errore</td>
</tr>
<?php else: ?>
<?php foreach ($this->errors as $key => $value): ?>
<tr>
<td><?= $value['EmailId']; ?></td>
<td><?= $value['EmailDestinatario']; ?></td>
<td><?= $value['StatoPrecedente']; ?></td>
<td><?= $value['message']; ?></td>
</tr>
<?php endforeach; ?>
<?php endif; ?>
</tbody>
</table>
</div>