1
0
Fork 0
MastodonStartpage/web/admin/index.php
2019-12-26 21:57:36 +01:00

59 lines
1,9 KiB
PHP

<?php
require('include/glob.php');
?>
<!DOCTYPE HTML>
<html lang="it">
<head>
<title>Mastodon Startpage Admin Login</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="description" content="Mastodon Startpage Admin 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="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.username.value=='') emsgs+='<li>Non hai inserito il nome</li>';
if (document.l.password.value=='') emsgs+='<li>Non hai inserito la password</li>';
if (emsgs!='')
alerta('<ul>'+emsgs+'</ul>');
else
document.l.submit();
}
//-->
</script>
</head>
<body>
<div id="fullscreen">
<div id="middlerow">
<div id="centertit">
Mastodon Startpage Admin Login
</div>
<div id="centerbox">
<form action="login.php" name="l" method="post">
<table id="logintable">
<tr><td>Nome:</td><td class="rtd"><input type="text" name="username" 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="button" value="Entra" 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>