* or write to the Free Software Foundation, Inc., 51 Franklin St, * Fifth Floor, Boston, MA 02110-1301 USA **/ // no direct access defined('ABSPATH') or die('Restricted Access'); if ($_SERVER['REQUEST_METHOD'] == 'POST' && !wp_verify_nonce($_REQUEST['_wpnonce'], 'chimpxpress-import')) { die('Invalid request!'); } if (isset($_POST['type'])) { $type = $_POST['type']; } else if (isset($_GET['type'])) { $type = $_GET['type']; } else { $type = 1; } ?>

chimpXpress

method != 'direct') { $chimpxpress = new chimpxpress; $ftpstream = ftp_connect($chimpxpress->settings['ftpHost']); $login = ftp_login($ftpstream, $chimpxpress->settings['ftpUser'], $chimpxpress->settings['ftpPasswd']); $ftproot = ftp_chdir($ftpstream, $chimpxpress->settings['ftpPath']); $adminDir = ftp_chdir($ftpstream, 'wp-admin'); if ($wp_filesystem->method != 'direct' && ( !$chimpxpress->settings['ftpHost'] || !$chimpxpress->settings['ftpUser'] || !$chimpxpress->settings['ftpPasswd'] || !$ftpstream || !$login || !$ftproot || !$adminDir ) ) { ?>



campaigns(['status' => 'sent', 'count' => 10, 'offset' => 0]); ?>



        


        



showMessages();