403Webshell
Server IP : 104.21.93.192  /  Your IP : 216.73.216.73
Web Server : LiteSpeed
System : Linux premium900.web-hosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
User : redwjova ( 1790)
PHP Version : 8.1.32
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : ON |  Perl : ON |  Python : ON |  Sudo : OFF |  Pkexec : OFF
Directory :  /home/redwjova/fyntric.com/wp-content/themes/smart-mag/blocks/newsletter/html/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /home/redwjova/fyntric.com/wp-content/themes/smart-mag/blocks/newsletter/html/newsletter.php
<?php
/**
 * Newsletter form.
 * 
 * @var \Bunyad\Blocks\Newsletter $block
 */
$props = $block->get_props();

?>
<div class="block-newsletter <?php echo esc_attr($props['scheme'] === 'dark' ? 's-dark' : ''); ?>">
	<div class="<?php echo esc_attr($props['classes']); ?>">

		<div class="bg-wrap"></div>

		<?php if ($props['image_type'] === 'full'): ?>
			<?php $block->the_image(); ?>
		<?php endif; ?>

		<div class="inner">

			<?php if ($props['icon']): ?>
				<div class="<?php echo esc_attr($props['icon']); ?>-icon">
					<i class="tsi tsi-envelope-o"></i>
				</div>
			<?php endif; ?>

			<?php if (!in_array($props['image_type'], ['none', 'full'])): ?>
				<?php $block->the_image(); ?>
			<?php endif; ?>

			<h3 class="heading">
				<?php echo esc_html($props['headline']); ?>
			</h3>

			<?php if ($props['message']): ?>
				<div class="base-text message">
					<?php echo wpautop(wp_kses_post($props['message'])); ?></div>
			<?php endif; ?>

			<?php if ($props['service'] === 'mailchimp'): ?>
				<form method="post" action="<?php echo esc_url($props['submit_url']); ?>" class="form fields-style fields-<?php echo esc_attr($props['fields_style']); ?>" target="_blank">
					<div class="main-fields">
						<p class="field-email">
							<input type="email" name="EMAIL" placeholder="<?php esc_attr_e('Your email address..', 'bunyad'); ?>" required />
						</p>
						
						<p class="field-submit">
							<input type="submit" value="<?php echo esc_attr($props['submit_text']); ?>" />
						</p>
					</div>

					<?php if ($props['disclaimer']): ?>
						<p class="disclaimer">
							<label>
								<?php if ($props['checkbox']): ?>
									<input type="checkbox" name="privacy" required />
								<?php endif; ?>

								<?php echo wp_kses_post($props['disclaimer']); ?>
							</label>
						</p>
					<?php endif; ?>
				</form>
			<?php endif; ?>

			<?php $block->the_custom_form(); ?>

		</div>
	</div>
</div>

Youez - 2016 - github.com/yon3zu
LinuXploit