45 lines
1.7 KiB
Smarty
45 lines
1.7 KiB
Smarty
{*
|
|
@author Eldar
|
|
@copyright Hire-Experts LLC
|
|
@version Mass Email/Message Pro 2.01
|
|
*}
|
|
{include file='header.tpl'}
|
|
|
|
<script type="text/javascript">
|
|
{literal}
|
|
function check_subscribe_email(){
|
|
var pattern=/^([a-zA-Z0-9_.-])+@([a-zA-Z0-9_.-])+\.([a-zA-Z])+([a-zA-Z])+/;
|
|
if(pattern.test($('subscribe_email').value)) {
|
|
$('subscribe_error_email').style.display='none';
|
|
return true;
|
|
}
|
|
else {
|
|
$('subscribe_error_email').style.display='block';
|
|
return false;
|
|
}
|
|
}
|
|
{/literal}
|
|
</script>
|
|
|
|
<div class="he_message_cont" style="height: auto;">
|
|
<div id="he_message" {if $message}class="he_message_{$message.type}"{else}style="display: none;"{/if}>
|
|
<span class="t">{if $message.title}{$message.title}{/if}</span>
|
|
<span class="c">{if $message.text}{$message.text}{/if}</span>
|
|
</div>
|
|
</div>
|
|
|
|
<img src='./images/icons/he_mass_mail_unsubscribe.gif' border='0' class='icon_big'>
|
|
<div class='page_header'>{lang_print id=690693012}</div>
|
|
<div>{lang_print id=690693011}</div>
|
|
<br />
|
|
|
|
<form action="newsletter_unsubscribe.php" method="POST" onsubmit="if( !check_subscribe_email() ) return false;">
|
|
<input type="hidden" name="task" value="unsubscribe" />
|
|
<div style="padding-bottom:4px;">
|
|
<input type="text" class="text" name="subscribe_email" id="subscribe_email" value="{lang_print id=690693008}" onclick="if( this.value=='{lang_print id=690693008}' ) this.value='';" onkeyup="check_subscribe_email();" size="26" />
|
|
<div id="subscribe_error_email" style="display:none;">{lang_print id=690693010}</div>
|
|
</div>
|
|
<input type="submit" class="button" value="{lang_print id=690693006}" /> <a href="home.php">{lang_print id=690693013}</a>
|
|
</form>
|
|
|
|
{include file='footer.tpl'} |