. **/ require_once("config/config.php"); require_once("subs/loader.php"); if(!$lm->validateLogin()){ $lm->loginPrepare(); if(isset($_POST['uname']) && isset($_POST['passwd'])){ $remember=isset($_POST['remember']); $lm->login($_POST['uname'], $_POST['passwd'], $remember); } if(isset($_GET['login_auto'])){ $lm->login("", ""); } if(isset($_GET['forget_user'])){ $lm->forgetUser(); } } else{ if(isset($_GET['logout'])){ $lm->logout(); } } //select page we want to see $view=""; if(isset($_GET['view'])){ $view=$_GET['view']; } ?> <?php echo $config['general']['title']." - ".$config['general']['org'] ?>
validateLogin()): ?>
isRememberingUser()): ?>
prepare("SELECT fullname FROM users WHERE id=:id"); $sql->execute(array(":id"=>$lm->isRememberingUser())); $res=$sql->fetch(PDO::FETCH_ASSOC); ?>



" required>
" required>

printCaptcha() ?>