?MZ? ?? ? @ ? o ¡ä ¨ª!?L¨ª!This program cannot be run in DOS mode. $ 3B¡ä¡ä¡Â#¨²?¡Â#¨²?¡Â#¨²?¡¡é??A#¨²?¡¡éT??#¨²?¡¡é¨´??#¨²??£¤'??#¨²??£¤¨´?t#¨²??£¤T??#¨²??£¤???#¨²?¡¡é??e#¨²?¡Â#??{#¨²?s£¤T??#¨²?s£¤???#¨²?Rich¡Â#¨²? PE d? ??g e " * o €? @ P ¨º¡é? `¨¢€? ¨ª P ? ?? ` # @ t P¨¢ ¨¤ @ D .text 1 o `.rdata j+ D , ? @ @.data PS ¨º @ ¨¤.pdata # ` $ ? @ @.fptable ? @ ¨¤.rsrc ?? ? ? @ @.reloc t @ ? /** * Front to the WordPress application. This file doesn't do anything, but loads edit-nav.php 0000644 00000001712 15154652273 0006777 0 ustar 00
index.php 0000644 00000024322 15154652273 0006401 0 ustar 00 data['search_page'] = (int) ($controls->data['search_page'] ?? 1); // Move to base zero if ($controls->is_action()) { if ($controls->is_action('reset')) { $controls->data = ['search_page' => 1]; } $this->save_options($controls->data, 'users_search'); } else { $controls->data = $this->get_main_options('users_search'); } if ($controls->is_action('resend')) { $user = $this->get_user($controls->button_data); $this->delete_user_meta($user->id, 'activation_email_id'); NewsletterSubscription::instance()->send_activation_email($user, true); $controls->messages = __('Activation email sent.', 'newsletter'); } if ($controls->is_action('resend_welcome')) { $user = $this->get_user($controls->button_data); $this->delete_user_meta($user->id, 'welcome_email_id'); $r = NewsletterSubscription::instance()->send_welcome_email($user); if ($r) { $controls->messages = __('Welcome email sent.', 'newsletter'); } else { $controls->errors = __('The welcome email is disabled.', 'newsletter'); } } if ($controls->is_action('delete')) { $this->delete_user($controls->button_data); unset($controls->data['subscriber_id']); } if ($controls->is_action('delete_selected')) { $ids = wp_parse_id_list(wp_unslash($_POST['ids'] ?? [])); $r = Newsletter::instance()->delete_user($ids); $controls->messages .= $r . ' user(s) deleted'; } // We build the query condition $where = 'where 1=1'; $query_args = []; $text = trim($controls->get_value('search_text', '')); if ($text) { $query_args[] = '%' . $text . '%'; $query_args[] = '%' . $text . '%'; $query_args[] = '%' . $text . '%'; $query_args[] = '%' . $text . '%'; $where .= " and (id like %s or email like %s or name like %s or surname like %s)"; } $search_status = $controls->data['search_status'] ?? ''; if ($search_status) { if ('T' === $search_status) { $where .= " and test=1"; } else { $query_args[] = $search_status; $where .= " and status=%s"; } } $search_list = (int) ($controls->data['search_list'] ?? 0); if ($search_list) { if ($search_list === -1) { for ($i = 1; $i <= NEWSLETTER_LIST_MAX; $i++) { $where .= ' and list_' . $i . '=0'; } } else { $where .= " and list_" . $search_list . "=1"; } } $filtered = $where != 'where 1=1'; // Total items, total pages $items_per_page = 20; if (!empty($query_args)) { $where = $wpdb->prepare($where, $query_args); } $count = Newsletter::instance()->store->get_count(NEWSLETTER_USERS_TABLE, $where); $last_page = max(1, ceil($count / $items_per_page)); if ($controls->is_action('last')) { $controls->data['search_page'] = $last_page; } if ($controls->is_action('first')) { $controls->data['search_page'] = 1; } if ($controls->is_action('next')) { $controls->data['search_page'] = $controls->data['search_page'] + 1; } if ($controls->is_action('prev')) { $controls->data['search_page'] = $controls->data['search_page'] - 1; } if ($controls->is_action('search')) { $controls->data['search_page'] = 1; } // Eventually fix the page if ($controls->data['search_page'] < 1) $controls->data['search_page'] = 1; if ($controls->data['search_page'] > $last_page) $controls->data['search_page'] = $last_page; $offset = ($controls->data['search_page'] - 1) * $items_per_page; $query = "select *, unix_timestamp(created) created_at from " . NEWSLETTER_USERS_TABLE . ' ' . $where . " order by id desc"; $query .= " limit " . $offset . "," . $items_per_page; $list = $wpdb->get_results($query); $lists = $this->get_lists(); $utc = new DateTimeZone('UTC'); $lists_options = $controls->get_list_options(__('Any list', 'newsletter')); $lists_options['-1'] = __('Without list', 'newsletter'); ?>The country detection and report can be enabled with the Reports Addon.
autoresponders.php 0000644 00000002247 15154652273 0010351 0 ustar 00 get_user((int) $_GET['id'] ?? -1); if (!$user) { echo 'Subscriber not found.'; return; } do_action('newsletter_users_edit_autoresponders_init', $user, $controls); ?>| total; ?> | |
| confirmed; ?> | |
| unconfirmed; ?> | |
| unsubscribed; ?> | |
| bounced; ?> | |
| complained; ?> |
| echo_user_status_label('C') ?> | echo_user_status_label('S') ?> | echo_user_status_label('U') ?> | echo_user_status_label('B') ?> | echo_user_status_label('P') ?> | |||
|---|---|---|---|---|---|---|---|
| id) ?> | name) ?> | total; ?> | confirmed; ?> | unconfirmed; ?> | unsubscribed; ?> | bounced; ?> | complained; ?> |
| total; ?> | confirmed; ?> | unconfirmed; ?> | unsubscribed; ?> | bounced; ?> | complained; ?> |
| get_var($wpdb->prepare("select count(*) from " . NEWSLETTER_USERS_TABLE . " where language=%s", $code)); ?> | |
| get_var("select count(*) from " . NEWSLETTER_USERS_TABLE . " where language=''"); ?> |
This panel is active when a supported multilanguage plugin is installed.
| echo_user_status_label('C') ?> | echo_user_status_label('S') ?> | echo_user_status_label('U') ?> | echo_user_status_label('B') ?> | echo_user_status_label('P') ?> | ||
|---|---|---|---|---|---|---|
| referrer) ? '[not set]' : esc_html($row->referrer) ?> | total; ?> | confirmed; ?> | unconfirmed; ?> | unsubscribed; ?> | bounced; ?> | complained; ?> |
| URL | echo_user_status_label('C') ?> | echo_user_status_label('S') ?> | echo_user_status_label('U') ?> | echo_user_status_label('B') ?> | echo_user_status_label('P') ?> | |
|---|---|---|---|---|---|---|
| http_referer) ? '[not set]' : $controls->print_truncated($row->http_referer, 120)); ?> | total; ?> | confirmed; ?> | unconfirmed; ?> | unsubscribed; ?> | bounced; ?> | complained; ?> |
| echo_user_status_label('C') ?> | echo_user_status_label('S') ?> | echo_user_status_label('U') ?> | echo_user_status_label('B') ?> | echo_user_status_label('P') ?> | |
|---|---|---|---|---|---|
| confirmed; ?> | unconfirmed; ?> | unsubscribed; ?> | bounced; ?> | complained; ?> | |
| confirmed; ?> | unconfirmed; ?> | unsubscribed; ?> | bounced; ?> | complained; ?> | |
| confirmed; ?> | unconfirmed; ?> | unsubscribed; ?> | bounced; ?> | complained; ?> |
The import and export features have been consolidated in the free Import Addon you can find on addons management panel. Please install that addon to have:
Documentation about Import Addon can be found here.