BOX_HEADING_CUSTOMER_ORDERS); new infoBoxHeading($info_box_contents, false, false); $product_ids = ''; while ($orders = tep_db_fetch_array($orders_query)) { $product_ids .= (int)$orders['products_id'] . ','; } $product_ids = substr($product_ids, 0, -1); $customer_orders_string = ''; $products_query = tep_db_query("select products_id, products_name from " . TABLE_PRODUCTS_DESCRIPTION . " where products_id in (" . $product_ids . ") and language_id = '" . (int)$languages_id . "' order by products_name"); while ($products = tep_db_fetch_array($products_query)) { $customer_orders_string .= ' ' . ' ' . ' ' . ' '; } $customer_orders_string .= '
' . $products['products_name'] . '' . tep_image(DIR_WS_ICONS . 'cart.gif', ICON_CART) . '
'; $info_box_contents = array(); $info_box_contents[] = array('text' => $customer_orders_string); new infoBox($info_box_contents); ?>