Este template muestra el listado de "mis mensajes" en el área privada de un cliente-usuario
<h1>Mis consultas</h1>
<?php if($_total > 0): ?>
<table class="account">
<tr>
<th>Remitente</th>
<th>Asunto</th>
<th class="date">Fecha</th>
</tr>
<?php while($_message->getNext()): ?>
<tr onclick="location.href='<?=$_message->getURL()?>'">
<td><?=$_message->get('userName')?></td>
<td><?=$_message->get('messages_subjects.name')?></td>
<td class="date"><?=$_front->date($_message->get('created'))?></td>
</tr>
<?php endwhile; ?>
</table>
<?php endif; ?>
<h2>Enviar nueva consulta</h2>
<form action="<?=$_SERVER['REQUEST_URI']?>" method="post" id="message">
<label>
Asunto
<select name="subjectId">
<?php while($_subject->getNext()): ?>
<option value="<?=$_subject->get('id')?>"><?=$_subject->get('name')?></option>
<?php endwhile; ?>
</select>
</label>
<label>
Mensaje
<textarea name="message" cols="20" rows="4"></textarea>
</label>
<button type="submit" name="new" class="button btn btn-primary" value="1">Enviar</button>
</form>