?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 get_user((int) $_GET['id'] ?? -1); if (!$user) { echo 'Subscriber not found.'; return; } if ($controls->is_action('save')) { $controls->data = wp_kses_post_deep($controls->data); $email = $this->sanitize_email($controls->data['email']); if (empty($email)) { $controls->errors = esc_html__('Wrong email address', 'newsletter'); } else { $controls->data['email'] = $email; } if (empty($controls->errors)) { $u = $this->get_user($controls->data['email']); if ($u && $u->id != $user->id) { $controls->errors = esc_html__('The email address is already in use', 'newsletter'); } } if (empty($controls->errors)) { // For unselected preferences, force the zero value for ($i = 1; $i <= NEWSLETTER_LIST_MAX; $i++) { if (!isset($controls->data['list_' . $i])) { $controls->data['list_' . $i] = 0; } } if (empty($controls->data['token'])) { $controls->data['token'] = $this->get_token(); } $controls->data['id'] = $user->id; // Sanitize $controls->data['name'] = $this->sanitize_name($controls->data['name']); $controls->data['surname'] = $this->sanitize_name($controls->data['surname']); $controls->data['wp_user_id'] = (int) $controls->data['wp_user_id']; for ($i = 1; $i <= NEWSLETTER_PROFILE_MAX; $i++) { if (isset($controls->data['profile_' . $i])) { $controls->data['profile_' . $i] = $this->sanitize_user_field($controls->data['profile_' . $i]); } } $user = $this->save_user($controls->data); $this->add_user_log($user, 'edit'); //$this->save_user_meta($id, 'ip', $controls->data['ip']); if ($user === false) { $controls->errors = esc_html__('Error. Check the log files.', 'newsletter'); } else { $controls->add_toast_saved(); $controls->data = (array) $user; } } } if ($controls->is_action('delete')) { $this->delete_user($user->id); $controls->js_redirect($this->get_admin_page_url('index')); return; } if (!$controls->is_action()) { $controls->data = (array) $user; } $options_profile = NewsletterSubscription::instance()->get_options('customfields'); function percent($value, $total) { if ($total == 0) { return '-'; } return sprintf("%.2f", $value / $total * 100) . '%'; } function percentValue($value, $total) { if ($total == 0) { return 0; } return round($value / $total * 100); } ?>