<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    
    <title>
        Oops! We can't find that page, sorry!    </title>

    <meta name="robots" content="NOODP">
    <meta name="googlebot" content="NOODP">

    
    
    <link rel="stylesheet" type="text/css" href="/styles/global.css" media="screen" />
    <link rel="stylesheet" type="text/css" href="/styles/layout.css" media="screen" />
    <link rel="stylesheet" type="text/css" href="/styles/color.css" media="screen" />
    <link rel="stylesheet" type="text/css" href="/styles/main.css" media="screen" />
    <link rel="stylesheet" type="text/css" href="/styles/form.css" media="screen" />
    <!--[if IE]>
    <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
     <script src="/scripts/dc.js" async="" type="text/javascript"></script>
    <script type="text/javascript" src="/scripts/jquery-1.js"></script>
    <script type="text/javascript" src="/scripts/jquery_002.js"></script>
    <script type="text/javascript" src="/scripts/jquery.js"></script>
    <script type="text/javascript" src="/scripts/jquery.calendar.js"></script>
    <script type="text/javascript" src="/scripts/the-life.js"></script>
    
    

</head>
<body>
    
<div id="expansion" class="clearfix">
	<div class="login-register-wrapper clearfix">
        <section id="log-in">
            <form method="post" action="#">
                <fieldset>
                    <legend>Log In</legend>
                    <div class="row clearfix">
                        <label for="login-email">Email</label>
                        <input type="email" name="login-email" id="login-email" placeholder="Email" />
                        <label for="login-password">Password</label>
                        <input type="password" name="login-password" id="login-password" placeholder="Password" />
                    </div>
                    <div class="btn_row clearfix">
                        <input type="button" name="login-with-facebook" id="login-with-facebook" value="Log in with Facebook" />
                        <input type="submit" name="login-button" id="login-button" value="Log in" />
                        <label for="login-remember" id="lbl-login-remember">Remember Me</label>
                        <input type="checkbox" name="login-remember" id="login-remember" checked />
                    </div>
                </fieldset>
            </form>
        </section>
        
        <section id="register">
            <form method="post" action="#">
                <fieldset>
                    <legend>Register</legend>
                    <div class="row clearfix">
                        <label for="register-firstname">First Name</label>
                        <input type="text" name="register-firstname" id="register-firstname" placeholder="First Name" />
                        <label for="register-lastname">Last Name</label>
                        <input type="text" name="register-lastname" id="register-lastname" placeholder="Last Name" />
                    </div>
                    <div class="row clearfix">
                        <label for="register-email">Email</label>
                        <input type="email" name="register-email" id="register-email" placeholder="Email" />
                        <label for="register-password">Password</label>
                        <input type="password" name="register-password" id="register-password" placeholder="Password" /> 
                    </div>
                    <div class="btn_row clearfix">
                        <input type="submit" name="register-button" id="register-button" value="Sign Up" />
                        <p>By creating an account, I accept the Life’s <a href="#">Terms of Service</a> and <a href="#">Privacy Policy</a>.</p>
                    </div>
                </fieldset>
            </form>
        </section>
    </div>
    
    <section id="more-quicklinks" class="clearfix" style="display: none;">
    	<dl>
        	<dt>About</dt>
            <dd><a href="./basic.html">What is The Life?</a></dd>
            <dd><a href="./basic.html">Legal Policies</a></dd>
            <dd><a href="./basic.html">The Life Card</a></dd>
            <dd><a href="./basic.html" class="ico_wrapper">Donate<span class="ico ico_chain"></span></a></dd>
        </dl>
        <dl>
        	<dt>Resources</dt>
            <dd><a href="./basic.html">Talk to a Coach</a></dd>
            <dd><a href="./basic.html" class="ico_wrapper">Store<span class="ico ico_chain"></span></a></dd>
        </dl>
        <dl>
        	<dt>Contact</dt>
            <dd><a href="./basic.html">Contact Us</a></dd>
            <dd><a href="./basic.html">Feedback</a></dd>
        </dl>
        <dl>
        	<dt>Partner</dt>
            <dd><a href="./basic.html">Want to be a partner?</a></dd>
        </dl>
    </section>
    
    <p><a href="javascript:void(0);" class="close">X</a></p>
</div><div id="page">    
<header class="clearfix" id="global-header">
        <h1 id="brand"><a href="/" title="The Life"><img src="/images/thelifelogo_small.png" width="70%" alt="The Life"></a></h1>
        <nav id="nav-main">
            <ul>
                <li><a  href="/challenges">Challenges</a></li>
			<li><a  href="/dailydevotions">Daily Devotions</a></li>
			<li><a  href="/series">Series</a></li>
			<li><a class ="active" href="/about">About</a></li>
			<li><a  href="https://thelifeproject.com/give">Donate</a></li>
			            </ul>
        </nav>
        <nav id="nav-helper">
           <ul style="display: block;"><li><a id="DISPLAY_TODO_PANEL" href="javascript:void(0);" title="Join &amp; Log in" class="btn">Join / Log in</a></li></ul>        </nav>
</header>
    
﻿<div class="wrapper clearfix">
	<section id="basic">
		<article class="content post">
                <h2>Oops! We can't find that page, sorry!</h2>
                <p><p>We apologize that you couldn&#39;t find what you were looking for. :-(<br />
You may have followed an old link or typed the URL incorrectly.</p>

<p><a href="http://thelife.com">Return to the homepage</a><br />
&nbsp;</p>

<p>&nbsp;</p></p>                
                                                                            </article>
            ﻿    <aside class="sidebar">
        <div class="directory_tree">
                            <dl>
                    <dt><a href="https://thelifeproject.com/give"><div class="prntpg">Donate</div></a></dt>
                </dl>
                                                            <dl>
                        <dt><a href="/about/"><div class="prntpg">About</div></a></dt>
                    </dl>
                                    <dl>
                        <dt><a href="/about/page/reprint-policy"><div class="prntpg">Reprint Policy</div></a></dt>
                    </dl>
                                    <dl>
                        <dt><a href="/about/page/contact-us"><div class="prntpg">Contact Us</div></a></dt>
                    </dl>
                                    <dl>
                        <dt><a href="/about/page/talk-to-a-coach"><div class="prntpg">Talk to a Mentor</div></a></dt>
                    </dl>
                                    <dl>
                        <dt><a href="/about/page/what-we-believe"><div class="prntpg">What We Believe</div></a></dt>
                    </dl>
                                    <dl>
                        <dt><a href="/about/page/what-is-challenge"><div class="prntpg">What is a Challenge?</div></a></dt>
                    </dl>
                                    <dl>
                        <dt><a href="/about/page/what-is-a-series"><div class="prntpg">What is a Series?</div></a></dt>
                    </dl>
                                    <dl>
                        <dt><a href="/about/page/the-life-card"><div class="prntpg">The Life Card</div></a></dt>
                    </dl>
                                    <dl>
                        <dt><a href="/about/page/subscribe-to-the-life"><div class="prntpg">Subscribe to The Life</div></a></dt>
                    </dl>
                                    <dl>
                        <dt><a href="/about/page/terms-of-service"><div class="prntpg">Terms of Service</div></a></dt>
                    </dl>
                                    <dl>
                        <dt><a href="/about/page/privacy-policy"><div class="prntpg">Privacy Policy</div></a></dt>
                    </dl>
                                    <dl>
                        <dt><a href="/about/page/write-for-us"><div class="prntpg">Write for Us</div></a></dt>
                    </dl>
                                                        <dl>
                    <dt><a href="http://store.powertochange.org/c-184-the-life-series-treasure.aspx" target="_blank"><div class="prntpg">Store</div></a></dt>
                </dl>
                    </div>       
    </aside>
	</section>
</div>
<div id="to-do-list">
    <h3>LOG IN</h3>
    <section id="person" class="clearfix" style="margin-top: -35px;">
    <!--onsubmit="return false;" -> for disable submit form in safari browser -->
    <form onsubmit="return false;" action="/Home/Authenticate" id="frmLogin" method="post" >            
    <div id="login-signup-error" style="margin: 5px; display: none;">Unrecognized e-mail or password</div>
            <div id="login-signup">
                <input name="loginemail" id="loginemail" placeholder="Email" onkeyup="clickEnterKey(this, event)" type="text">
            </div>
            <div id="login-signup">
                <input name="loginpassword" id="loginpassword" placeholder="Password" onkeyup="clickEnterKey(this, event)" type="password">
            </div>
            <div id="login-signup" style="margin-top: 15px;">
                <input name="chkremember" id="chkremember" value="true" checked="checked" type="checkbox">
                <label for="login-remember" id="lbl-login-remember">Remember Me</label>
            </div>
            <div id="login-signup" class="btn_row clearfix" style="margin-top: 15px;">
                <input name="_token" type="hidden" value="B50mceXkc7Dz1g9HOed2PW1G6lbs0YnIlLJjAV82">                <input type="hidden" name="_token" value="B50mceXkc7Dz1g9HOed2PW1G6lbs0YnIlLJjAV82">
                <input name="rememberme" id="rememberme" value="0" type="hidden">
                <input name="btnlogin" id="btnlogin" class="btnLogin" value="Log in" type="button">
            </div>
            <div id="login-signup" style="margin-top: 15px;">
                <a href="javascript:void(0)" id="forgotpwd">Forgot Password?</a>
            </div>
        <!-- 
            <div id="login-signup" class="btn_row clearfix" style="margin-top: 15px;">
                <input type="button" name="btnloginfacebook" class="btnFacebook" id="btnloginfacebook" value="Log in with Facebook" />
            </div>
        -->
    </form>    
    </section>
    <h3>REGISTER</h3>
    <section id="person" class="clearfix" style="margin-top: -35px;">
    <p id="registermsg" style="display: none;"></p>
    <form action="/Home/Register" id="frmRegister" method="post" >            
    <div id="register-error" style="margin: 5px; display: none;">Please confirm your password</div>
            <div id="login-signup">
                <input name="firstname" id="firstname" placeholder="First Name" type="text">
            </div>
            <div id="login-signup">
                <input name="lastname" id="lastname" placeholder="Last Name" type="text">
            </div>
            <div id="login-signup">
                <input name="signupemail" id="signupemail" placeholder="Email" type="text">
            </div>
            <div id="login-signup">
                <input name="signuppwd" id="signuppwd" placeholder="Password" type="password">
            </div>
            <div id="login-signup">
                <input name="signupconfirmpwd" id="signupconfirmpwd" placeholder="Confirm Password" type="password">
            </div>
            <div id="login-signup" style="margin-top: 15px;">
                <label>Email subscriptions</label>
            </div>
            <div id="login-signup" style="margin-top: 15px;">
                <input name="chknewsletter" id="chknewsletter" value="true" checked="checked" type="checkbox">
                <label for="signup-newsletter" id="lbl-signup-remember">Newsletter</label>
            </div>
            <div id="login-signup" style="margin-top: 15px;">
                <input name="chkdevotion" id="chkdevotion" value="true" checked="checked" type="checkbox">
                <label for="signup-devotion" id="lbl-signup-devotion">Daily Devotion</label>
            </div>
            <div id="login-signup" style="margin-top: 15px;">
                <label>By creating an account, I accept the Life’s <a href="/about/page/terms-of-service">Terms of Service</a> and <a href="/about/page/privacy-policy">Privacy Policy</a>.</label>
            </div>
            <div id="login-signup" class="btn_row clearfix" style="margin-top: 15px;">
                <input name="_token" type="hidden" value="B50mceXkc7Dz1g9HOed2PW1G6lbs0YnIlLJjAV82">                <input name="newsletter" id="newsletter" value="0" type="hidden">
                <input name="devotions" id="devotions" value="0" type="hidden">
                <input name="ppid" id="ppid" value="theLife" type="hidden">
                <input name="btnregister" id="btnregister" class="btnRegister" value="Sign me up!" type="button">
            </div>
    </form>   
    </section>
    <p><a href="javascript:void(0);" class="close">X</a>
    
    <!-- ========================================================================================== -->
    <!-- MailChimp Form -->
    </p><form id="mcForm">
        <input value="" name="FNAME" id="mcesdb-FNAME" type="hidden">
        <input value="" name="LNAME" id="mcesdb-LNAME" type="hidden">
        <input value="" name="EMAIL" id="mcesdb-EMAIL" type="hidden">
        
        <input value="" name="MERGE0" id="mcesdb-MERGE0" type="hidden">
        <input value="" name="MERGE1" id="mcesdb-MERGE1" type="hidden">
        <input value="" name="MERGE2" id="mcesdb-MERGE2" type="hidden">        
    </form>
    <!-- ========================================================================================== -->

    <script type="text/javascript" src="/scripts/general.js"></script>
    <script type="text/javascript">
        $("#forgotpwd").click(function () {
            $.get('/home/forgotpassword', {}, function (data) {
                $('#to-do-list').html('');
                $('#to-do-list').append(data);
            });
        });

        $("#btnregister").click(function () {
            var bFnameErr = 0, bLnameErr = 0, bEmailErr = 0, bPwdErr = 0, bConfPwdErr = 0;

            // check first name
            if ($("#firstname").val() == "") {
                document.getElementById("firstname").className = "err";
                bFnameErr = 1;
            } else {
                document.getElementById("firstname").className = "";
                bFnameErr = 0;
            }

            // check last name
            if ($("#lastname").val() == "") {
                document.getElementById("lastname").className = "err";
                bLnameErr = 1;
            } else {
                document.getElementById("lastname").className = "";
                bLnameErr = 0;
            }
                
            // check email
            if ($("#signupemail").val() == "") {
                document.getElementById("signupemail").className = "err";
                bEmailErr = 1;
            } else if (!isValidEmail($("#signupemail").val())) {
                document.getElementById("signupemail").className = "err";
                bEmailErr = 1;
            } else {
                document.getElementById("signupemail").className = "";
                bEmailErr = 0;
            }

            // check pwd
            if ($("#signuppwd").val() == "") {
                document.getElementById("signuppwd").className = "err";
                bPwdErr = 1;
            } else {
                document.getElementById("signuppwd").className = "";
                bPwdErr = 0;
            }

            // check confirm pwd
            if ($("#signupconfirmpwd").val() == "") {
                document.getElementById("signupconfirmpwd").className = "err";
                bConfPwdErr = 1;
            } else if ($("#signuppwd").val() != $("#signupconfirmpwd").val()) {
                document.getElementById("signupconfirmpwd").className = "err";
                document.getElementById("register-error").style.display = "inline";
                bConfPwdErr = 1;
            } else {
                document.getElementById("signupconfirmpwd").className = "";
                bConfPwdErr = 0;
            }

            if (document.getElementById("chknewsletter").checked) {
                $("#newsletter").val("1");
            }

            if (document.getElementById("chkdevotion").checked) {
                $("#devotions").val("1");
            }

            // -------------------------------------------------------
            // register process

            if (bFnameErr == 0 && bLnameErr == 0 && bEmailErr == 0 && bPwdErr == 0 && bConfPwdErr == 0) {
                $.ajax({
                    url: "/AJAX/Browse/Register",
                    data: $("#frmRegister").serialize(),
                    cache: false,
                    dataType: "html",
                    type: "POST",
                    success: function (userid) {
                        // if 0 means email is already registered and confirmed
                        if (userid == 0) {
                            var msg = "<div style=\"text-align: center; margin-top: 10px; padding: 10px; height: 15px; width: 208px; border-radius: 5px; border: 1px solid #6ECEC6;\">That Email is already in Use</div><br />";

                            document.getElementById("registermsg").style.display = "inline";
                            $('#registermsg').html('');
                            $('#registermsg').append(msg);

                            $("#firstname").val("");
                            $("#lastname").val("");
                            $("#signupemail").val("");
                            $("#signuppwd").val("");
                            $("#signupconfirmpwd").val("");
                        }
                        else {
                            // register is done: auto confirmed then redirect to welcome page
                           /* $.ajax({
                                url: "/AJAX/Browse/GoToWelcomePage?userid=" + userid,
                                data: '',
                                cache: false,
                                dataType: "html",
                                type: "POST",
                                success: function (sSignupConfirmKey) {
                                    sSignupConfirmKey = sSignupConfirmKey.replace('"', '').replace('"', '');
                                    self.location.replace("/about/register-confirm/" + sSignupConfirmKey);
                                }
                            });
                            */
                            // register is done: show inline message
                            
                            $.get('/home/SignupFinish?userid=' + userid, {}, function (data) {
                                $('#to-do-list').html('');
                                $('#to-do-list').append(data);
                            });
                            

                            // updates MC
                            /*
                            var sEmail = $("#signupemail").val();
                            $.ajax({
                                url: "/AJAX/Browse/MCEmailUnsubscribe?pEmail=" + sEmail,
                                data: '',
                                cache: false,
                                dataType: "html",
                                type: "POST",
                                success: function () {
                                    submitit(userid);
                                }
                            }); */
                        }
                    }
                })
            }
        });

        //============================================================================================================
        //<input type="hidden" value="1" name="group[14769][1]" id="mce-group[14769]-14769-0" />
        //<input type="hidden" value="4" name="group[14769][4]" id="mce-group[14769]-14769-2" />

        function submitit(userid) {
            var sEmail = $("#signupemail").val();
            var sFName = $("#firstname").val();
            var sLName = $("#lastname").val();
            $("#mcesdb-EMAIL").val(sEmail);
            $("#mcesdb-FNAME").val(sFName);
            $("#mcesdb-LNAME").val(sLName);

            var mcURL = "http://truthmedia.us2.list-manage.com/subscribe/post?u=2f3bc1a107ffa93035a676459&amp;id=4bcf9e76a0";
            if (document.getElementById("chknewsletter").checked) {
                mcURL += "&group[14769][1]" + "=1"; 
            }

            if (document.getElementById("chkdevotion").checked) {
                mcURL += "&group[14769][4]" + "=1"; 
            }

            $.ajax({
                url: mcURL,
                data: $("#mcForm").serialize(),
                cache: false,
                dataType: "html",
                type: "POST",
                error: function () {
                    // register is done: show inline message
                    $.get('/home/SignupFinish?userid=' + userid, {}, function (data) {
                        $('#to-do-list').html('');
                        $('#to-do-list').append(data);
                    });
                },
                success: function () { }
            });
        }

        //============================================================================================================

        function clickEnterKey(obj, e) {
            var isNN = (navigator.appName.indexOf("Netscape") != -1);
            var keyCode = (isNN) ? e.which : e.keyCode;

            if (keyCode == 13) {
                validateLogin();
            }
            return true;
        }

        //============================================================================================================

        $("#btnlogin").click(function () {
            validateLogin();
        });

        //============================================================================================================

        function validateLogin() {
            var bEmailErr = 0, bPwdErr = 0;

            if ($("#loginemail").val() == "") {
                document.getElementById("loginemail").className = "err";
                bEmailErr = 1;
            } else if (!isValidEmail($("#loginemail").val())) {
                document.getElementById("loginemail").className = "err";
                bEmailErr = 1;
            } else {
                document.getElementById("loginemail").className = "";
                bEmailErr = 0;
            }

            if ($("#loginpassword").val() == "") {
                document.getElementById("loginpassword").className = "err";
                bPwdErr = 1;
            } else {
                document.getElementById("loginpassword").className = "";
                bPwdErr = 0;
            }

            if (document.getElementById("chkremember").checked) {
                $("#rememberme").val("1");
            }

            //--------------------------------------------------------------
            // login process

            if (bEmailErr == 0 && bPwdErr == 0) {
                $.ajax({
                    url: "/AJAX/Browse/AuthenticateLogin",
                    data: $("#frmLogin").serialize(),
                    cache: false,
                    dataType: "html",
                    type: "POST",
                    success: function (data) {
                        if (data == 0) {
                            document.getElementById("login-signup-error").style.display = "inline";
                            document.getElementById("loginemail").className = "err";
                            document.getElementById("loginpassword").className = "err";
                            $("#login-signup-error").html('');
                            $("#login-signup-error").html('Unrecognized e-mail or password');
                        } else {
                            $.get('/home/MainProfile?userid=' + data, {}, function (data) {
                                $('#to-do-list').html('');
                                $('#to-do-list').append(data);
                            });
                            $.get('/home/TopnavLoggedin?userid=' + data, {}, function (data) {
                                $('#nav-helper').html('');
                                $('#nav-helper').append(data);
                            });

                            // redraw action area in challenge detail page.
                            if (typeof ($("#challengeid").val()) === "undefined") {
                                // nothing
                            }
                            else {
                                $.get('/home/LoadChallengeActions?userid=' + data + '&challengeid=' + $("#challengeid").val(), {}, function (data) {
                                    $('#actionListArea').html('');
                                    $('#actionListArea').append(data);
                                });
                            }
                        }
                    }
                })
            }
        }        
    </script> 
      </div><footer>
        <p id="copyright">Copyright &copy; 2017 <a target="_blank" href="http://www.powertochange.org">Power to Change Ministries</a>. All rights reserved.</p>
    </footer>
  
        <script type="text/javascript">

          var _gaq = _gaq || [];
          _gaq.push(['_setAccount', 'UA-26005447-1']);
          _gaq.push(['_setDomainName', 'thelife.com']);
          _gaq.push(['_setAllowLinker', true]);
          _gaq.push(['_trackPageview']);

          (function() {
            var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
            ga.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'stats.g.doubleclick.net/dc.js';
            var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
          })();

        </script>
 
</div><!-- l4site -->
</body>
</html>