set_snapshot(); tep_redirect(tep_href_link(FILENAME_LOGIN, '', 'SSL')); } require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_MY_POINTS); $breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_MY_POINTS, '', 'SSL')); ?> > <?php echo TITLE; ?>
HEADING_TITLE); new infoBoxHeadingProduct($info_box_contents,true,true,100); ?>
CURDATE()"); $points = tep_db_fetch_array($points_query); if (tep_db_num_rows($points_query)) { ?> ' . TEXT_NO_POINTS . ''; } ?>
format(tep_calc_shopping_pvalue($points['customers_shopping_points']))); ?> ' . MY_POINTS_EXPIRE . ' ' . tep_date_short($points['customers_points_expires']); ?>
sql_query); if (tep_db_num_rows($pending_points_query)) { ?>
' . TEXT_POINTS_CANCELLED . ''; if ($pending_points['points_status'] == 4) $points_status_name = '' . TEXT_POINTS_REDEEMED . ''; if ($orders_status['orders_status'] == 2 && $pending_points['points_status'] == 1 || $orders_status['orders_status'] == 3 && $pending_points['points_status'] == 1) { $points_status_name = TEXT_POINTS_PROCESSING; } if (($pending_points['points_type'] == SP) && ($pending_points['points_comment'] == 'TEXT_DEFAULT_COMMENT')) { $pending_points['points_comment'] = TEXT_DEFAULT_COMMENT; } if($pending_points['points_comment'] == 'TEXT_DEFAULT_REDEEMED') { $pending_points['points_comment'] = TEXT_DEFAULT_REDEEMED; } if ($pending_points['points_type'] == RF) { $referred_name_query = tep_db_query("SELECT customers_name FROM " . TABLE_ORDERS . " WHERE orders_id = '" . $pending_points['orders_id'] . "' LIMIT 1"); $referred_name = tep_db_fetch_array($referred_name_query); if ($pending_points['points_comment'] == 'TEXT_DEFAULT_REFERRAL') { $pending_points['points_comment'] = TEXT_DEFAULT_REFERRAL; } } if (($pending_points['points_type'] == RV) && ($pending_points['points_comment'] == 'TEXT_DEFAULT_REVIEWS')) { $pending_points['points_comment'] = TEXT_DEFAULT_REVIEWS; } if (($pending_points['orders_id'] > 0) && (($pending_points['points_type'] == SP)||($pending_points['points_type'] == RD))) { ?> ' . TEXT_STATUS_ADMINISTATION . ''; $pending_points['orders_id'] = '' . TEXT_ORDER_ADMINISTATION . ''; } ?>