Uname: Linux premium294.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
Software: LiteSpeed
PHP version: 8.1.32 [ PHP INFO ] PHP os: Linux
Server Ip: 104.21.48.1
Your Ip: 216.73.216.223
User: mjbynoyq (1574) | Group: mjbynoyq (1570)
Safe Mode: OFF
Disable Function:
NONE

name : Support.php
<?php
/**
 * Class for Admin Support
 *
 * @package   PopupMaker
 * @copyright Copyright (c) 2024, Code Atlantic LLC
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

/**
 * Class PUM_Admin_Support
 */
class PUM_Admin_Support {

	/**
	 * Support Page
	 *
	 * Renders the support page contents.
	 */
	public static function page() {
		?>
		<style>
			.pum-secure-notice {
				position: fixed;
				top: 32px;
				left: 160px;
				right: 0;
				background: #ebfdeb;
				padding: 10px 20px;
				color: green;
				z-index: 9999;
				box-shadow: 0 2px 2px rgba(6, 113, 6, 0.3);
				opacity: 0.95;
				filter: alpha(opacity=95);
			}

			#pum-support-frame {
				margin: 40px 0 -65px -20px;
			}

			#pum-support-frame iframe {
				width: 100%;
				border: 0;
				transition: scroll .5s;
			}
		</style>
		<div class="pum-secure-notice">
			<i class="dashicons dashicons-lock"></i>
			<span><?php echo wp_kses( __( '<b>Secure HTTPS contact page</b>, running via iframe from external domain', 'popup-maker' ), [ 'b' => [] ] ); ?> </span>
			<i class="dashicons dashicons-info" title="https://api.wppopupmaker.com/dashboard-support/"></i>
		</div>
		<div id="pum-support-frame" class="wrap">
			<script type="text/javascript">
				(function ($) {
					var frame = $('<iframe scrolling="no">')
						.css({height: '535px'})
						.attr('src', 'https://api.wppopupmaker.com/dashboard-support/')
						.appendTo('#pum-support-frame');

					frame.iFrameResize({
						checkOrigin: false
					});
				})(jQuery);
			</script>
		</div>

		<?php
	}
}
© 2025 XylotrechusZ