Files
Testing/templates/lostpassword.tpl
sean 0e8a8b3028
Some checks are pending
deploy-testing / deploy (push) Waiting to run
Initial testing snapshot
2026-11-17 16:15:01 -05:00

582 lines
16 KiB
Smarty

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>Lost Password for BateWorld</title>
{literal}
<style>
body {
top: 0px !important;
}
body > .skiptranslate {
display: none;
}
.goog-te-banner-frame {
display: none !important;
/* top: initial !important; */
/* bottom: 0 !important; */
}
.goog-te-gadget {
display: none !important;
}
#done1{display:none;}
input {
padding-left: 10px !important;
}
*::-webkit-input-placeholder {
color: #ff9900 !important;
font-size: 10px !important;
}
*:-moz-placeholder {
/* FF 4-18 */
color: #ff9900 !important;
font-size: 8px !important;
}
*::-moz-placeholder {
/* FF 19+ */
color: #ff9900 !important;
font-size: 8px !important;
}
*:-ms-input-placeholder {
/* IE 10+ */
color: #ff9900 !important;
font-size: 8px !important;
}
body {
top: 0px !important;
}
body > .skiptranslate {
display: none;
}
.goog-te-banner-frame {
display: none !important;
/* top: initial !important; */
/* bottom: 0 !important; */
}
.goog-te-gadget {
display: none !important;
}
input.brws::-webkit-input-placeholder {
color: rgb(98, 26, 98) !important;
}
input.brws:-moz-placeholder {
/* FF 4-18 */
color: rgb(98, 26, 98) !important;
}
input.brws::-moz-placeholder {
/* FF 19+ */
color: rgb(98, 26, 98) !important;
}
input.brws:-ms-input-placeholder {
/* IE 10+ */
color: rgb(98, 26, 98) !important;
}
.form-group {
width: 100%;
}
input {
color: #ff9900 !important;
}
.txt-ppercase {
text-transform:uppercase;
}
.stile {
color: white !important;
font-size: 10px !important;
}
.help-block {
margin-top: 0px !important;
margin-bottom: 0px !important;
}
.btn-group {
line-height: 29px !important;
height: 29px !important;
}
.dropdown-toggle {
font-size: 12px !important;
}
.fa-sort {
font-size: 14px !important;
}
.fa-sort:hover, fa-sort:focus {
color: #333;
}
.selectDiv {
line-height:28px;
margin:0px;
padding:0px;
position: relative;
z-index:100;
border-top-right-radius: 15px;
border-bottom-right-radius: 15px;
}
.selectDefault {
padding-left:8px;
}
.selectDiv select {
margin:0px;
padding:0px;
opacity:0;
filter:alpha(opacity=0);
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
display:block;
z-index:101;
}
.selectDiv select:focus {
outline: none;
}
input {
line-height: 29px !important;
height: 29px !important;
border-top-right-radius: 15px !important;
border-bottom-right-radius: 15px !important;
}
.add-on {
padding-right: 2px !important;
}
#test-setDate {
border-top-right-radius: 15px !important;
border-bottom-right-radius: 15px !important;
}
select {
line-height: 29px !important;
height: 29px !important;
}
.selectDefaultA {
line-height: 29px !important;
height: 29px !important;
}
.selectDefault, .selectDiv option {
font-family:arial;
font-size:12px;
}
.selectDiv {
font-size: 12px;
}
.small-def {
font-size: 10px !important;
line-height: normal !important;
padding-top: 1px !important;
}
textarea {
background: url(graphics/comment_bg.png) left top no-repeat; /* This ruins default border */
background-size: cover !important;
width:100%;
border-radius: 12px;
padding-left: 10px;
padding-top: 10px;
}
/* medium screen desktops ----------- */
@media only screen
and (min-width : 1200px) {
textarea {
height: 160px !important;
}
}
@media only screen
and (min-device-width : 320px)
and (max-device-width : 568px)
and (orientation : portrait) {
#iphon5-pRight {
padding-left: 0 !important;
}
#iphon5-pLeft {
padding-right: 0 !important;
}
}
#lan-desk::-webkit-scrollbar {
width: 9px;
height: 9px;
}
#lan-desk::-webkit-scrollbar-thumb {
border-radius: 4px;
background-color: #ff9900;
color: #fff;
}
#lan-desk::-webkit-scrollbar-track {
background: #7C200F;
border-radius: 4px;
border: 1px solid #ff9900;
}
.generic-title p {
font-family: 'exo_2.0medium';
}
.generic-title::-webkit-scrollbar {
width: 9px;
height: 9px;
}
.generic-title::-webkit-scrollbar-thumb {
border-radius: 4px;
background-color: #ff9900;
color: #fff;
}
.generic-title::-webkit-scrollbar-track {
background: rgba(124, 32, 15, 0.49);
border-radius: 4px;
border: 1px solid rgba(255, 153, 0, 0.06);
}
.orangebg {
background: #fea611 !important;
}
/* iPad 2 (portrait) ----------- */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) {
.modal {
overflow-y: auto !important;
}
}
/* iPad 3 (portrait) ----------- */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 2) {
.modal {
overflow-y: auto !important;
}
}
/* iPhone 4 (landscape) ----------- */
@media only screen and (min-device-width: 320px) and (max-device-width: 480px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 2) {
.modal {
overflow-y: auto !important;
z-index: 51000 !important;
padding-top: 4px;
margin-top: -157px !important;
}
}
/* iPhone 4 (portrait) ----------- */
@media only screen and (min-device-width: 320px) and (max-device-width: 480px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 2) {
.modal {
overflow-y: auto !important;
z-index: 51000 !important;
padding-top: 4px;
}
}
/* iPhone 5 (landscape) ----------- */
@media only screen and (min-device-width: 320px) and (max-device-height: 568px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 2) {
.modal {
overflow-y: auto !important;
z-index: 51000 !important;
padding-top: 4px;
margin-top: -157px !important;
}
}
/* iPhone 5 (portrait) ----------- */
@media only screen and (min-device-width: 320px) and (max-device-height: 568px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 2) {
.modal {
overflow-y: auto !important;
z-index: 51000 !important;
}
}
/* iPhone 6 (landscape) ----------- */
@media only screen and (min-device-width: 375px) and (max-device-height: 667px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 2) {
.modal {
overflow-y: auto !important;
z-index: 51000 !important;
padding-top: 4px;
margin-top: -157px !important;
}
}
/* iPhone 6 (portrait) ----------- */
@media only screen and (min-device-width: 375px) and (max-device-height: 667px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 2) {
.modal {
overflow-y: auto !important;
z-index: 51000 !important;
}
}
/* iPhone 6+ (landscape) ----------- */
@media only screen and (min-device-width: 414px) and (max-device-height: 736px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 2) {
.modal {
overflow-y: auto !important;
z-index: 51000 !important;
padding-top: 4px;
margin-top: -157px !important;
}
}
/* iPhone 6+ (portrait) ----------- */
@media only screen and (min-device-width: 414px) and (max-device-height: 736px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 2) {
.modal {
overflow-y: auto !important;
z-index: 51000 !important;
}
}
/* Samsung Galaxy S3 (landscape) ----------- */
@media only screen and (min-device-width: 320px) and (max-device-height: 640px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 2) {
.modal {
overflow-y: auto !important;
z-index: 51000 !important;
padding-top: 4px;
margin-top: -157px !important;
}
}
/* Samsung Galaxy S3 (portrait) ----------- */
@media only screen and (min-device-width: 320px) and (max-device-height: 640px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 2) {
.modal {
overflow-y: auto !important;
z-index: 51000 !important;
}
}
/* Samsung Galaxy S4 (landscape) ----------- */
@media only screen and (min-device-width: 320px) and (max-device-height: 640px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 3) {
.modal {
overflow-y: auto !important;
z-index: 51000 !important;
padding-top: 4px;
margin-top: -157px !important;
}
}
/* Samsung Galaxy S4 (portrait) ----------- */
@media only screen and (min-device-width: 320px) and (max-device-height: 640px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 3) {
.modal {
overflow-y: auto !important;
z-index: 51000 !important;
}
}
/* Samsung Galaxy S5 (landscape) ----------- */
@media only screen and (min-device-width: 360px) and (max-device-height: 640px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 3) {
.modal {
overflow-y: auto !important;
z-index: 51000 !important;
padding-top: 4px;
margin-top: -157px !important;
}
}
/* Samsung Galaxy S5 (portrait) ----------- */
@media only screen and (min-device-width: 360px) and (max-device-height: 640px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 3) {
.modal {
overflow-y: auto !important;
z-index: 51000 !important;
}
}
/* Smartphones (portrait) -- -- -- -- -- - */
@media only screen
and (max-width : 320px) {
.modal {
overflow-y: auto !important;
z-index: 51000 !important;
}
}
/* Smartphones (landscape) ----------- */
@media only screen
and (min-device-width : 321px)
and (max-device-width : 480px) {
.modal {
overflow-y: auto !important;
z-index: 51000 !important;
padding-top: 4px;
margin-top: -157px !important;
}
}
</style>
</head>
{/literal}
{* $Id: fablostpass.tpl 133 2009-03-22 20:16:35Z john $ *}
<div class="modal-header" style="border:none;">
<button type="button" class="close main-bg-color alt-text-color orangebg" data-dismiss="modal" aria-hidden="true"><i class="fa fa-times"></i></button>
<h4 class="modal-title" id="myModalLabel"><span style="color:#fea611;text-transform:uppercase;font-family:'exo_2.0medium';">{lang_print id=33}</span></h4>
</div>
<div class="modal-body" style="margin-top:0;">
<div class="generic-title" style="overflow-y:auto;height:350px;color:white;text-align:justify;padding-right:10px;">
<p>
{lang_print id=34}
</p>
<li style="padding-bottom:10px;list-style: none;">
{* SHOW SUCCESS MESSAGE IF NO ERROR *}
{* if $submitted == 1 AND $is_error == 0}
<span id="sent">{lang_print id=35}</span>
{else *}
{if $is_error==745}
If your email and username match, you will receive an email with further instructions. If your profile is inactive then a reactivation request has been received and you will be notified when your profile has been reactivated.
{elseif $submitted == 1 AND $is_error == 0}If your email and username match was found in the database you will receive an email with further instructions. If your profile is inactive then a reactivation request has been received and you will be notified when your profile has been reactivated.
{elseif $is_error != 0}If your email and username match was found in the database you will receive an email with further instructions. If your profile is inactive then a reactivation request has been received and you will be notified when your profile has been reactivated.
{/if}
</li>
{if $is_error!=745}
<p><form id="myform-lostpass" class="form-inline" action="lostpassword.php" method="POST">
<div class="col-sm-12 text-pad main-el lap lap-left">
<ul class="adult-content itab" id="left-clmn" style="font-size: calc(1em + 0.1vw);list-style: none;text-align: left;padding-bottom: 20px;padding-left:0 !important;">
<li style="padding-bottom:10px;">
<div class="form-group">
<label class="sr-only" for="emailAddress">{lang_print id=37}</label>
<div class="input-group" style="border-radius: 20px;background: white;">
<div class="input-group-addon frmLbl-pad" style="border: none;background: transparent;font-family: 'exo_2.0medium';color: rgb(98, 26, 98);padding-top: 0;padding-bottom: 0;min-width: 125px;">
<div class="astersk" style="float: left;height: 28px;vertical-align: middle;"><i class="fa fa-asterisk" style="font-size: calc(1em + 0.1vw);color: #ff9900;margin-top: 50%;margin-bottom: 50%;"></i></div>
<div class="astersk" style="text-align: left;padding-top: 1px;height:28px;">&nbsp;EMAIL<br>&nbsp;ADDRESS</div>
</div>
<input type="text" class="form-control txt-ppercase" name="user_email" id="emailAddress" placeholder="(EMAIL)" style="text-transform: none;border: none;padding: 4px;" required>
<div class="help-block with-errors"></div>
</div>
</div>
</li>
<li style="padding-bottom:10px;">
<div class="form-group">
<label class="sr-only" for="user_name">{lang_print id=37}</label>
<div class="input-group" style="border-radius: 20px;background: white;">
<div class="input-group-addon frmLbl-pad" style="border: none;background: transparent;font-family: 'exo_2.0medium';color: rgb(98, 26, 98);padding-top: 0;padding-bottom: 0;min-width: 125px;">
<div class="astersk" style="float: left;height: 28px;vertical-align: middle;"><i class="fa fa-asterisk" style="font-size: calc(1em + 0.1vw);color: #ff9900;margin-top: 50%;margin-bottom: 50%;"></i></div>
<div class="astersk" style="text-align: left;padding-top: 8px;height:28px;">&nbsp;USERNAME</div>
</div>
<input type="text" class="form-control txt-ppercase" name="user_name" id="user_name" placeholder="(USERNAME)" style="text-transform: none;border: none;padding: 4px;" required>
<div class="help-block with-errors"></div>
</div>
</div>
</li>
<li style="padding-bottom:10px;">
<div class="form-group">
<input type="checkbox" value="1" id="confirmemailsend" name="agree" required>
<label for="confirmemailsend" style="color:#ffffff !important;"><span style="position: relative;top: -6px;min-width: 110px;font-size:8px;font-size: calc(0.9em); font-family: 'exo_2.0medium';">By checking this box, you are stating that you own the email address entered and that you wish to receive an email with instructions on how to reset your password</span></label>
<div class="help-block with-errors"></div>
</div>
</li>
</ul>
</div>
<h1 class="main-size" style="text-align: left;padding-top: 0px;font-size: calc(1em + 0.2vw); color: white;"><button id="Lpbut" type="submit" name="SubmitMe" class="btn btn-primary disabled" style="pointer-events: all; cursor: pointer; font-size: calc(1em + 0.1vw); font-family: 'exo_2.0black'; border: none; color: white; text-shadow: none; opacity: 1; font-weight: 600; line-height: 1.1; padding: 0px; background: transparent;" value="{lang_print id=749}">SEND&nbsp;&nbsp;</button><i id="Lparrow" class="fa fa-play" style="color: #ff9900;"></i><div id="done1">IF YOUR EMAIL IS IN OUR DATABASE YOU WILL RECEIVE AN EMAIL WITH FURTHER INSTRUCTIONS.</div></h1>
<input type="hidden" name="task" value="send_email" />
</form>
{/if}
</div>
{* /if *}
<div class="clearfix"></div>
</div>
{literal}
<script>
$(document).on('submit', 'form#myform-lostpass', function(e) {
e.preventDefault();
$('#Lpbut').css('display', 'none');
$('#Lparrow').css('display', 'none');
$.post('lostpassword.php', $(this).serialize(), function(response) {
$('#done1').css('display', 'block');
});
});
</script>
<script>
if (document.getElementsByClassName('mobile-header').length||document.getElementsByClassName('bg-mobile').length){
// Do something if class exists
} else {
document.body.style.backgroundColor = "black";
// Do something if class does not exist
}
</script>
</body>
</html>
{/literal}