Repository navigation
Expand file tree
/
Copy pathmailchimp.php
More file actions
executable file
·27 lines (26 loc) · 1.57 KB
/
Copy pathmailchimp.php
File metadata and controls
executable file
·27 lines (26 loc) · 1.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?php
$mc_user = $GLOBALS['tag_var1'];
$mc_id = $GLOBALS['tag_var2'];
?>
<!--BEGIN mc_embed_signup-->
<link href="//cdn-images.mailchimp.com/embedcode/slim-10_7.css" rel="stylesheet" type="text/css" />
<style type="text/css">
#mc_embed_signup{background:#fff; clear:left; font:14px Helvetica,Arial,sans-serif; }
/* Add your own MailChimp form style overrides in your site stylesheet or in this style block.
We recommend moving this block and the preceding CSS link to the HEAD of your HTML file. */
</style>
<div id="mc_embed_signup">
<form action="//<?php echo $mc_user; ?>.us12.list-manage.com/subscribe/post?u=bbb495842a4ea2ed316ff0cba&id=<?php echo $mc_id; ?>" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
<div id="mc_embed_signup_scroll">
<label for="mce-EMAIL"><?php echo $GLOBALS['lang_mailchimp_subscribe_label']; ?></label>
<input type="email" value="" name="EMAIL" class="email" id="mce-EMAIL" placeholder="<?php echo $GLOBALS['lang_mailchimp_email_address']?>" required />
<!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
<div style="position: absolute; left: -5000px;" aria-hidden="true">
<input type="text" name="b_bbb495842a4ea2ed316ff0cba_<?php echo $mc_id; ?>" tabindex="-1" value="" />
</div>
<div class="clear">
<input type="submit" value="<?php echo $GLOBALS['lang_mailchimp_subscribe']; ?>" name="subscribe" id="mc-embedded-subscribe" class="button" />
</div>
</div>
</form>
</div><!--End mc_embed_signup-->