148 lines
5.8 KiB
PHP
148 lines
5.8 KiB
PHP
<?php
|
|
/* Smarty version 3.1.39, created on 2023-03-23 13:57:21
|
|
from 'F:\git\survey\templates\modern\dashboard\index.html' */
|
|
|
|
/* @var Smarty_Internal_Template $_smarty_tpl */
|
|
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
|
'version' => '3.1.39',
|
|
'unifunc' => 'content_641c4cb1cb5c45_23187818',
|
|
'has_nocache_code' => false,
|
|
'file_dependency' =>
|
|
array (
|
|
'bf479f21e7ad507ad2c2c30536bdf206de07b30e' =>
|
|
array (
|
|
0 => 'F:\\git\\survey\\templates\\modern\\dashboard\\index.html',
|
|
1 => 1679569752,
|
|
2 => 'file',
|
|
),
|
|
),
|
|
'includes' =>
|
|
array (
|
|
),
|
|
),false)) {
|
|
function content_641c4cb1cb5c45_23187818 (Smarty_Internal_Template $_smarty_tpl) {
|
|
if ($_smarty_tpl->tpl_vars['action']->value == '') {?>
|
|
<!DOCTYPE html>
|
|
<html lang="de">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
|
|
<meta name="description" content="" />
|
|
<meta name="author" content="" />
|
|
<title>JU & MI Administration</title>
|
|
<link href="css/styles.css" rel="stylesheet" />
|
|
<?php echo '<script'; ?>
|
|
src="all.js" crossorigin="anonymous"><?php echo '</script'; ?>
|
|
>
|
|
<?php echo '<script'; ?>
|
|
src="../jquery/jquery-3.4.1.min.js"><?php echo '</script'; ?>
|
|
>
|
|
<?php echo '<script'; ?>
|
|
src="../js/lottie_bodymovin/lottie.min.js"><?php echo '</script'; ?>
|
|
>
|
|
<style type="text/css">
|
|
.lottie-container {
|
|
justify-content: center;
|
|
top: 40px;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 20px;
|
|
height: 180px;
|
|
pointer-events: none;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div id="navtop"></div>
|
|
|
|
<?php echo '<script'; ?>
|
|
>
|
|
$(function(){
|
|
$("#footer").load("footer.php");
|
|
});
|
|
<?php echo '</script'; ?>
|
|
>
|
|
|
|
<div id="layoutAuthentication">
|
|
<div id="layoutAuthentication_content">
|
|
<main>
|
|
<?php if ($_smarty_tpl->tpl_vars['index_error']->value == '1') {?>
|
|
<div class="alert alert-warning" role="alert">
|
|
<?php echo $_smarty_tpl->tpl_vars['index_error_text']->value;?>
|
|
|
|
</div>
|
|
<?php }?>
|
|
<div class="lottie-container" id="lottie-container"></div>
|
|
<div class="container">
|
|
<div class="row justify-content-center">
|
|
<div class="col-lg-5">
|
|
<div class="card shadow-lg border-0 rounded-lg mt-5">
|
|
<div class="card-header">
|
|
<h3 class="text-center font-weight-light my-4">Login</h3>
|
|
</div>
|
|
<div class="card-body">
|
|
<form action=?action=anmeld method="POST" name="login">
|
|
<div class="form-floating mb-3">
|
|
<input class="form-control" id="inputEmail" name="mail" type="email" placeholder="Mailadresse" />
|
|
<label for="inputEmail">Mailadresse</label>
|
|
</div>
|
|
<div class="form-floating mb-3">
|
|
<input class="form-control" id="inputPassword" name="password" type="password" placeholder="Passwort" />
|
|
<label for="inputPassword">Passwort</label>
|
|
</div>
|
|
<!--<div class="form-check mb-3">
|
|
<input class="form-check-input" id="inputRememberPassword" type="checkbox" value="" />
|
|
<label class="form-check-label" for="inputRememberPassword">Remember Password</label>
|
|
</div>
|
|
-->
|
|
<div class="d-flex align-items-center justify-content-between mt-4 mb-0">
|
|
<!--<a class="small" href="password.html">Forgot Password?</a>-->
|
|
|
|
<input type='submit' class="btn btn-primary" name='senden' value="Login">
|
|
</div>
|
|
</form>
|
|
</div>
|
|
<div class="card-footer text-center py-3">
|
|
<!--<div class="small"><a href="register.html">Need an account? Sign up!</a></div>-->
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="lottie-container" id="lottie-container"></div>
|
|
<?php echo '<script'; ?>
|
|
type="text/javascript">
|
|
var item = bodymovin.loadAnimation({
|
|
wrapper: document.getElementById('lottie-container'),
|
|
animType: 'svg',
|
|
loop: true,
|
|
autoplay: true,
|
|
path: '../media/data.json'
|
|
});
|
|
<?php echo '</script'; ?>
|
|
>
|
|
</main>
|
|
</div>
|
|
<div id="layoutAuthentication_footer">
|
|
<!-- footer -->
|
|
<div id="footer"></div>
|
|
</div>
|
|
</div>
|
|
<?php echo '<script'; ?>
|
|
src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js" crossorigin="anonymous"><?php echo '</script'; ?>
|
|
>
|
|
<?php echo '<script'; ?>
|
|
src="js/scripts.js"><?php echo '</script'; ?>
|
|
>
|
|
</body>
|
|
</html>
|
|
<?php }
|
|
if ($_smarty_tpl->tpl_vars['action']->value == 'anmeld') {?>
|
|
<?php if ($_smarty_tpl->tpl_vars['index_login']->value == '1') {?>
|
|
<meta http-equiv="refresh" content="0; URL=startseite.php">
|
|
<?php }
|
|
}
|
|
}
|
|
}
|