MastodonHelp/web/site/mustard/index.php

62 lines
1.9 KiB
PHP
Raw Normal View History

2019-12-26 21:57:36 +01:00
<?php
require('include/glob.php');
?>
<!DOCTYPE HTML>
2020-05-01 06:51:22 +02:00
<html lang="en">
2019-12-26 21:57:36 +01:00
<head>
2020-05-01 06:51:22 +02:00
<title>Mustard Login</title>
2019-12-26 21:57:36 +01:00
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
2020-05-01 06:51:22 +02:00
<meta name="description" content="Mustard Login">
2019-12-26 21:57:36 +01:00
<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">
2020-05-21 05:34:33 +02:00
<link rel="stylesheet" type="text/css" href="css/theme.css?v=<?php echo($cjrand); ?>">
2019-12-26 21:57:36 +01:00
<script language="JavaScript" src="js/alerta.js?v=<?php echo($cjrand); ?>"></script>
<script language="JavaScript">
<!--
function ckfl() {
var emsgs='';
2020-05-01 06:51:22 +02:00
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>';
2020-05-07 07:24:56 +02:00
if (emsgs!='') {
2020-05-01 06:51:22 +02:00
alerta('Error(s)','<ul>'+emsgs+'</ul>');
2020-05-07 07:24:56 +02:00
return false;
} else {
2019-12-26 21:57:36 +01:00
document.l.submit();
2020-05-07 07:24:56 +02:00
}
2019-12-26 21:57:36 +01:00
}
//-->
</script>
</head>
<body>
<div id="fullscreen">
<div id="middlerow">
<div id="centertit">
2020-05-01 06:51:22 +02:00
Mustard Login
2019-12-26 21:57:36 +01:00
</div>
<div id="centerbox">
2020-05-07 07:24:56 +02:00
<form action="login.php" name="l" method="post" onsubmit="return ckfl();">
2019-12-26 21:57:36 +01:00
<table id="logintable">
2020-05-01 06:51:22 +02:00
<tr><td>Email:</td><td class="rtd"><input type="text" name="email" maxlength="64" autofocus></td></tr>
2019-12-26 21:57:36 +01:00
<tr><td>Password:</td><td class="rtd"><input type="password" name="password" maxlength="64"></td></tr>
2020-05-07 07:24:56 +02:00
<tr><td></td><td class="rtd"><input type="submit" value="Login" class="button" onclick="ckfl();"></td></tr>
2020-03-09 22:16:54 +01:00
<!-- <tr><td colspan="2" class="tiptd"><a href="passreset.php">Password dimenticata?</a></td></tr> -->
2019-12-26 21:57:36 +01:00
</table>
</form>
</div>
</div>
</div>
<div id="popup">
<div id="inpopup">
<div id="popupcont">
...
</div>
</div>
</div>
</body>
</html>