<?php
if(count($this->okMessages) > 0) { ?>

    <table align="center" class="okMsgTable mb10" border=0 cellspacing=0 cellpadding=2>
    <tr>
        <td class="okMessageHeader">
        <?php echo L_G_SUCCESS?>
        </td>
    </tr>
    <tr>
        <td class="okMessage" align=left valign=top>
        <ul>
<?php      foreach($this->okMessages as $msg) { ?>
            <li><?php echo $msg?></li>
<?php      } ?>
        </ul>
        </td>
    </tr>
    </table>
<?php }

if(count($this->errorMessages) > 0) { ?>

    <table align="center" class="errorMsgTable mb10" border=0 cellspacing=0 cellpadding=2>
    <tr>
        <td class="errorMessageHeader">
        <?php echo L_G_ERROR?>
        </td>
    </tr>
    <tr>
        <td class="errorMessage" align=left valign=top>
        <ul>
<?php      foreach($this->errorMessages as $msg) { ?>
            <li><?php echo $msg?></li>
<?php      } ?>
        </ul>
        </td>
    </tr>
    </table>
<?php } ?>

