HEX
Server: LiteSpeed
System: Linux server315.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User: globfdxw (6114)
PHP: 8.1.34
Disabled: NONE
Upload Files
File: /home/globfdxw/public_html/wp-content/plugins/wpforms-pdf/templates/pdf/notification-compact.php
<?php
/**
 * PDF: Notification Compact template.
 *
 * @since 1.0.0
 *
 * @var array  $appearance Appearance options.
 * @var string $content    Content.
 * @var array  $texts      Text elements.
 */

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

// phpcs:disable WordPress.Security.EscapeOutput.OutputNotEscaped
?>
<style>
	body, table, h1, h2, h3, h4, h5, h6, p, td, th, a {
		font-family: <?php echo $appearance['font']; ?> !important;
	}

	body {
		background-color: <?php echo $appearance['page_background_color']; ?>;
		margin: 0 !important;
	}

	@page {
		background-color: <?php echo $appearance['page_background_color']; ?>;
	}

	.content-wrapper {
		background: <?php echo $appearance['container_background_color']; ?>;
	}

	.content, .content table td, .content p, .content a, .content span, .content div {
		color: <?php echo $appearance['text_color']; ?>;
		font-size: <?php echo $appearance['font_size']; ?>;
		font-family: <?php echo $appearance['font']; ?> !important;
	}

	.content a {
		color: <?php echo $appearance['link_color']; ?>;
	}

</style>

<div class="page-background"></div>

<div class="container-content container-background-fill">
	<table class="logo-container" data-align="<?php echo $appearance['logo_position']; ?>" data-size="<?php echo $appearance['logo_size']; ?>">
		<tr>
			<td>
				<img class="logo" src="<?php echo $appearance['logo_url']; ?>">
			</td>
		</tr>
	</table>

	<div class="content-wrapper">
		<div class="content">
			<?php echo $content; ?>
		</div>
		<div class="footer">
			<?php esc_html_e( 'Sent from', 'wpforms-pdf' ); ?>
			<a href="<?php echo esc_url( home_url() ); ?>"><?php echo esc_html( $texts['sender_name'] ); ?></a>
		</div>
	</div>
</div>