Files
vij/blocks/mobile-subscript.php
2025-03-02 12:13:30 +03:00

18 lines
1.0 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
$ihash = add_hash_frm();?>
<div class="mob-subscript">
<div class="right_title"><?=vij_lang('email_title', LANG_VERSION)?></div>
<div id="subscript-mail">
<form class="form-right" id="form-right" action="https://vetandlife.ru/subscript" method="post">
<input сlass="frm_mail" type="email" required name="email" placeholder="<?=vij_lang('your_mail', LANG_VERSION);?>">
<?php wp_nonce_field('subscription_form_nonce', 'subscription_nonce'); ?>
<input type="text" class="mytext" name="mytext" placeholder="Дополнительный текст">
<input type="hidden" name="re_code" value="<?=$ihash['hash']?>">
<div class="re_text">и выберите большее число</div>
<button class="re_button" type="submit" name="re_num" value="<?=$ihash['num1'] ?>"><?= $ihash['num1'] ?></button>
<button class="re_button" type="submit" name="re_num" value="<?= $ihash['num2'] ?>"><?= $ihash['num2'] ?></button>
</form>
</div>
</div>