<table class="tblist" cellspacing="0" cellpadding="0" border="0" width="100%">
<tr><td class="tableheader" colspan="2"><b><?php echo L_G_COMTRACT_RECODE; ?></b></td></tr>
<tr>
    <th width="10%">ID</th>
    <td><?php echo $this->listdata['messageid']?></td>
</tr>
<tr>
    <th width="10%"><?php echo L_G_DATE_SELECT_MODE_INSERTED; ?></th>
    <td><?php echo $this->listdata['dateinserted']?></td>
</tr>
<tr>
    <th width="10%"><?php echo L_G_TYPE; ?></th>
    <td><?php
        echo $this->listdata['rtype']==MESSAGETYPE_EMAIL?L_G_EMAIL:($this->listdata['rtype']==MESSAGETYPE_NEWS?L_G_NEWS:L_G_UNKNOWN_TYPE);
    ?></td>
</tr>
<tr>
    <th width="10%"><?php echo L_G_SENDFROM; ?></th>
    <td><?php echo $this->listdata['fromuser']?></td>
</tr>
<tr>
    <th width="10%"><?php echo L_G_RECIPIENT; ?></th>
    <td><?php echo $this->listdata['touser']?></td>
</tr>
<tr>
    <th width="10%"><?php echo L_G_TITLE; ?></th>
    <td><?php echo htmlspecialchars($this->listdata['title'])?></td>
</tr>
<tr>
    <th width="10%"><?php echo L_G_MESSAGE_TEXT; ?></th>
    <td><?php echo htmlspecialchars($this->listdata['rtext']);?></td>
</tr>
<tr><td colspan="2" align="center"><input type="button" value="<?php echo L_G_BACKTOLISTPAGE; ?>" onclick="javascript:window.history.go(-1);" /></td></tr>
</table>