CINXE.COM
GreenRE | Login
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>GreenRE | Login</title> <!-- Replace wipstage URL http://wipstage.com/clients/greenre/ --> <!-- to https://greenre.org/ --> <meta charset="utf-8"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="shortcut icon" href="favicon.png" type="image/x-icon"> <link rel="stylesheet" href="https://greenre.org/css/animate__4.css?v.1732316785"> <link rel="stylesheet" href="https://greenre.org/css/fontawesome.min.css?v.1732316785"> <link rel="stylesheet" href="https://greenre.org/css/foundation.min.css?v.1732316785"> <link rel="stylesheet" href="https://greenre.org/css/hamburgers.min.css?v.1732316785"> <link rel="stylesheet" href="https://greenre.org/css/lightbox.min.css?v.1732316785"> <link rel="stylesheet" href="https://greenre.org/css/owl.carousel.min.css?v.1732316785"> <link rel="stylesheet" href="https://greenre.org/css/owl.theme.default.min.css?v.1732316785"> <link rel="stylesheet" href="https://greenre.org/css/slick.css?v.1732316785"> <link rel="stylesheet" href="https://greenre.org/css/slick-theme.css?v.1732316785"> <link rel="stylesheet" href="https://greenre.org/css/style.min.css?v.1732316785"> <link rel="stylesheet" href="https://greenre.org/css/app.css?v.1732316785"> <!-- Google tag (gtag.js) --> <!--<script async src="https://www.googletagmanager.com/gtag/js?id=G-N03F1GY5V3"></script>--> <!--<script>--> <!-- window.dataLayer = window.dataLayer || [];--> <!-- function gtag(){dataLayer.push(arguments);}--> <!-- gtag('js', new Date());--> <!-- gtag('config', 'G-N03F1GY5V3');--> <!--</script>--> <!-- Google tag (gtag.js) --> <script async src="https://www.googletagmanager.com/gtag/js?id=G-N0TL869P63"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-N0TL869P63'); </script></head> <body> <div class="login_form"> <div class="grid-x grid-padding-x"> <div class="login_width cell"> <div class="login"> <div class="logo"> <a href="../index"> <!-- <img src="https://greenre.org/img/green-logo.svg?v.1732316785" draggable="false"> --> <img src="https://greenre.org/img/greenre-new-logo.png?v.1732316785" draggable="false" style="backface-visibility: hidden; margin: 0 0 10px;"> </a> <h4>Login Page</h4> </div> <div class="login_msg"> </div> <!--<div class="login_msg">--> <!-- <div class="reset_success">--> <!-- <p>Reset success, please check your email.</p>--> <!-- </div>--> <!-- <div class="success_login">--> <!-- <p>Logging...</p>--> <!-- </div>--> <!-- <div class="fail_login">--> <!-- <p>Email or Password error, please try again.</p>--> <!-- </div>--> <!--</div>--> <form action="includes/process_login.php" method="post" name="login"> <div class="grid-x"> <div class="large-12 medium-12 small-12 cell"> <label for="email"> <div class="login_label"> <input type="email" name="email" id="email" placeholder="Email"> </div> </label> </div> <div class="large-12 medium-12 small-12 cell"> <label for="password33"> <div class="login_label"> <input type="password" name="password33" id="password33" placeholder="Password"> </div> </label> </div> <div class="large-12 medium-12 small-12 cell"> <div class="submit"> <input type="submit" name="submit" id="submit" value="Submit"> </div> </div> </div> </form> <hr> <div class="more_info"> <!-- <p>Are you forgot your password? <a data-open="reset_box">Reset Here</a>!</p> <p>Or you wanted to register as our member? <a href="register">Register Here</a>!</p> --> <p>Forgot Password?: <a data-open="reset_box">Reset Here</a>!</p> <p>Not A Member?: <a href="register">Register Here</a>!</p> <p class="back-to-home">Back to <a href="https://greenre.org/">Home page</a>.</p> </div> </div> </div> </div> </div> <div class="reveal reset_box" id="reset_box" data-reveal> <h5>Reset your password!</h5> <form method="post" name="reset_pass"id="reset_pass"> <div class="reset_msg"></div> <div class="reset_label"> <input type="email" name="reset_email" id="reset_email" placeholder="Email"> </div> <div class="submit"> <input type="submit" name="reset" id="reset" value="Reset"> <span id="fpwbtnww"></span> </div> </form> <button class="close-button" data-close aria-label="Close reveal" type="button"> <span aria-hidden="true">×</span> </button> </div> <script src="https://greenre.org/js/vendor/jquery.js?v.1732316785"></script> <!-- <script src="https://greenre.org/js/vendor/what-input.js?v.1732316785"></script> --> <script src="https://greenre.org/js/vendor/foundation.js?v.1732316785"></script> <script src="https://greenre.org/js/jquery.validate.min.js?v.1732316785"></script> <script src="https://greenre.org/js/additional-methods.min.js?v.1732316785"></script> <script src="https://greenre.org/js/app.js?v.1732316785"></script> <script> $(document).ready(function() { $("form[name='login']").validate({ rules: { email: { required: true, email: true }, password33: { required: true, } }, // Specify validation error messages messages: { password33: { required: "Please provide a password" }, email: "Please enter a valid email address" }, // Make sure the form is submitted to the destination defined // in the "action" attribute of the form when valid submitHandler: function(form) { form.submit(); } }); $("form[name='reset_pass']").validate({ rules: { reset_email: { required: true, email: true } }, // Specify validation error messages messages: { reset_email: "Please enter a valid email address" }, // Make sure the form is submitted to the destination defined // in the "action" attribute of the form when valid submitHandler: function(form) { var email = $('#reset_email').val().trim(); $(".reset_msg").html(''); $("#fpwbtnww").html('<img style="width:6%" src="img/loaderhome.gif?v2">'); var passData = {email:email}; $.ajax({ type:'POST', url:'resetplink.php', data:passData, success:function(response){ var res = response.substring(0, 1); console.log(response); if(res === '1') { $("#fpwbtnww").html(''); $(".reset_msg").html('<div class="reset_success"><p>Reset success, please check your email.</p></div>'); $("#reset_email").val(""); } else { $(".reset_msg").html('<div class="reset_fail"><p>We can\'t find your account. Would you like to <a href="./register" style="color: white;"><b>REGISTER</b></a> now? </p></div>'); $("#fpwbtnww").html(''); } // alert(response); } }); } }); }) </script> </body> </html>