Esempio n. 1
0
?>
</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 
        echo lc_image(DIR_WS_TEMPLATE_IMAGES . 'icons/16/search.png', $lC_Language->get('text_view'));