div_pendings.php
31 lines
| 1.5 KiB
| text/x-php
|
XmlPhpLexer
|
r0 | <div id="content_pendings"> | |
<span class="etiqueta">Pendings</span> | |||
<table cellspacing="0" > | |||
<tr class="header"> | |||
<th style="width:25px;"> </th> | |||
<th style="text-align:left">Topic</th> | |||
<th style="text-align:left">Sender</th> | |||
<th style="text-align:left">Date</th> | |||
</tr> | |||
<?php | |||
$j = $lista_mensajes->rowCount(); | |||
if($j>0){ | |||
while($datos_mensaje = $lista_mensajes->fetch()){ | |||
?> | |||
<tr> | |||
<td style="width:25px; border-bottom:1px solid #babeb1;"> </td> | |||
<td style="width:auto;border-bottom:1px solid #babeb1;"><a href="javascript:actualizar('contenido','?controller=MailBoxes&action=getMessageMailbox&idmailbox=<?php echo($idmailbox); ?>&idmessage=<?php echo($datos_mensaje["idmessage"]); ?>&inicio=<?php echo($inicio); ?>');"><?php echo $datos_mensaje['subject'];?></a></td> | |||
<td style="width:220px;border-bottom:1px solid #babeb1;"><?php echo $datos_mensaje['from'];?></td> | |||
<td style="width:140px;border-bottom:1px solid #babeb1;"><?php echo $datos_mensaje['date_message'];?></td> | |||
</tr> | |||
<?php | |||
} | |||
}else{ | |||
?> | |||
<tr><td colspan="5" style="border-bottom:1px solid #babeb1;">Pendings not found</td></tr> | |||
<?php } ?> | |||
<tr class="limpio"> | |||
<td colspan="6" align="right"><a class="opcion" href="javascript:actualizar('contenido','?controller=MailBoxes&action=getMessagesInbox&idmailbox=<?php echo$idmailbox; ?>');">View all</a></td> | |||
</tr> | |||
</table> | |||
</div> |