get_emails(); $types = $wpdb->get_results("select distinct type from " . NEWSLETTER_EMAILS_TABLE); $type_options = array(); foreach ($types as $type) { if ($type->type == 'followup') continue; if ($type->type == 'message') { $type_options[$type->type] = 'Standard Newsletter'; } else if ($type->type == 'feed') { $type_options[$type->type] = 'Feed by Mail'; } else if (strpos($type->type, 'automated') === 0) { list($a, $id) = explode('_', $type->type); $type_options[$type->type] = 'Automated Channel ' . $id; } else { $type_options[$type->type] = $type->type; } } ?>

init(); ?> type != 'message' && $email->type != 'feed') continue; ?>
Id Type      
id; ?> subject); ?> get_email_type_label($email)) ?> get_email_status_label($email)) ?> status == 'sent' || $email->status == 'sending') echo $email->sent . ' ' . __('of', 'newsletter') . ' ' . $email->total; ?> status == 'sent' || $email->status == 'sending') echo $module->format_date($email->send_on); ?> track == 1 ? 'Yes' : 'No'; ?> statistics