Done !
| Server IP : 46.105.57.169 / Your IP : 216.73.217.35 Web Server : Apache System : Linux webm002.cluster120.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64 User : verseaumee ( 152031) PHP Version : 8.5.7 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/verseaumee/chatblueversion/ |
Upload File : |
<?php require __DIR__.'/includes/bootstrap.php';$error='';if($_SERVER['REQUEST_METHOD']==='POST'){$s=$pdo->prepare('SELECT * FROM users WHERE email=? AND status="active"');$s->execute([strtolower(trim($_POST['email']))]);$u=$s->fetch();if($u&&$u['password_hash']&&password_verify($_POST['password'],$u['password_hash'])){$_SESSION['user']=['id'=>$u['id'],'email'=>$u['email'],'name'=>$u['name'],'role'=>$u['role'],'plan'=>$u['plan']];header('Location: index.php');exit;}$error='Invalid email or password.';}?><!doctype html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width"><title>Sign in ยท blueversionX</title><link rel="icon" href="favicon.svg"><link rel="stylesheet" href="assets/style.css"></head><body><div class="authShell"><main class="authCard"><img class="logo" src="assets/blueversionx-logo.svg" alt="blueversionX"><h1>Welcome to blueversionX</h1><p>Sign in to continue your conversations.</p><?php if($error):?><p class="error"><?=htmlspecialchars($error)?></p><?php endif?><form method="post"><label>Email<input type="email" name="email" required></label><label>Password<input type="password" name="password" required></label><button>Sign in</button><a class="google" href="auth/google.php">G Continue with Google</a></form><div class="authLinks"><a href="index.php">Back to chat</a><a href="register.php">Create account</a></div></main></div></body></html>