54 lines
1.7 KiB
HTML
54 lines
1.7 KiB
HTML
{block name="mall_top"}{include file='default/base/mall_top'/}{/block}
|
||
{block name="member_header"}{include file='default/base/member_header'/}{/block}
|
||
<div class="member_center_back">
|
||
<div class="dsm-container">
|
||
<div class="right-layout" style="margin-top:50px;">
|
||
|
||
|
||
<div class="dsm-default-form">
|
||
<form method="post" id="email_form" action="{:url('/index.php/home/Membersecurity/send_bind_email')}">
|
||
<dl>
|
||
<dt><i class="required">*</i>Bind email:</dt>
|
||
<dd>
|
||
<input type="text" class="text w180" maxlength="40" value="{$member_info.member_email}" name="email" id="email" />
|
||
<label for="email" generated="true" class="error"></label>
|
||
</dd>
|
||
</dl>
|
||
<dl class="bottom">
|
||
<dt> </dt>
|
||
<dd>
|
||
<input type="submit" class="submit" value="Send verification email" />
|
||
</dd>
|
||
</dl>
|
||
</form>
|
||
</div>
|
||
|
||
|
||
<script type="text/javascript">
|
||
$(function(){
|
||
$('#email_form').validate({
|
||
submitHandler:function(form){
|
||
ds_ajaxpost('email_form', 'url', '{:url('/index.php/home/Membersecurity/index')}')
|
||
},
|
||
rules : {
|
||
email : {
|
||
required : true,
|
||
email : true
|
||
}
|
||
},
|
||
messages : {
|
||
email : {
|
||
required : '<i class="iconfont"></i>Please fill in the email correctly',
|
||
email : '<i class="iconfont"></i>Please fill in the email correctly'
|
||
}
|
||
}
|
||
});
|
||
});
|
||
</script>
|
||
|
||
</div>
|
||
<div class="clear"></div>
|
||
</div>
|
||
</div>
|
||
{block name="mall_server"}{include file='default/base/mall_server'/}{/block}
|
||
{block name="mall_footer"}{include file='default/base/mall_footer'/}{/block} |