241 lines
9.6 KiB
Smarty
241 lines
9.6 KiB
Smarty
|
|
{* INCLUDE HEADER CODE *}
|
||
|
|
{include file="header_modal.tpl"}
|
||
|
|
{literal}
|
||
|
|
<script data-cookieconsent="ignore" type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
|
||
|
|
<div id="confirmemailaddress">
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<style>@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@500&display=swap');
|
||
|
|
body{background:black!important;}
|
||
|
|
html{overflow:hidden!important;}
|
||
|
|
/*.reportdiv{padding-left:20px;font-family: 'Ubuntu', sans-serif !important; letter-spacing: .5px!important; line-height:160%; text-align:left; padding-right:20px}*/
|
||
|
|
.reportdiv tr{height:30px;}
|
||
|
|
.reportdiv textarea{max-width:390px; width:100%;}
|
||
|
|
.orangetitle{color: #f68302; font-family: 'Ubuntu', sans-serif;}
|
||
|
|
.modal-content{background: #000000; border:1px solid #333333;}
|
||
|
|
.upload-btn-wrapper {
|
||
|
|
position: relative;
|
||
|
|
overflow: hidden;
|
||
|
|
display: inline-block;
|
||
|
|
}
|
||
|
|
|
||
|
|
.btn {
|
||
|
|
background: #000 url("/images/uploadbutton.png") no-repeat fixed left;
|
||
|
|
background-size: 200px;
|
||
|
|
padding:0px;
|
||
|
|
background-color: none;
|
||
|
|
width:214px; height:41px;
|
||
|
|
border-radius: 8px;
|
||
|
|
font-size: 0px;
|
||
|
|
font-weight: bold;
|
||
|
|
}
|
||
|
|
|
||
|
|
.upload-btn-wrapper input[type=file] {
|
||
|
|
font-size: 100px;
|
||
|
|
position: absolute;
|
||
|
|
left: 0;
|
||
|
|
top: 0;
|
||
|
|
opacity: 0;
|
||
|
|
}
|
||
|
|
.reportsubmit{background:#f78e00 !important; padding:5px 35px!important; font-size:16px!important; border:0px !important; font-family: 'Ubuntu', sans-serif !important; letter-spacing: .5px;}
|
||
|
|
.grey{color:#8a8a8a !important; letter-spacing: .5px;}
|
||
|
|
.reportcancel{padding:5px 15px!important; background:none!important; border:none!important; margin-right:40px; font-size:16px!important; font-family: 'Ubuntu', sans-serif !important; letter-spacing: .5px;}</style>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
{/literal}
|
||
|
|
|
||
|
|
{if $appop==1}
|
||
|
|
|
||
|
|
<div class="reportdiv">
|
||
|
|
<h2 class="orangetitle"><strong>Hey Bator!</strong></h2>
|
||
|
|
<div id="success_formemailcorrect" style="display: none;margin-top:20px; "><span class="changetoerror">Thank you!</span><img src="https://bateworld.com/nocdn/emailcorrect.gif">
|
||
|
|
<img src="https://www.google-analytics.com/collect?v=2&tid=G-NR5CPDK&cid=555&t=event&en=EmailIsCorrect">
|
||
|
|
|
||
|
|
</div>
|
||
|
|
<div id="success_formemailcorrect1" style="display: none;margin-top:20px; "><span class="changetoerror">Thank you!</span><img src="https://bateworld.com/nocdn/emailincorrect.gif"></div>
|
||
|
|
|
||
|
|
<div id="error_formemailcorrect1" style="display: none;margin-top:20px; ">There was an error with your email address. Please change it in settings<img src="https://bateworld.com/nocdn/emailincorrect.gif"></div>
|
||
|
|
|
||
|
|
<div style="text-align:left; margin-top:20px;" id="form_formemailcorrect">
|
||
|
|
|
||
|
|
It's been a while since you updated your contact info. Is
|
||
|
|
this still the best place for us to reach you?<br>
|
||
|
|
<br>
|
||
|
|
|
||
|
|
<div class="showemailcurrent">{$user->user_info.user_email}</div>
|
||
|
|
|
||
|
|
<div id="showupdateemail" style="display:none;">{literal}<form method="post" action="emailconfirm.php" id="formemailcorrect1" onsubmit="if(jQuery('#emailaddressupdate').val()!=jQuery('#emailaddressupdate1').val()){jQuery('#emailerror').show(); return false;}">{/literal}
|
||
|
|
<div id="emailerror" style="color:red; display:none; font-size:12px;">Emails don't match</div>
|
||
|
|
<div style="font-size:18px; margin-bottom:20px;">Update Your Email:</div>
|
||
|
|
|
||
|
|
<input type="email" placeholder="Enter Email" name="emailaddressupdate" id="emailaddressupdate" style="max-width: 390px; width: 100%; color:black;" required><br><br>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<input type="email" placeholder="Confirm Email" name="emailaddressupdate1" id="emailaddressupdate1" style="max-width: 390px; width: 100%; color:black;" required> <input type="hidden" name="task" value="updateemail">
|
||
|
|
<br>
|
||
|
|
<div style="margin-top:20px;">Remember: Your email address is also your login, and how BateWorld will communicate with you about your account.</div><br>
|
||
|
|
<br>
|
||
|
|
<br>
|
||
|
|
<br>
|
||
|
|
<div class="pull-left"><a href="https://support.bateworld.com/KnowledgeBase/Details/?id=166-Do-I-have-to-have-an-email-address%3F" target="_blank" class="grey" style="font-size:10px;" previewlistener="true">FAQ: Why does BateWorld need my email?</a></div>
|
||
|
|
<div class="pull-right">
|
||
|
|
|
||
|
|
<input type="submit" class=" reportsubmit" value="Update"></div>
|
||
|
|
|
||
|
|
</form>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
<div class="showemailcurrent">
|
||
|
|
<br>
|
||
|
|
<br>
|
||
|
|
|
||
|
|
<br>
|
||
|
|
|
||
|
|
|
||
|
|
<div class="col-sm-3"> <input type="submit" class=" reportsubmit" value="No" onclick="jQuery('.showemailcurrent').hide();jQuery('#showupdateemail').show();" style="max-width:50%; float:left; margin-top:10px;"></div><div class="col-sm-3" style="max-width:50%; float:left; margin-top:10px;"><form action="emailconfirm.php" method="post" id="formemailcorrect"><input type="hidden" name="task" value="emailcorrect"><input type="submit" class=" reportsubmit" value="Yep!"></form></div>
|
||
|
|
</div>
|
||
|
|
<div class="clearfix clear"></div>
|
||
|
|
|
||
|
|
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
{elseif $appop==2}
|
||
|
|
|
||
|
|
<div class="reportdiv">
|
||
|
|
<h2 class="orangetitle"><strong>Hey Bator!</strong></h2>
|
||
|
|
|
||
|
|
|
||
|
|
<div id="success_formemailcorrect2" style="display: none;margin-top:20px; "><span class="changetoerror">Thank you!</span></div>
|
||
|
|
<div id="success_formemailcorrect3" style="display: none;margin-top:20px; "><span class="changetoerror">Thank you!</span><img src="https://bateworld.com/nocdn/emailincorrectforcedchange.gif"></div>
|
||
|
|
<div style="text-align:left; margin-top:20px;" id="form_formemailcorrect">
|
||
|
|
|
||
|
|
The email address connected to your BateWorld account is currently unable to receive mail from us. You'll need to update it to continue enjoying the site.<br>
|
||
|
|
<br>
|
||
|
|
|
||
|
|
<div id="showupdateemail">
|
||
|
|
|
||
|
|
{literal}<form method="post" action="emailconfirm.php" id="formemailcorrect1" onsubmit="if(jQuery('#emailaddressupdate').val()!=jQuery('#emailaddressupdate1').val()){jQuery('#emailerror').show(); return false;}">{/literal}<div style="font-size:18px; margin-bottom:20px;">
|
||
|
|
<div id="emailerror" style="color:red; display:none; font-size:12px;">Emails don't match</div>
|
||
|
|
Update Your Email:</div>
|
||
|
|
|
||
|
|
<input type="email" placeholder="Enter Email" name="emailaddressupdate" id="emailaddressupdate" style="max-width: 390px; width: 100%; color:black;" required><br>
|
||
|
|
<br>
|
||
|
|
|
||
|
|
|
||
|
|
<input type="email" placeholder="Confirm Email" name="emailaddressupdate1" id="emailaddressupdate1" style="max-width: 390px; width: 100%; color:black;" required> <input type="hidden" name="task" value="updateemail">
|
||
|
|
<br>
|
||
|
|
<div style="margin-top:20px;">Remember: Your email address is also your login, and how BateWorld will communicate with you about your account.</div><br>
|
||
|
|
<br>
|
||
|
|
<br><div class="col-centered hidden-lg hidden-md hidden-sm center-block text-center center-text">
|
||
|
|
|
||
|
|
<input type="submit" class=" reportsubmit" value="Update"></div>
|
||
|
|
<br>
|
||
|
|
<div class="pull-left"><a href="https://support.bateworld.com/KnowledgeBase/Details/?id=166-Do-I-have-to-have-an-email-address%3F" target="_blank" class="grey" style="font-size:10px;" previewlistener="true">FAQ: Why does BateWorld need my email?</a></div>
|
||
|
|
<div class="pull-right hidden-xs">
|
||
|
|
|
||
|
|
<input type="submit" class=" reportsubmit" value="Update"></div>
|
||
|
|
|
||
|
|
</form>
|
||
|
|
|
||
|
|
<div class="clearfix clear"></div>
|
||
|
|
|
||
|
|
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
|
||
|
|
</div>
|
||
|
|
|
||
|
|
|
||
|
|
{/if}
|
||
|
|
</div>
|
||
|
|
|
||
|
|
{if $appop==1}
|
||
|
|
<script src="/include/js/jquery.form.js"></script>
|
||
|
|
{literal}
|
||
|
|
<script>
|
||
|
|
jQuery(function(){
|
||
|
|
jQuery('#formemailcorrect').ajaxForm({
|
||
|
|
success: function(data){
|
||
|
|
if(data=="700"){jQuery(".changetoerror").html("This email address is in use");}
|
||
|
|
else if(data!=""){jQuery(".changetoerror").html("An error has occurred");}
|
||
|
|
jQuery('#form_formemailcorrect').hide();
|
||
|
|
jQuery('#success_formemailcorrect').show();
|
||
|
|
setTimeout("parent.location.reload()", 5000);
|
||
|
|
|
||
|
|
}
|
||
|
|
});
|
||
|
|
|
||
|
|
|
||
|
|
jQuery('#formemailcorrect1').ajaxForm({
|
||
|
|
success: function(data){
|
||
|
|
if(data=="700"){jQuery(".changetoerror").html("This email address is in use");}
|
||
|
|
else if(data!=""){jQuery(".changetoerror").html("An error has occurred");}
|
||
|
|
jQuery('#form_formemailcorrect').hide();
|
||
|
|
jQuery('#success_formemailcorrect1').show();
|
||
|
|
setTimeout("parent.location.reload()", 5000);
|
||
|
|
|
||
|
|
}
|
||
|
|
});
|
||
|
|
|
||
|
|
jQuery(".close").hide();
|
||
|
|
jQuery('#myModal').unbind("click");
|
||
|
|
|
||
|
|
// jQuery(".modal-dialog").css("width", "500px");
|
||
|
|
|
||
|
|
|
||
|
|
});
|
||
|
|
</script>
|
||
|
|
{/literal}
|
||
|
|
{elseif $appop==2}
|
||
|
|
<script src="/include/js/jquery.form.js"></script>
|
||
|
|
|
||
|
|
|
||
|
|
{literal}
|
||
|
|
<script>
|
||
|
|
jQuery(function(){
|
||
|
|
jQuery('#formemailcorrect').ajaxForm({
|
||
|
|
success: function(data){
|
||
|
|
if(data=="700"){jQuery(".changetoerror").html("This email address is in use");}
|
||
|
|
else if(data!=""){jQuery(".changetoerror").html("An error has occurred");}
|
||
|
|
jQuery('#form_formemailcorrect').hide();
|
||
|
|
jQuery('#success_formemailcorrect2').show();
|
||
|
|
setTimeout("parent.location.reload()", 5000);
|
||
|
|
|
||
|
|
}
|
||
|
|
});
|
||
|
|
|
||
|
|
jQuery('#formemailcorrect1').ajaxForm({
|
||
|
|
success: function(data){
|
||
|
|
if(data=="700"){jQuery(".changetoerror").html("This email address is in use");}
|
||
|
|
else if(data!=""){jQuery(".changetoerror").html("An error has occurred");}
|
||
|
|
jQuery('#form_formemailcorrect').hide();
|
||
|
|
jQuery('#success_formemailcorrect3').show();
|
||
|
|
setTimeout("parent.location.reload()", 5000);
|
||
|
|
|
||
|
|
}
|
||
|
|
});
|
||
|
|
|
||
|
|
jQuery(".close").hide();
|
||
|
|
jQuery('#myModal').unbind("click");
|
||
|
|
|
||
|
|
// jQuery(".modal-dialog").css("width", "500px");
|
||
|
|
|
||
|
|
|
||
|
|
});
|
||
|
|
</script>
|
||
|
|
{/literal}
|
||
|
|
{/if}
|
||
|
|
|
||
|
|
</body>
|
||
|
|
</html>
|