?>
</h6>

  <div class="content">
    <?php 
    echo $order->info['wrapping_message'];
    ?>
  </div>
</div>

<?php 
}
?>

<?php 
$Qstatus = $order->getStatusListing();
if ($Qstatus->numberOfRows() > 0) {
    ?>

<div class="moduleBox">
  <h6><?php 
    echo $osC_Language->get('order_history_heading');
    ?>
</h6>

  <div class="content">
    <table border="0" width="100%" cellspacing="0" cellpadding="2">

<?php 
    while ($Qstatus->next()) {
        echo '    <tr>' . "\n" . '      <td valign="top" width="70">' . osC_DateTime::getShort($Qstatus->value('date_added')) . '</td>' . "\n" . '      <td valign="top" width="200">' . $Qstatus->value('orders_status_name') . '</td>' . "\n" . '      <td valign="top">' . (!osc_empty($Qstatus->valueProtected('comments')) ? nl2br($Qstatus->valueProtected('comments')) : '&nbsp;') . '</td>' . "\n" . '    </tr>' . "\n";