get_results('SELECT DISTINCT user_id FROM '.$wpdb->prefix.'wpsc_logged_subscriptions', ARRAY_A); //echo "
".print_r($results).""; echo "
".__('User ID', 'wpsc')." | ".__('Name', 'wpsc')." | ".__('Email', 'wpsc')." | ".__('Registered Date', 'wpsc')." | ".__('Suspend', 'wpsc')."/".__('Activate', 'wpsc')." | "; echo "
---|---|---|---|---|
"; echo $user_info[0]['ID']; echo " | "; echo ""; echo $user_info[0]['display_name']; echo " | "; echo ""; echo $user_info[0]['user_email']; echo " | "; echo ""; echo $user_info[0]['user_registered']; echo " | "; echo ""; if ($user_subscription[0]['active']==1) { echo ""; } else { echo ""; } echo " | "; echo "