MastodonHelp/web/site/mustard/index.php
pezcurrel 5ec1354546 ...
2020-10-18 06:53:27 +02:00

61 lines
1.9 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
require('include/glob.php');
?>
<!DOCTYPE HTML>
<html lang="en">
<head>
<title>Mustard Login</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="description" content="Mustard Login">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<link rel="icon" type="image/png" href="imgs/icona-32.png" sizes="32x32">
<link rel="icon" type="image/png" href="imgs/icona-192.png" sizes="192x192">
<link rel="icon" type="image/png" href="imgs/icona-512.png" sizes="512x512">
<link rel="apple-touch-icon-precomposed" href="imgs/icona-180.png">
<link rel="stylesheet" type="text/css" href="css/theme.css?v=<?php echo($cjrand); ?>">
<script language="JavaScript" src="js/alerta.js?v=<?php echo($cjrand); ?>"></script>
<script language="JavaScript">
<!--
function ckfl() {
var emsgs='';
if (document.l.email.value=='') emsgs+='<li>You didnt specify your email</li>';
if (document.l.password.value=='') emsgs+='<li>You didnt specify your password</li>';
if (emsgs!='') {
alerta('Error(s)','<ul>'+emsgs+'</ul>');
return false;
} else {
document.l.submit();
}
}
//-->
</script>
</head>
<body>
<div id="fullscreen">
<div id="middlerow">
<div id="centertit">
Mustard Login
</div>
<div id="centerbox">
<form action="login.php" name="l" method="post" onsubmit="return ckfl();">
<table id="logintable">
<tr><td>Email:</td><td class="rtd"><input type="text" name="email" maxlength="64" autofocus></td></tr>
<tr><td>Password:</td><td class="rtd"><input type="password" name="password" maxlength="64"></td></tr>
<tr><td></td><td class="rtd"><input type="submit" value="Login" class="button" onclick="ckfl();"></td></tr>
<!-- <tr><td colspan="2" class="tiptd"><a href="passreset.php">Password dimenticata?</a></td></tr> -->
</table>
</form>
</div>
</div>
</div>
<div id="popup">
<div id="inpopup">
<div id="popupcont">
...
</div>
</div>
</div>
</body>
</html>