echo $lC_Language->get('text_status'); ?> </th> <th><?php echo $lC_Language->get('text_items'); ?> </th> <th><?php echo $lC_Language->get('text_total'); ?> </th> </tr> </thead> <tbody> <?php if (lC_Order::numberOfEntries() > 0) { $Qhistory = lC_Order::getListing(MAX_DISPLAY_ORDER_HISTORY); while ($Qhistory->next()) { if (!lc_empty($Qhistory->value('delivery_name'))) { $order_type = $lC_Language->get('order_shipped_to'); $order_name = $Qhistory->value('delivery_name'); } else { $order_type = $lC_Language->get('order_billed_to'); $order_name = $Qhistory->value('billing_name'); } ?> <tr> <td><a href="<?php echo lc_href_link(FILENAME_ACCOUNT, 'receipt=' . $Qhistory->valueInt('orders_id'), 'SSL'); ?> "><?php