| Server IP : 38.190.208.107 / Your IP : 216.73.217.46 Web Server : nginx/1.28.1 System : Linux ht2026040333114 6.1.0-10-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.37-1 (2023-07-03) x86_64 User : root ( 0) PHP Version : 8.2.28 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv,eval,assert,passthru,system,exec,shell_exec,popen,proc_open MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /www/wwwroot/wp.5/wp-content/plugins/mailchimp-for-wp/includes/views/ |
Upload File : |
<?php
defined('ABSPATH') or exit;
?>
<div id="mc4wp-admin" class="wrap mc4wp-settings">
<p class="mc4wp-breadcrumbs">
<span class="prefix"><?php echo esc_html__('You are here: ', 'mailchimp-for-wp'); ?></span>
<span class="current-crumb"><strong>Mailchimp for WordPress</strong></span>
</p>
<div class="mc4wp-row">
<div class="main-content mc4wp-col">
<h1 class="mc4wp-page-title">
Mailchimp for WordPress: <?php echo esc_html__('API Settings', 'mailchimp-for-wp'); ?>
</h1>
<h2 style="display: none;"></h2>
<?php
settings_errors();
$this->messages->show();
?>
<form action="<?php echo esc_attr(admin_url('options.php')); ?>" method="post">
<?php settings_fields('mc4wp_settings'); ?>
<table class="form-table">
<tr valign="top">
<th scope="row">
<?php echo esc_html__('Status', 'mailchimp-for-wp'); ?>
</th>
<td>
<?php
if ($connected) {
?>
<span class="mc4wp-status positive"><?php echo esc_html__('CONNECTED', 'mailchimp-for-wp'); ?></span>
<?php
} else {
?>
<span class="mc4wp-status neutral"><?php echo esc_html__('NOT CONNECTED', 'mailchimp-for-wp'); ?></span>
<?php
}
?>
</td>
</tr>
<tr valign="top">
<th scope="row"><label for="mailchimp_api_key"><?php echo esc_html__('API Key', 'mailchimp-for-wp'); ?></label></th>
<td>
<input type="text" class="widefat" placeholder="<?php echo esc_attr__('Your Mailchimp API key', 'mailchimp-for-wp'); ?>" id="mailchimp_api_key" name="mc4wp[api_key]" value="<?php echo esc_attr($obfuscated_api_key); ?>" <?php echo defined('MC4WP_API_KEY') ? 'readonly="readonly"' : ''; ?> />
<p class="description">
<?php echo esc_html__('The API key for connecting with your Mailchimp account.', 'mailchimp-for-wp'); ?>
<a target="_blank" href="https://admin.mailchimp.com/account/api"><?php echo esc_html__('Get your API key here.', 'mailchimp-for-wp'); ?></a>
</p>
<?php
if (defined('MC4WP_API_KEY')) {
echo '<p class="description">', wp_kses(__('You defined your Mailchimp API key using the <code>MC4WP_API_KEY</code> constant.', 'mailchimp-for-wp'), [ 'code' => [] ]), '</p>';
}
?>
</td>
</tr>
</table>
<?php submit_button(); ?>
</form>
<?php
do_action('mc4wp_admin_after_general_settings');
if (! empty($opts['api_key'])) {
echo '<hr />';
include __DIR__ . '/parts/lists-overview.php';
}
require __DIR__ . '/parts/admin-footer.php';
?>
</div>
<div class="mc4wp-sidebar mc4wp-col">
<?php require __DIR__ . '/parts/admin-sidebar.php'; ?>
</div>
</div>
</div>