# acymailing/11.0.3/back/Partial/forms/footer.php

AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress, version 11.0.3. 72 lines.

- Page: https://pluginprobe.com/plugins/acymailing/11.0.3/code/back/Partial/forms/footer.php
- Raw: https://pluginprobe.com/plugins/acymailing/11.0.3/raw/back/Partial/forms/footer.php
- Modified: 2026-08-03T10:18:54+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/acymailing/11.0.3/code/back/Partial/forms/footer.php#L10-L20`.

```php
<?php
// phpcs:disable WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound -- View file, its variables are local to the include scope, not true globals.
defined('ABSPATH') || die('Restricted Access');
?>
<div id="acym_fulldiv_<?php echo esc_attr($form->form_tag_name); ?>" class="acym__subscription__form__footer acym__subscription__form-erase">
    <?php
    if ($edition) {
        echo '<form action="#" onsubmit="return false;" id="'.esc_attr($form->form_tag_name).'">';
    } else {
        $cookieExpiration = empty($form->settings['cookie']['cookie_expiration']) ? '1' : $form->settings['cookie']['cookie_expiration'];
        echo '<form acym-data-id="'.esc_attr($form->id).'" 
			acym-data-cookie="'.intval($cookieExpiration).'" 
			action="'.esc_url($form->form_tag_action).'" 
			id="'.esc_attr($form->form_tag_name).'" 
			name="'.esc_attr($form->form_tag_name).'" 
			enctype="multipart/form-data" 
			onsubmit="return submitAcymForm(\'subscribe\',\''.esc_attr($form->form_tag_name).'\', \'acymSubmitSubForm\')">';
    }
    $files = [
        0 => $form->settings['style']['position'] == 'button-right' ? 'fields' : 'button',
        1 => $form->settings['style']['position'] == 'button-right' ? 'button' : 'fields',
    ];

    include acym_getPartial('forms', $files[0]);
    include acym_getPartial('forms', $files[1]);
    include acym_getPartial('forms', 'hidden_params');

    echo '</form>';
    ?>
</div>
<style>
	<?php echo '#acym_fulldiv_'.esc_html($form->form_tag_name); ?>.acym__subscription__form__footer{
		position: fixed;
		bottom: 0;
		right: 0;
		left: 0;
		height: <?php echo esc_html($form->settings['style']['size']['height']); ?>px;
		background-color: <?php echo esc_html($form->settings['style']['background_color']); ?>;
		color: <?php echo esc_html($form->settings['style']['text_color']); ?> !important;
		padding: .5rem;
		z-index: 999999;
		text-align: center;
		display: flex;
		justify-content: center;
		align-items: center
	}

	<?php echo '#acym_fulldiv_'.esc_html($form->form_tag_name); ?>.acym__subscription__form__footer .responseContainer{
		margin-bottom: 0 !important;
		padding: .4rem !important;
	}

	<?php echo '#acym_fulldiv_'.esc_html($form->form_tag_name); ?>.acym__subscription__form__footer <?php echo '#'.esc_html($form->form_tag_name); ?>{
		margin: 0;
		display: flex;
		justify-content: center;
		align-items: center
	}

	<?php echo '#acym_fulldiv_'.esc_html($form->form_tag_name); ?>.acym__subscription__form__footer .acym__subscription__form__fields, <?php echo '#acym_fulldiv_'.esc_html($form->form_tag_name); ?>.acym__subscription__form__footer .acym__subscription__form__button{
		display: flex;
		justify-content: center;
		align-items: center
	}

	<?php echo '#acym_fulldiv_'.esc_html($form->form_tag_name); ?>
	.acym__users__creation__fields__title{
		margin: 0.5rem
	}
</style>
<?php if (!$edition) include acym_getPartial('forms', 'cookie'); ?>

```
