This repository has been archived on 2025-07-09. You can view files and clone it, but cannot push or open issues or pull requests.
oohay/html/grave/login.html.php
2025-05-23 15:11:34 -07:00

31 lines
956 B
PHP
Executable file

<!DOCTYPE html>
<?php session_start(); ?>
<html>
<head>
<title>wiby.me</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<link rel="stylesheet" type="text/css" href="/styles.css">
</head>
<body>
<form method="post">
Username <input type="text" name="user" id="user"/><br>
Password <input type="password" name="pass" id="pass"/><br><br>
<?php if($_SESSION["authenticated"]!=true): ?>
<div>
<img id="captcha" src="/securimage/securimage_show.php" alt="CAPTCHA Image" />
</div>
<div>
<input type="text" name="captcha_code" size="10" maxlength="6" />
<a href="#" onclick="document.getElementById('captcha').src = '/securimage/securimage_show.php?' + Math.random(); return false">Reload Image</a>
</div>
<?php endif; ?>
<br><input type="submit" id="login" value="Login"/>
</form>
</body>
</html>