HEX
Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.30
System: Linux iZj6c1151k3ad370bosnmsZ 3.10.0-1160.76.1.el7.x86_64 #1 SMP Wed Aug 10 16:21:17 UTC 2022 x86_64
User: root (0)
PHP: 7.4.30
Disabled: NONE
Upload Files
File: /var/www/html/www.winghung.com/wp-content/plugins/conversational-forms/ui/emails/email-preview.php
<?php
/**
 * View for email preview
 *
 * @package Caldera_Forms Modified by QuantumCloud
 * @author    Josh Pollock <Josh@CalderaWP.com>
 * @license   GPL-2.0+
 * @link
 * @copyright 2016 CalderaWP LLC
 */

if( ! defined( 'ABSPATH' ) || ! isset( $message, $headers ) ){
	exit;
}
status_header( 200 );
header( "Content-Type: text/html" );
header( "Pragma: public" );
header( "Expires: 0" );
header( "Cache-Control: no-cache, must-revalidate, post-check=0, pre-check=0" );

?>
<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title><?php esc_html_e( 'Qcformbuilder Forms Email Preview', 'qcformbuilder-forms' ); ?></title>
	<style>
		body {
			background-color: #DFDFDF;
		}
		#wrap {
			margin-top: 20%;
			position: relative;

		}
		#inner {
			width: 80%;
			padding: 24px;
			background-color: #fff;
			position: absolute;
			top: 50%;
			left: 50%;
			transform: translate(-50%, -50%);
		}
		#headers {
			border-bottom: 1px solid #DFDFDF;
		}

		pre {
			display: inline;
		}
	</style>
</head>
<body>

<div id="wrap">
	<div id="inner">
		<div id="headers" class="item">
			<?php echo $headers; ?>
		</div>
		<div id="message">
			<?php echo $message; ?>
		</div>
	</div>
</div>

</body>
</html>