Example #1
0
 public function __construct()
 {
     global $lC_Database, $lC_Language, $lC_MessageStack, $rInfo;
     parent::__construct();
     if (isset($_POST['key']) && $_POST['key'] != NULL && isset($_POST['email']) && $_POST['email'] != NULL) {
         if (lC_Login_Admin::lostPasswordConfirmKey($_POST['key'], $_POST['email'])) {
             $rInfo = new lC_ObjectInfo($_POST);
         } else {
             // if key is invalid redirect back to login
             lc_redirect_admin(lc_href_link_admin(FILENAME_DEFAULT, $this->_module));
         }
     }
 }
 public function __construct()
 {
     global $lC_Database, $lC_Language, $lC_MessageStack;
     parent::__construct();
     if (!isset($_SESSION['verify_key_valid']) || $_SESSION['verify_key_valid'] === false) {
         lc_redirect_admin(lc_href_link_admin(FILENAME_DEFAULT, $this->_module));
     }
     if (isset($_POST['password']) && $_POST['password'] != NULL && isset($_POST['email']) && $_POST['email'] != NULL) {
         if (lC_Login_Admin::passwordChange($_POST['password'], $_POST['email'])) {
             $rInfo = new lC_ObjectInfo($_POST);
         } else {
             // if error, redirect back to login
             lc_redirect_admin(lc_href_link_admin(FILENAME_DEFAULT, $this->_module));
         }
     }
 }
Example #3
0
}
?>
        </div>
      </div>
    </div>
    <style>
    #copyright-msg a:hover { text-decoration:underline; }
    </style>
    <div id="copyright-msg">
      <p class="anthracite" align="center" style="line-height:1.5;">Copyright &copy; <?php 
echo @date("Y");
?>
 <a class="anthracite" href="http://www.loaded7.com">Loaded Commerce</a><br /><?php 
echo $lC_Language->get('text_core') . ' ' . $lC_Language->get('text_version') . ' ' . utility::getVersion();
if (utility::isPro() === true) {
    echo lC_Login_Admin::getProVersionTag();
}
?>
</p>
      <p class="anthracite" align="center"><a class="anthracite" href="http://loadedcommerce.com/support" target="_blank"><?php 
echo $lC_Language->get('text_get_support');
?>
</a> - <a class="anthracite" href="http://loadedcommerce.com" target="_blank"><?php 
echo $lC_Language->get('text_get_more_loaded');
?>
</a></p>
    </div>
  </div>
</div>
<script>
$(document).ready(function() {
Example #4
0
 public static function validateSerial()
 {
     $result = lC_Login_Admin::validateSerial($_GET['activation_serial']);
     echo json_encode($result);
 }
Example #5
0
 public static function apiHealthCheck()
 {
     $result['rpcStatus'] = lC_Login_Admin::apiCheck();
     echo json_encode($result);
 }