<?php global $ainex; ?>
<script type="text/javascript">
    //<![CDATA[
    	var ajaxurl = '<?php echo get_admin_url(); ?>admin-ajax.php';
    //]]>
</script>
<div class="domain-search">
	<form class="has-return-msg" id="rss-subscribe" action="save_email.php" method="post" data-opening-error-msg="Email was not added - error here." data-success-msg="Email successfully added." data-ajax-fail-msg="Ajax could not contact the script." data-email-not-set-msg="<?php echo sanitize_text_field($ainex['opt-form-validation-email']); ?>">
	    <input name="email" class="form-control" type="text" placeholder="<?php echo $ainex['opt-subscribe-form-email-label']; ?>" />
	    <input type="submit" class="btn btn-orange" value="<?php echo $ainex['opt-subscribe-form-button-label']; ?>" />
	    <div class="ajax-loader"></div>
	    <div class="return-msg"></div>
	</form>
</div>